/* =========================================================
   HAUSHI KHO KHO ASSOCIATION NAGPUR — SHARED STYLESHEET
   ========================================================= */

:root {
  --primary: #0b63d6;
  --primary-light: #2f86ff;
  --secondary: #063b82;
  --dark: #04182f;
  --darker: #020e1c;
  --light: #f3f8ff;
  --white: #ffffff;
  --text: #1c2b3a;
  --muted: #5c6d80;
  --accent: #ffb100;
  --accent-dark: #e59900;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 26px;
  --shadow-sm: 0 4px 16px rgba(4, 24, 51, 0.08);
  --shadow-md: 0 12px 32px rgba(4, 24, 51, 0.14);
  --shadow-lg: 0 24px 60px rgba(4, 24, 51, 0.22);
  --ease: cubic-bezier(.22, .9, .3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; overflow-x: hidden; max-width: 100%; }

body {
  font-family: 'Poppins', sans-serif;
  background: var(--light);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; }

::selection { background: var(--accent); color: var(--darker); }

/* Reduced motion respect */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: linear-gradient(120deg, rgba(9, 56, 128, 0.88), rgba(4, 26, 66, 0.92));
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 30px rgba(2, 10, 24, 0.28);
}

.header-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 22px;
  padding: 10px 30px 10px 14px;
}

.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; flex-shrink: 0; }

.brand-logo {
  height: 65px;
  width: 65px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.55);
  object-fit: cover;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.brand-title {
  color: #fff;
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: .2px;
  opacity: 0;
  animation: fadeSlide 1.1s var(--ease) forwards .1s;
}

@keyframes fadeSlide {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Register Now — highlighted CTA right after brand */
.register-dropdown { position: relative; flex-shrink: 0; z-index: 20; margin-left: 16px; }

.register-btn {
  position: relative;
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #241a00;
  border: none;
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .2px;
  padding: 11px 22px;
  border-radius: 30px;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 177, 0, .38);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.register-btn::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 34px;
  border: 2px solid rgba(255, 177, 0, .55);
  opacity: 0;
  transform: scale(.94);
  transition: opacity .3s var(--ease), transform .3s var(--ease);
  pointer-events: none;
}

.register-dropdown:hover .register-btn::after,
.register-dropdown:focus-within .register-btn::after { opacity: 1; transform: scale(1); }

.register-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 177, 0, .5); }

.register-menu {
  display: none;
  position: absolute;
  top: 120%;
  left: 0;
  background: #fff;
  min-width: 210px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: dropdownFade .2s ease;
}

.register-dropdown:hover .register-menu,
.register-dropdown:focus-within .register-menu { display: block; }

.register-menu a {
  display: block;
  padding: 13px 18px;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 14.5px;
  border-bottom: 1px solid #eef3fb;
  transition: background .2s;
}

.register-menu a:last-child { border-bottom: none; }
.register-menu a:hover { background: var(--light); color: var(--primary); }

/* Main nav */
nav#navbar { flex: 1; display: flex; justify-content: flex-end; }

nav#navbar > ul { display: flex; list-style: none; gap: 6px; align-items: center; }

nav#navbar > ul > li { position: relative; }

nav#navbar > ul > li > a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, .92);
  font-weight: 500;
  font-size: 15px;
  padding: 10px 14px;
  border-radius: 8px;
  transition: color .25s, background .25s;
}

nav#navbar > ul > li:hover > a,
nav#navbar > ul > li > a:focus {
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

nav#navbar > ul > li:hover > a { color: var(--accent); }

.dropdown {
  display: none;
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  min-width: 240px;
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
  animation: dropdownFade .22s ease;
}

nav#navbar > ul > li:hover > .dropdown { display: block; }

.dropdown li { position: relative; }

.dropdown a {
  display: block;
  padding: 10px 14px;
  color: var(--text);
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s;
}

.dropdown a:hover { background: var(--light); color: var(--primary); }

.dropdown-sub {
  display: none;
  list-style: none;
  position: absolute;
  left: 100%;
  top: 0;
  background: #fff;
  min-width: 180px;
  border-radius: 12px;
  padding: 8px;
  box-shadow: var(--shadow-lg);
}

.dropdown li:hover > .dropdown-sub { display: block; }

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Hamburger — animated to X */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 38px;
  height: 34px;
  cursor: pointer;
  flex-shrink: 0;
  z-index: 1200;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background: #fff;
  border-radius: 4px;
  transition: transform .35s var(--ease), opacity .25s var(--ease);
}

.hamburger.active span:nth-child(1) { transform: translateY(9px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-9px) rotate(-45deg); }

