/* =============================================
   TRMF Foundation — Stylesheet v2
   Theme: White-dominant · Navy + Gold accents
   Responsive: Mobile-first, auto-scales
   ============================================= */

:root {
  --white:       #FFFFFF;
  --off-white:   #F7F9FC;
  --light-grey:  #EEF1F6;
  --border:      #DDE3ED;

  --navy:        #0D1B3E;
  --navy-mid:    #1A2F5E;
  --navy-lt:     #2A4A8A;

  --gold:        #C9A84C;
  --gold-lt:     #E8C96A;
  --gold-pale:   #FDF6E3;
  --gold-dark:   #9A7A2E;

  --text-dark:   #0D1B3E;
  --text-body:   #3A4A6B;
  --text-muted:  #6B7A9B;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', sans-serif;

  --radius:    5px;
  --radius-lg: 14px;
  --shadow-xs: 0 1px 4px rgba(13,27,62,0.06);
  --shadow-sm: 0 4px 16px rgba(13,27,62,0.08);
  --shadow-md: 0 12px 40px rgba(13,27,62,0.12);

  --section-pad: clamp(60px, 8vw, 110px);
  --transition:  0.3s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }

.section-pad    { padding: var(--section-pad) 0; }
.section-pad-sm { padding: calc(var(--section-pad) * 0.6) 0; }
.bg-off-white   { background: var(--off-white); }

.section-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 0.6rem;
  display: block;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--gold-dark); }

.body-text {
  font-size: 1rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 1rem;
}

/* ---- Buttons ---- */
.btn-navy {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.85rem;
  border-radius: var(--radius);
  border: 2px solid var(--navy);
  transition: all var(--transition);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn-navy:hover {
  background: var(--navy-mid);
  border-color: var(--navy-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(13,27,62,0.2);
}

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.75rem 1.85rem;
  border-radius: var(--radius);
  border: 2px solid var(--gold);
  transition: all var(--transition);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn-gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201,168,76,0.3);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.72rem 1.85rem;
  border-radius: var(--radius);
  border: 2px solid var(--border);
  transition: all var(--transition);
  cursor: pointer;
  line-height: 1;
  white-space: nowrap;
}
.btn-outline:hover { border-color: var(--navy); }

/* ---- Navbar ---- */
#mainNav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition);
}
#mainNav.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0;
  gap: 1rem;
}

.navbar-brand { display: flex; align-items: center; flex-shrink: 0; }
.brand-logo   { height: 52px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  list-style: none;
}

.nav-links .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius);
  transition: color var(--transition);
}
.nav-links .nav-link:hover,
.nav-links .nav-link.active { color: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 0.75rem 0 1.25rem;
}
.nav-mobile.open { display: flex; }

.nav-mobile .nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  padding: 0.65rem 1.25rem;
  border-left: 3px solid transparent;
  transition: all var(--transition);
  display: block;
}
.nav-mobile .nav-link:hover,
.nav-mobile .nav-link.active {
  color: var(--navy);
  border-left-color: var(--gold);
  background: var(--gold-pale);
}
.nav-mobile .btn-navy { margin: 0.75rem 1.25rem 0; text-align: center; display: block; }

/* ---- Hero ---- */
.hero-section {
  background: var(--white);
  padding-top: clamp(100px, 14vw, 140px);
  padding-bottom: clamp(60px, 8vw, 100px);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 45%;
  height: 100%;
  background: linear-gradient(135deg, var(--off-white) 0%, var(--light-grey) 100%);
  clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
  z-index: 0;
}

.hero-content { position: relative; z-index: 1; }

.hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-eyebrow::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}
.hero-title em { font-style: italic; color: var(--gold-dark); }

.hero-lead {
  font-size: clamp(0.95rem, 2vw, 1.1rem);
  color: var(--text-body);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.hero-stats {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.stat-pill {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50px;
  padding: 0.5rem 1.1rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-xs);
}
.stat-pill-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-pill-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
  max-width: 72px;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(1rem, 4vw, 2rem);
}

.hero-logo-wrap {
  position: relative;
  display: inline-block;
}
.hero-logo-wrap img {
  width: clamp(200px, 32vw, 340px);
  height: auto;
  filter: drop-shadow(0 16px 48px rgba(13,27,62,0.14));
  animation: logoFloat 7s ease-in-out infinite;
}
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: -24px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.18);
  animation: ringPulse 5s ease-in-out infinite;
}
.hero-logo-wrap::after {
  content: '';
  position: absolute;
  inset: -48px;
  border-radius: 50%;
  border: 1px dashed rgba(13,27,62,0.07);
  animation: ringPulse 5s ease-in-out infinite reverse;
}

/* ---- Divider ---- */
.gold-divider {
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), var(--gold-lt), var(--gold), transparent);
  border: none;
  margin: 0;
  opacity: 0.4;
}

