/*
Theme Name: ADPE Theme v3
Theme URI: https://organisation-adpe.org
Author: GenerativeTech Ltd
Author URI: https://generativetech.rw
Description: ADPE – A warm, human-centered WordPress theme with fullscreen hero slider and custom cursor.
Version: 3.0
License: GNU General Public License v2 or later
Text Domain: adpe
*/

/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --sky:        #38bdf8;
  --sky-light:  #e0f4fd;
  --sky-dark:   #0369a1;
  --navy:       #0a2540;
  --navy-mid:   #1a3a5c;
  --warm:       #fdf6ee;
  --cream:      #fff9f3;
  --sand:       #e8d5b7;
  --text:       #2d3748;
  --text-soft:  #5a6a7a;
  --white:      #ffffff;
  --accent:     #f97316;
  --green:      #22c55e;
  --radius:     14px;
  --shadow:     0 4px 24px rgba(3,105,161,.10);
  --shadow-lg:  0 12px 48px rgba(3,105,161,.18);
  --ease:       cubic-bezier(.4,0,.2,1);

  /* fonts */
  --font-head:  'Lora', Georgia, serif;
  --font-body:  'Nunito', system-ui, sans-serif;
}

/* ─── RESET ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  cursor: none;           /* hide default; custom cursor takes over */
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ─── CUSTOM CURSOR ──────────────────────────────────────── */
#cursor-dot,
#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 99999;
  transform: translate(-50%, -50%);
  transition: opacity .3s var(--ease);
}
#cursor-dot {
  width: 8px; height: 8px;
  background: var(--sky);
}
#cursor-ring {
  width: 36px; height: 36px;
  border: 2px solid var(--sky);
  background: transparent;
  transition: transform .12s var(--ease), width .3s var(--ease), height .3s var(--ease);
}
body:hover #cursor-dot,
body:hover #cursor-ring { opacity: 1; }
body .cursor-hover #cursor-ring {
  width: 56px; height: 56px;
  border-color: var(--accent);
  background: rgba(249,115,22,.08);
}

/* ─── NAVIGATION ─────────────────────────────────────────── */
#site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 0 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  transition: background .4s var(--ease), box-shadow .4s var(--ease);
}
#site-nav.scrolled {
  background: rgba(10,37,64,.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,.25);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--white);
}
.nav-logo .logo-text {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}
.nav-logo .logo-sub {
  font-size: .65rem;
  color: var(--sky);
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-top: 2px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  color: rgba(255,255,255,.88);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: .02em;
  position: relative;
  transition: color .25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--sky);
  border-radius: 2px;
  transition: width .3s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--sky); }
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--sky) !important;
  color: var(--navy) !important;
  padding: .5rem 1.2rem !important;
  border-radius: 100px !important;
  font-weight: 700 !important;
}
.nav-cta::after { display: none !important; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: .35s var(--ease);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO SLIDER ────────────────────────────────────────── */
#hero {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
  background-size: cover;
  background-position: center;
}
.slide.active { opacity: 1; z-index: 1; }
.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(10,37,64,.72) 0%,
    rgba(10,37,64,.35) 60%,
    rgba(56,189,248,.08) 100%
  );
}

