/* =========================================================
   SEIDSP - Secretariat d'Etat charge des Investissements
   et du Developpement du Secteur Prive
   ========================================================= */

:root{
  --navy: #0d2645;
  --navy-dark: #081a30;
  --navy-soft: #14335c;
  --green: #52a072;
  --green-dark: #418259;
  --green-light: #eef7ea;
  --teal: #2f8bc7;
  --logo-blue-light: #6fc6ea;
  --logo-blue: #2f8bc7;
  --logo-green-light: #a4d24a;
  --logo-green: #3f9e56;
  --gray-text: #6b7280;
  --border: #e6e9ef;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(13,38,69,.08);
  --font-head: 'Poppins', sans-serif;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--navy);
  background:var(--white);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}
ul{list-style:none;margin:0;padding:0;}

.scroll-progress{
  position:fixed;top:0;left:0;
  height:3px;width:0%;
  background:linear-gradient(90deg,var(--teal),var(--green));
  z-index:1000;
  transition:width .1s linear;
}

.cursor-follower{
  position:fixed;top:0;left:0;
  width:92px;height:92px;
  border-radius:50%;
  background:var(--navy);
  color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-family:var(--font-head);font-size:13px;font-weight:600;letter-spacing:.02em;
  transform:translate(-50%,-50%) scale(0);
  opacity:0;
  pointer-events:none;
  z-index:9999;
  transition:opacity .25s ease, background .25s ease;
  will-change:transform;
}
.cursor-follower.is-active{opacity:1;}
@media (hover: none), (pointer: coarse){
  .cursor-follower{display:none;}
}

.wipe-reveal{clip-path:inset(0 0 0 100%);transition:clip-path .9s cubic-bezier(.65,0,.35,1);}
.wipe-reveal.revealed{clip-path:inset(0 0 0 0%);}

.word{display:inline-block;}

