
 /*colors*/

 :root{
--international-orange-engineering: hsl(1, 91%, 37%);
--cadet-blue-creyola: hsl(222, 14%, 69%);
--oxford-blue-1: hsl(222, 47%, 15%);
--oxford-blue-2: hsl(222, 44%, 14%);
--oxford-blue-3: hsl(222, 50%, 11%);
--sonic-silver: hsl(0, 0%, 44%);
--space-cadet: hsl(222, 44%, 18%);
--pastel-pink: hsl(1, 53%, 75%);
--eerie-black: hsl(0, 0%, 15%);
--light-gray: hsl(0, 0%, 80%);
--white: hsl(0, 0%, 100%);
 
 /*typography*/

 --ff-chakra-petch: 'Chakra Petch', sans-serif;
--ff-mulish: 'Mulish', sans-serif;

--fs-1: 3.5rem;
--fs-2: 3rem;
--fs-3: 2.4rem;
--fs-4: 1.8rem;
--fs-5: 1.4rem;
--fs-6: 1.2rem;

--fw-400: 400;
--fw-600: 600;
--fw-700: 700;

/*spacing*/

--section-padding: 60px;

/*box shadow*/

--shadow: 0px 0px 20px 0px hsl(216, 9%, 50%);

/*border-radius*/

--radius-pill: 100px;
--radius-circle: 50%;

/* Transition*/

--transition: 0.25s ease;
--cubic-out: cubic-bezier(0.05, 0.83, 0.52, 0.97);

 }




/*-----------------------------------*\
  #RESET
\*-----------------------------------*/