/* ---- Founder ---- */
.founder-section { background: var(--off-white); }

.founder-img-wrap { position: relative; display: flex; justify-content: center; }
.founder-logo-display {
  width: clamp(180px, 36vw, 280px);
  height: auto;
  filter: drop-shadow(0 8px 32px rgba(13,27,62,0.1));
}

.founder-badge {
  position: absolute;
  bottom: -10px; right: 5%;
  background: var(--navy);
  color: var(--gold-lt);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.founder-quote {
  border-left: 3px solid var(--gold);
  padding: 0.85rem 1.25rem;
  margin: 1.75rem 0 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--navy);
  line-height: 1.65;
  background: linear-gradient(to right, var(--gold-pale), transparent);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---- Vision / Mission ---- */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }

.vm-card {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  transition: box-shadow var(--transition), transform var(--transition);
}
.vm-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.vm-card--navy { background: var(--navy); border-color: var(--navy); }
.vm-card--navy .vm-title { color: var(--gold-lt); }
.vm-card--navy p  { color: rgba(255,255,255,0.68); }
.vm-card--navy .vm-icon { color: var(--gold-lt); }

.vm-icon { font-size: 1.5rem; color: var(--gold-dark); margin-bottom: 1rem; line-height: 1; }

.vm-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.vm-card p { font-size: 0.95rem; color: var(--text-body); line-height: 1.75; }

/* ---- Programmes ---- */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.pillar-card {
  background: var(--off-white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.pillar-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold-dark), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.pillar-card:hover { background: var(--white); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.pillar-card:hover::after { transform: scaleX(1); }

.pillar-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--light-grey);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.pillar-card h4 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.6rem;
  line-height: 1.3;
}
.pillar-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.7; }

/* ---- Beneficiaries ---- */
.ben-list { display: flex; flex-direction: column; gap: 1rem; }

.ben-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: box-shadow var(--transition);
}
.ben-card:hover { box-shadow: var(--shadow-sm); }

.ben-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 6px;
}

.ben-card h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.2rem;
}
.ben-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ---- CSI Section ---- */
.csi-section { background: var(--navy); }
.csi-section .section-eyebrow { color: var(--gold-lt); }
.csi-section .section-title   { color: var(--white); }

.csi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1rem;
}

.csi-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  transition: background var(--transition);
}
.csi-card:hover { background: rgba(255,255,255,0.09); }

.csi-icon {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  margin-top: 7px;
}
.csi-card p { font-size: 0.875rem; color: rgba(255,255,255,0.68); margin: 0; line-height: 1.6; }

/* ---- Contact Hero ---- */
.contact-hero {
  background: var(--navy);
  padding: clamp(110px,16vw,160px) 0 clamp(60px,7vw,90px);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 64px;
  background: var(--white);
  clip-path: ellipse(65% 100% at 50% 100%);
}

.contact-hero .section-eyebrow { color: var(--gold-lt); }

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.contact-hero .hero-lead {
  color: rgba(255,255,255,0.6);
  max-width: 540px;
  margin: 0 auto;
  font-size: 1rem;
}

/* ---- Option Cards ---- */
.option-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.option-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.option-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(to right, var(--gold-dark), var(--gold-lt));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.option-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.option-card:hover::before { transform: scaleX(1); }

.option-card--featured { background: var(--navy); border-color: var(--navy); }
.option-card--featured .oc-icon { color: var(--gold-lt); }
.option-card--featured h5       { color: var(--white); }
.option-card--featured p        { color: rgba(255,255,255,0.6); }

.oc-icon { font-size: 1.5rem; color: var(--gold-dark); margin-bottom: 1rem; }

.option-card h5 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.option-card p { font-size: 0.875rem; color: var(--text-muted); margin: 0; }

/* ---- Form ---- */
.form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-sm);
}

.form-heading {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.4rem;
}
.form-sub { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 2rem; }

.form-label {
  font-size: 0.83rem;
  font-weight: 500;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  margin-bottom: 0.4rem;
  display: block;
}
.req { color: var(--gold-dark); }

.trmf-input {
  width: 100%;
  background: var(--off-white) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: var(--radius) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  color: var(--text-dark) !important;
  padding: 0.7rem 1rem !important;
  transition: border-color var(--transition), box-shadow var(--transition) !important;
  -webkit-appearance: none;
  appearance: none;
}
.trmf-input:focus {
  background: var(--white) !important;
  border-color: var(--navy) !important;
  box-shadow: 0 0 0 3px rgba(13,27,62,0.07) !important;
  outline: none !important;
}
.trmf-input::placeholder { color: #B0BAC8 !important; }

.trmf-check .form-check-input {
  border-color: var(--border);
  border-radius: 3px;
  margin-top: 3px;
}
.trmf-check .form-check-input:checked {
  background-color: var(--navy);
  border-color: var(--navy);
}
.trmf-check .form-check-label {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.btn-submit {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.9rem 2rem;
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  width: 100%;
  cursor: pointer;
  transition: all var(--transition);
  margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--navy-mid); }
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.form-success { text-align: center; padding: 3rem 1rem; }
.success-ring {
  width: 70px; height: 70px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  font-size: 1.75rem;
  color: var(--gold-dark);
}
.form-success h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
}
.form-success p { color: var(--text-muted); }

