/* ===== Base ===== */

/* ===== Base ===== */
:root {
  --font-primary: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-accent: "Playfair Display", "Georgia", serif;
  --font-size-base: 19px;  /* slightly bigger base size */
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);  /* 17px */
  line-height: 1.7;
  background: #ffffff;
  color: #111827;
}


/* Special background for launch page */
body.launch-body {
  background: #ffffff;
  color: #f9fafb;
}

/* Wider content like a modern association site */
.container {
  max-width: 1480px; /* wider overall */
  margin: 0 auto;
  padding: 1rem 2.5rem; /* a bit more breathing room but still wide */
}

/* Smooth transition for the launch container */
.launch-container {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #020617;
  transition: opacity 0.5s ease;
}

.launch-open .launch-container {
  opacity: 0.8;
}

/* Ensure home page loads smoothly */
/* Ensure home page loads smoothly BEHIND the curtains */
#homePageFrame {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  opacity: 0;                 /* start hidden */
  transition: opacity 0.5s ease;
  z-index: 1;                 /* behind curtains (curtains are z-index: 10) */
}


/* ===== Header & Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-image {
  height: 100px;
  width: auto;
  display: block;
}

.logo-mark {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-main {
  font-weight: 700;
  font-size: 2em;
  letter-spacing: 0.02em;
  color: #b45309;
}

.logo-sub {
  font-size: 1.4rem;
  color: #4b5563;
}

/* Desktop nav */
.main-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 1.15rem;
}

.main-nav a {
  color: #111827;
  text-decoration: none;
  font-weight: 500;
  position: relative;
  font-family: var(--font-primary);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #f97316, #fbbf24);
  transition: width 0.18s ease-out;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-user {
  font-size: 0.9rem;
  color: #4b5563;
  margin-left: 0.4rem;
}

/* Auth buttons */
.nav-auth {
  padding: 0.45rem 1.1rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nav-auth-solid {
  background: #f97316;
  color: #111827;
  border: 1px solid #f97316;
}

.nav-auth-outline {
  background: transparent;
  color: #111827;
  border: 1px solid #d1d5db;
}

.nav-auth:hover {
  opacity: 0.9;
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  padding: 0.3rem;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #111827;
  border-radius: 999px;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===== Nav dropdown (About) – MEGA MENU ===== */

/* Wrapper */
.nav-item {
  position: relative;
}

/* About item with dropdown */
.nav-has-dropdown {
  position: relative;
}

/* The "About" trigger */
.nav-dropdown-toggle {
  background: transparent;
  border: none;
  color: inherit;
  font: inherit;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-dropdown-toggle:hover {
  opacity: 0.9;
}

/* Little chevron next to About */
.nav-dropdown-chevron {
  font-size: 0.75rem;
  opacity: 0.7;
  transform: translateY(1px);
}

/* Desktop mega dropdown panel */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 8px);        /* centred under header */
  width: min(1120px, calc(100vw - 3rem)); /* wide panel like 84000 */
  background: #ffffff;
  border-radius: 1.4rem;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.18);
  padding: 1.8rem 2rem 2.1rem;
  margin-top: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 40;
}

/* grid inside the mega menu */
.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
}

/* column heading */
.mega-title {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: #b45309;
  margin: 0 0 0.9rem;
}

/* individual links */
.nav-dropdown-item {
  display: block;
  padding: 0.35rem 0;
  text-decoration: none;
  color: #111827;
  font-size: 1.1rem;       /* close to top nav */
  font-weight: 500;         /* match main menu weight */
  font-family: var(--font-primary);
}

.nav-dropdown-item:hover {
  color: #0f172a;
}

.nav-dropdown-desc {
  display: block;
  font-size: 0.82rem;
  color: #6b7280;
  margin-top: 0.08rem;
  line-height: 1.6;
}

/* open states */
.nav-has-dropdown:hover .nav-dropdown,
.nav-has-dropdown:focus-within .nav-dropdown,
.nav-has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

