/* ===== ROOT VARIABLES ===== */
:root {
  --navy: #0a1628;
  --navy-mid: #112240;
  --navy-light: #1a3460;
  --red: #c0392b;
  --red-bright: #e74c3c;
  --gold: #f39c12;
  --gold-light: #f8c471;
  --white: #ffffff;
  --off-white: #f5f6fa;
  --gray: #8892a4;
  --gray-light: #eceff4;
  --text: #2c3e50;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Source Sans 3', 'Segoe UI', sans-serif;
  --shadow: 0 8px 32px rgba(10,22,40,0.18);
  --shadow-sm: 0 2px 12px rgba(10,22,40,0.10);
  --radius: 4px;
  --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); background: var(--white); line-height: 1.7; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--navy);
  color: #9ab;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.topbar .container { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.topbar-links a { color: #aab8cc; margin-right: 18px; transition: color var(--transition); font-weight: 500; }
.topbar-links a:hover { color: var(--gold); }
.topbar-contact { display: flex; gap: 20px; align-items: center; }
.topbar-contact span { display: flex; align-items: center; gap: 6px; }
.topbar-contact i { color: var(--gold); }

/* ===== HEADER ===== */
header {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  position: sticky; top: 0; z-index: 100;
  border-bottom: 3px solid var(--red);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 0;
}
.logo { display: flex; align-items: center; gap: 16px; }
.logo-emblem {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--navy) 60%, var(--red) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(192,57,43,0.25);
  flex-shrink: 0;
}
.logo-emblem svg { width: 38px; height: 38px; }
.logo-text h1 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.01em;
}
.logo-text p {
  font-size: 0.72rem;
  color: var(--red);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 2px;
}

/* ===== NAVBAR ===== */
nav { display: flex; align-items: center; }
.nav-list { display: flex; align-items: center; gap: 2px; }
.nav-item { position: relative; }
.nav-link {
  display: block; padding: 10px 14px;
  font-size: 0.83rem; font-weight: 600;
  color: var(--navy); letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
  border-radius: var(--radius);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--red); }
.nav-item:hover .dropdown { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown {
  position: absolute; top: 100%; left: 0;
  background: var(--white);
  border: 1px solid var(--gray-light);
  border-top: 3px solid var(--red);
  min-width: 200px;
  box-shadow: var(--shadow);
  border-radius: 0 0 var(--radius) var(--radius);
  opacity: 0; pointer-events: none;
  transform: translateY(8px);
  transition: all var(--transition);
  z-index: 200;
}
.dropdown a {
  display: block; padding: 10px 18px;
  font-size: 0.82rem; font-weight: 500;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-light);
  transition: background var(--transition), color var(--transition);
}
.dropdown a:last-child { border-bottom: none; }
.dropdown a:hover { background: var(--off-white); color: var(--red); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--navy); border-radius: 2px; transition: all var(--transition); }

/* ===== CONTAINER ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== HERO SLIDER ===== */
.hero {
  position: relative; overflow: hidden;
  background: var(--navy);
  height: 520px;
}
.hero-slides { display: flex; transition: transform 0.7s cubic-bezier(.77,0,.18,1); height: 100%; }
.hero-slide {
  min-width: 100%; height: 100%;
  position: relative; display: flex; align-items: center;
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
}
.hero-slide-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0.18;
}
.hero-content {
  position: relative; z-index: 2;
  max-width: 650px;
  padding: 0 60px;
}
.hero-badge {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 2px;
  margin-bottom: 18px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: 2.8rem; font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-sub {
  color: #aab8cc;
  font-size: 1rem;
  margin-bottom: 32px;
  max-width: 480px;
}
.btn {
  display: inline-block;
  padding: 13px 32px;
  font-size: 0.88rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
}
.btn-primary { background: var(--red); color: var(--white); border: 2px solid var(--red); }
.btn-primary:hover { background: transparent; color: var(--red); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); margin-left: 12px; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.hero-controls {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 10;
}
.hero-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.35); border: none; cursor: pointer;
  transition: background var(--transition);
  padding: 0;
}
.hero-dot.active { background: var(--red); }
.hero-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); width: 44px; height: 44px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; z-index: 10; font-size: 1.1rem;
  transition: background var(--transition);
  padding: 0;
}
.hero-arrow:hover { background: var(--red); border-color: var(--red); }
.hero-prev { left: 20px; }
.hero-next { right: 20px; }