.text-gradient{
  background-image:linear-gradient(90deg,var(--teal),var(--green));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
/* brighter variant for use on solid green / dark backgrounds, where the
   default teal-to-green gradient loses contrast against the backdrop.
   Uses background-image (not the `background` shorthand) so it only swaps
   the gradient itself — the shorthand would silently reset background-clip
   back to border-box and break the text-clip mask entirely. */
.text-gradient-alt{
  background-image:linear-gradient(90deg,#ffffff,var(--logo-blue-light));
}

.deco-dots{position:absolute;inset:0;overflow:visible;pointer-events:none;z-index:1;}
.deco-dot{
  position:absolute;border-radius:50%;
  animation:dot-float 5s ease-in-out infinite;
}
@keyframes dot-float{
  0%,100%{transform:translateY(0) scale(1);opacity:.55;}
  50%{transform:translateY(-14px) scale(1.15);opacity:1;}
}

.dotted-bg{position:relative;}
.dotted-bg::before{
  content:"";position:absolute;inset:0;
  background-image:radial-gradient(rgba(13,38,69,.08) 1.5px, transparent 1.5px);
  background-size:18px 18px;
  -webkit-mask-image:radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 80%);
  mask-image:radial-gradient(ellipse 70% 60% at 50% 40%, #000 40%, transparent 80%);
  pointer-events:none;
}
h1,h2,h3,h4{font-family:var(--font-head);margin:0;color:var(--navy);}
h1,h2{font-family:var(--font-display);}
p{margin:0;line-height:1.7;color:var(--gray-text);}

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

.section{padding:80px 0;}

.eyebrow{
  display:inline-block;
  background:var(--green-light);
  color:var(--green-dark);
  font-family:var(--font-head);
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  padding:6px 16px;
  border-radius:20px;
  margin-bottom:16px;
}

.section-heading{margin-bottom:48px;}
.section-heading.center{text-align:center;}
.section-heading h2{font-size:30px;font-weight:700;line-height:1.3;}

/* Buttons */
.btn{
  display:inline-block;
  position:relative;
  overflow:hidden;
  font-family:var(--font-head);
  font-weight:600;
  font-size:15px;
  letter-spacing:.02em;
  padding:15px 32px;
  border-radius:6px;
  transition:all .25s ease, transform .25s ease;
  border:2px solid transparent;
  cursor:pointer;
}
.btn:hover{transform:translateY(-2px);}
.btn::after{
  content:"";
  position:absolute;
  top:0;bottom:0;left:-60%;
  width:40%;
  background:linear-gradient(115deg, transparent, rgba(255,255,255,.35), transparent);
  transform:skewX(-20deg);
  pointer-events:none;
}
.btn:hover::after{
  animation:shimmer-sweep .9s ease;
}
@keyframes shimmer-sweep{
  0%{left:-60%;}
  100%{left:130%;}
}
.btn-navy{background:var(--navy);color:var(--white);}
.btn-navy:hover{background:var(--navy-soft);}
.btn-white{background:var(--white);color:var(--navy);border-color:var(--border);box-shadow:var(--shadow);}
.btn-white:hover{background:var(--navy);color:var(--white);border-color:var(--navy);}
.btn-green{background:var(--green);color:var(--white);}
.btn-green:hover{background:var(--green-dark);}
.btn-outline-navy{background:transparent;border-color:var(--navy);color:var(--navy);}
.btn-outline-navy:hover{background:var(--navy);color:var(--white);}
.btn-outline-white{background:transparent;border-color:rgba(255,255,255,.6);color:var(--white);}
.btn-outline-white:hover{background:var(--white);color:var(--navy);}
.btn-contact{
  background:linear-gradient(90deg,var(--teal),var(--green));
  color:var(--white);padding:9px 24px;font-size:14px;border-radius:0;
}
.btn-contact:hover{filter:brightness(1.05);}

/* =========== TOPBAR =========== */
.topbar{background:var(--navy-dark);color:#cfd8e6;font-size:14px;}
.topbar-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:8px 20px;
  gap:20px;
  flex-wrap:wrap;
}
.topbar-left{display:flex;align-items:center;gap:22px;flex-wrap:wrap;}
.topbar-left span{display:inline-flex;align-items:center;gap:6px;}
.topbar-left i{color:var(--green);}
.topbar-left a{color:#cfd8e6;}
.topbar-left a:hover{color:var(--green);}
.topbar-right{display:flex;align-items:center;gap:12px;}
.topbar-right a{
  width:26px;height:26px;border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;
  font-size:12px;
}
.topbar-right a:hover{background:var(--green);}

/* =========== HEADER + HERO SHARED PANEL =========== */
.hero-wrap{
  background:linear-gradient(180deg,#8ee6e0 0%,#a4e9df 40%,#c4eee4 62%,#e6f7f1 80%,#ffffff 100%);
}

.site-header{
  background:transparent;
  position:sticky;
  top:0;
  z-index:100;
  transition:background .35s ease, box-shadow .35s ease;
}
.site-header::after{
  content:"";
  position:absolute;
  left:80px;right:80px;bottom:0;
  height:1px;
  background:rgba(13,38,69,.12);
  transition:opacity .35s ease;
}
.site-header.is-scrolled{
  background:rgba(255,255,255,.92);
  backdrop-filter:blur(8px);
  box-shadow:0 6px 24px rgba(13,38,69,.1);
}
.site-header.is-scrolled::after{opacity:0;}
.site-header.is-scrolled .header-inner{padding:14px 20px;}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:26px 20px;
  gap:40px;
  transition:padding .35s ease;
}

.main-nav{position:relative;}
.nav-indicator{
  position:absolute;
  bottom:-1px;left:0;
  height:2px;width:0;
  background:var(--green);
  border-radius:2px;
  opacity:0;
  transition:transform .35s cubic-bezier(.65,0,.35,1), width .35s cubic-bezier(.65,0,.35,1), opacity .2s ease;
  pointer-events:none;
}
.main-nav ul{display:flex;gap:24px;align-items:center;}
.main-nav a{
  font-family:var(--font-body);
  font-size:12px;
  font-weight:700;
  letter-spacing:.02em;
  color:var(--navy);
  padding:8px 0;
  position:relative;
  display:inline-flex;align-items:center;gap:6px;
}
.main-nav a i{font-size:10px;color:var(--gray-text);}
.main-nav a.active{color:var(--green-dark);}

.header-actions{display:flex;align-items:center;gap:14px;}
.icon-btn{
  width:40px;height:40px;border-radius:50%;
  background:var(--white);border:none;font-size:15px;color:var(--navy);cursor:pointer;
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow);
}
.burger{display:none;background:none;border:none;font-size:20px;color:var(--navy);cursor:pointer;}

/* =========== HERO =========== */
.hero{
  padding:78px 0 46px;
  position:relative;
  overflow:hidden;
}
.hero-three-canvas{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  pointer-events:none;
  z-index:0;
}
.hero-inner{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  align-items:center;
  gap:10px;
  position:relative;
  z-index:1;
}
.hero-text h1{
  font-size:64px;
  font-weight:600;
  line-height:1.12;
  margin-bottom:18px;
}
.hero-text h1 .char{display:inline-block;will-change:transform;}
.hero-text p{
  max-width:440px;
  margin-bottom:30px;
  font-size:16.5px;
}
.hero-divider{
  border:none;
  border-top:2px solid var(--green);
  max-width:460px;
  margin:44px 0 0;
}
.hero-tabs{display:flex;gap:40px;margin-top:20px;}
.hero-tab{
  font-size:14px;color:var(--gray-text);
  padding-bottom:14px;border-bottom:3px solid transparent;
  cursor:pointer;
}
.hero-tab strong{display:block;color:var(--navy);font-family:var(--font-head);font-size:16px;margin-top:2px;}
.hero-tab.active strong{color:var(--green-dark);}

.hero-media{display:flex;justify-content:center;align-items:center;margin-top:-180px;}
.hero-logo{
  text-align:center;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  perspective:900px;
}
.hero-logo-img{
  margin:0 auto;
  filter:drop-shadow(0 18px 30px rgba(13,38,69,.18));
}

.hero-nav-arrows{
  position:absolute;
  right:20px;bottom:-6px;
  display:flex;gap:10px;
}
.round-btn{
  width:44px;height:44px;border-radius:50%;
  border:1px solid var(--border);
  background:var(--white);
  color:var(--navy);
  display:flex;align-items:center;justify-content:center;
  cursor:pointer;box-shadow:var(--shadow);
}
.round-btn:hover{background:var(--navy);color:var(--white);}

.hero-dots{display:flex;gap:8px;margin-top:26px;}
.hero-dot{
  width:9px;height:9px;border-radius:50%;
  background:rgba(13,38,69,.2);border:none;cursor:pointer;
  padding:0;transition:all .3s ease;
}
.hero-dot.active{background:var(--green);width:24px;border-radius:5px;}

/* =========== CHIFFRES CLES =========== */
.stats-section{
  background:var(--navy);
  padding:44px 0;
  position:relative;
  z-index:2;
}
.stats-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:20px;
}
.stat-card{text-align:center;padding:0 10px;}
.stat-number{
  font-family:var(--font-display);
  font-size:40px;font-weight:700;
  color:var(--white);
  line-height:1.1;
}
.stat-suffix{font-size:22px;color:var(--green);font-weight:600;}
.stat-label{color:#c6d0e0;font-size:13px;margin-top:8px;}

/* =========== NOS ENGAGEMENTS =========== */
.commitments-section{position:relative;}
.commitments-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:24px;
}
.commitment-card{
  text-align:center;
  padding:34px 22px;
  border-radius:var(--radius);
  background:var(--white);
  box-shadow:var(--shadow);
  transition:transform .25s ease, box-shadow .35s ease;
  will-change:transform;
}
.commitment-card:hover{
  transform:translateY(-8px) perspective(800px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));
  box-shadow:0 22px 40px rgba(13,38,69,.14);
}
.commitment-card.tilt-pulse{
  transform:perspective(800px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateZ(var(--tilt-z,0px));
  box-shadow:0 22px 40px rgba(13,38,69,.14);
}
.commitment-icon{
  width:64px;height:64px;border-radius:50%;
  background:var(--green-light);color:var(--green-dark);
  display:flex;align-items:center;justify-content:center;
  font-size:24px;margin:0 auto 18px;
}
.commitment-card h3{font-size:16px;margin-bottom:10px;}
.commitment-card p{font-size:13.5px;}

/* =========== WAVE DIVIDERS =========== */
.wave-divider{
  position:absolute;left:0;right:0;
  height:60px;line-height:0;
  overflow:hidden;
  pointer-events:none;
}
.wave-divider-top{top:0;}
.wave-divider-bottom{bottom:0;}
.wave-divider svg{width:100%;height:100%;display:block;}
.wave-divider svg path{fill:var(--white);}

/* =========== GREEN BAND / ECONOMIE VERTE =========== */
.green-band{background:var(--green);padding:64px 0 0;overflow:visible;}
.green-band-inner{display:flex;flex-direction:column;gap:40px;}
.green-band-text{display:flex;justify-content:space-between;align-items:flex-end;gap:60px;}
.green-band-text h2{color:var(--white);font-size:28px;margin:0;flex:0 0 auto;white-space:nowrap;}
.green-band-text p{color:rgba(255,255,255,.9);max-width:520px;margin:0;}

.project-cards{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-bottom:-150px;
}
.project-card{
  display:flex;
  flex-direction:column;
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .25s ease, box-shadow .35s ease;
  transform-style:preserve-3d;
  will-change:transform;
}
.project-card:hover{
  transform:translateY(-8px) perspective(800px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg));
  box-shadow:0 22px 40px rgba(13,38,69,.16);
}
.project-card.tilt-pulse{
  transform:perspective(800px) rotateX(var(--tilt-x,0deg)) rotateY(var(--tilt-y,0deg)) translateZ(var(--tilt-z,0px));
  box-shadow:0 22px 40px rgba(13,38,69,.16);
}
.project-thumb{
  height:190px;background-size:cover;background-position:center;
  position:relative;
  display:flex;align-items:flex-end;
  overflow:hidden;
}
.project-thumb::before{
  content:"";
  position:absolute;inset:0;
  background-size:cover;background-position:center;
  background-image:inherit;
  transform:scale(1);
  transition:transform .5s ease;
}
.project-card:hover .project-thumb::before{transform:scale(1.08);}
.project-thumb::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(0,0,0,0) 40%,rgba(0,0,0,.6) 100%);
}
.project-card-body{padding:20px;height:128px;overflow:hidden;}
.project-card-body .tag{font-size:11px;color:var(--green-dark);font-weight:700;text-transform:uppercase;letter-spacing:.05em;}
.project-card-body h3{font-size:18px;line-height:1.3;margin:6px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.link-arrow-overlay{
  position:relative;z-index:1;
  display:inline-flex;align-items:center;gap:8px;
  color:var(--white);font-weight:600;font-size:14px;font-family:var(--font-head);
  padding:16px 20px;
}
.link-arrow-overlay i{font-size:12px;transition:transform .2s ease;}
.project-card:hover .link-arrow-overlay i{transform:translateX(4px);}

/* =========== MOT DU MINISTRE =========== */
.minister-section{padding-top:230px;}
.minister-inner{
  display:grid;
  grid-template-columns:.55fr 1fr;
  gap:60px;
  align-items:center;
}
.minister-photo{position:relative;width:fit-content;margin:0 auto;}
.photo-ring{
  width:400px;height:400px;
  border-radius:63% 37% 54% 46% / 43% 47% 53% 57%;
  border:3px solid var(--green-light);
  padding:8px;
  overflow:hidden;
  animation:blob-morph 10s ease-in-out infinite;
}
.photo-ring img{width:100%;height:100%;object-fit:cover;border-radius:inherit;}
@keyframes blob-morph{
  0%,100%{border-radius:63% 37% 54% 46% / 43% 47% 53% 57%;}
  50%{border-radius:37% 63% 46% 54% / 57% 53% 47% 43%;}
}
@media (prefers-reduced-motion: reduce){
  .photo-ring{animation:none;}
}
.minister-text{text-align:center;}
.minister-text .eyebrow{margin-left:auto;margin-right:auto;}
.minister-text h2{font-size:26px;margin:0 auto 20px;max-width:460px;text-align:center;}
.minister-text p{margin-bottom:16px;font-size:14.5px;text-align:justify;}

/* =========== RESSOURCES NATURELLES =========== */
.resources-heading{
  display:flex;justify-content:space-between;align-items:flex-end;
  gap:60px;margin-bottom:40px;
}
.resources-heading h2{color:var(--navy);font-size:28px;margin:0;flex:0 0 auto;white-space:nowrap;}
.resources-heading p{color:var(--gray-text);font-size:14.5px;max-width:520px;margin:0;}

.resources-gallery{display:grid;grid-template-columns:1.1fr 1fr;gap:16px;}
.gallery-main{
  border-radius:63% 37% 54% 46% / 43% 47% 53% 57%;
  animation:blob-morph 10s ease-in-out infinite;
  background-size:cover;background-position:center;
  min-height:420px;
  overflow:hidden;
  transition:transform .35s ease, box-shadow .35s ease;
}
.gallery-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;}
.gallery-item{
  border-radius:63% 37% 54% 46% / 43% 47% 53% 57%;
  animation:blob-morph-alt 10s ease-in-out infinite;
  background-size:cover;background-position:center;
  min-height:200px;
  transition:transform .35s ease, box-shadow .35s ease;
}
.gallery-item:nth-child(2){animation-delay:-3s;}
.gallery-item:nth-child(3){animation-delay:-6s;}
.gallery-item:nth-child(4){animation-delay:-9s;}
@keyframes blob-morph-alt{
  0%,100%{border-radius:37% 63% 46% 54% / 57% 43% 57% 43%;}
  50%{border-radius:54% 46% 63% 37% / 43% 57% 43% 57%;}
}
@media (prefers-reduced-motion: reduce){
  .gallery-main,.gallery-item{animation:none;}
}
.gallery-item:hover,
.gallery-main:hover{
  transform:scale(1.02);
  box-shadow:0 16px 30px rgba(13,38,69,.18);
  z-index:1;
}