*,
*::before,
*::after{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

li{
  list-style: none;
}

a,img,span,button{
  display: block;
}

a{
  color:inherit;
  text-decoration: none;
}

img{
  height: auto;
}

button{
  background: none;
  border:none;
  font: inherit;
  cursor: pointer;
}

address{
  font-style: normal;
}

html{
  font-family: var(--ff-mulish);
  font-size: 10px;
  scroll-behavior: smooth;
}

body{
  background-color: var(--white);
  color: var(--sonic-silver);
  font-size: 1.6rem;
  line-height: 1.5;

  /*background-color: #0D0302;*/
}

:focus-visible{
  outline-offset: 4px;
}

::-webkit-scrollbar{
  width: 10px;
}

::-webkit-scrollbar-track{
  background-color: hsl(0, 0%, 98%);
}

::-webkit-scrollbar-thumb{
  background-color: hsl(0, 0%, 80%);
}

::-webkit-scrollbar-thumb:hover{
  background-color: hsl(0, 0%, 70%);
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/
.container{
  padding-inline: 16px;

}

.material-symbols-rounded{
  --fs:1em;
  font-variation-settings: 'FILL' 0, 'wght' 600, 'GRAD' 0, 'opsz' 40;
  font-size: var(--fs);
  width: 1em;
  overflow: hidden;
}


.has-bg-image{
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
}

.section-subtitle{
  max-width: max-content;
  font-family: var(--ff-chakra-petch);
  font-size: var(--fs-5);
  font-weight: var(--fw-600);
  text-transform: uppercase;
  margin-block-end: 12px;
  margin-inline: auto;
}

.section-subtitle::before{
  content: "";
  display: inline-block;
  height: 15px;
  width: 30px;
  margin-block-end: -2px;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.section-subtitle.\:dark{
  color: var(--white);
}
.section-subtitle.\:dark::before{
  background-image: url("../images/text-bars-light.png");
}
.section-subtitle.\:light{
  color: #3EB518;
}
.section-subtitle.\:light::before{
  background-image: url("../images/text-bars-dark.png");
}

.section-title{
  text-align: center;
}

.h1, .h2, .h3, .display-1{
  font-family: var(--ff-chakra-petc);
  font-weight: var(--fw-700);
  text-transform: uppercase;
}

.display-1{
  font-size: var(--fs-1);
}

.h1{
  color: var(--white);
  font-size: var(--fs-2);
  line-height: 1.1;
  letter-spacing: 1px;
}

.h2, .h3 {
  color:#E7E8EA;
  font-weight: var(--fw-600);
  line-height: 1.2;
}

.h2 {
  font-size: var(--fs-3);
}

.h3{
  font-size: var(--fs-4);
}

.btn {
  background-color: #3EB518;
  color: #E7E8EA;
  max-width: max-content;
  font-family: var(--ff-chakra-petch);
  font-weight: var(--fw-600);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  transition: var(--transition);
  will-change: transform;
}

/*our services button*/

.btn:is(:hover, :focus-visible){
  transform: translateY(-5px);
  background-color: var(--oxford-blue-1);
  border-color: var(--white);
}

/*move car*/

.move-anim{
  animation: moving 1s ease-in-out infinite alternate;
}

@keyframes moving {
  0%{transform: translateY(0);}
  100%{transform: translateY(10px);}
}

.section{
  padding-block: var(--section-padding);
}

.btn-link{
  font-family: var(--ff-chakra-petch);
  text-transform: uppercase;
  color: #3EB518;
  font-weight: var(--fw-700);
}

.w-100{
  width: 100%;
}

.img-holder{
  aspect-ratio: var(--width)/var(--height);
  background-color: var(--light-gray);
  overflow: hidden;
}

.img-cover{
  width: 130%;
  height: 100%;
  object-fit: cover;
}

.has-scrollbar{
  display: flex;
  align-items: center;
  gap: 30px;
  overflow-x: auto;
  scroll-snap-type: inline mandatory;
  padding-block-end: 20px;
}

.scrollbar-item{
  min-width: 100%;
  scroll-snap-align: start;
}

.has-scrollbar::-webkit-scrollbar{
  height: 16px;
}

.has-scrollbar::-webkit-scrollbar-track{
  background-color: whitesmoke;
  border-radius: 20px;
}


.has-scrollbar::-webkit-scrollbar-thumb{
  background-color: #3EB518;
  border-radius: 20px;
  border: 3px solid whitesmoke;
}

.has-scrollbar::-webkit-scrollbar-button{
  width: 15%;
}




/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/
.header .btn{
  display: none;
}

.header{
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  padding: 40px 15px;
  padding-inline-start: 40px;
  z-index: 4;
}

.header .container{
  display: flex;
  justify-content: space-between;
  align-items: center;

}

.logo img{
  width: 100px;
}

.nav-toggle-icon{
  width: 30px;
  height: 2px;
  background-color: var(--white);
  transition: var(--transition);
}

.nav-toggle-icon:not(:last-child){
  margin-block-end: 7px;
}

.nav-toggle-btn.active .icon-2{
opacity: 0;
transform: translateX(-10px);
}

.nav-toggle-btn.active .icon-1{
  transform: rotate(45deg) translate(8px, 8px);
}
.nav-toggle-btn.active .icon-3{
  transform: rotate(-45deg) translate(4px, -4px);
}

.navbar{
  position: absolute;
  top: 150px;
  right: 30px;
  background-color: #3EB518;
  min-width: max-content;
  width: 30%;
  transform: translateY(20px);
  opacity: 0;
  visibility: hidden;
  transition: 0.25s var(--cubic-out);
  z-index: 2; 
}

.navbar.active{
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition-duration: 0.5s;
}

.navbar-link{
  font-family: var(--ff-chakra-petch);
  font-size: var(--fs-5);
  text-transform: uppercase;
  color: #E7E8EA;
  padding: 10px 20px;
  transition: var(--transition);
}

.navbar-link:is( :hover, :focus-visible){
  background-color: #E7E8EA;
  color: #3EB518;

}
  



/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  background-color: black;
  position: relative;
  padding-block-start: calc(var(--section-padding) + 80px);
  text-align: center;
  z-index: 1;
  overflow: hidden;
  border:2px;
  border-color: #E7E8EA;
  border-style: solid;
  height: 100vh;
  align-content: top;
}
.hero .container{
  display: grid;
  gap: px;
}


.hero .section-subtitle{
  text-transform: unset;
}

.hero .section-text{
  color: var(--white);
  margin-block: 14px 18px;
}

.hero .btn{
  margin-inline: auto;
}





.hero .has-bg-image img{
  opacity: 0.5;
}
/*-----------------------------------*\
  #SERVICE
\*-----------------------------------*/

.service-banner{
  display: none;
  
}

.service{
  text-align: center;
  background-color: black;
  border:2px;
  border-color: #E7E8EA;
  border-style: solid;
  
}

.services-list{
  gap: 0;
  margin-block-end: 20px;
  
}

.service-card{
  color: #E7E8EA;
}

.service-card .card-icon{
  max-width: max-content;
  margin-inline: auto;
  margin-block-end: 24px;
  
}

.service-card .card-text{
  line-height: 1.2;
  margin-block: 8px;
}

.service .btn{
  margin-inline: auto;
  margin-top: 30px;
  
}

.service .hidden-services{

  margin-top: 60px;
  font-size: 22px;
  font-family: var(--ff-chakra-petch);
  color:#E7E8EA;
  width: 100%;
  
}

.hidden{
  display: none;
}



.hidden-list li{
  list-style:inside;
  font-size: var(--fs-4);
}


/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about{
  background-color: black;
  color: #E7E8EA;
  text-align: center;
  border:2px;
  border-color: #E7E8EA;
  border-style: solid;
}

.about .container{
  display: grid;
  gap: 50px;
}

.about .section-title{
  color:#E7E8EA;
}

.about .section-text:nth-child(3){
  margin-block: 12px 8px;
}

.about-list{
  display: grid;
  gap: 25px;
  margin-block-start: 25px;
}

.about-item{
  background-color:#3EB518;
  padding: 40px 20px;
  transition: var(--transition);
}

.about-item:hover{
  background-color:#3EB518;
  transform: translateY(-8px);
}

.about-item .strong{
  display: block;
  font-family: var(--ff-chakra-petch);
  font-size: var(--fs-1);
  line-height: 1.1;
}

/*-----------------------------------*\
  #booking
\*-----------------------------------*/
  .booking {
    background-color: #080808;
    color: #fff;
    padding: 60px 0;
  }

  .booking .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }

  .booking .section-title {
    text-align: center;
    font-size: 4rem;
    margin-bottom: 30px;
  }

  .booking-form {
    display: grid;
    gap: 30px;
    max-width: 500px;
    margin: 0 auto;
  }

  .form-group {
    display: flex;
    flex-direction: column;
    height: 80px;
    width: 100%;
  }

  .form-group label {
    margin-bottom: 3px;
    font-size: 1.7rem;
    font-family: 'Times New Roman', Times, serif;
  }

  .form-group input, 
  .form-group select {
    padding: 15px;
    font-size: 1.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
  }

  .btn-book {
    background-color: #bfa57d;
    color: #fff;
    padding: 15px;
    font-size: 1.2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-align: center;
  }

  .btn-book:hover {
    background-color: #a38a5e;
  }
  .navbar-link{
  font-family: var(--ff-chakra-petch);
  font-size: var(--fs-5);
  text-transform: uppercase;
  color: #E7E8EA;
  padding: 10px 20px;
  transition: var(--transition);
}

.navbar-link:is( :hover, :focus-visible){
  background-color: #E7E8EA;
  color: #3EB518;

}

/*-----------------------------------*\
  #WORK
\*-----------------------------------*/

#projects{
  background-color: black;
  border:2px;
  border-color: #E7E8EA;
  border-style: solid;
}
.work .container{
  padding-inline: 0;
}