/* subtle divider at bottom of mega menu (optional) */
.nav-dropdown::after {
  content: "";
  display: block;
  height: 4px;
  border-radius: 999px;
  margin-top: 1.2rem;
  background: linear-gradient(90deg, #f97316, #facc15, #f97316);
}

/* ===== Mobile – slide-down menu + mega section ===== */
@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    padding: 0.8rem 1.75rem 1.2rem;
    flex-direction: column;
    gap: 0.45rem;
    display: none;
    align-items: flex-start;
  }

  body.nav-open .main-nav {
    display: flex;
  }

  .main-nav a,
  .nav-auth,
  .nav-user {
    padding: 0.35rem 0;
    width: 100%;
    text-align: left;
  }

  /* make About row full-width with underline */
  .nav-item.nav-has-dropdown {
    width: 100%;
    border-top: 1px solid #e5e7eb;
    padding-top: 0.4rem;
    margin-top: 0.5rem;
  }

  .nav-dropdown-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 0.35rem 0;
    background: none;
    border: none;
    font: inherit;
    cursor: pointer;
    text-align: left;
  }

  /* FIX: mobile mega menu panel under About - MAKE IT VISIBLE */
  .nav-dropdown {
    position: static !important;
    width: 100% !important;
    transform: none !important;
    box-shadow: none;
    border-radius: 0;
    border-top: 1px solid #e5e7eb;
    padding: 1rem 0 0.5rem !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: none;
    background: #ffffff !important;
    margin-top: 0.5rem;
  }

  .nav-has-dropdown.is-open .nav-dropdown {
    display: block !important;
  }

  .mega-grid {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .mega-title {
    font-size: 0.9rem;
    color: #b45309;
    margin-bottom: 0.5rem;
  }

  .nav-dropdown-item {
    display: block !important;
    padding: 0.5rem 0 !important;
    text-decoration: none;
    color: #111827 !important;
    font-size: 0.95rem;
    font-weight: 500;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-dropdown-item:last-child {
    border-bottom: none;
  }

  .nav-dropdown-desc {
    display: block;
    font-size: 0.82rem;
    color: #6b7280;
    margin-top: 0.2rem;
    line-height: 1.4;
  }

  /* Remove the desktop-specific styles */
  .nav-dropdown::after {
    display: none;
  }
}

/* ===== Layout & Sections ===== */
.site-main {
  min-height: 70vh;
  padding-bottom: 2.5rem;
}

.page-container {
  padding-top: 2rem;
}

/* Hero (home) */
.hero {
  display: flex;
  justify-content: flex-start;
  padding: 2.75rem 0 2rem;
}

.hero-text {
  max-width: 980px; /* wider hero card */
  background: #ffffff;
  border-radius: 1.4rem;
  padding: 2rem 2.8rem; /* slightly wider inner padding */
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
  border: 1px solid #e5e7eb;
}

.hero-text h1 {
  margin: 0 0 0.85rem;
  font-size: 2.1rem;
  letter-spacing: 0.01em;
}

.hero-text p {
  margin: 0.25rem 0 0.85rem;
  font-size: 1.2rem;
  color: #4b5563;
}


.hero-actions {
  margin: 1.25rem 0 0.75rem;
}

.hero-meta {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Sections */
.section {
  margin: 2.5rem 0;
}

.section h2 {
  margin-bottom: 0.9rem;
  /* font-size removed so special titles can override */
}


/* Buttons */
.btn {
  display: inline-block;
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
}

.btn.primary {
  background: #f97316;
  color: #111827;
}

.btn.secondary {
  background: #111827;
  color: #f9fafb;
  margin-left: 0.6rem;
}

.btn:hover {
  opacity: 0.95;
}

/* Forms */
.form p {
  margin-bottom: 0.9rem;
}

.form input[type="text"],
.form input[type="email"],
.form textarea,
.form select {
  width: 100%;
  padding: 0.55rem 0.7rem;
  border-radius: 0.6rem;
  border: 1px solid #cbd5e1;
  font: inherit;
  background: #f9fafb;
}

.form textarea {
  min-height: 120px;
}

/* Messages */
.messages {
  margin: 1rem 0;
}

.message {
  padding: 0.75rem 1rem;
  border-radius: 0.8rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.message.success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* Tables */
.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
  font-size: 0.9rem;
  background: #ffffff;
  border-radius: 0.9rem;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.07);
}

.table th,
.table td {
  padding: 0.6rem 0.9rem;
  border-bottom: 1px solid #e5e7eb;
}

.table th {
  text-align: left;
  background: #f9fafb;
}

/* Notes */
.note {
  font-size: 0.85rem;
  color: #4b5563;
  margin-top: 1rem;
}

/* ===== Bhutanese Across UK – premium hero & stats ===== */

.community-hero {
  margin-top: 3rem;
  margin-bottom: 2.4rem;
}

.community-hero h1 {
  font-size: clamp(2.1rem, 2.3vw + 1.6rem, 2.8rem);
  letter-spacing: 0.02em;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.85rem;
}

.community-hero .lead {
  font-size: 1.08rem;
  max-width: 46rem;
  color: #374151;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.6rem;
  margin-bottom: 1rem;
}

.stat-card {
  flex: 0 1 230px;
  padding: 1.05rem 1.3rem;
  border-radius: 1.1rem;
  background: radial-gradient(circle at top left, #0f172a, #020617);
  color: #e5e7eb;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28);
  border: 1px solid rgba(148, 163, 184, 0.3);
}

.stat-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.stat-value {
  display: block;
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.community-hero .note {
  font-size: 0.9rem;
  color: #6b7280;
  margin-top: 0.8rem;
}

/* Map block */
.community-map {
  margin-top: 2.5rem;
  margin-bottom: 2.5rem;
}

#uk-map-plotly {
  width: 100%;
  min-height: 420px;
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  border: 1px solid #e5e7eb;
}

/* Map style toggle – premium switch */
.map-style-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #4b5563;
  margin-bottom: 0.75rem;
}

.switch-label {
  font-weight: 500;
}

.switch {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 22px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #e5e7eb;
  border-radius: 999px;
  transition: 0.2s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 3px;
  top: 3px;
  background-color: white;
  border-radius: 50%;
  transition: 0.2s;
}

/* Checked (dark mode) */
.switch input:checked + .slider {
  background: linear-gradient(90deg, #0f172a, #111827);
}

.switch input:checked + .slider:before {
  transform: translateX(20px);
}

.switch-mode-text {
  font-size: 0.85rem;
  color: #6b7280;
}

/* ===== Premium community table ===== */

.community-table {
  margin-top: 2.5rem;
  margin-bottom: 3rem;
}

.community-table h2 {
  font-size: 1.3rem;
  margin-bottom: 0.2rem;
}

.community-table-subtitle {
  font-size: 0.95rem;
  color: #4b5563;
  margin-bottom: 1rem;
}

.table-shell {
  border-radius: 1.2rem;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.16);
  border: 1px solid #e5e7eb;
  background: #ffffff;
}

/* Use existing .table base, but refine for this context */
.table-community {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
}

.table-community thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6b7280;
  background: #f9fafb;
  border-bottom: 1px solid #e5e7eb;
  padding-top: 0.85rem;
  padding-bottom: 0.75rem;
  text-align: center;  /* ✅ centre headers */
}

.table-community tbody tr:nth-child(even) {
  background: #f9fafb;
}

.table-community tbody tr:hover {
  background: #eef2ff;
}

/* Body cells */
.table-community td {
  border-bottom: 1px solid #e5e7eb;
  text-align: center;  /* ✅ centre cells */
}

/* City pill */
.city-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.8rem;
  border-radius: 999px;
  background: #f3f4f6;
  font-size: 0.92rem;
  color: #111827;
}

.col-num,
.num-cell {
  text-align: center;  /* ✅ keep numbers centred */
}

.num-cell {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}




/* Gallery */
.gallery-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.gallery-item {
  background: #ffffff;
  border-radius: 1rem;
  padding: 0.5rem;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
}

.gallery-item img {
  width: 100%;
  border-radius: 0.85rem;
  display: block;
}