/* =========== MISSION =========== */
.mission-section{background:linear-gradient(180deg,#ffffff 0%,var(--green-light) 100%);padding:80px 0;position:relative;overflow:hidden;}
.mission-cards{
  display:grid;grid-template-columns:repeat(3,1fr);gap:30px;margin-bottom:0;
}
.mission-card{position:relative;text-align:center;padding:0 30px;}
.mission-card:not(:first-child)::before{
  content:"";position:absolute;left:0;top:6px;bottom:6px;width:1px;
  background:rgba(13,38,69,.12);
}
.mission-icon{
  width:74px;height:74px;border-radius:50%;
  background:var(--green);color:var(--white);
  display:flex;align-items:center;justify-content:center;
  font-size:26px;margin:0 auto 20px;
  box-shadow:0 10px 22px rgba(90,154,69,.35);
  transition:transform .3s ease;
}
.mission-card:hover .mission-icon{
  transform:scale(1.08);
  animation:glow-pulse 1.6s ease-out;
}
@keyframes glow-pulse{
  0%,100%{box-shadow:0 10px 22px rgba(90,154,69,.35), 0 0 0 0 rgba(90,154,69,.35);}
  50%{box-shadow:0 10px 22px rgba(90,154,69,.35), 0 0 0 12px rgba(90,154,69,0);}
}
.mission-card h3{font-size:15px;margin-bottom:12px;letter-spacing:.02em;}
.mission-card p{font-size:13.5px;}
.mission-cta{text-align:center;margin-top:24px;}

/* =========== CTA BANNER =========== */
.cta-banner{
  background-size:cover;
  background-position:center;
  padding:110px 0;
  text-align:center;
  position:relative;
}
.cta-banner h2{color:var(--white);font-size:40px;font-weight:600;margin-bottom:30px;}
.cta-banner .btn{padding:10px 26px;font-size:13px;}

/* =========== ACTUALITES =========== */
.news-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.news-main{
  display:flex;flex-direction:column;
  border-radius:var(--radius);
  overflow:hidden;
  background:var(--green-light);
  box-shadow:var(--shadow);
  transition:transform .35s ease, box-shadow .35s ease;
}
.news-main:hover{transform:translateY(-6px);box-shadow:0 22px 40px rgba(13,38,69,.16);}
.news-main-thumb{
  height:280px;background-size:cover;background-position:center;
  overflow:hidden;
  transition:transform .5s ease;
}
.news-main:hover .news-main-thumb{transform:scale(1.05);}
.news-main-body{padding:24px 24px 30px;}
.news-main-body h3{color:var(--navy);font-size:18px;margin:0 0 12px;}
.news-main-body p{color:var(--gray-text);margin-bottom:20px;font-size:14px;}
.news-meta{font-size:12px;color:var(--gray-text);text-transform:uppercase;letter-spacing:.04em;}

.news-small-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;}
.news-small{
  background:var(--white);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
  transition:transform .3s ease, box-shadow .3s ease;
}
.news-small:hover{transform:translateY(-6px);box-shadow:0 18px 32px rgba(13,38,69,.14);}
.news-small-thumb{height:140px;background-size:cover;background-position:center;overflow:hidden;transition:transform .5s ease;}
.news-small:hover .news-small-thumb{transform:scale(1.06);}
.news-small-body{padding:16px;}
.news-small-body h4{font-size:14.5px;margin-bottom:8px;}
.news-small-body .news-meta{color:var(--gray-text);}

/* =========== PARTENAIRES =========== */
.partners-section{padding:50px 0;border-top:1px solid var(--border);}
.partners-inner{display:flex;align-items:center;gap:40px;flex-wrap:wrap;}
.partners-label{
  font-family:var(--font-head);font-weight:600;font-size:13px;
  color:var(--gray-text);text-transform:uppercase;letter-spacing:.04em;
  white-space:nowrap;
}
.partners-marquee{
  flex:1;overflow:hidden;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
  mask-image:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);
}
.partners-track{
  display:flex;gap:16px;width:max-content;
  animation:marquee-scroll 22s linear infinite;
}
.partners-marquee:hover .partners-track{animation-play-state:paused;}
@keyframes marquee-scroll{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}
.partner-pill{
  min-width:150px;text-align:center;
  padding:16px 18px;border:1px solid var(--border);border-radius:30px;
  color:var(--gray-text);font-size:13px;font-weight:600;font-family:var(--font-head);
  white-space:nowrap;
  transition:border-color .25s ease, color .25s ease, transform .25s ease;
}
.partner-pill:hover{border-color:var(--green);color:var(--green-dark);transform:translateY(-3px);}

