.hero-block {
        position: absolute;
        top: 50%;
        left: 6%;
        transform: translateY(-50%);
        max-width: 550px;
        text-align: left;
        z-index: 5;
    }
    .hero-title {
        font-size: clamp(1.6rem, 3vw, 3rem); 
        font-weight: 700;
        color: #0A1A44; 
        line-height: 1.3;
        margin-bottom: 18px;
    }
    
   
  
  .hero-subtitle {
      font-size: clamp(1rem, 1.4vw, 1.2rem);
      color: #3c3c3c; 
      margin-bottom: 25px;
      line-height: 1.55;
      font-weight: 500; 
  }
    .hero-btn {
        padding: 12px 28px;
        font-size: 1.05rem;
        border-radius: 6px;
    }
    
    .hero-slideshow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 0;
        overflow: hidden;
    }
    .hero-slideshow img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        filter: blur(4px) brightness(0.7); 
        opacity: 0;
        animation: fadeSlide 25s infinite;
    }
    .hero-slideshow::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.5);  
      z-index: 1;
  }
    .hero-slideshow img:nth-child(1) { animation-delay: 0s; }
    .hero-slideshow img:nth-child(2) { animation-delay: 5s; }
    .hero-slideshow img:nth-child(3) { animation-delay: 10s; }
    .hero-slideshow img:nth-child(4) { animation-delay: 15s; }
    .hero-slideshow img:nth-child(5) { animation-delay: 20s; }
    @keyframes fadeSlide {
        0% { opacity: 0; }
        10% { opacity: 1; }
        30% { opacity: 1; }
        40% { opacity: 0; }
        100% { opacity: 0; }
    }
    .hero-slideshow img {
      position: absolute;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: blur(2px) brightness(0.7); 
      opacity: 0;
      animation: fadeSlide 25s infinite;
      transition: opacity 1s ease-in-out;
  }
  
  .hero-slideshow::after {
      content: "";
      position: absolute;
      inset: 0;
      background: rgba(255, 255, 255, 0.4); 
      z-index: 1;
      transition: opacity 1s ease-in-out; 
  }
  @keyframes fadeSlide {
      0% { opacity: 0; }
      10% { opacity: 1; }
      30% { opacity: 1; }
      40% { opacity: 0; }
      100% { opacity: 0; }
  }
    
    .carousel-caption,
    .hero-title,
    .hero-subtitle,
    .hero-btn {
        position: relative;
        z-index: 5 !important;
    }
    
    .carousel-item {
        height: 100vh;
        position: relative;
    }
    .carousel-item .carousel-caption {
        top: 50%;
        transform: translateY(-50%);
        padding-top: 70px; 
    }
    .carousel-caption {
        z-index: 10 !important;
        position: relative;
    }
    @media (max-width: 768px) {
        .hero-block {
            left: 5%;
            top: 55%;
            max-width: 90%;
        }
    
        .hero-title {
            font-size: 1.6rem;
        }
    
        .hero-subtitle {
            font-size: 0.95rem;
        }
    
        .hero-btn {
            font-size: 1rem;
            padding: 10px 22px;
        }
    }
  
  .hero-btn-primary {
      background: #1A4FFF;   
      color: #fff;
      border-radius: 8px;
      padding: 12px 26px;
      font-weight: 600;
      border: none;
      transition: 0.3s ease;
  }
  
  .hero-btn-primary:hover {
      background: #0039d6;
      transform: translateY(-2px);
  }
  .hero-btn-secondary {
      background: rgba(255,255,255,0.10);
      color: #fff;
      border: 2px solid #ffffff;
      border-radius: 8px;
      padding: 12px 26px;
      font-weight: 500;
      transition: 0.3s ease;
  }
  
  .hero-btn-secondary:hover {
      background: #ffffff;
      color: #0A1A44;    
      transform: translateY(-2px);
  }
  
  .hero-side-box{
    background:#fff;
    color:#0A1A44;
    border-radius:12px;
    box-shadow:0 8px 22px rgba(0,0,0,0.15);
    padding: 1rem;              
    z-index:20;
    font-size: 0.95rem;         
    line-height: 1.45;
  }
  
  @media (min-width: 992px){
    .hero-side-box{
      position: absolute;      
      right: 3%;
      bottom: 6%;
      max-width: 430px;
      z-index: 999;            
    }
  }
  .hero-side-box .btn{
    padding: .35rem .75rem;
    font-size: .85rem;
  }
  @media (max-width: 991.98px){
    .carousel-caption{
      padding-bottom: 40px !important;
    }
  }
  @media (max-width: 991.98px){
    .hero-side-box{
      position: static;
      max-width: 100%;
      margin-top: 1.25rem;
    }
  
    .carousel-item .carousel-caption{
      top: 0 !important;
      transform: none !important;
      padding-top: var(--header-offset) !important;
      padding-bottom: 20px;
    }
  }
  @media (max-width: 991.98px){
    .carousel-item{
      height: auto !important;     
      min-height: 100vh;           
      padding-bottom: 24px;        
    }
  }
  
  @media (max-width: 991.98px){
    .hero-wrap{
      margin-bottom: 12px !important; 
    }
    .mobile-about{
      margin-top: 12px !important;    
    }
  }
  @media (max-width: 991.98px){
    #about-details-desktop{ display:none !important; }
  }
  .section-divider{
    display: block;
    width: 140px;                 
    height: 4px;                  
    border-radius: 999px;         
    background: rgba(10,26,68,.18);
  }
  .why-box{
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(10,26,68,.12);
    border-radius: 12px;
    padding: 16px 18px;
  }
  
  .why-box-title{
    font-weight: 700;
    color: #0A1A44;
    margin-bottom: 10px;
  }
  
  .why-list{
    margin: 0 0 12px 18px;
  }
  
  .why-list-strong{
    list-style: none;
    padding-left: 0;
  }
  
  .why-list-strong li{
    padding: 8px 0;
  }
  .simple-frame{
    border: 2px solid rgba(10,26,68,.15);
    border-radius: 18px;
    padding: 26px;
    background: #fff;
  }
  
  @media (max-width: 991.98px){
    .simple-frame{
      padding: 18px;
      border-radius: 14px;
    }
  }
  .card-img-top{
    height: 230px;
    object-fit: cover;
  }
  
  .card{
    border-radius: 12px;
    overflow: hidden;
  }
  
  .card-body{
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }
  .section-sep{
    display: flex;
    justify-content: center;
    margin: 48px 0;              
  }
  
  .section-sep span{
    width: 140px;                
    height: 4px;                 
    border-radius: 999px;        
    background: rgba(10,26,68,.16);
  }
  
  @media (max-width: 991.98px){
    .section-sep{
      margin: 28px 0;            
    }
    .section-sep span{
      width: 110px;
      height: 4px;
    }
  }

  

