/* Googlw Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* CSS Reset */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body{
    background: var(--Color);
    font-family: var(--pFont);
    background-image: url(img/back.jpg);
    background-size: calc();
}
:root{
    --hFont: 'Poppins',sans-serif;
    --pFont: 'DM Sans', sans-serif;
    --themeColor: #00337C;
    --bgColor: #191D2B;
    --Color: white; 
    --redcolor:#680606;
}

       
        img{
            max-width: 100%;
            object-fit: cover;
        }
        a{
            display: inline-block;
            text-decoration: none;
        }
        ul{
            margin: 0;
            padding: 0;
            list-style: none;
        }
        .row{
            display: flex;
        }
        .container{
    padding: 5px 5%;
}
        header{
            align-items: center;
            justify-content: space-between;
            gap: 2em;
            padding: 10px 0;
            display: flex;
            background-color: var(--themeColor);
           
        }
        .logo{
            align-items: center;
        }
        .logo img{
            max-width: 60px;
        }
        nav{
            margin-right: 150px;
        }
        nav ul{
            gap: 2em;
            align-items: center;
        }
        nav a{
            font-weight: 500;
            color: white; 
            font-size: 18px;
            transition: 0.3s ease-in-out;
            -webkit-transition:0.3s ease-in-out ;
            -moz-transition: 0.3s ease-in-out;
            -ms-transition:0.3s ease-in-out;
            -o-transition: 0.3s ease-in-out;
        }
        nav a::after{
            display: block;
            content: "";
            width: 0;
            height:3px ;
            margin: 0 auto;
            background-color: var(--redcolor);
            border-radius: 5px;
            -webkit-border-radius:5px;
            -moz-border-radius:5px;
            -ms-border-radius:5px;
            -o-border-radius:5px;
            transition: 0.3s ease-in-out;
            -webkit-transition:0.3s ease-in-out ;
            -moz-transition: 0.3s ease-in-out;
            -ms-transition:0.3s ease-in-out;
            -o-transition: 0.3s ease-in-out;
        }
        
        nav a:hover::after{
            width: 30px;
            color: #191D2B;;
        }
        .hero{
            background-image: url(img/fg.svg);
            gap: 2em;
            flex-wrap: wrap-reverse;
            align-items: center;
            min-height: calc(100nh - 96.6px);
           border-bottom: 2px solid var(--themeColor) ;
           box-shadow: 0 03px 20px var(--Color);
        }
        
        .typed-out{
          overflow: hidden;
          border-right: .15em solid var(--redcolor);
          white-space: nowrap;
          animation: typing 2.5s steps(50, end) forwards;
          font-size: 1.6rem;
          width: 0;
          font-size: 27px;
          font-family: var(--pFont);
          color:white;
        }
        @keyframes typing {
          from { width: 0 }
          to { width: 100% }
        }
        .hero>*{
            flex: 1 1 25em;

        }
        @media screen and (max-width: 900px) {
            
            .navbar{
                justify-content: center;
                align-items: center;
                flex-direction: column;
                max-height: 0;
                opacity: 0;
                transform-origin: top;
                transform: scale(1,0);
                -webkit-transform: scale(1,0);
                -moz-transform: scale(1,0);
                -ms-transform: scale(1,0);
                -o-transform: scale(1,0);

            }
            .navbar.active{
                position: fixed;
                inset: 0;
                margin: auto;
                max-height: 100%;
                padding-top: 150px;
                opacity: 1;
                background-color: #191D2B;
                transform: scale(1,1);
                -webkit-transform: scale(1,1);
                -moz-transform: scale(1,1);
                -ms-transform: scale(1,1);
                -o-transform: scale(1,1);

            }
            nav ul{
                flex-direction: column;
            }
            
        }
 /* --- About services Start --- */
 #Servics h1{
    font-family: var(--hFont);
    padding-top: 50px;
    color: #680606;
    text-align: center;
    font-size: 35px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.555);
}
#Servics h1 span{
    color: var(--themeColor);
}
 .container1{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 70px 5%;
    gap: 60px;
}
        .container1 .box{
            position: relative;
            width: 280px;
            height: 230px;
            background: none;
            border: 1px solid var(--themeColor);
            color: var(--themeColor);
            display: flex;
            justify-content: center;
            align-items: center
        }
       
        .container1 .box:hover{
          background: var(--themeColor);
        }

        .container1 .box .content{
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            flex-direction: column;
            padding: 0 20px;
            width: 100%;
            height: 80%;
            overflow: hidden;
        }
        .container1 .box .content .text1 {
            font-size: 15px;
            color: var(--themeColor);
            font-weight: 600;
            transition: 0.5s ease-in-out;
        }
        .container1 .box:hover .content .text1 {
          color: var(--Color);

        }
        .container1 .box .content h3{
          color: var(--redcolor);
          font-size:20px ;
          font-weight: 700;
          padding-bottom: 10px;
        }
        
        /* --- About section Start --- */