/* SVG background fallbacks (no real photos needed) */
.slide-1 { background-color: #0a4a6e; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='900'%3E%3Crect fill='%230a4a6e' width='1440' height='900'/%3E%3Ccircle cx='900' cy='200' r='380' fill='%23155e8a' opacity='.5'/%3E%3Ccircle cx='200' cy='700' r='260' fill='%23103d5c' opacity='.6'/%3E%3Cellipse cx='1200' cy='800' rx='300' ry='180' fill='%230e5480' opacity='.4'/%3E%3C/svg%3E"); }
.slide-2 { background-color: #064e3b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='900'%3E%3Crect fill='%23064e3b' width='1440' height='900'/%3E%3Ccircle cx='700' cy='400' r='420' fill='%23065f46' opacity='.5'/%3E%3Ccircle cx='1300' cy='100' r='200' fill='%23047857' opacity='.4'/%3E%3C/svg%3E"); }
.slide-3 { background-color: #431407; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='900'%3E%3Crect fill='%23431407' width='1440' height='900'/%3E%3Ccircle cx='400' cy='350' r='350' fill='%237c2d12' opacity='.5'/%3E%3Ccircle cx='1100' cy='600' r='280' fill='%23ea580c' opacity='.2'/%3E%3C/svg%3E"); }
.slide-4 { background-color: #1e1b4b; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1440' height='900'%3E%3Crect fill='%231e1b4b' width='1440' height='900'/%3E%3Ccircle cx='1000' cy='300' r='340' fill='%23312e81' opacity='.5'/%3E%3Ccircle cx='300' cy='600' r='220' fill='%234338ca' opacity='.3'/%3E%3C/svg%3E"); }

.slide-content {
  position: absolute;
  bottom: 18%;
  left: 8%;
  right: 8%;
  z-index: 2;
}
.slide-tag {
  display: inline-block;
  background: var(--sky);
  color: var(--navy);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 100px;
  margin-bottom: 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s .3s var(--ease), transform .6s .3s var(--ease);
}
.slide-title {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.18;
  max-width: 680px;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s .5s var(--ease), transform .7s .5s var(--ease);
}
.slide-desc {
  color: rgba(255,255,255,.80);
  font-size: 1.05rem;
  max-width: 520px;
  margin-top: .85rem;
  line-height: 1.7;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .6s .75s var(--ease), transform .6s .75s var(--ease);
}
.slide.active .slide-tag,
.slide.active .slide-title,
.slide.active .slide-desc {
  opacity: 1;
  transform: translateY(0);
}

/* Slider controls */
.hero-controls {
  position: absolute;
  bottom: 6%;
  left: 8%;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.hero-dots {
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  cursor: pointer;
  transition: background .3s, transform .3s;
  border: none;
}
.hero-dot.active {
  background: var(--sky);
  transform: scale(1.4);
}
.hero-arrows {
  display: flex;
  gap: .5rem;
}
.hero-arrow {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.08);
  color: var(--white);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s, border-color .25s;
  backdrop-filter: blur(6px);
}
.hero-arrow:hover {
  background: var(--sky);
  border-color: var(--sky);
  color: var(--navy);
}

/* scroll hint */
.scroll-hint {
  position: absolute;
  bottom: 6%;
  right: 8%;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.55);
  font-size: .72rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  animation: float 2.4s ease-in-out infinite;
}
.scroll-hint::after {
  content: '';
  display: block;
  width: 1.5px;
  height: 36px;
  background: rgba(255,255,255,.35);
  animation: shrinkLine 2.4s ease-in-out infinite;
}
@keyframes float   { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }
@keyframes shrinkLine { 0%,100% { height: 36px; opacity: .5; } 50% { height: 12px; opacity: .15; } }

/* ─── PROGRESS BAR ───────────────────────────────────────── */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--sky), var(--accent));
  z-index: 9999;
  width: 0%;
  transition: width .1s linear;
}

/* ─── SECTION SHARED ─────────────────────────────────────── */
.section {
  padding: 90px 8%;
}
.section-warm { background: var(--warm); }
.section-cream { background: var(--cream); }
.section-sky   { background: var(--sky-light); }

.section-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sky-dark);
  margin-bottom: .6rem;
}
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 1rem;
}
.section-lead {
  color: var(--text-soft);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 640px;
}
.divider {
  width: 52px; height: 4px;
  background: linear-gradient(90deg, var(--sky), var(--accent));
  border-radius: 2px;
  margin: .9rem 0 1.6rem;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 3rem;
}
.about-image-wrap {
  position: relative;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--sky-dark), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--accent);
  color: var(--white);
  border-radius: 16px;
  padding: 1rem 1.4rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.about-badge strong {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  line-height: 1;
}
.about-badge span {
  font-size: .78rem;
  opacity: .9;
}
.mv-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-top: 2rem;
}
.mv-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--sky);
  transition: transform .3s, box-shadow .3s;
}
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.mv-card h4 {
  font-family: var(--font-head);
  color: var(--navy);
  margin-bottom: .5rem;
  font-size: 1.05rem;
}
.mv-card p {
  color: var(--text-soft);
  font-size: .9rem;
  line-height: 1.6;
}

