.hero-buttons{
  display:flex;
  gap:20px;
}

/* HERO SLIDER */

.hero{
  position:relative;
  width:100%;
  height:100vh;
  min-height:880px;
  overflow:hidden;
}

.slider{
  width:100%;
  height:100%;
  position:relative;
}

.slide{
  position:absolute;
  width:100%;
  height:100%;
  opacity:0;
  transition:1s ease-in-out;
}

.slide.active{
  opacity:1;
  z-index:1;
}

.slide img{
  width:100%;
  height:100%;
  object-fit:cover;
  /* object-fit:contain; */
  /* background:#5f33ff; */
  object-position:center top;
}

.slide::before{
  content:'';
  position:absolute;
  width:100%;
  height:100%;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.7),
    rgba(0,0,0,0.3)
  );
  top:0;
  left:0;
}

.slide-content{
  position:absolute;
  top:50%;
  left:8%;
  transform:translateY(-50%);
  color:#fff;
  max-width:700px;
  z-index:2;
}

.slide-content span{
  background:#003399;
  padding:10px 20px;
  border-radius:50px;
  font-size:14px;
  display:inline-block;
  margin-bottom:25px;
}

.slide-content h1{
  font-size:58px;
  font-weight:800;
  line-height:1.1;
  letter-spacing:-1px;
}

.slide-content p{
  font-size:18px;
  line-height:1.8;
  margin-bottom:35px;
  color:#eee;
}

.slide-content span{
  letter-spacing:1px;
  text-transform:uppercase;
  font-weight:600;
}

/* SLIDER BUTTONS */

.slider-buttons{
  position:absolute;
  width:100%;
  top:50%;
  transform:translateY(-50%);
  display:flex;
  justify-content:space-between;
  padding:0 25px;
  z-index:5;
}

.slider-buttons button{
  width:60px;
  height:60px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,0.2);
  color:#fff;
  font-size:22px;
  cursor:pointer;
  backdrop-filter:blur(5px);
  transition:0.3s;
}

.slider-buttons button:hover{
  background:#003399;
}

/* DOTS */

.dots{
  position:absolute;
  bottom:40px;
  width:100%;
  display:flex;
  justify-content:center;
  gap:15px;
  z-index:5;
}

.dot{
  width:15px;
  height:15px;
  background:rgba(255,255,255,0.5);
  border-radius:50%;
  cursor:pointer;
  transition:0.3s;
}

.dot.active{
  background:#fff;
  transform:scale(1.3);
}

/* RESPONSIVE */

@media(max-width:768px){

  .slide-content{
    left:5%;
    right:5%;
  }

  .slide-content h1{
    font-size:42px;
  }

  .slide-content p{
    font-size:16px;
  }

}

.btn{
  padding:15px 35px;
  border-radius:50px;
  font-weight:600;
  transition:0.3s;
}

.primary-btn{
  background:#003399;
  color:#fff;
}

.primary-btn:hover{
  background:#001d66;
}

.secondary-btn{
  border:2px solid #003399;
  color:#003399;
}

.secondary-btn:hover{
  background:#003399;
  color:#fff;
}

.hero-image{
  flex:1;
  text-align:center;
}

.hero-image img{
  width:100%;
  max-width:500px;
}

/* ABOUT */

.about{
  padding:100px 8%;
  background:#fff;
}

section{
  will-change: transform, opacity;
}

.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title h2{
  font-size:44px;
  font-weight:800;
  background: linear-gradient(90deg,#1100ff,#c1d2ff);
  background-clip:text;
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.section-title p{
  color:#666;
  margin-top:10px;
}

.about-container{
  display:flex;
  align-items:center;
  gap:50px;
}

.about-image img{
  width:100%;
  max-width:450px;
  border-radius:20px;
}

.about-content h3{
  font-size:32px;
  margin-bottom:20px;
}

.about-content p{
  line-height:1.9;
  color:#555;
  margin-bottom:30px;
}

.stats{
  display:flex;
  gap:20px;
}

.stat-box{
  background:#f0f4ff;
  padding:25px;
  border-radius:15px;
  text-align:center;
  flex:1;
}

.stat-box h2{
  color:#003399;
  margin-bottom:10px;
}

.stat-box:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 30px rgba(0,0,0,0.1);
}

/* ACTIONS */

.actions{
  padding:100px 8%;
  background:#f5f7fb;
}

.actions-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:30px;
}

.action-card{
  background:#fff;
  padding:40px 30px;
  border-radius:20px;
  text-align:center;
  transition:0.4s;
  border:1px solid rgba(0,0,0,0.05);
  box-shadow:0 10px 30px rgba(0,0,0,0.05);
}

.action-card:hover{
  transform:translateY(-15px);
  box-shadow:0 20px 50px rgba(0,0,0,0.12);
}

.action-card i{
  font-size:50px;
  color:#003399;
  margin-bottom:20px;
}

.action-card h3{
  margin-bottom:15px;
}

.action-card p{
  color:#666;
  line-height:1.7;
}

.action-card,
.news-card,
.vision-card,
.gal-item{
  will-change: transform;
  transition: all 0.4s cubic-bezier(.25,.8,.25,1);
}
/* VISION */

.vision{
  padding:100px 8%;
  background:linear-gradient(to right,#001d66,#003399);
  color:#fff;
}

.vision .section-title h2,
.vision .section-title p{
  color:#fff;
}

.vision-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
  gap:30px;
}

.vision-card{
  background:rgba(255,255,255,0.1);
  backdrop-filter:blur(10px);
  padding:50px 35px;
  border-radius:20px;
  text-align:center;
  transition:0.3s;
}

.vision-card:hover{
  transform:translateY(-10px);
}