/* =========================================================
   MOBILE HEADER / NAV
   ========================================================= */
@media (max-width: 900px) {
  .header-inner { padding: 8px 12px; gap: 8px; flex-wrap: nowrap; }

  .brand { flex: 1 1 auto; min-width: 0; overflow: hidden; }
  .brand-logo { height: 40px; width: 40px; flex-shrink: 0; }
  .brand-title {
    font-size: 12px;
    line-height: 1.2;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

  .register-dropdown { margin-left: 0; flex-shrink: 0; }
  .register-btn { padding: 7px 12px; font-size: 11.5px; white-space: nowrap; }
  .register-menu { left: auto; right: 0; min-width: 190px; }

  .hamburger { display: flex; flex-shrink: 0; margin-left: 2px; width: 32px; height: 30px; }

  nav#navbar {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    justify-content: stretch;
  }

  nav#navbar > ul {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    background: linear-gradient(180deg, #0a3a80, #04182f);
    padding: 10px 0 16px;
    gap: 0;
    box-shadow: 0 16px 30px rgba(0, 0, 0, .35);
    animation: mobileMenuDrop .3s var(--ease);
  }

  @keyframes mobileMenuDrop {
    from { opacity: 0; transform: translateY(-12px); }
    to { opacity: 1; transform: translateY(0); }
  }

  nav#navbar.active > ul { display: flex; }

  nav#navbar > ul > li { width: 100%; border-top: 1px solid rgba(255, 255, 255, .08); }
  nav#navbar > ul > li:first-child { border-top: none; }

  nav#navbar > ul > li > a {
    padding: 14px 24px;
    font-size: 15.5px;
    border-radius: 0;
  }

  nav#navbar > ul > li:hover > a { background: transparent; }

  .dropdown, .dropdown-sub {
    position: static;
    display: none;
    box-shadow: none;
    background: rgba(0, 0, 0, .18);
    border-radius: 0;
    width: 100%;
    padding: 0;
  }

  .dropdown a, .dropdown-sub a { color: #fff; padding: 12px 40px; border-radius: 0; }
  .dropdown a:hover, .dropdown-sub a:hover { background: rgba(255, 255, 255, .08); color: var(--accent); }

  nav#navbar > ul > li:hover > .dropdown,
  .dropdown li:hover > .dropdown-sub { display: none; }

  nav#navbar > ul > li.open > .dropdown,
  .dropdown li.open > .dropdown-sub { display: block; }
}

@media (max-width: 380px) {
  .header-inner { gap: 6px; padding: 8px 10px; }
  .brand-logo { height: 34px; width: 34px; }
  .brand-title { font-size: 10.5px; }
  .register-btn { padding: 6px 9px; font-size: 10.5px; }
  .hamburger { width: 28px; height: 28px; gap: 5px; }
}

/* =========================================================
   GENERIC HERO
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--primary), var(--secondary));
  color: #fff;
  text-align: center;
  padding: 70px 20px 60px;
}

.hero-blur-bg {
  position: absolute;
  inset: -30px;
  background-size: cover;
  background-position: center 20%;
  filter: blur(14px) brightness(.5) saturate(1.1);
  z-index: 0;
  transform: scale(1.08);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 20, 45, .35), rgba(4, 20, 45, .78));
  z-index: 1;
}

.hero > * { position: relative; z-index: 2; }

.hero h1 {
  font-size: clamp(1.9em, 4vw, 3em);
  margin-bottom: 12px;
  text-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.hero p { font-size: 1.1em; max-width: 700px; margin: 0 auto; opacity: .95; }

.back-btn {
  position: absolute;
  top: 22px;
  left: 26px;
  z-index: 3;
  background: rgba(255, 255, 255, .16);
  border: 1px solid rgba(255, 255, 255, .4);
  color: #fff;
  padding: 8px 18px;
  border-radius: 24px;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  backdrop-filter: blur(6px);
  transition: background .25s, transform .25s;
}

.back-btn:hover { background: rgba(255, 255, 255, .3); transform: translateX(-3px); }

@media (max-width: 600px) {
  .back-btn { top: 14px; left: 14px; padding: 6px 14px; font-size: 13px; }
  .hero { padding: 60px 16px 44px; }
}

/* Plain / transparent subheader variant — used on Office Bearers & Affiliated Clubs
   (no photo, no gradient — blends with the page background) */
.hero.hero-plain {
  background: transparent;
  color: var(--text);
  padding: 46px 20px 34px;
}