/* ─── ACTIVITIES / PILLARS ───────────────────────────────── */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.8rem;
  margin-top: 2.5rem;
}
.pillar-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2rem 1.6rem;
  box-shadow: var(--shadow);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--sky), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s var(--ease);
}
.pillar-card:hover::before { transform: scaleX(1); }
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pillar-icon {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.7rem;
  margin: 0 auto 1.1rem;
  transition: background .3s, transform .3s;
}
.pillar-card:hover .pillar-icon {
  background: var(--sky);
  transform: scale(1.1);
}
.pillar-card h3 {
  font-family: var(--font-head);
  font-size: 1.08rem;
  color: var(--navy);
  margin-bottom: .5rem;
}
.pillar-card p {
  color: var(--text-soft);
  font-size: .875rem;
  line-height: 1.6;
}

/* ─── PROGRAMS ───────────────────────────────────────────── */
.programs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
}
.program-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.program-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.program-thumb {
  height: 160px;
  background: linear-gradient(135deg, var(--navy-mid), var(--sky-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.program-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.program-body h3 {
  font-family: var(--font-head);
  color: var(--navy);
  margin-bottom: .5rem;
}
.program-body p {
  color: var(--text-soft);
  font-size: .88rem;
  line-height: 1.65;
  flex: 1;
}
.program-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: 1rem;
  color: var(--sky-dark);
  font-weight: 700;
  font-size: .88rem;
  transition: gap .25s;
}
.program-link:hover { gap: .7rem; }

/* ─── NEWS ───────────────────────────────────────────────── */
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 2rem;
}
.news-filters button {
  padding: .4rem 1.1rem;
  border-radius: 100px;
  border: 1.5px solid var(--sky);
  background: transparent;
  color: var(--sky-dark);
  font-size: .82rem;
  font-weight: 700;
  cursor: pointer;
  transition: background .25s, color .25s;
  font-family: var(--font-body);
}
.news-filters button.active,
.news-filters button:hover {
  background: var(--sky-dark);
  color: var(--white);
  border-color: var(--sky-dark);
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}
.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.news-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--navy-mid), var(--sky-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  position: relative;
}
.news-cat {
  position: absolute;
  bottom: 10px; left: 14px;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .25rem .75rem;
  border-radius: 100px;
  background: var(--sky);
  color: var(--navy);
}
.news-body { padding: 1.3rem; }
.news-meta {
  font-size: .78rem;
  color: var(--text-soft);
  margin-bottom: .5rem;
}
.news-body h3 {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: .5rem;
  line-height: 1.35;
}
.news-body p {
  color: var(--text-soft);
  font-size: .875rem;
  line-height: 1.6;
}
.read-more {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin-top: .8rem;
  color: var(--sky-dark);
  font-size: .85rem;
  font-weight: 700;
  transition: gap .25s;
}
.read-more:hover { gap: .65rem; }

/* ─── TEAM ───────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.team-card {
  text-align: center;
  background: var(--white);
  border-radius: 20px;
  padding: 2rem 1.4rem 1.6rem;
  box-shadow: var(--shadow);
  transition: transform .3s, box-shadow .3s;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.team-avatar {
  width: 90px; height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sky-dark), var(--navy));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 1rem;
  border: 4px solid var(--sky-light);
  overflow: hidden;
}
.team-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.team-card h3 {
  font-family: var(--font-head);
  color: var(--navy);
  font-size: 1.05rem;
}
.team-card .role {
  font-size: .8rem;
  color: var(--sky-dark);
  font-weight: 700;
  margin: .3rem 0 .6rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.team-card p {
  color: var(--text-soft);
  font-size: .82rem;
  line-height: 1.55;
}

/* ─── GALLERY ────────────────────────────────────────────── */
.gallery-mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 160px);
  gap: .8rem;
  margin-top: 2.5rem;
}
.g-item {
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  background: linear-gradient(135deg, var(--navy-mid), var(--sky-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  transition: transform .3s, filter .3s;
}
.g-item:hover { transform: scale(1.02); filter: brightness(1.1); }
.g-item::after {
  content: '⛶';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
  background: rgba(10,37,64,.45);
  opacity: 0;
  transition: opacity .3s;
}
.g-item:hover::after { opacity: 1; }
.g-1 { grid-column: span 2; grid-row: span 2; font-size: 3rem; }
.g-5 { grid-column: span 2; }

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}
#lightbox.open { opacity: 1; pointer-events: all; }
#lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
#lightbox-close {
  position: absolute;
  top: 20px; right: 28px;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
  background: none;
  border: none;
  line-height: 1;
}