/* ===== QUICK LINKS BAR ===== */
.quicklinks {
  background: var(--navy-mid);
  padding: 0;
  border-bottom: 3px solid var(--gold);
}
.quicklinks-inner {
  display: flex; overflow-x: auto;
  gap: 0; scrollbar-width: none;
}
.quicklinks-inner::-webkit-scrollbar { display: none; }
.qlink {
  display: flex; align-items: center; gap: 8px;
  padding: 14px 22px;
  color: #aab8cc; font-size: 0.82rem;
  font-weight: 600; letter-spacing: 0.05em;
  white-space: nowrap;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: all var(--transition);
}
.qlink:hover { background: rgba(255,255,255,0.06); color: var(--gold); }
.qlink i { font-size: 1rem; color: var(--gold); }

/* ===== SECTION HEADING ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--off-white); }
.section-head { text-align: center; margin-bottom: 50px; }
.section-label {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--red); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display);
  font-size: 2.1rem; font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}
.section-title span { color: var(--red); }
.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--red), var(--gold));
  margin: 16px auto 0;
  border-radius: 2px;
}

/* ===== ABOUT SECTION ===== */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-img-wrap {
  position: relative;
  border-radius: 6px; overflow: hidden;
}
.about-img-placeholder {
  height: 380px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.about-img-placeholder svg { width: 120px; height: 120px; opacity: 0.3; }
.about-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 140px; height: 140px;
  background: var(--red); opacity: 0.12; border-radius: 50%;
}
.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem; color: var(--navy);
  margin-bottom: 16px;
}
.about-text p { color: #556; margin-bottom: 16px; font-size: 0.97rem; }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.stat-box {
  background: var(--navy);
  border-radius: 6px; padding: 20px;
  text-align: center;
}
.stat-box .num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 800;
  color: var(--gold);
}
.stat-box .lbl { font-size: 0.78rem; color: #aab; letter-spacing: 0.05em; text-transform: uppercase; margin-top: 4px; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.feature-card {
  background: var(--white);
  border-radius: 6px; padding: 32px 26px;
  border: 1px solid var(--gray-light);
  border-top: 4px solid transparent;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.feature-card:hover {
  border-top-color: var(--red);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  font-size: 1.3rem; color: var(--gold);
}
.feature-card h4 { font-size: 1.05rem; color: var(--navy); margin-bottom: 10px; font-weight: 700; }
.feature-card p { font-size: 0.9rem; color: #667; line-height: 1.65; }

/* ===== NEWS ===== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card {
  background: var(--white); border-radius: 6px;
  border: 1px solid var(--gray-light);
  overflow: hidden; transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.news-img {
  height: 180px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.5rem; color: rgba(255,255,255,0.2);
  position: relative;
}
.news-date {
  position: absolute; top: 14px; left: 14px;
  background: var(--red); color: var(--white);
  font-size: 0.72rem; font-weight: 700;
  padding: 4px 10px; border-radius: 2px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.news-body { padding: 22px; }
.news-body h4 { font-size: 0.97rem; color: var(--navy); font-weight: 700; margin-bottom: 8px; line-height: 1.4; }
.news-body p { font-size: 0.85rem; color: #778; line-height: 1.6; margin-bottom: 14px; }
.news-read {
  font-size: 0.8rem; font-weight: 700;
  color: var(--red); letter-spacing: 0.06em;
  text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.news-read:hover { gap: 10px; }

/* ===== LINKS / QUICK RESOURCES ===== */
.resources-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.resource-link {
  background: var(--navy);
  color: #aab8cc;
  border-radius: 6px; padding: 18px 16px;
  text-align: center;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.04em;
  border: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.resource-link i { font-size: 1.5rem; color: var(--gold); }
.resource-link:hover { background: var(--red); color: var(--white); border-color: var(--red); }
.resource-link:hover i { color: var(--white); }

/* ===== CONTACT BAR ===== */
.contact-bar {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 56px 0;
}
.contact-bar-inner {
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  gap: 40px; align-items: center;
}
.contact-item { display: flex; align-items: flex-start; gap: 16px; }
.contact-icon {
  width: 48px; height: 48px; flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; color: var(--gold);
}
.contact-info .lbl { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #778a9a; margin-bottom: 4px; }
.contact-info a, .contact-info span { color: var(--white); font-weight: 600; font-size: 0.95rem; }

/* ===== FOOTER ===== */
footer { background: #060f1d; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-about .logo-text h1 { font-size: 1rem; color: var(--white); }
.footer-about .logo-text p { color: var(--red); }
.footer-about p { color: #778a9a; font-size: 0.88rem; margin-top: 16px; line-height: 1.7; }
.footer-social { display: flex; gap: 10px; margin-top: 20px; }
.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #aab; font-size: 0.9rem;
  transition: all var(--transition);
}
.social-icon:hover { background: var(--red); color: var(--white); }
.footer-col h5 {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a {
  color: #778a9a; font-size: 0.86rem;
  transition: color var(--transition);
  display: flex; align-items: center; gap: 8px;
}
.footer-col ul li a::before { content: '›'; color: var(--red); font-size: 1rem; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: #556; font-size: 0.82rem; }
.footer-bottom a { color: var(--red); }

/* ===== PAGE HERO ===== */
.page-hero {
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-light) 100%);
  padding: 56px 0;
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position: relative; z-index: 2; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.breadcrumb a { color: rgba(255,255,255,0.5); font-size: 0.82rem; }
.breadcrumb span { color: rgba(255,255,255,0.3); font-size: 0.82rem; }
.breadcrumb .current { color: var(--gold); font-size: 0.82rem; font-weight: 600; }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: 2.4rem; font-weight: 800;
  color: var(--white); line-height: 1.15;
}
.page-hero p { color: #aab8cc; margin-top: 12px; max-width: 580px; }

/* ===== CONTACT FORM ===== */
.contact-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 7px; letter-spacing: 0.04em; text-transform: uppercase; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.93rem; color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.info-card {
  background: var(--navy);
  border-radius: 6px; padding: 30px;
  margin-bottom: 20px;
  display: flex; align-items: flex-start; gap: 16px;
}
.info-card-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: rgba(255,255,255,0.08);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--gold);
}
.info-card .lbl { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: #778a9a; margin-bottom: 4px; }
.info-card a, .info-card span { color: var(--white); font-weight: 600; }

/* ===== MEMBERSHIP CARDS ===== */
.membership-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.membership-card {
  background: var(--white); border-radius: 8px;
  border: 2px solid var(--gray-light);
  padding: 36px 28px; text-align: center;
  position: relative; overflow: hidden;
  transition: all var(--transition);
}
.membership-card.featured { border-color: var(--red); }
.membership-card.featured::before {
  content: 'POPULAR';
  position: absolute; top: 18px; right: -26px;
  background: var(--red); color: var(--white);
  font-size: 0.68rem; font-weight: 800; letter-spacing: 0.1em;
  padding: 4px 36px; transform: rotate(45deg);
}
.membership-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.mem-type { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gray); margin-bottom: 10px; }
.mem-price { font-family: var(--font-display); font-size: 2.5rem; font-weight: 800; color: var(--navy); }
.mem-price span { font-size: 1rem; font-weight: 400; color: var(--gray); }
.mem-divider { width: 40px; height: 3px; background: var(--red); margin: 16px auto; border-radius: 2px; }
.mem-features { text-align: left; margin: 20px 0; }
.mem-features li { padding: 8px 0; border-bottom: 1px solid var(--gray-light); font-size: 0.88rem; color: #556; display: flex; align-items: center; gap: 10px; }
.mem-features li::before { content: '✓'; color: var(--red); font-weight: 700; flex-shrink: 0; }

/* ===== GALLERY ===== */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item {
  border-radius: 6px; overflow: hidden;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: rgba(255,255,255,0.15);
  cursor: pointer; transition: all var(--transition);
  position: relative;
}
.gallery-item:hover { transform: scale(1.02); }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay {
  position: absolute; inset: 0;
  background: rgba(192,57,43,0.75);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--transition);
  font-size: 1.5rem; color: var(--white);
}

/* ===== ADVISORY MEMBERS ===== */
.members-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.member-card {
  background: var(--white); border-radius: 8px;
  border: 1px solid var(--gray-light);
  padding: 28px 20px; text-align: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}
.member-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.member-avatar {
  width: 80px; height: 80px; border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; color: rgba(255,255,255,0.4);
  border: 3px solid var(--gold-light);
}
.member-card h4 { font-size: 0.95rem; color: var(--navy); font-weight: 700; margin-bottom: 4px; }
.member-card .role { font-size: 0.78rem; color: var(--red); letter-spacing: 0.05em; text-transform: uppercase; font-weight: 600; }
.member-card .org { font-size: 0.8rem; color: #889; margin-top: 6px; }

/* ===== ACCORDION ===== */
.accordion-item {
  border: 1px solid var(--gray-light);
  border-radius: 6px; overflow: hidden;
  margin-bottom: 12px;
}
.accordion-header {
  padding: 18px 22px;
  background: var(--white);
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 700; color: var(--navy);
  font-size: 0.95rem;
  transition: background var(--transition);
}
.accordion-header:hover { background: var(--off-white); }
.accordion-header.open { background: var(--navy); color: var(--white); }
.accordion-header.open .acc-icon { transform: rotate(45deg); color: var(--gold); }
.acc-icon { font-size: 1.3rem; font-weight: 300; transition: all var(--transition); }
.accordion-body {
  display: none; padding: 20px 22px;
  background: var(--off-white);
  font-size: 0.92rem; color: #556; line-height: 1.7;
  border-top: 2px solid var(--red);
}
.accordion-body.open { display: block; }

/* ===== MOBILE ===== */
@media (max-width: 1100px) {
  .resources-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .members-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .features-grid, .news-grid, .membership-grid { grid-template-columns: 1fr 1fr; }
  .about-grid, .contact-form-grid { grid-template-columns: 1fr; }
  .contact-bar-inner { grid-template-columns: 1fr; gap: 24px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: 2rem; }
  .hero-content { padding: 0 36px; }
  .members-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-list { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); padding: 16px; box-shadow: var(--shadow); z-index: 200; }
  .nav-list.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link { padding: 12px 8px; border-bottom: 1px solid var(--gray-light); }
  .dropdown { position: static; box-shadow: none; border: none; border-left: 3px solid var(--red); border-radius: 0; opacity: 1; pointer-events: auto; transform: none; margin-left: 16px; }
  .hamburger { display: flex; }
  header { position: sticky; }
  .header-inner { position: relative; }
  .hero { height: 420px; }
  .hero-title { font-size: 1.7rem; }
  .hero-content { padding: 0 24px; }
  .resources-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid, .news-grid, .membership-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .members-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .topbar .container { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero { height: 360px; }
  .hero-title { font-size: 1.45rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .members-grid { grid-template-columns: 1fr; }
}

/* ===== ADDITIONAL ASPX-SPECIFIC STYLES ===== */

/* Form card */
.form-card {
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-light);
}

/* Form row helpers */
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .form-row-2 { grid-template-columns: 1fr; } }

/* Inline form control for ASP.NET controls */
.form-control {
  width: 100%; padding: 12px 16px;
  border: 2px solid var(--gray-light);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.93rem; color: var(--text);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-control:focus { outline: none; border-color: var(--navy); }
select.form-control { cursor: pointer; }
textarea.form-control { resize: vertical; min-height: 130px; }

/* Validation errors */
.field-error { color: var(--red); font-size: 0.8rem; margin-top: 4px; display: block; }
.required { color: var(--red); }

/* Alert panels */
.alert-success {
  background: #d4edda; color: #155724;
  padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid #c3e6cb; margin-bottom: 18px;
  font-size: 0.92rem;
}
.alert-error {
  background: #f8d7da; color: #721c24;
  padding: 14px 18px; border-radius: var(--radius);
  border: 1px solid #f5c6cb; margin-bottom: 18px;
  font-size: 0.92rem;
}

/* Fees table */
.fees-table { width: 100%; border-collapse: collapse; box-shadow: var(--shadow-sm); border-radius: 8px; overflow: hidden; }
.fees-table th { background: var(--navy); color: var(--white); padding: 16px 20px; text-align: left; font-size: 0.82rem; letter-spacing: 0.08em; text-transform: uppercase; }
.fees-table td { padding: 15px 20px; border-bottom: 1px solid var(--gray-light); }
.fees-table tr:last-child td { border-bottom: none; }
.fees-table tr:nth-child(even) td { background: var(--off-white); }
.fee-cat { font-weight: 600; color: var(--navy); }
.fee-total { font-weight: 700; color: var(--red); }

/* Payment info box */
.payment-info-box {
  background: var(--navy); border-radius: 8px;
  padding: 28px; border-left: 4px solid var(--gold);
}
.payment-info-box h4 { color: var(--gold); margin-bottom: 12px; }
.payment-info-box p { color: #aab8cc; font-size: 0.92rem; line-height: 1.7; margin-bottom: 8px; }
.payment-info-box a { color: var(--gold); }

/* Legacy box (About page) */
.legacy-box {
  background: var(--navy); border-radius: 8px;
  padding: 32px; margin-top: 36px;
  border-left: 4px solid var(--gold);
}

/* Projects grid */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.project-card { background: var(--white); border-radius: 8px; border: 1px solid var(--gray-light); overflow: hidden; box-shadow: var(--shadow-sm); transition: all var(--transition); }
.project-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.project-img img { width: 100%; height: 200px; object-fit: cover; }
.project-body { padding: 24px; }
.project-body h4 { font-size: 1rem; color: var(--navy); font-weight: 700; margin-bottom: 10px; }
.project-body p { font-size: 0.88rem; color: #667; line-height: 1.65; margin-bottom: 16px; }

/* Gallery image override for dynamic images */
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.gallery-overlay { font-size: 0.85rem; padding: 0 12px; text-align: center; color: var(--white); font-weight: 600; }

/* Member avatar image */
.member-avatar img { width: 80px; height: 80px; border-radius: 50%; object-fit: cover; }

/* Poster thumb */
.poster-thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) { .projects-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .projects-grid { grid-template-columns: 1fr; } }