#about{
 
    padding: 30px 1%;   
    position: relative;
}

#about h1{
    font-family: var(--hFont);
    color: #680606;
    text-align: center;
    font-size: 35px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.555);
}
#about h1 span{
    color: var(--themeColor);
}

#about .about-cols{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 70px;
    margin-top: 50px;
}
#about .about-cols .about-left-col{
    flex-basis: 50%;
}
#about .about-cols .about-left-col h2{
    font-family: var(--hFont);
    color: var(--themeColor);
    text-transform: capitalize;
    font-size: 30px;
    font-weight: 600;
    margin-bottom: 15px;
}
#about .about-cols .about-left-col p{
    font-family: var(--pFont);
    color: var(--bgColor);
    font-size: 15px;
    letter-spacing: 0.5px;
    font-weight: 400;
    margin-bottom: 15px;
    text-align: justify;
}
#about .about-cols .about-left-col a{
    display: inline-block;
    text-decoration: none;
    color: var(--Color);
    border: 2px solid var(--themeColor);
    padding: 7px 25px;
    font-family: var(--pFont);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.5px;
    margin-top: 15px;
    border-radius: 4px;
    border-top-right-radius: 0;
    background-color: var(--themeColor);
}
#about .about-cols .about-left-col a:hover i{
    transform: translateX(5px);
}
#about .about-cols .about-left-col a i{
    background-color: #48dd85;
    padding: 6px 10px;
    border-radius: 4px;
    margin-left: 10px;
    transition: 0.5s;
}
#about .about-cols .about-right-col{
    flex-basis: 50%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2rem;
    padding: 0 50px;
}
#about .about-cols .about-right-col .about-box{
    border: 1px solid var(--themeColor);
    height: 150px;
    border-radius: 3px ;
    padding: 20px;
    transition: 0.6s;
}
#about .about-cols .about-right-col .about-box h2{
    font-size: 30px;
    font-family: var(--hFont);
    color: var(--themeColor);
    font-weight: 700;
}
#about .about-cols .about-right-col .about-box p{
    font-family: var(--pFont);
    color: var(--themeColor);
    font-size: 20px;
    text-align: justify;
    letter-spacing: 1px;
}
#about .about-cols .about-right-col .about-box:hover{
    border: 1px solid var(--themeColor);
    transform: translateY(-7px);
    box-shadow: 0 03px 20px rgba(0, 0, 0, 0.472);
}
/* Mobile View */
@media only screen and (max-width: 950px){
    #about .about-cols{
        gap: 40px;
        flex-direction: column;
    }
    #about .about-cols .about-right-col{
        grid-gap: 1rem;
        padding: 0;
    }
}
@media only screen and (max-width: 400px){
    #about .about-cols .about-right-col{
        grid-template-columns: repeat(1, 1fr);
    }
}

#brands{
  padding: 30px 1%;   
    position: relative;
}
#brands h1{
    font-family: var(--hFont);
    color: #680606;
    text-align: center;
    font-size: 35px;
    padding: 70px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 0 40px rgba(0, 0, 0, 0.555);
}
#brands h1 span{
    color: var(--themeColor);
}

.row{
display: flex;
align-items: center;
justify-content: space-between;
flex-wrap: wrap;

}
.card{
background-color: var(--Color);
box-shadow: 0 0 15px #00337C;
flex: 1 1 13rem;
flex-wrap: wrap;
flex-direction: column;
margin: 10px 20px;
display: flex;
align-items: center;
padding: 10px 20px;
text-align: center;

}
.card:hover{
  border: 1px solid var(--themeColor);
  transform: translateY(-7px);
  box-shadow: 0 03px 20px var(--themeColor);
}
.card h3{
font-size: 20px;
color: var(--themeColor);
text-transform: uppercase;
margin: 10px 0;
font-family: var(--pFont);
}

