* {
    margin: 0;
    padding: 0;
    text-decoration: none;
    list-style: none;
    font-family: "Dosis", sans-serif;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    font-family: "Dosis", sans-serif;
}


.top-bar {
    position: fixed;
    width: 100%;
    top: 0px;
    border-bottom: solid #167974 0.1px;
    left: 0;
    z-index: 1;
    background-color:black;
  }
  
  .top-bar__content {
    height: 30px;
    max-width: 1200px;
    padding: 0 30px;
    margin: 0 auto;
    display: flex;
    justify-content: left;
    align-items: center;
    column-gap: 30px;
    font-size: 12px;
    
  }

  .top-bar-left{
    position: fixed;
    left: 18px;
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    gap: 35px;
  }

  .top-bar-left a span{
    text-decoration: none;
  }

  .linkedin{
    right: 14px;
    position: absolute;
    font-size: 12px;
    top: 5px;
    font-weight: normal;
  }

  .fa-solid, .fa-brands{
    color: #167974;
    font-size: 17px;
  }

  span{
    color: white;
    margin-left: 5px;
    margin-right: 5px
  }

  .span{
    margin-right: 5px;
  }

.navbar {
    top: 30px;
    position: fixed;
    padding: 30px;
    display: flex;
    justify-content: space-between;
    width: 100%;
    box-sizing:border-box;
    z-index: 1;
    background-color:rgba(0,0,0,0.6);
    
}

.navbar .logo{
    position: absolute;
    top: 40%;
    left: 15px;
    width: 174px;
    height: auto;
    border-radius: 52px;
    border-top: 3px #187675 solid;
    border-right: 3px #187675 solid;
    border-bottom: 3px #187675 solid;
    border-left: 3px #187675 solid;
    z-index: 1;
            
}

.navbar a{
    color:white;
    font-size: 1.2em;
    font-weight: bold;
}

li div{
    height: 3px;
    background-color: #187675 ;
    width: 0%;
    transition: 0.5s;
}

li:hover>div {
    width: 100%;
}

.navbar .nav-links{
    position: fixed;
    right: 93px;
    bottom: 13px;
    backdrop-filter: blur(7px);
}

.navbar .nav-links ul {
    display: flex;
    
}

.navbar .nav-links ul li {
   margin: 0 35px; 
   
}

.navbar .menu-hamburger{
    position: absolute;
    top: 40px;
    right: 50px;
    width: 35px;
    display: none;
}


.blue-title{
    color: #12504f;
}