/* =========== FOOTER =========== */
.site-footer{background:var(--navy-dark);color:#c6d0e0;padding-top:60px;}
.footer-top{
  display:grid;
  grid-template-columns:1fr 1.6fr 1fr;
  gap:40px;
  padding-bottom:40px;
}
.footer-brand p{color:var(--white);font-family:var(--font-head);font-weight:600;font-size:15px;line-height:1.4;}
.footer-menu{display:flex;gap:40px;margin-bottom:20px;}
.footer-menu li{margin-bottom:12px;}
.footer-menu a{font-size:13.5px;color:#c6d0e0;}
.footer-menu a:hover{color:var(--green);}
.footer-menu-rule{height:1px;background:rgba(255,255,255,.15);}
.footer-contact p{
  display:flex;align-items:flex-start;gap:10px;
  margin-bottom:16px;font-size:13.5px;color:#c6d0e0;line-height:1.5;
}
.footer-contact i{color:var(--green);margin-top:3px;}
.footer-contact a{color:#c6d0e0;text-decoration:underline;}
.footer-contact a:hover{color:var(--green);}

.footer-bottom{
  display:flex;align-items:center;justify-content:space-between;
  padding:24px 20px;gap:20px;flex-wrap:wrap;
  border-top:1px solid rgba(255,255,255,.1);
}
.footer-social{display:flex;gap:10px;}
.footer-social a{
  width:34px;height:34px;border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;
}
.footer-social a:hover{background:var(--green);}
.footer-copy p{font-size:12.5px;color:#8fa0bd;margin:0;}
.footer-copy p+p{margin-top:4px;}
.footer-copy strong{color:#c6d0e0;}
.back-to-top{
  width:38px;height:38px;border-radius:50%;
  background:var(--green);color:var(--white);border:none;
  display:flex;align-items:center;justify-content:center;cursor:pointer;
}
.back-to-top:hover{background:var(--green-dark);}

/* =========== RESPONSIVE =========== */
@media (max-width: 991px){
  .hero-inner{grid-template-columns:1fr;text-align:center;}
  .hero-text p{margin-left:auto;margin-right:auto;}
  .hero-tabs{justify-content:center;}
  .hero-media{order:-1;}
  .hero-nav-arrows{position:static;justify-content:center;margin-top:20px;}
  .minister-inner{grid-template-columns:1fr;}
  .minister-photo{margin:0 auto;}
  .resources-heading{flex-direction:column;align-items:flex-start;gap:16px;}
  .resources-heading h2{white-space:normal;}
  .resources-gallery{grid-template-columns:1fr;}
  .news-grid{grid-template-columns:1fr;}
  .footer-top{grid-template-columns:1fr;text-align:left;}
}

@media (max-width: 860px){
  .main-nav{
    position:fixed;top:0;right:0;height:100vh;width:280px;
    background:var(--white);box-shadow:-10px 0 30px rgba(0,0,0,.1);
    transform:translateX(100%);transition:transform .3s ease;
    padding:90px 30px;z-index:200;
  }
  .main-nav.open{transform:translateX(0);}
  .main-nav ul{flex-direction:column;gap:20px;}
  .burger{display:block;}
  .header-actions .btn-contact{display:none;}
}

@media (max-width: 640px){
  .hero-text h1{font-size:36px;}
  .project-cards{grid-template-columns:1fr;}
  .mission-cards{grid-template-columns:1fr;}
  .news-small-grid{grid-template-columns:1fr;}
  .topbar-left{display:none;}
  .topbar-inner{justify-content:flex-end;}
  .gallery-grid{grid-template-columns:1fr;}
  .cta-banner h2{font-size:28px;}
}