.card img{
width: 100px;
height: 100px;
max-width: 200px;
}
.card .btn1{
font-family: var(--pFont);
display: inline-block;
margin-top: auto;
background: none;
color: var(--themeColor);
text-align: center;
width: 130px;
text-decoration: none;
height: 30px;
}
.card .btn:hover{
width: 180px;
transition: 0.3s ease-in;
}


.container2 {
   
    width: 100%;
    min-height: 100vh;
    padding: 2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #contact{
    padding: 30px 1%;   
    position: relative;
  }
#contact h1{
  font-family: var(--hFont);
  color: #680606;
  text-align: center;
  font-size: 35px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.555);
}
#contact h1 span{
  color: var(--themeColor);
}
  .form {
    width: 100%;
    max-width: 820px;
    background-color: var(--Color);
    border: 1px solid var(--bgColor);
    border-radius: 10px;
    box-shadow: 0 0 20px 1px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-form {
    background-color:  var(--themeColor);
    position: relative;
  }
  
  
  .contact-form:before {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    background-color:  var(--themeColor);
    transform: rotate(45deg);
    top: 50px;
    left: -13px;
  }
  
  form {
    padding: 2.3rem 2.2rem;
    z-index: 10;
    overflow: hidden;
    position: relative;
  }
  
  .title {
    color: #fff;
    font-weight: 500;
    font-size: 1.5rem;
    line-height: 1;
    margin-bottom: 0.7rem;
    font-family: var(--pFont);
  }
  
  .input-container {
    position: relative;
    margin: 1rem 0;
  }
  
  .input {
    width: 100%;
    outline: none;
    border: 2px solid #fafafa;
    background: none;
    padding: 0.6rem 1.2rem;
    color: #fff;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    border-radius: 25px;
    transition: 0.3s;
    font-family: var(--pFont);
  }
  
  textarea.input {
    padding: 0.8rem 1.2rem;
    min-height: 150px;
    border-radius: 22px;
    resize: none;
    overflow-y: auto;
    font-family: var(--pFont);
  }
  
  .input-container label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    padding: 0 0.4rem;
    color: #fafafa;
    font-size: 0.9rem;
    font-weight: 400;
    font-family: var(--pFont);
    pointer-events: none;
    z-index: 1000;
    transition: 0.5s;
  }
  
  .input-container.textarea label {
    top: 1rem;
    transform: translateY(0);
  }
  
  .btn {
    padding: 0.6rem 1.3rem;
    background-color: #fff;
    border: 2px solid #fafafa;
    font-size: 0.95rem;
    width: 100%;
    color:var(--themeColor);
    line-height: 1;
    border-radius: 25px;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
    margin: 0;
  }
  
  .btn:hover {
    background-color: transparent;
    color: #fff;
  }
  
  .input-container span {
    position: absolute;
    top: 0;
    left: 25px;
    transform: translateY(-50%);
    font-size: 0.8rem;
    padding: 0 0.4rem;
    color: transparent;
    pointer-events: none;
    z-index: 500;
  }
  
  .input-container span:before,
  .input-container span:after {
    content: "";
    position: absolute;
    width: 10%;
    opacity: 0;
    transition: 0.3s;
    height: 5px;
    background-color: var(--themeColor);
    top: 50%;
    transform: translateY(-50%);
  }
  
  .input-container span:before {
    left: 50%;
  }
  
  .input-container span:after {
    right: 50%;
  }
  
  .input-container.focus label {
    top: 0;
    transform: translateY(-50%);
    left: 25px;
    font-size: 0.8rem;
  }
  
  .input-container.focus span:before,
  .input-container.focus span:after {
    width: 50%;
    opacity: 1;
  }
  
  .contact-info {
    padding: 2.3rem 2.2rem;
    position: relative;
  }
  
  .contact-info .title {
    color: var(--themeColor);
    font-family: var(--pFont);
  }
  
  .text {
    color: var(--redcolor);
    text-align: justify;
    font-weight: 600;
    margin: 1.5rem 0 2rem 0;
    font-family: var(--pFont);
  
  }
  
  .information {
    display: flex;
    color: var(--redcolor);
    margin: 0.7rem 0;
    align-items: center;
    font-size: 0.95rem;
    font-family: var(--pFont);
    font-weight: 500;
  }
  .information i{
    background-color: var(--themeColor);
      color: white;
      width: 35px;
      height: 35px;
      margin-right: 10px;
      text-align: center;
      line-height: 35px;
      margin-bottom: 10px;
      border-radius: 20px;
      border-bottom-right-radius: 0;
      transition: 0.5s;
  }
  .icon {
    width: 28px;
    margin-right: 0.7rem;
   
  }
  
  .social-media {
    padding: 2rem 0 0 0;
  }
  
  .social-media p {
    color: var(--redcolor);
    font-weight: 500;
    font-family: var(--pFont);
  }
  
  .social-icons {
    display: flex;
    margin-top: 0.5rem;
  }
  
  .social-icons a {
    width: 35px;
    height: 35px;
    background: var(--themeColor);
    color: #fff;
    text-align: center;
    line-height: 35px;
    margin-right: 0.5rem;
    border-radius: 20px;
    border-bottom-right-radius: 0;
    transition: 0.5s;
  }
  
  .social-icons a:hover {
    transform: scale(1.05);
  }
  
  
  @media (max-width: 850px) {
    .form {
      grid-template-columns: 1fr;
    }
  
    .text {
      margin: 1rem 0 1.5rem 0;
    }
  
    .social-media {
      padding: 1.5rem 0 0 0;
    }
  }
  
  @media (max-width: 480px) {
    .container {
      padding: 1.5rem;
    }
  
  
  
    form,
    .contact-info {
      padding: 1.7rem 1.6rem;
    }
  
    .text,
    .information,
    .social-media p {
      font-size: 0.8rem;
    }
  
    .title {
      font-size: 1.15rem;
    }
  
    .social-icons a {
      width: 30px;
      height: 30px;
      line-height: 30px;
    }
  
    .icon {
      width: 23px;
    }
  
    .input {
      padding: 0.45rem 1.2rem;
    }
  
    .btn {
      padding: 0.45rem 1.2rem;
    }
  }
     /* The footer is fixed to the bottom of the page */