.hero.hero-plain::after,
.hero.hero-plain .hero-blur-bg { content: none; display: none; }

.hero.hero-plain h1 { color: var(--secondary); text-shadow: none; }
.hero.hero-plain p { color: var(--muted); opacity: 1; }

.hero.hero-plain .back-btn {
  background: rgba(11, 99, 214, .08);
  border: 1px solid rgba(11, 99, 214, .35);
  color: var(--primary);
}

.hero.hero-plain .back-btn:hover { background: rgba(11, 99, 214, .16); }

/* =========================================================
   CARDS — office bearers / clubs (small, centered, glass photo treatment)
   ========================================================= */
.cards-container {
  max-width: 1200px;
  margin: 40px auto 55px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 22px;
  padding: 0 20px;
}

.info-card {
  flex: 0 1 210px;
  max-width: 210px;
  background: rgba(255, 255, 255, .45);
  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, .65);
  border-radius: var(--radius);
  padding: 16px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(30px);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), opacity .6s var(--ease), background .3s var(--ease);
}

.info-card.visible { opacity: 1; transform: translateY(0); }
.info-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); background: rgba(255, 255, 255, .65); }

.info-card .photo-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
  border: 2px solid rgba(255, 255, 255, .8);
  box-shadow: 0 6px 16px rgba(6, 40, 90, .12);
  position: relative;
  background: #ffffff;
}

.info-card .photo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .5s var(--ease);
}

.info-card:hover .photo-box img { transform: scale(1.06); }

.info-card h3 { color: var(--primary); margin-bottom: 4px; font-size: 14.5px; line-height: 1.32; }
.info-card .role { color: var(--accent-dark); font-weight: 600; font-size: 11.5px; letter-spacing: .4px; text-transform: uppercase; }
.info-card ul { list-style: none; color: #333; font-size: .85em; text-align: left; margin-top: 8px; }
.info-card ul li { margin: 4px 0; }

@media (max-width: 480px) {
  .info-card { flex: 0 1 78%; max-width: 260px; }
}

@media (max-width: 700px) {
  .cards-container { gap: 18px; margin: 30px auto 40px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
footer.site-footer {
  background: linear-gradient(180deg, var(--dark), var(--darker));
  color: #dce7f5;
  padding: 34px 20px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, .06);
  font-size: 14px;
}

footer.site-footer p { opacity: .85; }

/* =========================================================
   CONTACT POPUP
   ========================================================= */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(2, 10, 24, .72);
  backdrop-filter: blur(4px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  padding: 20px;
}

.popup-box {
  background: #fff;
  width: 100%;
  max-width: 750px;
  padding: 30px;
  border-radius: var(--radius);
  color: var(--text);
  animation: popIn .35s var(--ease);
  position: relative;
  box-shadow: var(--shadow-lg);
}

@keyframes popIn { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: scale(1) translateY(0); } }

.popup-box h2 { color: var(--primary); margin-bottom: 16px; }

.close-btn {
  position: absolute;
  right: 16px;
  top: 10px;
  font-size: 30px;
  cursor: pointer;
  color: var(--muted);
  line-height: 1;
  transition: color .2s, transform .2s;
}

.close-btn:hover { color: var(--primary); transform: rotate(90deg); }

.popup-content { display: flex; gap: 22px; margin-top: 10px; flex-wrap: wrap; }
.popup-content iframe { width: 48%; min-width: 260px; height: 210px; border-radius: 12px; border: none; flex: 1; }
.popup-content .contact-info { flex: 1; min-width: 240px; font-size: 15px; line-height: 1.6; }
.popup-content .contact-info h3 { color: var(--primary); margin-bottom: 4px; margin-top: 12px; }
.popup-content .contact-info h3:first-child { margin-top: 0; }

@media (max-width: 700px) {
  .popup-content { flex-direction: column; }
  .popup-content iframe, .popup-content .contact-info { width: 100%; }
}

/* =========================================================
   TIMELINE (history pages)
   ========================================================= */
.timeline-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 55px 20px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-card {
  width: 100%;
  background: #fff;
  border-radius: var(--radius);
  padding: 24px 26px;
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(30px);
  transition: all .6s var(--ease);
  border-left: 4px solid var(--primary);
}

.timeline-card.visible { opacity: 1; transform: translateY(0); }
.timeline-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.timeline-card h3 { color: var(--primary); margin-bottom: 8px; }
.timeline-card p { line-height: 1.6; color: #333; }

.content-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1250px;
  margin: 45px auto;
  padding: 0 20px;
  gap: 30px;
  flex-wrap: wrap;
}

.timeline { flex: 1 1 55%; position: relative; padding: 10px 0; }
.timeline::after { content: ''; position: absolute; width: 4px; background: linear-gradient(var(--primary), var(--secondary)); top: 0; bottom: 0; left: 50%; transform: translateX(-50%); border-radius: 4px; }

.timeline .timeline-card { width: 44%; position: relative; margin: 26px 0; border-left: none; }
.timeline .timeline-card::after { content: ''; position: absolute; width: 18px; height: 18px; background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 3px var(--primary); border-radius: 50%; top: 22px; z-index: 1; }
.timeline .timeline-card.left { left: 0; }
.timeline .timeline-card.left::after { right: -33px; }
.timeline .timeline-card.right { left: 56%; }
.timeline .timeline-card.right::after { left: -33px; }

.pdf-viewer { flex: 1 1 40%; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-md); overflow: hidden; height: 620px; }
.pdf-viewer iframe { width: 100%; height: 100%; border: none; }