.work .section-title{
  margin-block-end: 24px;
}

.work-card{
  .grid-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 colonnes égales */
  gap: 2rem; /* espace entre les cartes */
  padding: 0;
  list-style: none;
  width: 30%;
  height: 30%;
}

.scrollbar-item {
  width: 100%;
}
 
}
.work-card .card-content{
  background-color: #E7E8EA;
  max-width: 90%;
  padding: 10px 10px;
  margin-block-start: -50px;
  margin-inline: auto;
  position: relative;
  text-align: center;
  box-shadow: var(--shadow);

}


.work-card .card-subtitle{
  font-family: var(--ff-chakra-petch);
  text-transform: uppercase;
  color:#0a0a0a;
  font-weight: var(--fw-600);
  margin-block-end: 5px;
  font-size: 28px;
  margin-top: 20px;
}

.work-card .card-title{
  margin-block-end: 10px;
  color: #3EB518;
}

.work-card .card-btn{
  background-color: #3EB518;
  color: #E7E8EA;
  font-size: 2rem;
  margin-inline: auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-circle);
}
.work-card .card-btn{
  background-color: #3EB518;
  color: #E7E8EA;
  font-size: 2rem;
  margin-inline: auto;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: var(--radius-circle);
}
/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer{
  color: var(--cadet-blue-creyola);
  border:2px;
  border-color: #E7E8EA;
  border-style: solid;
}

.footer .shape{
  display: none;
}

.footer-top{
  background-color: black;
}

.footer-top .container{
  display: grid;
  gap: 40px;
}

.footer-text{
  margin-block: 18px 20px;
}

.social-list{
  display: flex;
  gap: 8px;
}

.social-link{
  background-color: var(--oxford-blue-3);
  padding: 14px;
  border-radius: var(--radius-circle);
  transition: var(--transition);
}

.social-link:is(:hover, :focus-visible){
  background-color: #3EB518;
  transform: translateY(-5px);
}

.footer .h3{
  color: #E7E8EA;
  margin-block-end: 18px;
}

.footer-list .p{
  color: #E7E8EA;
  font-weight: var(--fw-400);
  margin-block-end: 7px;
}