.gallery-item figcaption {
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

/* Footer */
.site-footer {
  background: #020617;
  color: #e5e7eb;
  text-align: center;
  padding: 1.3rem 0;
  font-size: 0.85rem;
}

/* ===== Bhutanese Pattern Curtain Launch ===== */
.launch-container {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

/* Always reserve scrollbar width so layout doesn’t jump */
html {
  overflow-y: scroll;
}

/* On the launch page, lock scrolling */
body.launch-body {
  overflow: hidden;   /* no scroll on launch */
}




.launch-message {
  font-size: 1.3rem;
  font-weight: 600;
  color: #fbbf24;
  margin: 1.5rem 0;
  text-align: center;
}



/* Update curtain position to cover entire page below header */
/* Update curtains to cover entire page with professional gaps */
.curtain {
  position: fixed;
  top: 0; /* Start from top of page */
  width: calc(50% - 15px); /* Creates 30px gap between curtains */
  height: 100vh; /* Full viewport height */
  z-index: 10;
  transition: transform 1.5s ease-in-out;
  display: flex;
}

/* Add visual gap separator */
/* Silver edge on left curtain */
.curtain.left::after {
  content: '';
  position: absolute;
  right: 0;            /* stay inside the left curtain */
  top: 0;
  width: 15px;         /* half the gap */
  height: 100%;
  background: linear-gradient(
    90deg,
    #9ca3af 0%,        /* darker silver */
    #e5e7eb 100%       /* lighter silver */
  );
  z-index: 5;
  pointer-events: none;
}

/* Silver edge on right curtain */
.curtain.right::before {
  content: '';
  position: absolute;
  left: 0;             /* inside the right curtain */
  top: 0;
  width: 15px;         /* other half of the gap */
  height: 100%;
  background: linear-gradient(
    90deg,
    #e5e7eb 0%,        /* lighter silver */
    #9ca3af 100%       /* darker silver */
  );
  z-index: 5;
  pointer-events: none;
}



.curtain.left {
  left: 0;
  transform: translateX(0);
}

.curtain.right {
  right: 0;
  transform: translateX(0);
  flex-direction: row-reverse;
}

/* Pattern Strips - Bhutanese pattern */
.pattern-strip {
  flex: 1;
  height: 100%;
  background-color: #f6c739;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='700' viewBox='0 0 140 700'%3E%3Cdefs%3E%3Cstyle%3E.bg%7Bfill:%23f6c739%7D.red%7Bfill:%23c13221%7D.green%7Bfill:%230b7b3b%7D%3C/style%3E%3C/defs%3E%3Crect class='bg' x='0' y='0' width='140' height='700'/%3E%3Cg transform='translate(60,90)'%3E%3Cellipse class='red' cx='0' cy='0' rx='32' ry='9'/%3E%3Cellipse class='green' cx='0' cy='0' rx='9' ry='32'/%3E%3C/g%3E%3Cg transform='translate(60,250)'%3E%3Cellipse class='green' cx='0.0' cy='-26.0' rx='7' ry='15' transform='rotate(30 0.0 -26.0)'/%3E%3Cellipse class='red' cx='18.4' cy='-18.4' rx='7' ry='15' transform='rotate(75 18.4 -18.4)'/%3E%3Cellipse class='green' cx='26.0' cy='-0.0' rx='7' ry='15' transform='rotate(120 26.0 -0.0)'/%3E%3Cellipse class='red' cx='18.4' cy='18.4' rx='7' ry='15' transform='rotate(165 18.4 18.4)'/%3E%3Cellipse class='green' cx='0.0' cy='26.0' rx='7' ry='15' transform='rotate(210 0.0 26.0)'/%3E%3Cellipse class='red' cx='-18.4' cy='18.4' rx='7' ry='15' transform='rotate(255 -18.4 18.4)'/%3E%3Cellipse class='green' cx='-26.0' cy='0.0' rx='7' ry='15' transform='rotate(300 -26.0 0.0)'/%3E%3Cellipse class='red' cx='-18.4' cy='-18.4' rx='7' ry='15' transform='rotate(345 -18.4 -18.4)'/%3E%3C/g%3E%3Cg transform='translate(60,430)'%3E%3Ccircle class='green' cx='0' cy='0' r='5'/%3E%3Cellipse class='green' cx='0' cy='-26' rx='7' ry='16'/%3E%3Cellipse class='green' cx='26' cy='0' rx='16' ry='7'/%3E%3Cellipse class='green' cx='0' cy='26' rx='7' ry='16'/%3E%3Cellipse class='green' cx='-26' cy='0' rx='16' ry='7'/%3E%3Ccircle class='red' cx='18' cy='-18' r='5'/%3E%3Ccircle class='red' cx='18' cy='18' r='5'/%3E%3Ccircle class='red' cx='-18' cy='-18' r='5'/%3E%3Ccircle class='red' cx='-18' cy='18' r='5'/%3E%3C/g%3E%3Cg transform='translate(60,610)'%3E%3Ccircle class='green' cx='0' cy='0' r='8'/%3E%3Ccircle class='green' cx='0' cy='-24' r='8'/%3E%3Ccircle class='green' cx='24' cy='0' r='8'/%3E%3Ccircle class='green' cx='0' cy='24' r='8'/%3E%3Ccircle class='green' cx='-24' cy='0' r='8'/%3E%3Ccircle class='red' cx='17' cy='-17' r='7'/%3E%3Ccircle class='red' cx='17' cy='17' r='7'/%3E%3Ccircle class='red' cx='-17' cy='-17' r='7'/%3E%3Ccircle class='red' cx='-17' cy='17' r='7'/%3E%3C/g%3E%3C/svg%3E");
  background-repeat: repeat-y;
  background-size: 100% auto;
  border-right: 2px solid #c13221;
}

.curtain.right .pattern-strip {
  border-right: none;
  border-left: 2px solid #c13221;
}

/* Curtain Animation */
.launch-open .curtain.left {
  transform: translateX(-100%);
}

.launch-open .curtain.right {
  transform: translateX(100%);
}

/* Central Content */
/* Central Content */
.launch-center {
  position: fixed;
  top: 50%; /* Center vertically without header offset */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 20;
  text-align: center;
  width: 90%;
  max-width: 600px;
}

.ceremonial-frame {
  background: rgba(15, 23, 42, 0.95);
  padding: 2.5rem;
  border-radius: 20px;
  border: 3px solid #fbbf24;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
  color: #f9fafb;
  backdrop-filter: blur(10px);
}

.ceremonial-frame h1 {
  margin: 0 0 1rem 0;
  font-size: 1.8rem;
  color: #fbbf24;
}

.ceremonial-frame p {
  margin: 1rem 0;
  opacity: 0.9;
  line-height: 1.6;
}

.ceremonial-frame strong {
  color: #fbbf24;
}

/* Khata Button */
.khata-band {
  margin: 2rem 0;
}

.khata-knot {
  padding: 1rem 2rem;
  border-radius: 50px;
  border: 2px solid #fbbf24;
  background: radial-gradient(circle at 30% 30%, #fef3c7, #f97316);
  color: #111827;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(251, 191, 36, 0.6);
  transition: all 0.3s ease;
  display: inline-block;
}

.khata-knot:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(251, 191, 36, 0.8);
}

.khata-knot.is-launching {
  animation: untieAnimation 1s ease forwards;
}

@keyframes untieAnimation {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
  100% { transform: scale(0); opacity: 0; }
}

.launch-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: #94a3b8;
  font-style: italic;
}



/* Responsive curtain gaps */
@media (max-width: 768px) {
  .curtain {
    width: calc(50% - 10px); /* Smaller gap on mobile */
  }
  
  .curtain.left::after {
    right: -10px;
    width: 20px;
  }
  
  .ceremonial-frame {
    padding: 2rem 1.5rem;
  }
  
  .ceremonial-frame h1 {
    font-size: 1.5rem;
  }
  
  .khata-knot {
    padding: 0.8rem 1.5rem;
    font-size: 1rem;
  }
}
/* ===== Responsive ===== */
/* ===== Responsive ===== */
@media (max-width: 960px) {
  .page-container {
    padding-top: 1.5rem;
  }

  .hero {
    padding: 2rem 0 1.5rem;
  }

  .hero-text {
    padding: 1.6rem 1.7rem;
  }
}


@media (max-width: 640px) {
  .container {
    padding: 0.85rem 1.1rem;
  }

  .hero-text h1 {
    font-size: 1.6rem;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1680px;
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .hero-text {
    max-width: 1100px;
  }
}



/* ===== Home hero refinements ===== */

.hero-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #6b7280;
  margin-bottom: 0.6rem;
}

.hero-text h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.6rem, 3vw + 1.6rem, 3.1rem);
  letter-spacing: 0.01em;
  font-weight: 800;
  color: #0f172a;
  font-family: var(--font-accent);
}


