/*general code*/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
*:focus {
  outline: none;
  box-shadow: 0 0 0 0.5rem #8e161675;
}
html {
  font-size: 62.5%;
  scroll-behavior: smooth;
  
  overflow-x: hidden;

}
body {
  font-family: 'Nunito' , 'sans-serif' ;
  line-height: 1;
  font-weight: 400;
  color: #444;
  overflow-x: hidden;
}
.container {
  max-width: 120rem;
  margin: 0 auto;
  padding: 0 3.2rem;
}
.heading-primary,
.heading-secondary,
.heading-teriary {
  font-weight: 600;
    letter-spacing: -0.4px;}
  .subheading {
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    color: #8E1616;
    text-transform: uppercase;
    margin-bottom: 1.6rem;
    letter-spacing: 1px;
  }
  .heading-secondary {
    font-size: 4.4rem;
    line-height: 1.1;
    margin-bottom: 2.2rem;
  }
/* 
  #1D1616
  #8E1616
  #D84040
  #EEEEEE
  */
 
/*-------------nav bar----------------*/
.header{
  display: flex;   
  justify-content: right;
align-items: center;
background-color:  #D84040;
padding: 1.5rem 3.2rem;
position: relative;}



.sticky{
  position: fixed;
  width: 100%;
 height: 8rem;
 top: 0;
  background-color: #d840409e;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.078);
  z-index: 999;

}
.btn-mobile-nav{
  border: none;
  background: none;
 cursor: pointer;
  display: none;
}
.icon-mobile-nav{
color: #EEEEEE;
width: 4.8rem;
height: 4.8rem;

}
.icon-mobile-nav[name="close-outline"]{
display: none;
}
.logo{
  width: 7rem;
  height: 7rem;
  margin: 2rem;
position: absolute;
bottom: -3.7rem;
left: 7rem;
transform: scale(1.8);
transition: all 0.3s;
}
.logo:hover{
  transform: scale(1.9);
}

.main-nav-list{
display: flex;
gap: 3.2rem;
list-style: none;
font-size: 2.5rem;
font-weight: 500;
justify-content: right;
align-items: center;

}
.nave-link:link ,
.nave-link:visited {
  color: #EEEEEE;
  text-decoration: none;
  transition: all 0.3s;
  display: inline-block;
  font-weight: 700;
}
.nave-link:hover,.nave-link:active{
  color: #8E1616;

}
.nave-link.nav-cta:link,
.nave-link.nav-cta:visited {
  padding: 1.2rem 2.4rem;
  color: #8E1616;
  border-radius: 9px;
  background-color: #EEEEEE;
}
.nave-link.nav-cta:hover,
.nave-link.nav-cta:active {

  color: #EEEEEE;
  background-color: #8E1616;
  box-shadow: 0 0 5px #EEEEEE;
}

/*-------hero--------*/