@media (max-width: 900px) {
  .content-wrapper { flex-direction: column; align-items: center; }
  .timeline { width: 100%; }
  .timeline::after { left: 10px; }
  .timeline .timeline-card, .timeline .timeline-card.left, .timeline .timeline-card.right { width: calc(100% - 40px); left: 0 !important; margin-left: 30px; }
  .timeline .timeline-card::after { left: -30px !important; }
  .pdf-viewer { width: 100%; height: 480px; }
}

/* =========================================================
   REGISTRATION FORMS
   ========================================================= */
.form-page {
  max-width: 1000px;
  margin: 44px auto 60px;
  padding: 0 20px;
}

.form-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 34px clamp(18px, 4vw, 44px);
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}

.form-card.visible { opacity: 1; transform: translateY(0); }

.form-section + .form-section { margin-top: 34px; padding-top: 28px; border-top: 1px dashed #dce6f4; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.section-eyebrow::before {
  content: "";
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: var(--accent);
  display: inline-block;
}

.form-section h3 {
  color: var(--secondary);
  font-size: 22px;
  margin-bottom: 20px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 26px;
}

.form-grid .span-2 { grid-column: 1 / -1; }

.form-group { display: flex; flex-direction: column; position: relative; }

.form-group label {
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 13.5px;
  color: var(--muted);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="date"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  padding: 13px 15px;
  border: 1.5px solid #dde7f4;
  border-radius: var(--radius-sm);
  font-size: 14.5px;
  font-family: inherit;
  background: #fbfdff;
  color: var(--text);
  transition: border-color .25s, box-shadow .25s, background .25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11, 99, 214, .12);
}

.form-group input[readonly] { background: #eef3fa; color: var(--muted); }

.radio-group {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid #dde7f4;
  padding: 10px 18px;
  border-radius: 30px;
  font-weight: 500;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}

.radio-group label:has(input:checked) {
  border-color: var(--primary);
  background: rgba(11, 99, 214, .08);
  color: var(--primary);
}

.radio-group input { accent-color: var(--primary); }

.file-upload {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.file-field {
  border: 1.5px dashed #c9d9ee;
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  background: #fbfdff;
  transition: border-color .25s, background .25s;
}

.file-field:hover { border-color: var(--primary); background: #f2f7ff; }

.file-field label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 13.5px; color: var(--muted); }

.file-field input[type="file"] {
  font-size: 13.5px;
  width: 100%;
  color: var(--muted);
}

.terms {
  background: linear-gradient(135deg, #f1f6ff, #e9f1ff);
  padding: 20px 22px;
  border-radius: var(--radius);
  margin-top: 6px;
  border: 1px solid #dde9fb;
}

.terms h3 { margin-bottom: 12px; color: var(--primary); font-size: 17px; }

.terms label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
  cursor: pointer;
}

.terms label:last-child { margin-bottom: 0; }
.terms input { margin-top: 3px; accent-color: var(--primary); flex-shrink: 0; }

.submit-btn {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  border: none;
  padding: 16px 30px;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .3px;
  cursor: pointer;
  width: 100%;
  margin-top: 26px;
  box-shadow: 0 10px 26px rgba(11, 99, 214, .3);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}

.submit-btn:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(11, 99, 214, .4); }
.submit-btn:active { transform: translateY(0); }

@media (max-width: 700px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 18px; border-radius: var(--radius); }
}