footer{

	bottom: 0;
}

@media (max-height:800px){
	footer { position: static; }
	header { padding-top:40px; }
}


.footer-distributed{
	background-color: var(--themeColor);
	box-sizing: border-box;
	width: 100%;
	text-align: left;
	font: bold 16px sans-serif;
	padding: 50px 50px 60px 50px;
	margin-top: 80px;
}

.footer-distributed .footer-left,
.footer-distributed .footer-center,
.footer-distributed .footer-right{
	display: inline-block;
	vertical-align: top;
}

/* Footer left */

.footer-distributed .footer-left{
	width: 30%;
}

.footer-distributed h3{
	color:  var(--Color);
	font: normal 36px 'Cookie', cursive;
	margin: 0;
}

/* The company logo */

.footer-distributed .footer-left img{
	width: 70%;
}

.footer-distributed h3 span{
	color:  var(--redcolor);
}

/* Footer links */

.footer-distributed .footer-links{
	color:  var(--Color);
	margin: 20px 0 12px;
}

.footer-distributed .footer-links a{
	display:inline-block;
	line-height: 1.8;
	text-decoration: none;
	color:  inherit;
}

.footer-distributed .footer-company-name{
	color:  #8f9296;
	font-size: 14px;
	font-weight: normal;
	margin: 0;
}

/* Footer Center */

.footer-distributed .footer-center{
	width: 35%;
}


.footer-distributed .footer-center i{
	background-color:  var(--bgColor);
	color: #ffffff;
	font-size: 25px;
	width: 35px;
	height: 35px;
	border-radius: 20px;
    border-bottom-right-radius: 0;
    transition: 0.5s;
	text-align: center;
	line-height: 42px;
	margin: 10px 15px;
	vertical-align: middle;
}

.footer-distributed .footer-center i.fa-envelope{
	font-size: 17px;
	line-height: 38px;
}

.footer-distributed .footer-center p{
	display: inline-block;
	color: var(--Color);
	vertical-align: middle;
	margin:0;
}