@media screen and (max-width: 778px) {
    .navbar {
        padding: 0;
        position: absolute;
    }

    .navbar .logo {
        top: 34px;
        left: 33px;
        width: 104px;
        border-radius: 52px;
    }

    .navbar .menu-hamburger {
        display: block;
    }

    .nav-links {
        top: 0;
        left: 0;
        position: absolute;
        background-color: rgba(24, 118, 117, 0.75);
        width: 100%;
        height: 100vh;
        display: flex;
        justify-content: center;
        align-items: center;
        margin-left: -100%;
        transition: all 0.5s ease;
        z-index: -1;
    }

    .mobile-menu {
        margin-left: 0;
    }

    .nav-links ul {
        flex-direction: column;
        align-items: center;
    }

    .nav-links ul li {
        padding: 25px 0;
        font-size: 1.2em;
    }

    .container-titre {
        position: absolute;
        left: 123px;
        bottom: 198px;
    }

    .container-titre .titre-accueil {
        font-size: 6vw;
        color: white;
        text-align: right;
        left: 8em;
        bottom: 9.25rem;
    }

    section {
        position: static;
    }

    .index-category {
        width: 100%;
        background-color: #cec9c9;
        display: grid;
        place-items: center;
        font-family: 'Poppins', sans-serif;
        padding: 29px 88px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 750px) {
    .top-bar {
        display: none;
    }

    .navbar {
        top: 0;
    }
}

@media screen and (min-width: 721px) {
    .navbar .nav-links {
        position: absolute;
        right: 93px;
        bottom: 13px;
        backdrop-filter: blur(7px);
    }
}



@media screen and (min-width: 774px) and (max-width: 778px) {
    .navbar .nav-links {
        position: absolute;
        right: -17px;
        bottom: 13px;
        backdrop-filter: blur(7px);
    }
}


@media screen and (min-width: 779px) {
    .navbar .nav-links {
        position: absolute;
        right: -17px;
        bottom: 13px;
        backdrop-filter: none;
    }
   
}

svg{
    width: 25px;
}

/* css slider */
.slider{
    height: 100vh;
    margin-top: -50px;
    position: relative;
    z-index: 0;
}
.slider .list .item{
    position: absolute;
    inset: 0 0 0 0;
    overflow: hidden;
    opacity: 0;
    transition: .5s;
}
.slider .list .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider .list .item::after{
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    bottom: 0;
    background-image: linear-gradient(
        to top, #000, transparent
    );
}
.slider .list .item .content{
    position: absolute;
    left: 10%;
    top: 45%;
    width: 624px;
    max-width: 80%;
    z-index: 1;
    color: lightgrey;
}
.slider .list .item .content p:nth-child(1){
    text-transform: uppercase;
    letter-spacing: 10px;
}
.slider .list .item .content h2{
    font-size: 49px;
    margin: 0;
}

.slider .list .item .content P{
    font-size: 20px;
    margin: 0;
}

.slider .list .item.active{
    opacity: 1;
    z-index: 10;
}
@keyframes showContent {
    to{
        transform: translateY(0);
        filter: blur(0);
        opacity: 1;
    }
}
.slider .list .item.active p:nth-child(1),
.slider .list .item.active h2,
.slider .list .item.active p:nth-child(3){
    transform: translateY(30px);
    filter: blur(20px);
    opacity: 0;
    animation: showContent .2s .5s ease-in-out 1 forwards;
}
.slider .list .item.active h2{
    animation-delay: 1s;
}
.slider .list .item.active p:nth-child(3){
    animation-duration: 1.3s;
}
.arrows{
    position: absolute;
    top: 30%;
    right: 50px;
    z-index: 100;
}
.arrows button{
    background-color: transparent;
    border: none;
    font-family: monospace;
    width: 40px;
    height: 40px;
    border-radius: 5px;
    font-size: x-large;
    color: transparent;
    transition: .5s;
}
.arrows button:hover{
    background-color: transparent;
    color: black;
}
.thumbnail{
    position: absolute;
    bottom: 50px;
    z-index: 11;
    display: flex;
    gap: 10px;
    width: 100%;
    height: 26px;
    padding: 0 50px;
    box-sizing: border-box;
    overflow: auto;
    justify-content: center;
}
.thumbnail::-webkit-scrollbar{
    width: 0;
}
.thumbnail .item{
    width: 22px;
    height: 22px;
    filter: brightness(.5);
    transition: .5s;
    flex-shrink: 0;
    border-radius: 155px;
    background-color: #12504f;
}
.thumbnail .item img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}
.thumbnail .item.active{
    filter: brightness(1.5);
}
.thumbnail .item .content{
    position: absolute;
    inset: auto 10px 10px 10px;
}
@media screen and (max-width: 678px) {
    .thumbnail{
        justify-content: center;
    }
    .slider .list .item .content h2{
        font-size: 30px;
    }
    .arrows{
        top: 10%;
    }
    
}

.apropos-section {
  background: linear-gradient(to bottom, black, #2e2e2e);
  color: #fff;
  padding: 80px 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Dosis', sans-serif;
}

.apropos-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 40px;
}

.apropos-left {
  flex: 1;
}

.apropos-left h1 {
  font-size: 50px;
  margin-bottom: 20px;
  font-weight: 600;
  color: #ffffff;
  font-weight: 100;
}