/* ─── IMPACT ─────────────────────────────────────────────── */
.impact-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  text-align: center;
}
.impact-section .section-title { color: var(--white); }
.impact-section .section-lead  { color: rgba(255,255,255,.75); margin: 0 auto 3rem; }
.impact-section .section-label { color: var(--sky); }
.impact-counters {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
}
.counter-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 2.2rem 1.4rem;
  transition: background .3s, transform .3s;
}
.counter-card:hover { background: rgba(255,255,255,.12); transform: translateY(-4px); }
.counter-icon { font-size: 2.2rem; margin-bottom: .8rem; }
.counter-num {
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--sky);
  line-height: 1;
}
.counter-label {
  font-size: .85rem;
  color: rgba(255,255,255,.65);
  margin-top: .4rem;
}

/* ─── CONTACT ────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  margin-top: 3rem;
}
.contact-info-list { display: flex; flex-direction: column; gap: 1.4rem; }
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.contact-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: var(--sky-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  color: var(--sky-dark);
}
.contact-info-item h4 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: .2rem;
  font-size: .92rem;
}
.contact-info-item p {
  color: var(--text-soft);
  font-size: .88rem;
  line-height: 1.5;
}
.contact-form {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.1rem;
}
.form-group label {
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
}
.form-group input,
.form-group textarea,
.form-group select {
  padding: .75rem 1rem;
  border: 1.5px solid #dde7f0;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: .9rem;
  color: var(--text);
  transition: border-color .25s, box-shadow .25s;
  outline: none;
  background: var(--cream);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--sky);
  box-shadow: 0 0 0 3px rgba(56,189,248,.15);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.btn-submit {
  width: 100%;
  padding: .9rem;
  background: linear-gradient(135deg, var(--sky-dark), var(--navy));
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-body);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: opacity .25s, transform .25s;
  letter-spacing: .04em;
}
.btn-submit:hover { opacity: .88; transform: translateY(-1px); }
.form-success {
  display: none;
  padding: 1rem 1.4rem;
  background: #dcfce7;
  border: 1px solid var(--green);
  border-radius: 10px;
  color: #166534;
  font-weight: 600;
  margin-top: 1rem;
  font-size: .9rem;
}
.form-success.show { display: block; }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 60px 8% 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .logo-text {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--white);
  margin-bottom: .4rem;
}
.footer-brand .tagline {
  font-size: .82rem;
  color: var(--sky);
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: .84rem;
  line-height: 1.7;
  max-width: 260px;
}
.footer-col h4 {
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--white);
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer-col a {
  font-size: .83rem;
  color: rgba(255,255,255,.6);
  transition: color .25s;
}
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.6rem;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: .6rem;
}

/* ─── REVEAL ANIMATIONS ──────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left  { opacity:0; transform: translateX(-30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-right { opacity:0; transform: translateX(30px);  transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal-left.visible, .reveal-right.visible { opacity:1; transform:none; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .g-1 { grid-column: span 2; }
  .g-5 { grid-column: span 2; }
}
@media (max-width: 680px) {
  .section { padding: 64px 5%; }
  #site-nav { padding: 0 5%; }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(10,37,64,.97);
    flex-direction: column;
    padding: 2rem 5%;
    gap: 1.4rem;
    transform: translateY(-120%);
    transition: transform .35s var(--ease);
    z-index: 800;
  }
  .nav-links.open { transform: translateY(0); }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .about-badge { right: 0; bottom: -10px; }
  .gallery-mosaic { grid-template-columns: 1fr; grid-template-rows: auto; }
  .g-1 { grid-column: span 1; }
  .g-5 { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
}