.footer-list li:not(:first-child){
  margin-block-start: 16px;
}

.footer-link{
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-link:is(:hover, :focus-visible){
  color: #3EB518;
}

.footer-link .material-symbols-rounded{
  flex-shrink: 0;
  font-size: 18px;
  color: #3EB518;
}

.footer-bottom{
  background-color: black;
  padding-block: 20px;
}

.copyright{
  text-align: center;
  font-size: var(--fs-6);
}

/*quote.html*/

.quote-container{
  background-image: url(../images/about-image.jpeg);
}

.quote-form{
  display: flex;
  justify-content: center;
}

.quote-logo a{
  display: flex;
  justify-content: center;
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

@media (min-width: 575px){

  :root{
    --fs-2: 4rem;
    --fs-3: 2.8rem;
    --fs-4: 2rem;
  }

  /*Reused Style*/

  .container{
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  .section-subtitle{
    --fs-5: 1.6rem;
  }

  .h2{
    font-weight: var(--fw-700);
  }

  /*hero*/

  .hero .container{
    max-width: unset;
  }

  .hero-content{
    max-width: 520px;
    margin-inline: auto;
  }

  .hero .section-text{
    font-size: 1.8rem;
  }

  /*service*/

  .service .section-title{
    margin-block-end: 30px;
  }

  .services-list{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-block-end: 40px;
  }

  .hidden-list{
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    
  }

  /*about*/
  .about-list{
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .about-item{
    padding-block: 20px;
  }

  /*work*/
  .scrollbar-item{
    min-width: calc(50% - 15px);
  }

  /*footer*/

  .footer-top{
    position: relative;
    overflow: hidden;
  }

  .footer-top .container{
    grid-template-columns: 1fr 1fr;
  }

  .footer .shape-3{
    display: block;
    position: absolute;
    bottom: -30px;
    right: 0px;
  }


}

@media (min-width: 768px){

  /*custom property*/

  :root{
    /*typography*/
    --fs-1: 4rem;
    --fs-2: 5rem;
    --fs-3: 3.4rem;
  }

  /*reused style*/

  .container .hero-content{
    max-width: 720px;
  }

  .btn{
    padding: 16px 32px;
  }

  .section-subtitle{
    --fs-5: 1.8rem
  }

  .section-title:not(.h1){
    max-width: 500px;
    margin-inline: auto;
  }


  /*hero*/

  .hero{
    --section-padding: 120px;
  }

  .hero .section-text{
   margin-block-end: 30px;   
  }

  /*service*/
  .service-banner{
    display: block;
    position: relative;
  }

  .services-list{
    grid-template-columns: repeat(3, 1fr);
  }

  .service-banner img{
    position: absolute;
    left: -25%;
    margin-block-start: 15%;
    width: 150%;
    transform-origin: top;
  }

  /*about*/
  .about-banner{
    max-width: max-content;
  }

  .about-banner, .about .section-text{
    margin-inline: auto;
  }

  .about .section-text{
    max-width: 520px;
  }

  /*footer*/
  .footer-top .container{
    grid-template-columns: 1fr 0.9fr 0.9fr;
  }

  .copyright{
    --fs-6:1.4rem
  }



}

@media (min-width: 992px){
  /*custom property*/

  :root{
    /*typography*/

    --fs-2: 4.4rem;
    --fs-3: 3.8rem;
    --fs-4: 2.2rem;

    /*spacing*/

    --section-padding: 100px;

  }

  /*reused style*/

  .container{
    max-width: 960px;
  }

  .section-text, .card-text{
    font-size: 1.8rem;
  }

  /*header*/

  .nav-toggle-btn{
    display: none;
  }

  .header .container{
    gap: 30px;
  }

  .navbar, .navbar.active{
    all: unset;
    display: block;
    margin-inline-start: auto;

  }

  .navbar-list{
    display: flex;
  }

  .navbar-link{
    position: relative;
    font-size: unset;
  }

  .navbar-link:is( :hover, :focus-visible){
    background: none;
    color: #E7E8EA;
  }

  .navbar-link::after{
    content: url("../images/nav-before-img.png");
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0%;
  }

  .navbar-link:is( :hover, :focus-visible)::after{
    opacity: 1;
  }

  .header .btn{
    display: flex;
    padding: 12px 24px;
    font-size: var();
  }


  /*hero*/

  .hero{
    text-align: left;
    padding-block-end: 80px;
  }

  .hero .container{
    max-width: 960px;
    grid-template-columns: 1fr 1fr;
  }

  .hero-content{
    margin-top: -50px;
  }
  .hero :is(.section-subtitle, .btn){
    margin-inline: 0;
  }

  .hero .section-title{
    text-align: left;
  }

 

  /*services*/

  .service-card .card-text{
    padding-inline: 25px;
    line-height: 1.45;
    margin-block-end: 15px;
  }

  .services-list li:nth-child(-2n+3){
    margin-block-start: 90px;
  }
  .services-list li:nth-child(4){
    margin-inline-end: 60px;
  }

  .services-list li:nth-child(6){
    margin-inline-start: 60px;
  }

  .service-banner img{
    left: -55%;
    margin-block-start: -30%;
    width: 210%;
  }

  /*about*/

  .about{
    position: relative;
    z-index: 1;
  }

  

  .about, .about .section-title{
    text-align: left;
  }

  .about .container{
    grid-template-columns: 1fr 0.75fr;
    gap: 30px;
  }

  .about .section-subtitle{
    margin-inline: 0;
  }

  .about-banner, .about-banner .w-100{
    margin-inline: auto 0;
  }

  .about-banner .w-100{
    width: 40%;
    display: none;
  }

  .about-item{
    text-align: center;
  }

  .about::before{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    background-image: url(../images/ABOUTUS.PNG);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    z-index: -1;
  }

  /*work*/

  .has-scrollbar{
    overflow-x: visible;
  }

  .scrollbar-item{
    min-width: calc(33.33% - 20px);
  }

}

@media (min-width: 1200px) {
  /*custom property*/

  :root{
    --fs-2: 5rem;
    --fs-3: 4.6rem;
  }

  /*reused style*/

  .container, .hero-container{
    max-width: 1140px;

  }

  .btn{
    padding: 18px 36px;
  }

  .btn .material-symbols-rounded{
    --fs: 1.3em;
  }

  /*header*/

  .header{
    padding-block: 25px;
  }

  .logo img{
    width: 128px;
  }

  .header .btn{
    font-size: unset;
    padding-block: 15px;
  }

  /*hero*/
  .hero{
    padding-block: 250px 180px;
  }

  .hero .container{
    grid-template-columns: 1fr 0.9fr;
  }

  .hero-content{
    margin-top: -100px;
  }

  .hero .section-text{
    font-size: 2rem;
    padding-inline-end: 120px;
  }

 

  /*services*/

  .service .section-title{
    max-width: 700px;

  }

  .services-list{
    margin-block-end: 70px;
  }

  .services-list li:nth-child(2){
    padding-inline: 50px;
  }

  .services-list li:nth-child(-2n+3){
    margin-block-start: 110px;
  }

  .services-list li:is(:nth-child(1), :nth-child(6)){
    margin-inline-start: 75px;
  }

  .services-list li:is(:nth-child(3), :nth-child(4)){
    margin-inline-end: 75px;
  }

  .service-banner img{
    width: max-content;
    left: -56%;
  }

  /*work*/

  .work-card .card-btn{
    font-size: 2.4rem;
    width: 55px;
    height: 55px;
  }

  /*footer*/
  .footer-top{
    padding-block: 150px;
  }

  .footer-top .container{
    padding-inline-start: 25%;
  }

  .footer-bottom{
    position: relative;
    padding-block: 30px;
    z-index: 1;
  }

  .footer :is(.shape-1, .shape-2){
    display: block;
    position: absolute;
    bottom: 0;
    width: 30%;
    pointer-events: none;
    z-index: -1;
  }

  .footer .shape-1{
    left: 5%;
    
  }

  .footer-brand{
    margin-top: -30px;
  }
}

@media (min-width: 1400px) {
  

  :root{
    /*typography*/
    --fs-2: 6rem;

    /*spacing*/
    --section-padding: 140px;
  }


  /*reused style*/

  :is(.header, .hero) .container{
    max-width: 1280px;
  }

  .section-subtitle::before{
    height: 20px;
    margin-inline-end: 5px;
  }

  /*header*/

  .header .btn{
    padding: 18px 36px;
  }

  /*hero*/

  .hero{
    padding-block: 300px;
  }

  .hero .section-text{
    padding-inline-end: 90px;
  }

  

  .hero .move-anim{
    position: absolute;
    bottom: -20;
  right: -8;
  width: 30%;
  z-index: 1;
    height:550px;
    margin-right: -20px;
  }

  /*about*/

  .about::before{
    width: 55%;
  }

  .about-content{
    margin-left: 10%;
  }

  /*footer*/

  .footer-top .container{
    padding-inline-start: 20%;
  }

}