.hero-meta-row {
  margin-top: 0.9rem;
  margin-bottom: 0.4rem;
}

.hero-meta-row strong {
  font-weight: 600;
}

/* Small highlight cards under hero */

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 0.9rem;
  margin-top: 1.3rem;
}

.hero-highlight {
  padding: 0.85rem 1rem;
  border-radius: 0.9rem;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.hero-highlight h3 {
  margin: 0 0 0.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: #111827;
}

.hero-highlight p {
  margin: 0;
  font-size: 0.88rem;
  color: #4b5563;
}

/* ===== Section intro & cards ===== */

.section-header {
  max-width: 820px;
  margin-bottom: 1.4rem;
}

.section-intro {
  margin: 0.2rem 0 0;
  font-size: 0.98rem;
  color: #4b5563;
}

.section-empty {
  font-size: 0.9rem;
  color: #6b7280;
}

/* Soft pill-style cards explaining what you do */

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

.pill-card {
  background: #ffffff;
  border-radius: 1.1rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid #e5e7eb;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.06);
}

.pill-card h3 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #111827;
}

.pill-card p {
  margin: 0;
  font-size: 0.9rem;
  color: #4b5563;
}

/* ===== Premium Hero Styles ===== */
.premium-hero {
  position: relative;
  padding: 4rem 0 3rem;
  
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  
}

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

.premium-hero-text {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 
    0 25px 50px rgba(0, 0, 0, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* ===== New: outer 70/30 layout for home hero ===== */

/* Shell that creates LEFT 70% (main hero) + RIGHT 30% (blank card) */
.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 3fr);
  gap: 1.8rem;
  align-items: stretch;
}

/* Make the main hero card fill its 70% column (no extra max-width limit) */
.hero-text.full-width-text {
  max-width: none;
}

/* Optional: keep the whole hero content nicely centred */
.full-width-hero {
  width: 100%;   /* use full container width (same as header) */
}




.premium-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #f97316, #fbbf24);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.eyebrow-icon {
  font-size: 1.1em;
}

.hero-text .premium-headline {
  font-size: clamp(2rem, 4vw, 3rem);  /* desktop & tablet size */
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}


.gradient-text {
  background: linear-gradient(135deg, #f97316 0%, #fbbf24 50%, #eab308 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.premium-intro {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #374151;
  margin-bottom: 1.7rem;
  font-family: var(--font-primary);
}

.premium-subintro {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 2.1rem;
}


.value-highlight {
  background: linear-gradient(120deg, #fef3c7 0%, #fef3c7 100%);
  background-repeat: no-repeat;
  background-size: 100% 0.3em;
  background-position: 0 88%;
  padding: 0.1rem 0.2rem;
  color: #92400e;
}

/* Premium Buttons */
.premium-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

.premium-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 1rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  font-size: 1.05rem;   /* ⬅️ add this line (or 1.1rem if you want larger) */
}


.premium-btn.primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
}

.premium-btn.secondary {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
}

.premium-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.premium-btn.large {
  padding: 1.2rem 2.5rem;
  font-size: 1.1rem;
}

.btn-icon {
  font-size: 1.2em;
}

/* Premium Stats Grid */
.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0 1rem;
}

.premium-stat {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 10px 30px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
}

.stat-icon {
  font-size: 2rem;
  opacity: 0.8;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.9rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Premium Sections */
.premium-section {
  margin: 4rem 0;
}

.premium-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

/* Base style for any section title (other pages can reuse) */
.section-title {
  font-size: 2rem;          /* sensible default */
  font-weight: 700;
  margin-bottom: 1rem;
  font-family: var(--font-accent);
  background: linear-gradient(135deg, #0f172a 0%, #475569 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Stronger rule just for the premium home sections */
.premium-section .section-header .section-title {
  font-size: 2.4rem;        /* desktop size for:
                               - What this association stands for
                               - Moments from our community
                               - Your voice in our decisions */
}

/* Premium section intro paragraph */
.premium-section .section-header .section-intro {
  font-size: 1.2rem;
  line-height: 1.8;
}





.accent-section {
  background: #ffffff;      /* plain white, no blue */
  padding: 4rem 0;
  margin: 4rem 0;          /* no negative margin – aligns with other sections */
}


/* Premium Cards */
.premium-pill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.premium-pill-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.premium-pill-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #f97316, #fbbf24);
}

.premium-pill-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.premium-pill-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1rem;
}

.premium-pill-card p {
  font-size: 1.2rem;         /* ⬅️ bigger than 0.9rem */
  color: #64748b;
  line-height: 1.8;
  font-family: var(--font-primary);  /* Inter – explicit, just in case */
}

/* ===== Royal Message Block – HM Portrait & Quotes ===== */

.royal-message-section {
  margin-top: 3rem;
}

.royal-card {
  width: 100%;              /* ⬅️ fill the same width as the header/container */
  margin: 0 auto;
  padding: 2.5rem 2.8rem;
  border-radius: 1.8rem;
  background: radial-gradient(circle at top left, #fefce8 0%, #ffffff 55%, #f1f5f9 100%);
  border: 1px solid #facc15;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 5fr);
  gap: 2.2rem;
  align-items: center;
}


.royal-portrait img {
  width: 100%;
  display: block;
  border-radius: 1.4rem;
  object-fit: cover;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.35);
  border: 3px solid rgba(248, 250, 252, 0.9);
}

.royal-quotes {
  position: relative;
}

.royal-tagline {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #a16207;
  margin: 0 0 0.9rem;
  font-weight: 600;
}

.royal-quote {
  font-size: 1.1rem;
  line-height: 1.9;
  color: #1f2933;
  margin: 0 0 0.9rem;
  font-family: var(--font-primary);
}

.royal-quote:first-of-type {
  margin-top: 0.2rem;
}

.royal-source {
  font-size: 0.9rem;
  color: #92400e;
  font-style: italic;
  margin: 0 0 1.1rem;
}

.royal-divider {
  height: 1px;
  width: 80px;
  background: linear-gradient(90deg, #f59e0b, #facc15, #f97316);
  margin: 0.6rem 0 1.2rem;
}

/* Small “quote mark” accent in background if you want it */
.royal-quotes::before {
  content: "“";
  position: absolute;
  top: -1.8rem;
  right: 0.5rem;
  font-size: 4rem;
  line-height: 1;
  color: rgba(251, 191, 36, 0.2);
  font-family: var(--font-accent);
  pointer-events: none;
}

/* Responsive stacking */
@media (max-width: 900px) {
  .royal-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.8rem;
  }

  .royal-portrait {
    max-width: 360px;
    margin: 0 auto 1.8rem;
  }

  .royal-quote {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .royal-card {
    padding: 1.6rem 1.4rem;
  }

  .royal-tagline {
    font-size: 0.8rem;
  }

  .royal-quote {
    font-size: 0.95rem;
  }
}

/* ===== Premium full-width highlights under Moments section ===== */

/* Full-width row with 2 cards side by side on desktop */
.premium-highlights-row {
  width: 100%;
  max-width: none;  /* no artificial narrowing */
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));  /* ⬅️ 2 columns on desktop */
  gap: 2rem;
}