.apropos-left p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #dcdcdc;
  text-align: justify;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .apropos-container {
    flex-direction: column;
    gap: 20px;
  }

  .apropos-left h1 {
    font-size: 2rem;
    text-align: center;
  }

  .apropos-left p {
    font-size: 1rem;
    text-align: justify;
  }
}



.section-servicebox{
    background-color: white;
    
}

.servicebox-title{
    display: flex;
    position: inherit;
    justify-content: left;
    width: 70%;
    font-size: 50px;
    margin-top: 48px;
    margin-bottom: 60px;
    font-weight: 100;
    position: relative;
    left: 7%;
}

.servicebox-title-2{
    display: flex;
    position: inherit;
    justify-content: left;
    width: 70%;
    font-size: 50px;
    margin-top: 48px;
    margin-bottom: 20px;
    font-weight: 100;
    position: relative;
    left: 7%;
}

.container .row{
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 2px;
    top: 76px;
    position: inherit;
    
}

.demo{ background-color: #E8E9EB; }
.serviceBox{
  color: #555;
    background: white;
    border: 1px solid #e0e0e0;
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    height: 100%;
    cursor: pointer;
}

.serviceBox:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.serviceBox:before{
    content: "";
    background:#f0efef;
    width: 125%;
    height: 230px;
    border-radius: 50%;
    position: absolute;
    top: -75px;
    left: -50px;
    z-index: -1;
}

.serviceBox img{
    height: 79px;
}
.serviceBox .service-icon{
    color: #fff;
    font-size: 75px;
    line-height: 20px;
    margin: 0 auto 30px;
}
.serviceBox .service-icon i{
    transform: rotateX(0deg) rotateY(0deg);
    transition: all 0.3s ease 0s;
}
.serviceBox:hover .service-icon i{
    text-shadow: 0 0 5px #fff;
    transform: rotateX(360deg) rotateY(360deg);
}

.serviceBox span{
    color: black;
}
.serviceBox .title{
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 0 10px;
    transition: all 0.3s;
}
.serviceBox:hover .title{ color: #187675; }
.serviceBox .description{
    font-size: 15px;
    line-height: 25px;
}

.col-md-3, .col-sm-6{
    width: 30%;
    
}
.serviceBox.yellow:before{ background: linear-gradient(45deg,#db9e11,#FEC132,#db9e11); }
.serviceBox.yellow:hover .title{ color: #db9e11; }
.serviceBox.red:before{ background: linear-gradient(45deg,#d1082d,#ED2D52,#d1082d); }
.serviceBox.red:hover .title{ color: #d1082d; }
.serviceBox.gray:before{ background: linear-gradient(45deg,#343538,#626367,#343538); }
.serviceBox.gray:hover .title{ color: #343538; }
@media only screen and (max-width:990px){
    .serviceBox{ margin: 0 0 40px; }
}
@media screen and (max-width: 678px) {
    .section-servicebox{
        height: auto;
    }

    .servicebox-title p, .servicebox-title-2 {
        position: relative;
        left: 0%;
    }
    
    .container .row{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        top: 76px;
        position: inherit;
        
    }
    .col-md-3, .col-sm-6{
        width: 80%
        
    }

    .serviceBox{
        height: fit-content;
    }
    .servicebox-title{
        display: flex;
        position: inherit;
        justify-content: center;
        width: 100%;
        font-size: 9vw;
        margin-top: 48px;
        margin-bottom: 60px;
    } 

    .servicebox-title-2{
        display: flex;
        position: inherit;
        justify-content: center;
        width: 100%;
        font-size: 9vw;
        margin-top: 48px;
        margin-bottom: 20px;
    }
}


div { box-sizing: border-box; }

.circle-container {
  display: flex;
  justify-content: center;
  align-content: flex-start;
  -webkit-flex-flow: row wrap;
  flex-flow: row wrap;
  padding: 29px;
  
}

.circle {
    width: 187px;
    height: 200px;
    border-radius: 1000px; 
    margin: 0.5em;
    
}

.circle.aeronautique{
  background-image: url(img/Image3.1.JPG);
  background-size: cover;
    background-repeat: none;
    background-position: center center;
    color: white;
}

.circle.naval{
    background-image: url(img/Image2.1.png);
  background-size: cover;
    background-repeat: none;
    background-position: center center;
    color: white;
}

.circle.mecanique-generale{
    background-image: url(img/Image4.1.png);
  background-size: cover;
    background-repeat: none;
    background-position: center center;
    color: white;
}

.circle.medical{
    background-image: url(img/Image5.1.jpg);
  background-size: cover;
    background-repeat: none;
    background-position: center center;
    color: white;
}

.circle.automobile{
    background-image: url(img/Image6.1.jpg);
  background-size: cover;
    background-repeat: none;
    background-position: center center;
    color: white;
}

.circle.defense{
    background-image: url(img/Image7.1.jpg);
  background-size: cover;
    background-repeat: none;
    background-position: center center;
    color: white;
}



.aligner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}


.section3 {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: lightgrey;
  }
  .container-section3 {
    width: 90%;
    max-width: 1453px;
    margin: 50px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: aqua; */
  }
  .left {
    width: 78%;
    height: 600px;
    background: url(img/pexel3.jpg)
      no-repeat center / cover;
    border-radius: 8px;
  }
  .right {
    width: 50%;
    min-height: 400px;
    background-color: #303137;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    border-radius: 8px;
    color: white;
    margin-left: -150px;
  }
  .right h1 {
    font-size: 40px;
    font-weight: lighter;
  }
  .right p {
    margin: 20px 0;
    font-weight: 500;
    line-height: 25px;
    text-align: justify;
  }
  .right a {
    text-decoration: none;
    text-transform: uppercase;
    background-color: white;
    color: black;
    padding: 20px 30px;
    display: inline-block;
    letter-spacing: 2px;
  }
  
  @media only screen and (max-width: 768px) {
    .container-section3 {
      flex-direction: column;
      width: 100%;
      margin: 0 20px;
      padding-bottom: 20px;
    }
    .left {
      width: 100%;
      height: 400px;
    }
    .right {
      width: 90%;
      margin: 0;
      margin-top: -100px;
    }
  }
  
 
  
footer.modern-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  background: linear-gradient(135deg, #1f1f1f, #333);
  color: #fff;
  padding: 40px 20px;
  font-family: "Dosis", sans-serif;
  box-sizing: border-box;
  gap: 40px;
  text-align: left;
}

.footer-column {
  flex: 1 1 300px;
  max-width: 300px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.brand {
  width: 150px;
  height: auto;
  border-radius: 52px;
  border: 3px solid #187675;
  margin-bottom: 15px;
}

footer.modern-footer p.tagline {
  font-style: italic;
  font-size: 0.95rem;
  color: #ccc;
}

.footer-column h3 {
  font-size: 1.1rem;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 6px;
}

.footer-nav a {
  color: #fff;
  text-decoration: none;
  position: relative;
  transition: color 0.3s ease;
}

.footer-nav a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.footer-nav a:hover::after {
  width: 100%;
}

.social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.social-icon, .social-icons a {
  font-size: 1.6rem;
  transition: transform 0.3s ease;
  color: #fff;
  text-decoration: none;
}

.social-icon:hover, .social-icons a:hover {
  transform: scale(1.2);
}

@media screen and (max-width: 768px) {
  footer.modern-footer {
    flex-direction: column;
    padding: 30px 20px;
    gap: 20px;
  }

  .footer-column {
    width: 100%;
    max-width: none;
    flex: 1 1 150px;
  }

  .footer-nav {
    align-items: center;
  }
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

