/* ══════════════════════════════════
   ROOT VARIABLES + GLOBAL RESET
   (missing before — was breaking colors everywhere)
   ══════════════════════════════════ */
:root {
  --primary: #004690;
  --accent: #00b4d8;
  --accent2: #0096c7;
}
*, *::before, *::after { box-sizing: border-box; }
html, body {
  max-width: 100%;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }

/* ══════════════════════════════════
   NAVBAR — Gandhi Eye Centre
   ══════════════════════════════════ */

.navbar-gec {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0,70,144,0.09);
  box-shadow: 0 4px 24px rgba(0,70,144,0.08);
  padding: 4px 0;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1050;
  height: 68px; /* navbar height fixed */
}

/* ── Logo — bada dikhega, navbar same size ── */
.navbar-logo-img {
  height: 50px;        /* logo bada */
  width: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
  margin-top: 10px;     /* thoda neeche nikle — overflow se bada effect */
  margin-bottom: -0px;
  position: relative;
  z-index: 2;
}

.fallback-logo-circle {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8f0ff, #c5d8ff);
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid rgba(0,70,144,0.15);
}

/* ── Top-Rated Badge ── */
.top-rated-badge {
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(135deg, #fffbf0, #fff4d1);
  border: 1px solid rgba(204,167,47,0.35);
  border-radius: 10px;
  padding: 5px 10px 5px 8px;
  margin-left: 4px;
}
.top-rated-stars { display: flex; gap: 1px; }
.star-icon { font-size: 12px !important; color: #cca72f; }
.top-rated-text {
  font-family: 'Manrope', sans-serif;
  font-weight: 800;
  font-size: 0.65rem;
  color: #7a5c00;
  line-height: 1.25;
}
.top-rated-text span {
  font-weight: 500;
  font-size: 0.6rem;
  color: #a07d20;
}

/* ── Nav Links ── */
.nav-link-gec {
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 0.82rem;
  color: #4a5568;
  padding: 0.44rem 0.8rem !important;
  border-radius: 10px;
  transition: all 0.22s ease;
  position: relative;
  white-space: nowrap;
}
.nav-link-gec:hover,
.nav-link-gec.active {
  color: #004690;
  background: rgba(0,70,144,0.07);
}

/* ══ SERVICES DROPDOWN ══ */
.dropdown-gec { position: relative; }
.dropdown-gec > .nav-link-gec {
  display: flex; align-items: center; gap: 5px; cursor: pointer;
}
.dropdown-gec > .nav-link-gec::after {
  content: '';
  display: inline-block;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  vertical-align: middle;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.dropdown-gec:hover > .nav-link-gec::after { transform: rotate(180deg); }

.dropdown-menu-gec {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  background: #ffffff;
  border: 1.5px solid rgba(0,70,144,0.12);
  border-radius: 20px;
  box-shadow: 0 20px 56px rgba(0,70,144,0.14), 0 4px 16px rgba(0,0,0,0.06);
  padding: 12px;
  min-width: 600px;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  z-index: 9999;
}
.dropdown-menu-gec::before {
  content: '';
  position: absolute;
  top: -12px; left: 0; right: 0;
  height: 12px;
  background: transparent;
}
.dropdown-gec:hover .dropdown-menu-gec {
  display: grid;
  animation: dropIn 0.2s ease forwards;
}
@keyframes dropIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-8px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ── Dropdown on tablet/mobile: hover doesn't exist on touch,
     JS toggles a .show class on click — this rule was missing,
     so the dropdown never opened before. Also drop the fixed
     600px min-width that caused horizontal overflow. ── */
@media (max-width: 991px) {
  .dropdown-gec:hover .dropdown-menu-gec { display: none; }
  .dropdown-menu-gec {
    position: static;
    display: none;
    grid-template-columns: 1fr;
    min-width: 100%;
    width: 100%;
    transform: none;
    box-shadow: none;
    border-color: rgba(0,70,144,0.1);
    margin-top: 6px;
  }
  .dropdown-gec.show .dropdown-menu-gec {
    display: grid;
    animation: none;
    opacity: 1;
  }
  .dropdown-gec > .nav-link-gec::after { margin-left: auto; }
  .dropdown-gec.show > .nav-link-gec::after { transform: rotate(180deg); }
}

.dropdown-item-gec {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  text-decoration: none;
  transition: background 0.18s ease;
  cursor: pointer;
}
.dropdown-item-gec:hover { background: rgba(0,70,144,0.06); }

.dropdown-item-icon {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #e8f0ff, #c5d8ff);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: all 0.18s ease;
}
.dropdown-item-icon .material-symbols-outlined {
  font-size: 20px; color: #004690; transition: color 0.18s;
}
.dropdown-item-gec:hover .dropdown-item-icon {
  background: linear-gradient(135deg, #004690, #0060c7);
}
.dropdown-item-gec:hover .dropdown-item-icon .material-symbols-outlined { color: #ffffff; }

.dropdown-item-text { display: flex; flex-direction: column; gap: 2px; }
.dropdown-item-title {
  font-family: 'Manrope', sans-serif;
  font-weight: 700; font-size: 0.82rem; color: #002255; line-height: 1.2;
}
.dropdown-item-sub { font-size: 0.72rem; color: #5f7080; line-height: 1.3; }

/* ── Social Buttons ── */
.nav-social-btn {
  width: 32px; height: 32px;
  border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(0,70,144,0.07);
  color: #004690;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(0,70,144,0.13);
  cursor: pointer;
}
.nav-social-btn:hover {
  background: #004690; color: #ffffff;
  transform: translateY(-1px); border-color: transparent;
}
.nav-social-btn svg { width: 13px; height: 13px; fill: currentColor; }

/* ── Toggler ── */
.navbar-toggler {
  border: 1.5px solid rgba(0,70,144,0.18);
  border-radius: 10px; padding: 5px 8px;
}
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(0,70,144,0.15); }

/* ── Mobile navbar fixes ── */
@media (max-width: 991px) {
  .navbar-gec { height: auto; min-height: 68px; }
  .navbar-collapse {
    background: #fff;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 14px 34px rgba(0,70,144,0.16);
    padding: 14px 6px 18px;
    max-height: calc(100vh - 68px);
    overflow-y: auto;
  }
  .navbar-nav.ms-3 { margin-left: 0 !important; }
}

/* ══ BUTTONS ══ */
.btn-3d-primary {
  background: linear-gradient(135deg, #005dbb 0%, #004690 60%, #003070 100%);
  color: #ffffff; border: none; border-radius: 12px;
  font-family: 'Manrope', sans-serif; font-weight: 800;
  padding: 9px 20px; font-size: 0.82rem;
  box-shadow: 0 4px 0 #002255, 0 8px 16px rgba(0,70,144,0.3), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.18s ease; position: relative; top: 0;
  cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; white-space: nowrap;
}
.btn-3d-primary:hover {
  top: 2px;
  box-shadow: 0 2px 0 #002255, 0 5px 10px rgba(0,70,144,0.25);
  color: #ffffff;
}
.btn-3d-primary:active { top: 4px; box-shadow: 0 0 0 #002255; }

.btn-3d-primary-lg {
  background: linear-gradient(135deg, #005dbb 0%, #004690 60%, #003070 100%);
  color: #ffffff; border: none; border-radius: 14px;
  font-family: 'Manrope', sans-serif; font-weight: 800;
  padding: 14px 32px; font-size: 1rem;
  box-shadow: 0 6px 0 #002255, 0 10px 20px rgba(0,70,144,0.35), inset 0 1px 0 rgba(255,255,255,0.2);
  transition: all 0.18s ease; position: relative; top: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-3d-primary-lg:hover {
  top: 3px;
  box-shadow: 0 3px 0 #002255, 0 6px 12px rgba(0,70,144,0.3);
  color: #ffffff;
}

.btn-3d-gold {
  background: linear-gradient(135deg, #ffe088 0%, #cca72f 100%);
  color: #241a00; border: none; border-radius: 16px;
  font-family: 'Manrope', sans-serif; font-weight: 800;
  padding: 16px 36px; font-size: 1.05rem;
  box-shadow: 0 6px 0 #9a7800, 0 12px 24px rgba(204,167,47,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: all 0.18s ease; position: relative; top: 0; cursor: pointer;
}
.btn-3d-gold:hover {
  top: 3px;
  box-shadow: 0 3px 0 #9a7800, 0 8px 16px rgba(204,167,47,0.3);
  color: #241a00;
}

.btn-3d-ghost {
  background: rgba(255,255,255,0.92); color: #4a5568;
  border: none; border-radius: 14px;
  font-family: 'Manrope', sans-serif; font-weight: 700;
  padding: 14px 28px; font-size: 1rem;
  box-shadow: 0 5px 0 rgba(0,0,0,0.08), 0 8px 16px rgba(0,0,0,0.08), inset 0 1px 0 #ffffff;
  transition: all 0.18s ease; position: relative; top: 0; cursor: pointer;
}
.btn-3d-ghost:hover {
  top: 2px;
  box-shadow: 0 3px 0 rgba(0,0,0,0.08), 0 5px 10px rgba(0,0,0,0.06);
  color: #004690;
}
    /* ═══════════════════════════════════════════
       GALLERY PAGE STYLES
    ═══════════════════════════════════════════ */
    .gallery-hero {
      background: linear-gradient(135deg, #001a44 0%, #003580 50%, #00509e 100%);
      padding: 140px 0 80px;
      position: relative;
      overflow: hidden;
      text-align: center;
    }
    .gallery-hero::before {
      content: '';
      position: absolute;
      inset: 0;
      background: radial-gradient(ellipse 80% 60% at 50% 100%, rgba(0,180,216,0.18) 0%, transparent 70%);
    }
    .gallery-hero h1 {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2.2rem, 5vw, 3.8rem);
      color: #fff;
      font-weight: 800;
      position: relative;
    }
    .gallery-hero h1 span { color: var(--accent); }
    .gallery-hero p {
      color: rgba(255,255,255,0.75);
      font-size: 1.05rem;
      max-width: 560px;
      margin: 0 auto;
      position: relative;
    }
    .hero-badge {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(0,180,216,0.18);
      border: 1px solid rgba(0,180,216,0.35);
      color: var(--accent);
      font-size: .8rem;
      font-weight: 600;
      letter-spacing: .08em;
      text-transform: uppercase;
      padding: 6px 18px;
      border-radius: 50px;
      margin-bottom: 20px;
      position: relative;
    }
    .orb { position: absolute; border-radius: 50%; filter: blur(60px); opacity: 0.25; pointer-events: none; }
    .orb1 { width: 350px; height: 350px; background: #00b4d8; top: -80px; left: -100px; }
    .orb2 { width: 280px; height: 280px; background: #f4a100; bottom: -60px; right: -80px; }

    /* 3D CAROUSEL */
    .carousel-3d-section { background: #f8faff; padding: 90px 0 100px; }
    .carousel-3d-section .section-badge {
      display: inline-block;
      background: rgba(0,70,144,.1);
      color: var(--primary);
      font-size: .75rem;
      font-weight: 700;
      letter-spacing: .1em;
      text-transform: uppercase;
      padding: 6px 18px;
      border-radius: 50px;
      margin-bottom: 14px;
    }
    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(1.7rem, 3.5vw, 2.5rem);
      font-weight: 800;
      color: var(--primary);
    }
    .title-underline {
      width: 60px; height: 4px;
      background: linear-gradient(90deg, var(--accent), var(--accent2));
      border-radius: 2px;
      margin: 12px auto 0;
    }
    .c3d-scene {
      perspective: 1000px;
      width: 100%;
      height: 440px;
      position: relative;
      margin: 56px 0 40px;
      overflow: hidden; /* was missing — side slides poked out and caused page-wide horizontal scroll on mobile */
    }
    .c3d-slide {
      position: absolute;
      width: 320px;
      height: 380px;
      top: 50%; left: 50%;
      transform-origin: center;
      transition: all 0.7s cubic-bezier(0.25, 0.8, 0.25, 1);
      border-radius: 20px;
      overflow: hidden;
      cursor: pointer;
    }
    .c3d-slide-bg { position: absolute; inset: 0; z-index: 0; }
    .c3d-slide img {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover; z-index: 2;
      transition: transform 0.5s ease; display: block;
    }
    .c3d-slide:hover img { transform: scale(1.06); }
    .c3d-caption {
      position: absolute;
      bottom: 0; left: 0; right: 0;
      background: linear-gradient(0deg, rgba(0,20,60,0.92) 0%, transparent 100%);
      padding: 36px 18px 18px; z-index: 5;
    }
    .c3d-caption h6 { color: #fff; font-weight: 700; font-size: .92rem; margin: 0 0 4px; }
    .c3d-caption small { color: rgba(255,255,255,0.65); font-size: .76rem; }
    .c3d-slide.pos-0 {
      transform: translate(-50%, -50%) translateZ(0px) scale(1);
      z-index: 10;
      box-shadow: 0 30px 80px rgba(0,34,85,0.45), 0 0 0 3px var(--accent);
    }
    .c3d-slide.pos-n1 {
      transform: translate(calc(-50% - 280px), -50%) translateZ(-120px) rotateY(22deg) scale(0.88);
      z-index: 7; filter: brightness(0.72);
      box-shadow: 0 12px 40px rgba(0,34,85,0.25);
    }
    .c3d-slide.pos-p1 {
      transform: translate(calc(-50% + 280px), -50%) translateZ(-120px) rotateY(-22deg) scale(0.88);
      z-index: 7; filter: brightness(0.72);
      box-shadow: 0 12px 40px rgba(0,34,85,0.25);
    }
    .c3d-slide.pos-n2 {
      transform: translate(calc(-50% - 490px), -50%) translateZ(-280px) rotateY(38deg) scale(0.72);
      z-index: 4; filter: brightness(0.5);
    }
    .c3d-slide.pos-p2 {
      transform: translate(calc(-50% + 490px), -50%) translateZ(-280px) rotateY(-38deg) scale(0.72);
      z-index: 4; filter: brightness(0.5);
    }
    .c3d-slide.pos-hidden {
      transform: translate(-50%, -50%) translateZ(-500px) scale(0.4);
      z-index: 1; opacity: 0; pointer-events: none;
    }
    .c3d-btn {
      position: absolute; top: 50%; transform: translateY(-50%);
      width: 52px; height: 52px; border-radius: 50%; border: none;
      background: linear-gradient(135deg, var(--primary), #00509e);
      color: #fff; font-size: 1.2rem;
      display: flex; align-items: center; justify-content: center;
      cursor: pointer; z-index: 20;
      box-shadow: 0 6px 24px rgba(0,34,85,0.3);
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .c3d-btn:hover { transform: translateY(-50%) scale(1.1); box-shadow: 0 10px 32px rgba(0,34,85,0.45); }
    .c3d-btn.prev { left: 8px; }
    .c3d-btn.next { right: 8px; }
    .c3d-dots { display: flex; justify-content: center; gap: 8px; }
    .c3d-dot {
      width: 8px; height: 8px; border-radius: 50%;
      background: #c8d8f0; border: none; cursor: pointer; transition: all 0.3s;
    }
    .c3d-dot.active { background: var(--accent); width: 28px; border-radius: 4px; }

    /* FILTER GALLERY */
    .gallery-grid-section { background: #fff; padding: 90px 0 100px; }
    .filter-bar {
      display: flex; flex-wrap: wrap; justify-content: center;
      gap: 10px; margin: 36px 0 48px;
    }
    .filter-btn {
      padding: 9px 22px; border-radius: 50px;
      border: 1.5px solid #c8d8f0; background: transparent;
      color: var(--primary); font-size: .85rem; font-weight: 600;
      font-family: 'Poppins', sans-serif; cursor: pointer; transition: all 0.25s;
    }
    .filter-btn:hover, .filter-btn.active {
      background: linear-gradient(135deg, var(--primary), #00509e);
      color: #fff; border-color: transparent;
      box-shadow: 0 6px 20px rgba(0,34,85,0.2);
    }
    .gallery-grid { columns: 3; column-gap: 20px; }
    @media(max-width: 900px) { .gallery-grid { columns: 2; } }
    @media(max-width: 560px) { .gallery-grid { columns: 1; } }
    .gallery-item {
      break-inside: avoid; margin-bottom: 20px;
      border-radius: 16px; overflow: hidden; position: relative;
      cursor: pointer; box-shadow: 0 4px 20px rgba(0,34,85,0.1);
      transition: transform 0.35s cubic-bezier(0.25,0.8,0.25,1), box-shadow 0.35s;
    }
    .gallery-item:hover { transform: translateY(-6px) scale(1.02); box-shadow: 0 20px 60px rgba(0,34,85,0.22); }
    .gallery-item img {
      width: 100%; display: block; object-fit: cover;
      transition: transform 0.5s ease; position: relative; z-index: 1;
    }
    .gallery-item:hover img { transform: scale(1.06); }
    .gi-bg { position: absolute; inset: 0; z-index: 0; }
    .gi-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(0deg, rgba(0,20,60,0.85) 0%, rgba(0,40,100,0.2) 60%, transparent 100%);
      opacity: 0; transition: opacity 0.35s;
      display: flex; flex-direction: column; justify-content: flex-end;
      padding: 20px 16px; z-index: 10;
    }
    .gallery-item:hover .gi-overlay { opacity: 1; }
    .gi-overlay h6 { color: #fff; font-weight: 700; font-size: .9rem; margin: 0 0 4px; }
    .gi-overlay small { color: rgba(255,255,255,0.68); font-size: .75rem; }
    .gi-overlay .gi-tag {
      display: inline-block;
      background: rgba(0,180,216,0.3);
      border: 1px solid rgba(0,180,216,0.5);
      color: var(--accent); font-size: .68rem; font-weight: 700;
      letter-spacing: .08em; text-transform: uppercase;
      padding: 3px 10px; border-radius: 4px; margin-bottom: 8px; width: fit-content;
    }
    .gi-zoom {
      position: absolute; top: 14px; right: 14px;
      width: 36px; height: 36px; border-radius: 50%;
      background: rgba(255,255,255,0.18); backdrop-filter: blur(6px);
      border: 1px solid rgba(255,255,255,0.35); color: #fff;
      display: flex; align-items: center; justify-content: center; font-size: 1rem;
      opacity: 0; transition: opacity 0.35s, transform 0.35s;
      transform: scale(0.7); z-index: 11;
    }
    .gallery-item:hover .gi-zoom { opacity: 1; transform: scale(1); }

    /* STATS */
    .stats-strip { background: linear-gradient(135deg, #001a44 0%, #00509e 100%); padding: 56px 0; }
    .stat-pill .sp-num {
      font-family: 'Playfair Display', serif;
      font-size: 2.4rem; font-weight: 800; color: #fff; line-height: 1;
    }
    .stat-pill .sp-label { color: rgba(255,255,255,0.68); font-size: .82rem; margin-top: 6px; }

    /* VIDEO */
    .video-section { background: #fff; padding: 90px 0 100px; }
    .video-card {
      border-radius: 16px; overflow: hidden;
      box-shadow: 0 8px 32px rgba(0,34,85,0.12);
      transition: transform 0.3s, box-shadow 0.3s;
    }
    .video-card:hover { transform: translateY(-6px); box-shadow: 0 20px 56px rgba(0,34,85,0.2); }
    .video-card iframe { width: 100%; aspect-ratio: 16/9; border: none; display: block; }
    .video-card .video-title {
      padding: 14px 16px; font-weight: 600; font-size: .88rem;
      color: var(--primary); background: #fff;
      display: flex; align-items: center; gap: 8px;
    }
    .video-card .video-title i { color: var(--accent); font-size: 1.1rem; }

    /* CTA */
    .gallery-cta {
      background: linear-gradient(135deg, #001a44 0%, #003580 60%, #00509e 100%);
      padding: 90px 0; text-align: center; position: relative; overflow: hidden;
    }
    .gallery-cta::before {
      content: ''; position: absolute; inset: 0;
      background: radial-gradient(ellipse 70% 60% at 50% 120%, rgba(0,180,216,0.2) 0%, transparent 70%);
    }
    .gallery-cta h2 {
      font-family: 'Playfair Display', serif; color: #fff;
      font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 800; position: relative;
    }
    .gallery-cta p { color: rgba(255,255,255,0.72); font-size: 1.05rem; position: relative; }
    .btn-cta-primary {
      display: inline-flex; align-items: center; gap: 8px;
      background: linear-gradient(135deg, var(--accent), #0096c7);
      color: #fff; padding: 14px 32px; border-radius: 50px;
      font-weight: 700; font-size: .95rem; text-decoration: none;
      box-shadow: 0 8px 28px rgba(0,180,216,0.4);
      transition: transform 0.2s, box-shadow 0.2s;
    }
    .btn-cta-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,180,216,0.5); color: #fff; }
    .btn-cta-outline {
      display: inline-flex; align-items: center; gap: 8px;
      border: 2px solid rgba(255,255,255,0.5);
      color: #fff; padding: 12px 32px; border-radius: 50px;
      font-weight: 700; font-size: .95rem; text-decoration: none;
      transition: border-color 0.2s, background 0.2s;
    }
    .btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

    /* LIGHTBOX */
    .lightbox-overlay {
      display: none; position: fixed; inset: 0; z-index: 9999;
      background: rgba(0,10,30,0.94); align-items: center; justify-content: center;
      backdrop-filter: blur(8px);
    }
    .lightbox-overlay.open { display: flex; }
    .lightbox-inner {
      position: relative; max-width: 860px; width: 92vw;
      animation: lbIn 0.4s cubic-bezier(0.25,0.8,0.25,1);
    }
    @keyframes lbIn { from { transform: scale(0.82); opacity: 0; } to { transform: scale(1); opacity: 1; } }
    .lightbox-inner img {
      width: 100%; border-radius: 16px;
      box-shadow: 0 30px 100px rgba(0,0,0,0.7); object-fit: contain;
      background: #0a1530; display: block;
    }
    .lightbox-inner .lb-cap { text-align: center; margin-top: 16px; }
    .lightbox-inner .lb-cap h5 { color: #fff; font-weight: 700; margin: 0 0 4px; }
    .lightbox-inner .lb-cap small { color: rgba(255,255,255,0.6); }
    .lb-close {
      position: absolute; top: -14px; right: -14px;
      width: 42px; height: 42px; border-radius: 50%;
      background: #fff; color: var(--primary); font-size: 1.1rem;
      border: none; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 4px 20px rgba(0,0,0,0.4); z-index: 10; transition: transform 0.2s;
    }
    .lb-close:hover { transform: scale(1.1); }
    .lb-nav {
      position: absolute; top: 50%; transform: translateY(-50%);
      width: 44px; height: 44px; border-radius: 50%;
      background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.3);
      color: #fff; font-size: 1.2rem; cursor: pointer;
      display: flex; align-items: center; justify-content: center; transition: background 0.2s;
    }
    .lb-nav:hover { background: rgba(255,255,255,0.3); }
    .lb-nav.lb-prev { left: -58px; }
    .lb-nav.lb-next { right: -58px; }

    /* FOOTER */
    footer {
      background: linear-gradient(135deg, #001233 0%, #002255 100%);
      color: rgba(255,255,255,0.65); padding: 70px 0 30px;
    }
    footer h6 { color: #fff; font-weight: 700; margin-bottom: 16px; font-family: 'Manrope', sans-serif; }
    footer a { display: block; color: rgba(255,255,255,0.55); text-decoration: none; font-size: .87rem; margin-bottom: 8px; transition: color 0.2s; }
    footer a:hover { color: var(--accent); }
    .footer-divider { border-color: rgba(255,255,255,0.1); margin: 40px 0 20px; }
    .footer-bottom { font-size: .82rem; color: rgba(255,255,255,0.38); }
    .social-icon {
      display: inline-flex; align-items: center; justify-content: center;
      width: 36px; height: 36px; border-radius: 50%;
      background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.7) !important;
      font-size: 1rem; margin-right: 6px; text-decoration: none; transition: background 0.2s, color 0.2s;
    }
    .social-icon:hover { background: var(--accent); color: #fff !important; }

    /* SECTION BADGE (gallery grid) */
    .gallery-grid-section .section-badge,
    .video-section .section-badge {
      display: inline-block;
      background: rgba(0,70,144,.1);
      color: var(--primary);
      font-size: .75rem; font-weight: 700;
      letter-spacing: .1em; text-transform: uppercase;
      padding: 6px 18px; border-radius: 50px; margin-bottom: 14px;
    }

    /* REVEAL */
    .reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
    .reveal.visible { opacity: 1; transform: none; }

    @media(max-width: 768px) {
      .c3d-scene { height: 320px; margin: 40px 0 32px; }
      .c3d-slide { width: 230px; height: 280px; }
      .c3d-slide.pos-n1 { transform: translate(calc(-50% - 150px), -50%) translateZ(-80px) rotateY(22deg) scale(0.82); }
      .c3d-slide.pos-p1 { transform: translate(calc(-50% + 150px), -50%) translateZ(-80px) rotateY(-22deg) scale(0.82); }
      .c3d-slide.pos-n2, .c3d-slide.pos-p2 { opacity: 0; pointer-events: none; }
      .lb-nav.lb-prev { left: 6px; }
      .lb-nav.lb-next { right: 6px; }
      .gallery-hero { padding: 110px 0 60px; }
      .stats-strip { padding: 40px 0; }
      .stat-pill .sp-num { font-size: 1.9rem; }
    }
    @media(max-width: 576px) {
      .c3d-scene { height: 280px; margin: 32px 0 26px; }
      .c3d-slide { width: 190px; height: 240px; }
      .c3d-slide.pos-n1 { transform: translate(calc(-50% - 110px), -50%) translateZ(-70px) rotateY(20deg) scale(0.8); }
      .c3d-slide.pos-p1 { transform: translate(calc(-50% + 110px), -50%) translateZ(-70px) rotateY(-20deg) scale(0.8); }
      .c3d-btn { width: 40px; height: 40px; font-size: 1rem; }
      .gallery-hero { padding: 100px 0 50px; }
      .gallery-hero p { padding: 0 8px; }
      .video-section { padding: 60px 0 70px; }
      .gallery-grid-section { padding: 60px 0 70px; }
      .gallery-cta { padding: 60px 0; }
    }
    @media(max-width: 480px) {
      .c3d-btn.prev { left: 2px; }
      .c3d-btn.next { right: 2px; }
      .filter-btn { padding: 7px 14px; font-size: .78rem; }
      .btn-cta-primary, .btn-cta-outline { padding: 11px 22px; font-size: .88rem; }
      .c3d-caption { padding: 26px 12px 12px; }
      .c3d-caption h6 { font-size: .82rem; }
      .c3d-caption small { font-size: .68rem; }
      .top-rated-badge { padding: 4px 8px 4px 6px; }
    }