.premium-highlight-card {
  background: linear-gradient(135deg, #ffffff 0%, #f9fafb 50%, #eef2ff 100%);
  border-radius: 1.6rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;      /* image on top, text below */
}

/* Image spans full width of the card */
.premium-highlight-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-height: 420px;           /* you can tweak this */
}

.premium-highlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.premium-highlight-card:hover .premium-highlight-img {
  transform: scale(1.03);
}

/* Text block */
.premium-highlight-text {
  padding: 1.7rem 1.9rem 2rem;
}

.premium-highlight-text h3 {
  margin: 0 0 0.35rem;
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f172a;
  font-family: var(--font-accent);
}

.premium-highlight-subtitle {
  margin: 0 0 0.7rem;
  font-size: 0.98rem;
  font-weight: 600;
  color: #475569;
}

.premium-highlight-text p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  color: #4b5563;
}

/* Tweak spacing on small screens */
@media (max-width: 640px) {
  .premium-highlights-row {
    margin-top: 2rem;
    gap: 1.5rem;
  }

  .premium-highlight-text {
    padding: 1.4rem 1.4rem 1.7rem;
  }

  .premium-highlight-text h3 {
    font-size: 1.15rem;
  }

  .premium-highlight-subtitle {
    font-size: 0.94rem;
  }
}


/* Premium Gallery */
.premium-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.premium-gallery-item {
  background: white;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.premium-gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.gallery-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.premium-gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.premium-gallery-item:hover .gallery-image {
  transform: scale(1.05);
}

.view-more {
  color: white;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 2px solid white;
  border-radius: 2rem;
}

.gallery-caption {
  padding: 1.5rem;
  text-align: center;
}

.gallery-caption strong {
  color: #0f172a;
  font-size: 1.1rem;
}

.gallery-caption small {
  color: #64748b;
}

/* Empty States */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  background: white;
  border-radius: 1.5rem;
  border: 2px dashed #e2e8f0;
}

.empty-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

.empty-text {
  color: #64748b;
  font-size: 1.1rem;
  margin: 0;
}

/* Survey CTA */
.survey-cta {
  text-align: center;
  padding: 2rem;
}

.survey-note {
  margin-top: 1rem;
  color: #64748b;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .premium-hero {
    padding: 2rem 0;
  }
  
  .premium-actions {
    flex-direction: column;
  }
  
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .premium-pill-grid {
    grid-template-columns: 1fr;
  }
  
  .accent-section {
    margin: 2rem -1rem;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
    .premium-section .section-header .section-title {
    font-size: 1.9rem;  /* smaller on tablet / small screens */
  }

}

@media (max-width: 480px) {
  .premium-hero-text {
    padding: 1.5rem;
  }
  
  .hero-text .premium-headline {
    font-size: 1.4rem;
    line-height: 1.25;
  }
  
  .premium-intro {
    font-size: 1.1rem;
  }

  /* Phone size – section headings smaller again */
  .premium-section .section-header .section-title {
    font-size: 1.4rem;   /* try 1.3–1.5 until it feels right */
  }
}


/* Hero Content Grid Layout */
/* Hero Content Grid Layout */
/* Hero Content Grid Layout – single column now */
.hero-content-grid {
  display: grid;
  grid-template-columns: 1fr;  /* 👈 only one column */
  gap: 1.5rem;
  align-items: start;
  margin-top: 2rem;
}



/* Compact stat cards in right column */
.hero-stats-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;                 /* less vertical gap between cards */
}

/* Each stat box */
.premium-stat {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1rem;         /* ↓ smaller height & width */
  border-radius: 0.9rem;
  max-width: 230px;             /* ↓ narrower card */
  min-height: 0;                /* no forced tall height */
}

.stat-icon {
  font-size: 1.3rem;            /* smaller emoji */
  opacity: 0.9;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 1.35rem;           /* smaller number */
  font-weight: 700;
  color: #0f172a;
  line-height: 1.1;
  margin-bottom: 0.1rem;
}

.stat-label {
  font-size: 0.78rem;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .premium-stat {
    padding: 1rem;
  }
  
  .stat-icon {
    font-size: 1.5rem;
  }
  
  .stat-value {
    font-size: 1.5rem;
  }
}

/* ===== Premium About Page Styles ===== */

/* Premium About Hero */
.about-hero {
  padding: 4rem 0 2rem;
}

.about-hero-inner {
  max-width: 100%;
  margin: 0;
  text-align: center;
}