@media (max-width: 991.98px){

.navbar-brand{ margin-right: 8px; }
}
.page-header{
  position: relative;
  height: 320px;
  background: url("../../img/actualite.jpg") center center / cover no-repeat;
  background-image: image-set(url("../../img/actualite.webp") type("image/webp"), url("../../img/actualite.jpg") type("image/jpeg"));
  overflow: hidden;
}
.page-header::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(220,220,220,0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.page-header-content{
  position: absolute;
  bottom: 28px;                 
  left: 50%;
  transform: translateX(-50%); 
  z-index: 2;
  text-align: center;
  width: 100%;
}
.page-header h1{
  color:#0A1A44;
  font-weight: 800;
  margin: 0;
}
.page-header{
  position: relative;
  height: 320px;
  background: url("../../img/actualite.jpg") center center / cover no-repeat;
  background-image: image-set(url("../../img/actualite.webp") type("image/webp"), url("../../img/actualite.jpg") type("image/jpeg"));
  overflow: hidden;
}
.page-header::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(220,220,220,0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.page-header-content{
  position: absolute;
  bottom: 28px;                 
  left: 50%;
  transform: translateX(-50%); 
  z-index: 2;
  text-align: center;
  width: 100%;
}
.page-header h1{
  color:#0A1A44;
  font-weight: 800;
  margin: 0;
}
.page-header{
  position: relative;
  height: 320px;
  background: url("../../img/actualite.jpg") center center / cover no-repeat;
  background-image: image-set(url("../../img/actualite.webp") type("image/webp"), url("../../img/actualite.jpg") type("image/jpeg"));
  overflow: hidden;
}
.page-header::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(220,220,220,0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.page-header-content{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  text-align: center;
  width: 100%;
}
.page-header h1{
  color:#0A1A44;
  font-weight: 800;
  margin: 0;
}
@media (max-width: 768px){
  .page-header{
    height: 220px;
  }

  .page-header h1{
    font-size: 2rem;
  }
}
.page-header{
  position: relative;
  height: 320px;
  background: url("../../img/actualite.jpg") center center / cover no-repeat;
  background-image: image-set(url("../../img/actualite.webp") type("image/webp"), url("../../img/actualite.jpg") type("image/jpeg"));
  overflow: hidden;
  display: flex;
  align-items: center;      
  justify-content: center;  
  text-align: center;
}
.page-header::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(220,220,220,0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}
.page-header h1{
  position: relative;
  z-index: 2;
  margin: 0;
  color:#0A1A44;
  font-weight: 800;
}
@media (max-width: 768px){
  .page-header{ height: 220px; }
  .page-header h1{ font-size: 2rem; }
}
.dropdown-menu .dropdown-item{
  color: #000 !important;
  transition: color 0.2s ease, background 0.2s ease;
}

.dropdown-menu .dropdown-item:hover{
  color: var(--bs-primary) !important;
  background: rgba(13,110,253,0.08); 
}
.page-header{
  position: relative;
  height: 320px;
  width: 100%;
  background: url("../../img/actualite.jpg") center center / cover no-repeat;
  background-image: image-set(url("../../img/actualite.webp") type("image/webp"), url("../../img/actualite.jpg") type("image/jpeg"));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: var(--header-offset); 
}

.page-header::before{
  content:"";
  position:absolute;
  inset:0;
  background: rgba(220,220,220,0.55);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.page-header .container,
.page-header h1{
  position: relative;
  z-index: 2;
}

@media (max-width: 991.98px){
  .page-header{
    margin-top: var(--header-offset);
    height: 220px;
  }
  .page-header h1{
    font-size: 2rem;
  }
}

.container.py-5 h3.text-secondary.fw-bold{
  color: #0A1A44 !important;
}

:root{
  --navy:#0A1A44;
  --ink:#1b1f2a;
  --muted:#5b6475;
  --card:#ffffff;
  --bg:#f6f8fc;
  --line:rgba(10,26,68,.12);
}
.article-wrap{
  background: var(--bg);
}
.page-header{
  position: relative;
  height: 320px;
  width: 100%;
  background: url("../../img/actualite.jpg") center/cover no-repeat;
  background-image: image-set(url("../../img/actualite.webp") type("image/webp"), url("../../img/actualite.jpg") type("image/jpeg"));
  overflow: hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  margin-top: var(--header-offset); 
}

.page-header::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.55));
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.page-header h1{
  position: relative;
  z-index: 1;
  margin:0;
  color: var(--navy);
  font-weight: 900;
  letter-spacing: .2px;
}

@media (max-width: 991.98px){
  .page-header{ margin-top: var(--header-offset); height: 220px; }
  .page-header h1{ font-size: 2rem; }
}
.article-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(10,26,68,.06);
  overflow:hidden;
}
.article-head{
  padding: 28px 28px 10px;
}
.article-title{
  color: var(--navy);
  font-weight: 900;
  line-height: 1.15;
  margin: 0 0 10px;
}
.article-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px 14px;
  color: var(--muted);
  font-size: .95rem;
}
.article-meta i{ color: #2b6fff; }
.article-hero{
  padding: 0 28px 18px;
}
.article-hero img{
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
}
.article-body{
  padding: 0 28px 28px;
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.85;
}
.article-body p.lead{
  color: #2a3243;
  font-weight: 500;
  line-height: 1.7;
}
.article-body h3{
  color: var(--navy) !important;
  font-weight: 900;
  margin-top: 28px;
  margin-bottom: 10px;
  display:flex;
  align-items:center;
  gap:10px;
}
.article-body h3::before{
  content: attr(data-num);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(43,111,255,.10);
  color: #2b6fff;
  font-size: 14px;
  font-weight: 900;
}
.article-divider{
  height: 1px;
  background: var(--line);
  margin: 12px 0 18px;
}
.article-body ul{
  padding-left: 1.15rem;
}
.article-body li{
  margin: 7px 0;
}
.article-body strong{
  color: var(--navy);
}
.article-side{
  position: sticky;
  top: 120px;
}
.side-card{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(10,26,68,.06);
}
.side-card .side-head{
  padding: 16px 16px 10px;
  border-bottom: 1px solid var(--line);
}
.side-card .side-head h5{
  margin:0;
  color: var(--navy);
  font-weight: 900;
}
.side-card .side-body{
  padding: 14px 16px 16px;
}
.side-card a{
  text-decoration:none;
}
.toc a{
  display:block;
  padding: 8px 10px;
  border-radius: 10px;
  color: #26314a;
  border: 1px solid transparent;
}
.toc a:hover{
  background: rgba(43,111,255,.06);
  border-color: rgba(43,111,255,.15);
  color: #2b6fff;
}
.callout{
  margin-top: 14px;
  border-radius: 14px;
  border: 1px solid rgba(43,111,255,.20);
  background: rgba(43,111,255,.06);
  padding: 14px 14px 12px;
}
.callout h6{
  margin:0 0 8px;
  font-weight: 900;
  color: var(--navy);
}
.table-modern{
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow:hidden;
}
.table-modern table{
  margin:0;
}
.table-modern thead{
  background: rgba(10,26,68,.06);
}
.table-modern th{
  color: var(--navy);
  font-weight: 900;
}
.table-modern td{
  vertical-align: top;
}
@media (max-width: 991.98px){
  .article-head{ padding: 20px 18px 8px; }
  .article-hero{ padding: 0 18px 14px; }
  .article-body{ padding: 0 18px 20px; }
  .article-side{ position: static; top:auto; }
}
.page-header{
  padding-top: 40px;
  padding-bottom: 40px;
}
.page-header h1{
  font-size: clamp(2.8rem, 6vw, 4.2rem);
  margin-top: 0;
  margin-bottom: 0;
}
@media (max-width: 768px){
  .page-header{
    padding-top: 24px;
    padding-bottom: 24px;
  }

  .page-header h1{
    font-size: 2.2rem;
  }
}