/* =========================================================
   SCROLL-REVEAL UTILITY
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }





  /* ---- Home page specific: video hero ---- */
    .home-hero {
      position: relative;
      height: 640px;
      overflow: hidden;
    }

    .home-hero video {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      filter: saturate(1.08) brightness(.92);
    }

    /* Transparency / gradient veil so text stays readable but video still reads through */
    .home-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(180deg, rgba(4, 20, 45, .25) 0%, rgba(4, 20, 45, .35) 45%, rgba(4, 20, 45, .82) 100%);
      z-index: 1;
      backdrop-filter: blur(0.5px);
    }

    .home-hero-content {
      position: relative;
      z-index: 2;
      height: 100%;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: #fff;
      padding: 0 20px;
    }

    .home-hero-content .eyebrow {
      display: inline-block;
      padding: 6px 16px;
      border-radius: 30px;
      background: rgba(255, 255, 255, .14);
      border: 1px solid rgba(255, 255, 255, .35);
      backdrop-filter: blur(6px);
      font-size: 13px;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      margin-bottom: 18px;
      opacity: 0;
      animation: fadeUp .8s var(--ease) forwards .2s;
    }

    .home-hero-content h1 {
      font-size: clamp(2rem, 5vw, 3.4rem);
      margin-bottom: 14px;
      text-shadow: 0 10px 30px rgba(0, 0, 0, .5);
      opacity: 0;
      animation: fadeUp .9s var(--ease) forwards .4s;
    }

    .home-hero-content p {
      font-size: 1.15rem;
      max-width: 620px;
      opacity: 0;
      animation: fadeUp .9s var(--ease) forwards .6s;
    }

    .scroll-cue {
      position: absolute;
      bottom: 26px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      width: 26px;
      height: 42px;
      border: 2px solid rgba(255, 255, 255, .6);
      border-radius: 16px;
    }

    .scroll-cue::before {
      content: "";
      position: absolute;
      top: 8px;
      left: 50%;
      width: 4px;
      height: 8px;
      background: #fff;
      border-radius: 4px;
      transform: translateX(-50%);
      animation: scrollDown 1.6s infinite;
    }

    @keyframes scrollDown {
      0% { opacity: 1; top: 8px; }
      70% { opacity: 0; top: 22px; }
      100% { opacity: 0; top: 22px; }
    }

    @keyframes fadeUp {
      from { opacity: 0; transform: translateY(18px); }
      to { opacity: 1; transform: translateY(0); }
    }

    @media (max-width: 700px) {
      .home-hero { height: 480px; }
    }

    /* ---- Main content sections ---- */
    .main-content {
      display: flex;
      flex-wrap: wrap;
      padding: 50px 28px;
      gap: 26px;
      max-width: 1100px;
      margin: 0 auto;
    }

    .info, .news {
      flex: 1;
      min-width: 280px;
      background: #fff;
      padding: 28px;
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
    }

    .info h2, .news h2 {
      color: var(--primary);
      margin-bottom: 14px;
      font-size: 22px;
    }

    .info p { line-height: 1.7; color: var(--muted); }
    .info ul, .news ul { list-style: none; }
    .info ul li, .news ul li {
      margin: 0;
      padding: 12px 0 12px 26px;
      border-bottom: 1px solid #eef2f8;
      position: relative;
      color: var(--text);
    }
    .info ul li:last-child, .news ul li:last-child { border-bottom: none; }
    .info ul li::before, .news ul li::before {
      content: "";
      position: absolute;
      left: 0;
      top: 19px;
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--accent);
    }

    .contact-wrap {
      max-width: 1100px;
      margin: 10px auto 60px;
      padding: 0 28px;
    }

    .contact {
      background: #fff;
      padding: 30px;
      border-radius: var(--radius);
      box-shadow: var(--shadow-sm);
    }

    .contact h2 { color: var(--primary); margin-bottom: 16px; font-size: 22px; }
    .contact-grid { display: flex; gap: 24px; align-items: flex-start; flex-wrap: wrap; }
    .contact-grid > * { min-width: 0; }
    .contact-info { flex: 1; min-width: 280px; }
    .contact-info h3 { margin-bottom: 6px; margin-top: 14px; color: var(--secondary); }
    .contact-info h3:first-child { margin-top: 0; }
    .contact-info p { line-height: 1.6; color: var(--muted); overflow-wrap: anywhere; word-break: break-word; }
    .contact iframe { border-radius: 12px; width: 440px; max-width: 100%; height: 300px; border: none; flex-shrink: 0; }

    @media (max-width: 900px) {
      .contact iframe { width: 100%; height: 240px; }
    }

    @media (max-width: 380px) {
      .contact-info { min-width: 0; flex: 1 1 100%; }
      .info, .news { min-width: 0; flex: 1 1 100%; }
    }