.about-eyebrow {
  display: inline-block;
  background: linear-gradient(135deg, #f97316, #fbbf24);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-title {
  font-family: var(--font-accent);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.about-intro {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #4b5563;
  max-width: 800px;
  margin: 0 auto 2rem;
}

/* Premium About Content */
.about-body {
  max-width: 100%;
  margin: 0;  /* let .container control the page width */
}

/* Introductory Section */
.about-intro-section {
  background: linear-gradient(135deg, #ffffff 0%, #fefce8 100%);
  border: 2px solid #fef3c7;
  border-radius: 1.5rem;
  padding: 3rem;
  text-align: center;
  margin: 0 auto 3rem;
  max-width: 900px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.about-intro-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #4b5563;
  margin: 0;
}

/* Values Highlight - Clean version without icons */
.values-section {
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
  border: 2px solid #fbbf24;
  border-radius: 1.5rem;
  padding: 2.5rem;
  margin: 0 auto 3rem;
  max-width: 1600px;
}

.values-section h3 {
  text-align: center;
  color: #92400e;
  margin-bottom: 2rem;
  font-size: 1.4rem;
  font-weight: 700;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  text-align: center;
}

.value-item {
  padding: 1.5rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 1rem;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.value-name {
  color: #92400e;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.value-desc {
  color: #92400e;
  font-size: 0.9rem;
  opacity: 0.8;
  line-height: 1.4;
}

/* Premium Vision & Mission Panels - Clean version */
.about-panels-premium {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.about-panel-premium {
  background: white;
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.about-panel-premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #f97316, #fbbf24);
}

.about-panel-premium:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.about-panel-premium h2 {
  color: #0f172a;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.about-panel-premium h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: linear-gradient(135deg, #f97316, #fbbf24);
}

.about-panel-premium p,
.about-panel-premium .about-list {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #4b5563;
  margin: 0;
}

/* Objectives Section - Clean version */
.objectives-section {
  margin: 4rem 0;
}

.objectives-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem;
}

.objectives-header .section-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0f172a;
}

.objectives-header .section-intro {
  font-size: 1.2rem;
  color: #64748b;
}

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

.objective-card {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.objective-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2rem;
  right: 2rem;
  height: 3px;
  background: linear-gradient(135deg, #f97316, #fbbf24);
  border-radius: 0 0 2px 2px;
}

.objective-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.12);
}

.objective-card h3 {
  color: #0f172a;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  padding-top: 0.5rem;
}

.objective-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: #64748b;
  margin: 0;
}

.about-stats-section {
  position: relative;
  margin: 4rem 0;
  padding: 3.5rem 3rem;
  border-radius: 1.75rem;
  background: radial-gradient(circle at top left, #fef3c7 0%, #f8fafc 45%, #e5e7eb 100%);
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  overflow: hidden;
}

/* soft glow accent */
.about-stats-section::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(249, 115, 22, 0.08), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.about-stats-header {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-end;
  margin-bottom: 2.5rem;
}

.about-stats-eyebrow {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ea580c;
  font-weight: 600;
  margin: 0 0 0.4rem;
}

.about-stats-title {
  font-family: var(--font-accent);
  font-size: 2rem;
  margin: 0;
  color: #0f172a;
}

.about-stats-note {
  margin: 0;
  font-size: 0.9rem;
  color: #6b7280;
  max-width: 260px;
}

/* Grid of stat cards */
.about-stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.75rem;
}

.about-stat {
  background: rgba(255, 255, 255, 0.96);
  border-radius: 1.25rem;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 14px 40px rgba(15, 23, 42, 0.10);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.about-stat:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.18);
  border-color: rgba(249, 115, 22, 0.65);
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.45);
  color: #64748b;
  margin-bottom: 0.65rem;
}