/* ---- Footer ---- */
.site-footer {
  background: var(--navy);
  color: var(--white);
  padding: 4rem 0 2rem;
}

.footer-logo img {
  height: clamp(52px, 8vw, 72px);
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  max-width: 240px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: var(--gold-lt);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.footer-links { list-style: none; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.45); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold-lt); }

.footer-divider { height: 1px; background: rgba(255,255,255,0.07); margin: 2.5rem 0 1.5rem; border: none; }
.footer-copy { font-size: 0.78rem; color: rgba(255,255,255,0.26); }

/* ---- Reveal ---- */
/*.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: none; } */

/* ---- Keyframes ---- */
@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-14px); }
}

@keyframes ringPulse {
  0%, 100% { opacity: 0.5; transform: scale(1); }
  50%       { opacity: 1;   transform: scale(1.04); }
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }
  .hero-section::before { display: none; }
  .hero-section { background: var(--off-white); }
  .pillar-grid  { grid-template-columns: repeat(2, 1fr); }
  .vm-grid      { grid-template-columns: 1fr; }
  .option-grid  { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  .pillar-grid  { grid-template-columns: 1fr; }
  .hero-visual  { margin-top: 2rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn-navy,
  .hero-actions .btn-outline { text-align: center; }
  .hero-stats   { gap: 0.6rem; }
  .founder-badge { font-size: 0.68rem; right: 0; }
  .form-wrap    { padding: 1.75rem 1.25rem; }
  .contact-hero { text-align: left; }
  .contact-hero .hero-lead { margin: 0; }
}

@media (min-width: 1400px) {
  .container { max-width: 1260px; }
}
/* =============================================
   Gallery Page Styles
   ============================================= */

/* Gallery Hero */
.gallery-hero {
  background: var(--navy);
  padding: clamp(110px,16vw,160px) 0 clamp(60px,7vw,90px);
  position: relative;
  overflow: hidden;
}
.gallery-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 64px;
  background: var(--white);
  clip-path: ellipse(65% 100% at 50% 100%);
}

/* Gallery Tabs */
.gallery-tabs-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 56px;
  z-index: 900;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.gallery-tabs {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 0;
}
.gallery-tabs::-webkit-scrollbar { display: none; }

.gallery-tab {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 1rem 1.5rem;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.gallery-tab:hover { color: var(--navy); }
.gallery-tab.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
  font-weight: 600;
}

/* Gallery Section Headers */
.gallery-section-header {
  margin-bottom: 2.5rem;
}

/* Gallery Grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.gallery-grid-lg {
  grid-template-columns: repeat(3, 1fr);
  max-width: 900px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--light-grey);
  cursor: pointer;
  display: block;
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  padding: 2rem 1rem 1rem;
  background: linear-gradient(to top, rgba(13,27,62,0.85) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
}
.gallery-loc {
  font-size: 0.78rem;
  color: var(--gold-lt);
  letter-spacing: 0.04em;
  margin-top: 2px;
}

/* Video play button */
.gallery-video { position: relative; }
.gallery-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0.9;
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
}
.gallery-item:hover .gallery-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Documents section */
.documents-section { background: var(--off-white); }

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 800px;
  margin: 0 auto;
}

.doc-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition);
  text-decoration: none;
}
.doc-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  border-color: var(--gold);
}

.doc-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--gold-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}

.doc-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.35rem;
}
.doc-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
  line-height: 1.5;
}
.doc-download {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gold-dark);
  letter-spacing: 0.02em;
}
.doc-card:hover .doc-download { color: var(--navy); }

/* Gallery responsive */
@media (max-width: 991px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .gallery-grid-lg { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .gallery-grid-lg { grid-template-columns: repeat(2, 1fr); }
  .gallery-tab { padding: 0.85rem 1rem; font-size: 0.8rem; }
  .gallery-overlay { opacity: 1; padding: 1.25rem 0.75rem 0.75rem; }
  .gallery-name { font-size: 0.95rem; }
  .gallery-loc { font-size: 0.7rem; }
  .doc-grid { grid-template-columns: 1fr; }
  .doc-card { padding: 1.25rem; }
  .gallery-hero { text-align: left; }
  .gallery-play svg { width: 36px; height: 36px; }
}
@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
  .gallery-item { border-radius: var(--radius); }
}

/* GLightbox custom overrides */
.gslide-title {
  font-family: var(--font-display) !important;
  font-size: 1.3rem !important;
  color: var(--white) !important;
}