.footer-distributed .footer-center p span{
	display:block;
	font-weight: normal;
	font-size:14px;
	line-height:2;
}

.footer-distributed .footer-center p a{
	color:  var(--Color);
	text-decoration: none;;
}


/* Footer Right */

.footer-distributed .footer-right{
	width: 30%;
}

.footer-distributed .footer-company-about{
	line-height: 20px;
	color: var(--Color);
	font-size: 13px;
	font-weight: normal;
	margin: 0;
}

.footer-distributed .footer-company-about span{
	display: block;
	color:  var(--Color);
	font-size: 18px;
	font-weight: bold;
	margin-bottom: 20px;
}

.footer-distributed .footer-icons{
	margin-top: 25px;
}

.footer-distributed .footer-icons a{
	display: inline-block;
	width: 35px;
	height: 35px;
	cursor: pointer;
	background-color:  var(--bgColor);
	 border-radius: 20px;
    border-bottom-right-radius: 0;
    transition: 0.5s;
	font-size: 20px;
	color: #ffffff;
	text-align: center;
	line-height: 35px;

	margin-right: 3px;
	margin-bottom: 5px;
}

/* Here is the code for Responsive Footer */
/* You can remove below code if you don't want Footer to be responsive */


@media (max-width: 880px) {

	.footer-distributed .footer-left,
	.footer-distributed .footer-center,
	.footer-distributed .footer-right{
		display: block;
		width: 100%;
		margin-bottom: 40px;
		text-align: center;
	}

	.footer-distributed .footer-center i{
		margin-left: 0;
	}

}
/* --- Contact Section Start --- */

#contact1{
  background: none;
  padding: 30px 7%;   
  position: relative;
}
#contact1 .sub-title{
  font-family: var(--hFont);
  padding-top: 50px;
  color: rgb(252, 0, 0);
  text-align: center;
  font-size: 35px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.555);
}
#contact1 .sub-title span{
  color: var(--themeColor);
}
#contact1 .contct-cols{
  margin-top: 60px;
}
#contact1 .contct-cols .con-top-col{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-gap: 2.4rem;
  margin-top: 70px;
}
#contact1 .contct-cols .con-top-col .con-item{
  text-align: center;
  padding: 30px 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.472);
  border-radius: 7px;
  background-color: var(--themeColor);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  transition: 0.7s;
}
#contact1 .contct-cols .con-top-col .con-item i{
  background-color: var(--Color);
  color: var(--themeColor);
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 60px;
  font-size: 30px;
  margin-bottom: 10px;
  border-radius: 20px;
  border-bottom-right-radius: 0;
  transition: 0.5s;
}
#contact1 .contct-cols .con-top-col .con-item h2{
  color: rgb(252, 0, 0);
  font-family: var(--hFont);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0.3px;
  font-style: italic;
}
#contact1 .contct-cols .con-top-col .con-item p{
  font-family: var(--pFont);
  color: var(--Color);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.6px;
  font-style: italic;
}
/* --- Contact Section Start --- */

#lastnews{
  padding: 30px 1%;   
    position: relative;

}
#lastnews h1{
  font-family: var(--hFont);
  color: #680606;
  text-align: center;
  font-size: 35px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.555);
}
#lastnews h1 span{
  color: var(--themeColor);
}

.container4 {
  position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 70px 3%;
    gap: 60px;
}

img {
  max-width: 100%;
  display: block;
  object-fit: cover;
}

.cardd {
  display: flex;
  flex-direction: column;
  width: clamp(20rem, calc(20rem + 2vw), 22rem);
  overflow: hidden;
  box-shadow: 0 .1rem 1rem rgba(0, 0, 0, 0.1);
  border-radius: 1em;
  background: var(--themeColor);
  height: 420px;


}



.card__body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}



.card__body h4 {
  font-size: 1.5rem;
  text-transform: capitalize;
  color: var(--Color);
  
}

.card__body p {

  color: var(--Color);
  
  
}

.card__footer {
  display: flex;
  padding: 1rem;
  margin-top: auto;
}

.user {
  display: flex;
  gap: .5rem;
}

.user__image {
  border-radius: 50%;
}

.user__info > small {
  color: var(--Color);
}