.stat-value {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 0.35rem;
  background: linear-gradient(135deg, #f97316, #fbbf24);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat-label {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 500;
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .about-stats-section {
    padding: 3rem 2rem;
  }

  .about-stats-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .about-stats-note {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .about-stats-section {
    padding: 2.5rem 1.5rem;
    margin: 3rem 0;
  }

  .about-stats-title {
    font-size: 1.6rem;
  }

  .about-stats-grid {
    gap: 1.25rem;
  }

  .stat-value {
    font-size: 2rem;
  }
}

/* Call to Action */
.about-cta {
  text-align: center;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 3rem;
  background: white;
  border-radius: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.about-cta h3 {
  color: #0f172a;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.about-cta p {
  font-size: 1.1rem;
  color: #64748b;
  margin-bottom: 2rem;
}

.about-cta .premium-actions {
  justify-content: center;
}

/* Enhanced list styles for About page */
.about-list-enhanced {
  list-style: none;
  padding: 0;
  margin: 0;
}

.about-list-enhanced li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4b5563;
}

.about-list-enhanced li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #f97316;
  font-weight: bold;
  font-size: 1.5rem;
  line-height: 1;
}

/* Responsive Design for About Page */
@media (max-width: 768px) {
  .about-title {
    font-size: 2.2rem;
  }
  
  .about-intro {
    font-size: 1.1rem;
  }
  
  .about-panels-premium {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .about-panel-premium {
    padding: 2rem 1.5rem;
  }
  
  .objectives-grid {
    grid-template-columns: 1fr;
  }
  
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .about-stat {
    padding: 1.5rem 1rem;
  }
  
  .about-stat .stat-value {
    font-size: 2rem;
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .about-title {
    font-size: 1.8rem;
  }
  
  .about-hero {
    padding: 2rem 0 1rem;
  }
  
  .about-intro-section {
    padding: 2rem 1.5rem;
  }
  
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .about-cta {
    padding: 2rem 1.5rem;
    margin: 2rem auto;
  }
}

@media (max-width: 480px) {
  .about-title {
    font-size: 1.8rem;
  }
  
  .about-hero {
    padding: 2rem 0 1rem;
  }
  
  .about-intro-card {
    padding: 2rem 1.5rem;
  }
  
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .about-cta {
    padding: 2rem 1.5rem;
    margin: 2rem auto;
  }
}
/* ===== Generic page hero (About / Executives / Annual Reports) ===== */

.page-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="none" stroke="%23f97316" stroke-width="0.5" stroke-opacity="0.1"><path d="M0 0h100v100H0z"/><path d="M20 20h60v60H20z"/><path d="M30 30h40v40H30z"/></svg>');
  opacity: 0.7;
}

.page-hero-inner {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.page-title {
  font-family: var(--font-accent);
  font-size: 3rem;
  line-height: 1.2;
  color: #0f172a;
  margin: 0 0 1rem;
  position: relative;
  display: inline-block;
}

.page-title::after {
  content: "";
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ea580c, #f97316);
  border-radius: 2px;
}

.page-intro {
  font-size: 1.25rem;
  line-height: 1.7;
  color: #4b5563;
  margin: 2rem auto 0;
  max-width: 700px;
}

/* ===== Section Headers ===== */

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title {
  font-family: var(--font-accent);
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #0f172a;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #ea580c, #f97316);
  border-radius: 2px;
}

.section-intro {
  font-size: 1.1rem;
  color: #4b5563;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== Annual reports layout ===== */

.annual-grid {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.annual-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.annual-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ea580c, #f97316);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.annual-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(249, 115, 22, 0.7);
}

.annual-card:hover::before {
  transform: scaleX(1);
}

.annual-year {
  font-size: 0.9rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ea580c;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: rgba(234, 88, 12, 0.1);
  border-radius: 1rem;
}

.annual-summary {
  margin: 0 0 1.5rem;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4b5563;
}

.annual-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.annual-link {
  font-size: 0.95rem;
  text-decoration: none;
  color: #2563eb;
  padding: 0.6rem 1.2rem;
  background: rgba(37, 99, 235, 0.1);
  border-radius: 0.75rem;
  border: 1px solid rgba(37, 99, 235, 0.2);
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.annual-link:hover {
  background: rgba(37, 99, 235, 0.15);
  border-color: rgba(37, 99, 235, 0.4);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

.annual-link::before {
  content: "📄";
  font-size: 1rem;
}

/* ===== About Footnote ===== */

.about-footnote {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: #4b5563;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #f97316;
}

/* ===== Executive Committee layout (for consistency) ===== */

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

.executive-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.executive-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ea580c, #f97316);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.executive-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  border-color: rgba(249, 115, 22, 0.7);
}

.executive-card:hover::before {
  transform: scaleX(1);
}

.executive-name {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
  font-weight: 600;
  color: #0f172a;
}

.executive-role {
  margin: 0 0 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #ea580c;
}

.executive-meta {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
  color: #4b5563;
}

.executive-notes {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.8;
  color: #4b5563;
  background: rgba(255, 255, 255, 0.7);
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-left: 4px solid #f97316;
}

/* Responsive Design */
@media (max-width: 900px) {
  .executive-grid {
    grid-template-columns: 1fr;
  }
  
  .page-hero {
    padding: 4rem 0 2rem;
  }
  
  .page-title {
    font-size: 2.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .annual-links {
    flex-direction: column;
  }
  
  .annual-link {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 640px) {
  .page-title {
    font-size: 2rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .annual-card {
    padding: 2rem 1.5rem;
  }
  
  .page-intro {
    font-size: 1.1rem;
  }
}
/* ===== Executive / Leadership Page ===== */

/* Hero Section */
.team-hero {
    background: linear-gradient(135deg, #ffffff 0%, #ffffff 100%);
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.team-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100" fill="none" stroke="%23f97316" stroke-width="0.5" stroke-opacity="0.1"><path d="M0 0h100v100H0z"/><path d="M20 20h60v60H20z"/><path d="M30 30h40v40H30z"/></svg>');
    opacity: 0.5;
}

.team-hero .page-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.team-hero .page-title {
    font-family: var(--font-accent);
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary, #0f172a);
    position: relative;
    display: inline-block;
}

.team-hero .page-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ea580c, #f97316);
    border-radius: 2px;
}

.team-hero .page-intro {
    font-size: 1.25rem;
    color: var(--color-muted, #4b5563);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Featured President Section */
.leader-section {
    margin-top: 3rem;
    position: relative;
}

.leader-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.5fr);
    gap: 3rem;
    align-items: center;
}

.leader-photo-wrap {
    position: relative;
}

.leader-photo-frame {
    position: relative;
    margin: 0;
    border-radius: 1.75rem;
    overflow: hidden;
    border: 1px solid rgba(148, 163, 184, 0.4);
    box-shadow: 0 28px 70px rgba(15, 23, 42, 0.35);
    background: radial-gradient(circle at top, #f97316 0%, #111827 55%, #020617 100%);
    transform: perspective(1000px) rotateY(-5deg);
    transition: all 0.3s ease;
}

.leader-photo-frame:hover {
    transform: perspective(1000px) rotateY(0deg);
}

.leader-photo-frame::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(251, 191, 36, 0.15), transparent 55%);
    pointer-events: none;
    z-index: 1;
}

.leader-photo {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.leader-photo-frame:hover .leader-photo {
    transform: scale(1.05);
}

/* Text side */
.leader-copy {
    position: relative;
}

.leader-eyebrow {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #ea580c;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.leader-name {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    margin: 0 0 0.5rem;
    color: #0f172a;
    position: relative;
}

.leader-name::after {
    content: "";
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ea580c, #f97316);
    border-radius: 2px;
}

.leader-role-tag {
    font-size: 1.1rem;
    color: #6b7280;
    font-weight: 500;
    margin-bottom: 1.5rem;
}

.leader-bio {
    font-size: 1.05rem;
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 1.8rem;
}

.leader-meta-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.25rem;
    margin: 0;
}

.leader-meta-item {
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #f97316;
}

.leader-meta-item dt {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
    margin-bottom: 0.35rem;
}

.leader-meta-item dd {
    margin: 0;
    font-size: 0.98rem;
    color: #374151;
    font-weight: 500;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: var(--font-accent);
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #0f172a;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #ea580c, #f97316);
    border-radius: 2px;
}

.section-intro {
    font-size: 1.1rem;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Executive grid (below president) */
.premium-executive-grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.executive-card {
    display: flex;
    gap: 1.25rem;
    padding: 1.8rem 1.5rem;
    border-radius: 1.5rem;
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, 0.35);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.executive-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #ea580c, #f97316);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.executive-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    border-color: rgba(249, 115, 22, 0.7);
}

.executive-card:hover::before {
    transform: scaleX(1);
}

.executive-avatar {
    flex-shrink: 0;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.placeholder-avatar {
    background: radial-gradient(circle at top, #f97316, #fbbf24);
    color: #111827;
}

.executive-text {
    flex: 1;
}

.executive-name {
    font-size: 1.2rem;
    margin: 0 0 0.3rem;
    color: #0f172a;
    font-weight: 600;
}

.executive-role {
    margin: 0 0 0.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: #ea580c;
}

.executive-meta {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #4b5563;
}

/* How the Committee works */
.enhanced-executive-notes {
    max-width: 900px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.9;
    color: #4b5563;
    background: rgba(255, 255, 255, 0.7);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #f97316;
}

.enhanced-executive-notes p + p {
    margin-top: 1.5rem;
}

/* Responsive */
@media (max-width: 900px) {
    .leader-layout {
        grid-template-columns: 1fr;
    }

    .leader-photo-wrap {
        order: -1;
    }

    .leader-section {
        margin-top: 2rem;
    }
}

@media (max-width: 640px) {
    .team-hero .page-title {
        font-size: 2.5rem;
    }

    .executive-card {
        padding: 1.4rem 1.25rem;
        flex-direction: column;
        text-align: center;
    }

    .executive-avatar {
        align-self: center;
    }

    .section-title {
        font-size: 2rem;
    }
}

/* ===== Authentication Pages ===== */

.auth-hero {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 4rem 0 2rem;
  text-align: center;
}

.auth-section {
  padding: 3rem 1.5rem;
  background: #f8fafc;
}

.auth-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.auth-card {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #ea580c, #f97316);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-title {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.auth-subtitle {
  color: #6b7280;
  font-size: 1rem;
  margin: 0;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #374151;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.form-input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: #f9fafb;
}

.form-input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  background: #ffffff;
}

.input-icon {
  position: absolute;
  left: 1rem;
  font-size: 1.1rem;
  color: #6b7280;
}

.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.5rem 0;
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.checkbox-input {
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 0.25rem;
  border: 1px solid #d1d5db;
  accent-color: #f97316;
}

.checkbox-label {
  font-size: 0.9rem;
  color: #374151;
}

.forgot-link {
  font-size: 0.9rem;
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}

.forgot-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.auth-btn.primary {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(249, 115, 22, 0.3);
}

.auth-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -3px rgba(249, 115, 22, 0.4);
}

.btn-text {
  font-weight: 600;
}

.btn-icon {
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}

.auth-btn:hover .btn-icon {
  transform: translateX(3px);
}

.auth-error {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 0.75rem;
  margin-top: 1.5rem;
}

.error-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.error-content {
  flex: 1;
}

.error-title {
  font-size: 1rem;
  font-weight: 600;
  color: #dc2626;
  margin: 0 0 0.25rem;
}

.error-message {
  font-size: 0.9rem;
  color: #7f1d1d;
  margin: 0;
  line-height: 1.5;
}

.auth-footer {
  text-align: center;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.auth-help {
  font-size: 0.9rem;
  color: #6b7280;
  margin: 0;
}

.auth-link {
  color: #ea580c;
  text-decoration: none;
  font-weight: 500;
}

.auth-link:hover {
  text-decoration: underline;
}

.auth-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid rgba(148, 163, 184, 0.2);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  border-color: rgba(249, 115, 22, 0.3);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #0f172a;
  margin: 0 0 0.5rem;
}

.feature-description {
  font-size: 0.9rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}

/* Responsive Design */
@media (max-width: 900px) {
  .auth-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .auth-card {
    padding: 2rem 1.5rem;
  }
  
  .auth-hero {
    padding: 3rem 0 1.5rem;
  }
}

@media (max-width: 640px) {
  .auth-section {
    padding: 2rem 1rem;
  }
  
  .form-options {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .auth-title {
    font-size: 1.75rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
}

/* ===== Premium Membership Page ===== */

.membership-stats {
  margin-top: 2rem;
}

.membership-stats .stat-card {
  background: radial-gradient(circle at top left, #0f172a, #020617);
  color: #e5e7eb;
  padding: 2rem;
  border-radius: 1.5rem;
  text-align: center;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.25);
}

.membership-stats .stat-label {
  display: block;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.membership-stats .stat-value {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.5rem 0;
  background: linear-gradient(135deg, #fbbf24, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Form enhancements for membership */
.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.auth-form .form-input {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  background: #ffffff;
}

.auth-form .form-input:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  transform: translateY(-1px);
}

.auth-form .form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-form .form-help {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.auth-form .form-error {
  font-size: 0.85rem;
  color: #dc2626;
  margin-top: 0.25rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .membership-stats .stat-value {
    font-size: 2.5rem;
  }
  
  .auth-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .membership-stats .stat-card {
    padding: 1.5rem;
  }
  
  .membership-stats .stat-value {
    font-size: 2rem;
  }
  
  .auth-card {
    padding: 1.5rem;
  }
}

/* Ensure form fields look consistent */
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="tel"],
.auth-form textarea,
.auth-form select {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  background: #ffffff;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  transform: translateY(-1px);
}

.auth-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== Premium Community Map Styles ===== */

.premium-map-container {
  background: #ffffff;
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.3);
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.1);
  margin-top: 1.5rem;
}

#uk-map-plotly {
  width: 100%;
  min-height: 520px;
  border-radius: 1rem;
  overflow: hidden;
}

/* Enhanced Map Controls */
.map-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.map-style-toggle {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.switch-label {
  font-weight: 600;
  color: #374151;
  font-size: 0.9rem;
}

.switch-mode-text {
  font-size: 0.85rem;
  color: #6b7280;
  min-width: 40px;
}

/* Map Legend */
.map-legend {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  padding: 0.75rem 1.25rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: #4b5563;
}

.legend-circle {
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legend-circle.small {
  width: 8px;
  height: 8px;
  background: #fb923c;
}

.legend-circle.medium {
  width: 16px;
  height: 16px;
  background: #f97316;
}

.legend-circle.large {
  width: 24px;
  height: 24px;
  background: #ea580c;
}

/* Enhanced Table Styles */
.table-community thead th {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b7280;
  background: #f8fafc;
  border-bottom: 2px solid #e5e7eb;
  padding: 1rem 1.25rem;
}

.table-community tbody td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease;
}

.table-community tbody tr:hover td {
  background: #f8fafc;
}

/* Enhanced City Pills */
.city-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #fef3c7, #fefce8);
  border: 1px solid rgba(251, 191, 36, 0.3);
  font-size: 0.9rem;
  font-weight: 500;
  color: #92400e;
}

/* Number cells with emphasis */
.num-cell {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: #0f172a;
}

.col-num {
  text-align: center;
}

/* Empty state styling */
.empty-state {
  text-align: center;
  padding: 3rem 2rem;
}

.empty-text {
  color: #6b7280;
  font-style: italic;
}

/* Responsive Design */
@media (max-width: 768px) {
  .map-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .map-legend {
    justify-content: center;
  }
  
  .premium-map-container {
    padding: 1rem;
  }
  
  #uk-map-plotly {
    min-height: 400px;
  }
  
  .table-shell {
    overflow-x: auto;
  }
}

@media (max-width: 480px) {
  .map-legend {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .hero-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Premium Contact Page Styles ===== */

.contact-info {
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(249, 115, 22, 0.05);
  border-radius: 0.75rem;
  border-left: 4px solid #f97316;
  font-size: 0.9rem;
}

.contact-info strong {
  color: #ea580c;
  display: block;
  margin-bottom: 0.25rem;
}

/* Enhanced form styling for contact page */
.auth-form .form-group {
  margin-bottom: 1.5rem;
}

.auth-form .form-input,
.auth-form textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  background: #ffffff;
}

.auth-form .form-input:focus,
.auth-form textarea:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  transform: translateY(-1px);
}

.auth-form textarea {
  min-height: 120px;
  resize: vertical;
}

.auth-form .form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-form .form-help {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

.auth-form .form-error {
  font-size: 0.85rem;
  color: #dc2626;
  margin-top: 0.25rem;
  padding: 0.5rem;
  background: #fef2f2;
  border-radius: 0.5rem;
  border: 1px solid #fecaca;
}

/* Success message styling */
.messages {
  margin: 1rem 0;
}

.message.success {
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #bbf7d0;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  font-weight: 500;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .auth-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 640px) {
  .auth-card {
    padding: 1.5rem;
  }
  
  .feature-card {
    padding: 1.5rem;
  }
  
  .contact-info {
    padding: 0.75rem;
  }
}

/* Ensure all form elements are styled consistently */
.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="tel"],
.auth-form textarea,
.auth-form select {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 2px solid #e5e7eb;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-family: var(--font-primary);
  transition: all 0.3s ease;
  background: #ffffff;
}

.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus {
  outline: none;
  border-color: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
  transform: translateY(-1px);
}