.hero-section{
  height: 100vh;
  
  margin-bottom: 6.8rem;
}
.img-hero{

  background-image:linear-gradient(90deg, #000000d2, #ffffff00), url(../img/images/alexander-red-d3bYmnZ0ank-unsplash.jpg);
 width: 100%;
 height: 93vh;
 background-size: cover;
 background-position: center;
  display: flex;
  flex-direction: column; 
  justify-content: end;
  padding: 9.6rem 5rem;
}
.hero-discription{
 display: flex;
  width: 50%;
  flex-direction: column;
  background-image:linear-gradient(150deg, #0000004e, #2f080800);
  padding:  2rem 2rem 0 1.5rem ;
  
}
.primery-heading{
  font-weight: 600;
  font-size: 7.5rem;
  color: #EEEEEE;
  line-height: 1.05;
  letter-spacing: -0.4px;
  margin-bottom: 3.2rem;


}
.hero-text{
  font-size: 1.8rem;
  color: #EEEEEE;
  margin-bottom: 2.5rem;
  font-weight: 500;
}
.btn-link {
  display: block;
  font-size: 3rem;
  color: #EEEEEE;
background-color: #8E1616;
padding: 2rem 4rem;
text-align: center;
text-decoration: none;
width: 50%;
font-weight: 600;
transition: all 0.6s;
}

.btn-link:hover ,
.btn:active{
  color: #8E1616;
  background: #EEEEEE;
  box-shadow: 0 0 5px #D84040;
}
/*---------------*/
.grid{
  display: grid;
  row-gap: 9.6rem;
  column-gap: 6.4rem;
}
.grid--col2{
  grid-template-columns: 1fr 1fr;
}
.grid--col3{
  grid-template-columns: 1fr 1fr 1fr;
}
.aboutme-section{
  margin-bottom: 9.6rem;
  
}
.about-me{
  align-items: center;
  color: #1D1616;
}

.aboutme-text{
font-size: 1.9rem;
line-height: 2.2;
}
.aboutme-photo{
width: 75%;
}
/*---------------------------------------*/
.offer-section{
  margin-bottom: 9.6rem;
  background-color: #D84040;
  padding: 5rem 1rem 10rem 1rem;
}
 
.offfer{grid-template-columns: repeat(3,1fr);}
.offer-section .subheading {
  color: #EEEEEE;
  text-align: center;
}
.card{
  background-color: #EEEEEE;
  box-shadow: #1D1616 0px 0px 1.6rem ;
  transition: all 0.6s;
 }

 .offer-content{
  padding: 1rem 2rem 2rem 2rem;
  color: #1D1616;
 }
 .card:hover{
  transform: translateY(-2rem);
 }

.offer-h{
  color: #EEEEEE;
  grid-column: 1/4;
text-align: center;
}
.card img{
width: 33.6rem;
height: 22.3rem;
}
.card-head{
font-size: 2.5rem;
margin: 1.6rem 1.8rem;
}
.card-text{
  font-size: 1.8rem;
  line-height: 2;
}
.btn-offer{
  width: 100%;
  font-size: 1.8rem;
  padding: 1rem 2rem;
  background: #1D1616;
}
/*----------------------------*/
.gal-test-section{
  padding: 7rem 5rem;
  grid-template-columns: 55fr 45fr
}

.testemonial{
  text-align: center;
  align-items: center;
display: grid;



}

.testemonial-content{
  justify-content: center;
 
  
  
  

}
.test-head{
  grid-column: 1/4;
}
.test-custom{
background-color: white;
position: relative;
padding: 10rem 1rem 2rem;
font-weight: 500;
box-shadow: 0 0 12px black;

}
.test-text{
  line-height: 1.6;
  font-size: 1.8rem;
  margin-bottom: 1.6rem;
}
.test-img{
position: absolute;
left: 0;
top: 0;
transform: translate(-3rem , -8rem);
border-radius: 50%;
border: solid 1.3rem #EEEEEE;

}
.test-name{
  color: #8E1616;
  font-size: 1.6rem;

}
.gallery{
gap: 1rem;


}
.gallery-img{
  height:33.6rem ;
  width:25.9rem ;
  display: block;
  
}
.gallery-img:hover{
  transform: scale(1.1);
  transition: all 0.5s;
   

}
.gallery-item{
  overflow: hidden;
 
}
/*---------------------------------*/
.cta-section{
  margin-bottom: 9.6rem;
  
  padding: 5rem 20rem;
}
.cta{
  padding: 0 0 0 2rem;
  background-image: linear-gradient(90deg, #8E1616, #D84040);}
.cta-card{padding: 2rem 2rem 2rem 2rem;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.cta-head{
  font-size: 5.0rem;
}



.primery-heading{}
.cta-content{
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 1.6rem;
  color: #EEEEEE;
}
.form-cta{ 
  display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem ;
}
.cta-img{
  width: 100%;
  height: 100%;

}
.form-cta input,
.form-cta select {
  width: 100%;
  background-color: #eeeeee;
  padding: 1.2rem;
  font-size: 1.8rem;
  border: none;
  
  font-family: inherit;
  color: inherit;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);}
.btn-cat{
  width: 100%;
  height: 100%;
  font-size: 1.8rem;
  border: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
background-color: #1D1616;}
/*------------------------*/
.footer{
  padding: 20rem;
  background-color: #D84040;
  
  
}
.fotter-cont{
  display: grid;
  grid-template-columns: 1fr 1fr;
  font-size: 1.6rem;
  color: #EEEEEE;
  justify-content: space-around;
  gap: 5rem;
}
.footer-img{
  width: 50px ;
  height: 50px;
}
.flex{
  display: flex;
  gap: 10px;
}
.social-link1,.social-link1 li{
  list-style: none;
  


}
.footer-link{
  color: #EEEEEE;
 
  font-size: 1.5rem;

  text-decoration: none;
  transition: all 0.3s;
}
.fot-sec1 {
 display: flex;
 flex-direction: column;
 gap: 2rem;
}
.fot-sec2-head{
  margin-bottom: 1.6rem;
}
.social-link2 { display: flex;
 flex-direction: column;
 gap: 2rem;

 list-style: none;

}
.copyright {
  font-size: 1.4rem;
  margin-top: 2rem;
  line-height: 1.6;
  margin-top: auto;
}