.vision-card i{
  font-size:55px;
  margin-bottom:25px;
  color:#ffcc00;
}

.vision-card h3{
  margin-bottom:20px;
  font-size:28px;
}

.vision-card p{
  line-height:1.8;
}

/* NEWS */
.news{
  padding:100px 8%;
  background:#fff;
}

.news-container{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.news-card{
  background:#fff;
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
  transition:0.3s;
}

.news-card:hover{
  transform:translateY(-10px);
}

.news-card img{
  width:100%;
  height:300px;
  object-fit:cover;
}

.news-content{
  padding:25px;
}

.news-content span{
  color:#003399;
  font-weight:600;
  font-size:14px;
}

.news-content h3{
  margin:15px 0;
  line-height:1.5;
}

.news-content p{
  color:#666;
  line-height:1.7;
}

/* =========================
   TIMELINE
========================= */

.timeline{
  padding:100px 8%;
  background:#fff;
  position:relative;
}

.timeline-container{
  position:relative;
  max-width:1200px;
  margin:auto;
  padding-top:40px;
}

/* Ligne centrale */

.timeline-container::after{
  content:'';
  position:absolute;
  width:6px;
  background:#003399;
  top:0;
  bottom:0;
  left:50%;
  margin-left:-3px;
  border-radius:10px;
}

/* Item */

.timeline-item{
  padding:20px 40px;
  position:relative;
  width:50%;
}

/* Cercle */

.timeline-item::after{
  content:'';
  position:absolute;
  width:25px;
  height:25px;
  right:-13px;
  background:#fff;
  border:5px solid #003399;
  top:35px;
  border-radius:50%;
  z-index:10;
}

/* Gauche */

.left{
  left:0;
}

/* Droite */

.right{
  left:50%;
}

.right::after{
  left:-13px;
}

/* Contenu */

.timeline-content{
  padding:30px;
  background:#f5f7fb;
  position:relative;
  border-radius:20px;
  box-shadow:0 5px 20px rgba(0,0,0,0.08);
  transition:0.3s;
}

.timeline-content:hover{
  transform:translateY(-10px);
}

.timeline-content span{
  display:inline-block;
  background:#003399;
  color:#fff;
  padding:8px 18px;
  border-radius:30px;
  font-size:14px;
  margin-bottom:20px;
}

.timeline-content h3{
  margin-bottom:15px;
  color:#111;
}

.timeline-content p{
  color:#666;
  line-height:1.8;
}

/* RESPONSIVE */

@media(max-width:991px){

  .timeline-container::after{
    left:31px;
  }

  .timeline-item{
    width:100%;
    padding-left:80px;
    padding-right:25px;
  }

  .timeline-item::after{
    left:18px;
  }

  .right{
    left:0;
  }

}

/* GALLERY */

/* =========================
   PREMIUM GALLERY
========================= */

.gallery{
  padding:100px 8%;
  background:#f5f7fb;
}

/* FILTERS */

.gallery-filters{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:15px;
  margin-bottom:50px;
}

.filter{
  padding:14px 28px;
  border:none;
  border-radius:50px;
  background:#fff;
  color:#003399;
  font-weight:600;
  cursor:pointer;
  transition:0.3s;
  box-shadow:0 5px 15px rgba(0,0,0,0.08);
}

.filter.active,
.filter:hover{
  background:#003399;
  color:#fff;
  transform:translateY(-3px);
}

/* MASONRY GRID */

.gallery-container{
  columns:3 250px;
  column-gap:20px;
}

.gal-item{
  position:relative;
  overflow:hidden;
  border-radius:20px;
  margin-bottom:20px;
  cursor:pointer;
  break-inside:avoid;
  transition:0.4s;
}

.gal-item.hide{
  display:none;
}

.gal-item img{
  width:100%;
  display:block;
  border-radius:20px;
  transition:0.5s;
}

/* HOVER */

.gal-item::before{
  content:'';
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.2);
  opacity:0;
  transition:0.4s;
  z-index:1;
}

.gal-item::after{
  content:'\f00e';
  font-family:"Font Awesome 6 Free";
  font-weight:900;
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  color:#fff;
  font-size:35px;
  opacity:0;
  z-index:2;
  transition:0.4s;
}

.gal-item:hover::before,
.gal-item:hover::after{
  opacity:1;
}

.gal-item:hover img{
  transform:scale(1.1);
}

/* LIGHTBOX */

.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.95);
  display:none;
  justify-content:center;
  align-items:center;
  z-index:999999;
}

.lightbox-img{
  max-width:90%;
  max-height:85vh;
  border-radius:20px;
  animation:zoomIn 0.4s ease;
}

@keyframes zoomIn{
  from{
    transform:scale(0.8);
    opacity:0;
  }
  to{
    transform:scale(1);
    opacity:1;
  }
}

/* CLOSE */

.close{
  position:absolute;
  top:30px;
  right:40px;
  color:#fff;
  font-size:45px;
  cursor:pointer;
}

/* NAVIGATION */

.lightbox-prev,
.lightbox-next{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  width:60px;
  height:60px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,0.2);
  color:#fff;
  font-size:22px;
  cursor:pointer;
  transition:0.3s;
}

.lightbox-prev:hover,
.lightbox-next:hover{
  background:#003399;
}

.lightbox-prev{
  left:40px;
}

.lightbox-next{
  right:40px;
}

/* RESPONSIVE */

@media(max-width:768px){

  .gallery-container{
    columns:2 150px;
  }

  .lightbox-prev,
  .lightbox-next{
    width:50px;
    height:50px;
  }

}

@media(max-width:500px){

  .gallery-container{
    columns:1 100%;
  }

}

