/* ============================================================
   ROTARACT CLUB OF HIGHGROUNDS — Design System & Styles
   Indian Theme | Cinematic Scroll | Premium Aesthetics
   ============================================================ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Yatra+One&family=Gravitas+One&family=Outfit:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800&display=swap');




/* ── CSS Custom Properties (Design Tokens) ── */
:root {
  /* Indian Color Palette */
  --saffron: #FF9933;
  --saffron-deep: #E87B1A;
  --saffron-glow: #FFB347;
  --navy: #0A0A2E;
  --navy-light: #151545;
  --navy-surface: #1C1C55;
  --maroon: #800020;
  --maroon-deep: #5C0015;
  --gold: #D4AF37;
  --gold-bright: #FFD700;
  --gold-pale: #F5E6B8;
  --ivory: #FFFFF0;
  --ivory-warm: #FFF8DC;
  --teal: #1B6B6E;
  --teal-deep: #0D4F52;
  --white: #FFFFFF;
  --green-india: #138808;
  --chakra-blue: #000080;

  /* Neutral Scale */
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #E5E5E5;
  --gray-300: #D4D4D4;
  --gray-400: #A3A3A3;
  --gray-500: #737373;
  --gray-600: #525252;
  --gray-700: #404040;
  --gray-800: #262626;
  --gray-900: #171717;

  /* Semantic Colors */
  --bg-primary: var(--navy);
  --bg-secondary: var(--navy-light);
  --bg-surface: var(--navy-surface);
  --bg-card: rgba(26, 26, 80, 0.6);
  --text-primary: var(--ivory);
  --text-secondary: rgba(255, 255, 240, 0.75);
  --text-muted: rgba(255, 255, 240, 0.5);
  --accent-primary: var(--saffron);
  --accent-secondary: var(--gold);
  --accent-tertiary: var(--teal);
  --border-color: rgba(212, 175, 55, 0.2);
  --border-glow: rgba(255, 153, 51, 0.4);

  /* Typography */
  --font-display: 'Bebas Neue', 'Yatra One', serif;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Poppins', sans-serif;

  /* Font Sizes — Fluid */
  --fs-hero: clamp(2.5rem, 7vw, 6rem);
  --fs-h1: clamp(2.25rem, 5vw, 4rem);
  --fs-h2: clamp(1.75rem, 4vw, 3rem);
  --fs-h3: clamp(1.25rem, 3vw, 2rem);
  --fs-h4: clamp(1.1rem, 2vw, 1.5rem);
  --fs-body: clamp(0.95rem, 1.5vw, 1.1rem);
  --fs-small: clamp(0.8rem, 1vw, 0.9rem);
  --fs-caption: 0.75rem;

  /* Spacing */
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.25rem;
  --space-xl: 1.75rem;
  --space-2xl: 2rem;
  --space-3xl: 3rem;

  /* Borders */
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;
  --radius-full: 50%;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-glow-saffron: 0 0 30px rgba(255, 153, 51, 0.3);
  --shadow-glow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
  --shadow-glow-teal: 0 0 30px rgba(27, 107, 110, 0.3);

  /* Glass */
  --glass-bg: rgba(10, 10, 46, 0.65);
  --glass-border: rgba(212, 175, 55, 0.15);
  --glass-blur: 20px;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-bounce: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out-expo: cubic-bezier(0.19, 1, 0.22, 1);

  /* Z-index layers */
  --z-particles: 1;
  --z-content: 5;
  --z-nav: 100;
  --z-intro: 10000;
}

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) var(--navy);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb { 
  background: linear-gradient(180deg, var(--saffron), var(--gold));
  border-radius: 4px;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── Typography ── */
.font-display { font-family: var(--font-display); }
.font-heading { font-family: var(--font-heading); }

/* Target only the H2 inside the navigation logo text */
.nav-logo-text h2 {
  color: var(--gold-bright); /* Replace with your desired color token or hex code */
}


h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  text-align: center;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--saffron), var(--gold-bright), var(--saffron-deep));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: var(--fs-body);
  max-width: 600px;
  margin: 0 auto var(--space-xl);
}

/* ── Indian Decorative Divider ── */
.indian-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: var(--space-lg) auto;
  max-width: 300px;
}

.indian-divider::before,
.indian-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.indian-divider .lotus {
  font-size: 1.5rem;
  color: var(--gold);
  animation: float 3s ease-in-out infinite;
}

/* ── Mandala Decoration ── */
.mandala-decoration {
  position: absolute;
  width: 300px;
  height: 300px;
  opacity: 0.06;
  pointer-events: none;
  background: conic-gradient(from 0deg, var(--gold), transparent, var(--gold), transparent, var(--gold), transparent, var(--gold), transparent);
  border-radius: 50%;
  animation: rotateSlow 60s linear infinite;
}

/* ══════════════════════════════════════
   VIDEO INTRO OVERLAY (Clean Click-To-Play & Object-Fit: Cover)
   ══════════════════════════════════════ */

.vi-overlay {
  position: fixed;
  inset: 0;
  z-index: var(--z-intro);
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.vi-overlay.vi-fade-out {
  opacity: 0;
  pointer-events: none;
}

.vi-overlay.vi-hidden {
  display: none;
}

/* HTML5 Intro Video element with object-fit: cover for fullscreen */
.vi-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

/* Clean Play Button Indicator */
.vi-play-trigger {
  position: relative;
  z-index: 5;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  pointer-events: none;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.vi-play-icon-wrap {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 153, 51, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.5);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(255, 153, 51, 0.4);
  animation: viPulse 2.5s ease-in-out infinite;
}

.vi-play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 22px;
  border-color: transparent transparent transparent var(--gold-bright);
  margin-left: 4px;
}

.vi-play-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ivory);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(10, 10, 46, 0.75);
  padding: 8px 20px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.vi-overlay:hover .vi-play-trigger {
  transform: scale(1.08);
}

.vi-overlay.vi-playing .vi-play-trigger {
  opacity: 0;
}

/* Progress bar */
.vi-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  z-index: 10;
}

.vi-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--saffron), var(--gold-bright));
  box-shadow: 0 0 10px var(--saffron);
  transition: width 0.1s linear;
}

body.vi-active {
  overflow: hidden;
}

/* ══════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════ */

#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-nav);
  padding: 1rem 2rem;
  transition: all 0.4s var(--ease-smooth);
  opacity: 0;
  transform: translateY(-100%);
}

#main-nav.visible {
  opacity: 1;
  transform: translateY(0);
}

#main-nav.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 0.75rem 2rem;
}

.nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.nav-logo img {
  height: 50px;
  width: auto;
  border-radius: 50%;
  border: 2px solid var(--gold);
  transition: transform 0.3s var(--ease-bounce);
}

.nav-logo:hover img {
  transform: scale(1.1) rotate(5deg);
}

.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--gold-bright);
  line-height: 1.2;
}

.nav-logo-text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-link {
  position: relative;
  padding: 0.6rem 1.2rem;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s ease;
  border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
  color: var(--gold-bright);
}

.nav-cta {
  padding: 0.6rem 1.5rem;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--navy);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.3s var(--ease-bounce);
  box-shadow: 0 2px 15px rgba(255, 153, 51, 0.3);
}

.nav-cta:hover {
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 4px 25px rgba(255, 153, 51, 0.5);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 5px 0;
  z-index: 10;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background: var(--saffron);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background: var(--saffron);
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(350px, 85vw);
  height: 100vh;
  background: var(--glass-bg);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  z-index: 99;
  padding: 6rem 2rem 2rem;
  transition: right 0.5s var(--ease-out-expo);
  border-left: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu.open { right: 0; }

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-backdrop.active { opacity: 1; pointer-events: auto; }

/* ══════════════════════════════════════
   MAIN WEBSITE CONTENT
   ══════════════════════════════════════ */

#main-content {
  opacity: 0;
  transition: opacity 1s ease;
  position: relative;
}

#main-content.visible { opacity: 1; }

.section {
  position: relative;
  padding: var(--space-3xl) var(--space-lg);
  overflow: hidden;
}

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

/* ── HERO SECTION ── */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  position: relative;
  background: url('assets/teamheaderbg.png') center/cover no-repeat;
  overflow: hidden;
}

#hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, 
    rgba(10, 10, 46, 0.4) 0%, 
    rgba(10, 10, 46, 0.6) 50%,
    rgba(10, 10, 46, 0.95) 100%
  );
}

.hero-content {
  position: relative;
  z-index: var(--z-content);
  padding: 1rem;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  background: rgba(255, 153, 51, 0.15);
  border: 1px solid rgba(255, 153, 51, 0.3);
  border-radius: var(--radius-xl);
  font-size: var(--fs-small);
  color: var(--saffron);
  font-weight: 500;
  margin-bottom: var(--space-lg);
  backdrop-filter: blur(10px);
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

.hero-title .highlight {
  background: linear-gradient(135deg, var(--saffron), var(--gold-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.5rem;
  color: var(--gold-bright);
  margin-bottom: 1rem;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: var(--fs-body);
  max-width: 700px;
  margin: 0 auto var(--space-xl);
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: var(--radius-xl);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s var(--ease-bounce);
}

.btn-primary {
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--navy);
  box-shadow: 0 4px 20px rgba(255, 153, 51, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 6px 30px rgba(255, 153, 51, 0.6);
}

.btn-outline {
  border: 2px solid var(--gold);
  color: var(--gold-bright);
  background: rgba(212, 175, 55, 0.1);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--navy);
  transform: translateY(-3px);
}

/* ── QUICK LINKS GRID ── */
#quick-links {
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  padding: 0 var(--space-lg);
}

.quick-links-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}

.quick-link-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s var(--ease-bounce);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.quick-link-card:hover {
  transform: translateY(-8px);
  border-color: var(--saffron);
  box-shadow: 0 10px 30px rgba(255, 153, 51, 0.3);
}

.quick-link-icon { font-size: 2rem; }
.quick-link-title {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--ivory);
}

/* ── ABOUT & CLUB INFO ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.about-image-container img {
  border-radius: var(--radius-lg);
  border: 2px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.about-text h2 {
  font-family: var(--font-display);
  font-size: var(--fs-h2);
  color: var(--gold-bright);
  margin-bottom: var(--space-md);
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: var(--space-lg);
}

.about-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-feature-icon {
  font-size: 1.8rem;
  background: rgba(255, 153, 51, 0.1);
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.info-card-label {
  font-size: var(--fs-caption);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.info-card-value {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-bright);
}

/* ── FOCUS AREAS ── */
.focus-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.focus-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  transition: all 0.3s var(--ease-bounce);
}

.focus-card:hover {
  transform: translateY(-8px);
  border-color: var(--saffron);
  box-shadow: var(--shadow-glow-saffron);
}

.focus-icon { font-size: 2.5rem; margin-bottom: 1rem; display: block; }
.focus-card h3 { font-size: 1.25rem; margin-bottom: 0.5rem; color: var(--gold-bright); }
.focus-card p { font-size: var(--fs-small); color: var(--text-secondary); }

/* ── PROJECTS ── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.project-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--saffron);
}

.project-card-image {
  height: 200px;
  position: relative;
}

.project-card-body { padding: 1.5rem; }
.project-card-body h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: var(--gold-bright); }
.project-card-body p { font-size: var(--fs-small); color: var(--text-secondary); }

/* ── STATS COUNTER ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 2rem 1rem;
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--saffron);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: var(--fs-small);
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ── TEAM SECTION ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}

.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
}

.team-avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  border: 2px solid var(--gold);
  overflow: hidden;
}

.team-card h3 { font-size: 1.1rem; color: var(--gold-bright); }
.team-card .role { font-size: var(--fs-small); color: var(--saffron); font-weight: 600; }

/* ── EVENTS SECTION ── */
.events-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.event-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem 2rem;
  border-left: 4px solid var(--saffron);
}

.event-date { color: var(--saffron); font-weight: 700; margin-bottom: 0.25rem; }
.event-item h3 { color: var(--gold-bright); margin-bottom: 0.5rem; }

/* ── CONTACT SECTION ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group label {
  display: block;
  font-size: var(--fs-small);
  color: var(--gold-bright);
  margin-bottom: 0.5rem;
}

.form-group input, .form-group textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(10, 10, 46, 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--ivory);
  font-family: inherit;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--saffron);
  box-shadow: 0 0 15px rgba(255, 153, 51, 0.3);
}

.form-submit {
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  color: var(--navy);
  font-weight: 700;
  border-radius: var(--radius-xl);
  font-size: 1rem;
}

/* ── FOOTER ── */
#footer {
  background: var(--navy-light);
  border-top: 1px solid var(--border-color);
  padding: 4rem 2rem 2rem;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: var(--fs-caption);
  color: var(--text-muted);
}

.tricolor-bar { display: flex; gap: 0; }
.tricolor-bar span { width: 30px; height: 3px; }
.tricolor-bar .saffron { background: var(--saffron); }
.tricolor-bar .white { background: var(--white); }
.tricolor-bar .green { background: var(--green-india); }

/* ── Floating Particles Container (Diyas) ── */
#particles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: var(--z-particles);
  overflow: hidden;
}

.particle { position: absolute; border-radius: 50%; opacity: 0; }
.particle.diya {
  width: 6px; height: 6px;
  background: radial-gradient(circle, var(--gold-bright), var(--saffron));
  box-shadow: 0 0 10px var(--gold);
}
.particle.sparkle {
  width: 3px; height: 3px;
  background: var(--gold-pale);
}

/* ── Scroll Reveal Animations ── */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s var(--ease-out-expo); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* ── Custom Indian Scroll Reveal Parent/Children ── */
.reveal-child {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo), box-shadow 0.3s ease, border-color 0.3s ease;
}
.reveal-child.revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ── Indian Divider (expanding lines & blooming lotus) ── */
.reveal-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: var(--space-md) auto;
  max-width: 300px;
}
.reveal-divider::before,
.reveal-divider::after {
  content: '';
  flex: 1;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0);
  transition: transform 1.2s var(--ease-out-expo);
}
.reveal-divider::before {
  transform-origin: right;
}
.reveal-divider::after {
  transform-origin: left;
}
.reveal-divider .lotus {
  font-size: 1.6rem;
  color: var(--gold);
  transform: scale(0) rotate(-45deg);
  transition: transform 1s var(--ease-bounce);
  display: inline-block;
}
.reveal-divider.revealed::before,
.reveal-divider.revealed::after {
  transform: scaleX(1);
}
.reveal-divider.revealed .lotus {
  transform: scale(1) rotate(0deg);
  animation: float 3s ease-in-out infinite, lotusGlow 2.5s ease-in-out infinite alternate;
}
@keyframes lotusGlow {
  from { text-shadow: 0 0 5px rgba(255, 215, 0, 0.3); }
  to { text-shadow: 0 0 15px rgba(255, 153, 51, 0.75), 0 0 25px rgba(255, 215, 0, 0.5); }
}

/* ── Mandala Decoration Wrapper ── */
.mandala-wrapper {
  position: absolute;
  width: 300px;
  height: 300px;
  pointer-events: none;
  opacity: 0;
  transform: scale(0.6) rotate(-45deg);
  transition: opacity 1.5s var(--ease-out-expo), transform 1.5s var(--ease-out-expo);
  z-index: 0;
}
.mandala-wrapper.revealed {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.mandala-wrapper.revealed .mandala-decoration {
  opacity: 0.05;
  animation: rotateSlow 60s linear infinite;
}

/* ── Marigold Petals ── */
.particle.petal {
  background: linear-gradient(135deg, #FF9933, #FFCC33);
  border-radius: 50% 0 50% 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
  transform-origin: center;
}

/* ══════════════════════════════════════
   RESPONSIVE DESIGN & MOBILE VIDEO OBJECT-FIT: COVER
   ══════════════════════════════════════ */

@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  /* MOBILE OBJECT-FIT: COVER TO COVER MOBILE VIEWPORTS FULLY */
  .vi-video {
    object-fit: cover !important;
    width: 100vw;
    height: 100vh;
  }

  .section {
    padding: 2.25rem 1.25rem !important; /* Reduced vertical space between sections */
  }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-buttons { flex-direction: column; width: 100%; gap: 1rem; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  .quick-links-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  
  .about-grid { gap: var(--space-lg); }
  .contact-grid { gap: var(--space-lg); }
}

@media (max-width: 480px) {
  /* MOBILE OBJECT-FIT: COVER TO COVER MOBILE VIEWPORTS FULLY */
  .vi-video {
    object-fit: cover !important;
    width: 100vw;
    height: 100vh;
  }

  .quick-links-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  
  /* Optimize Focus Grid for 2 columns on small screens to save space */
  .focus-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .focus-grid .focus-card {
    padding: 1rem 0.75rem !important;
  }
  .focus-grid .focus-card:last-child {
    grid-column: span 2; /* Center/stretch the 7th item */
  }
  .focus-icon {
    font-size: 1.8rem !important;
    margin-bottom: 0.25rem !important;
  }
  .focus-card h3 {
    font-size: 0.9rem !important;
  }
  .focus-card p {
    font-size: 0.75rem !important;
    line-height: 1.3 !important;
  }

  /* Optimize Info Grid for 2 columns to save space */
  .info-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem !important;
  }
  .info-card {
    padding: 0.75rem !important;
  }
  .info-card-value {
    font-size: 0.95rem !important;
  }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .stat-item { padding: 1rem 0.5rem !important; }
  .stat-number { font-size: 1.8rem !important; }

  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .team-card { padding: 1rem 0.5rem !important; }
  .team-avatar { width: 90px; height: 90px; margin-bottom: 0.5rem; }
}


/* ── PRESIDENT'S CARD RESPONSIVE LAYOUT ── */
.president-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    max-width: 1000px; /* Slightly wider to fit both text and image */
    margin: 0 auto;
    position: relative;
    z-index: 2;
    
    /* Flexbox setup */
    display: flex;
    flex-direction: column; /* Mobile default: stack items vertically */
    gap: 2rem;
}

/* Image container styling */
.president-image {
    order: -1; /* Forces the image to the top on mobile */
    display: flex;
    justify-content: center;
    align-items: center;
}

.president-image img {
    max-width: 250px; /* Adjust size as needed */
    height: auto;
    border-radius: var(--radius-md);
    border: 2px solid var(--gold);
    box-shadow: var(--shadow-glow-gold); /* Uses your existing token */
    object-fit: cover;
}

/* Desktop override */
@media (min-width: 768px) {
    .president-card {
        flex-direction: row; /* Side by side */
        align-items: stretch;
    }
    
    .president-text {
        flex: 1.5; /* Takes up slightly more space than the image */
        order: 1; /* Text on the left */
        padding-right: 1.5rem;
    }
    
    .president-image {
        flex: 1;
        order: 2; /* Image on the right */
    }
    
    .president-image img {
        max-width: 100%; /* Allows image to fill its column dynamically */
    }
}


/* ── TEAM REVEAL SYSTEM ── */
.extra-member.hidden {
    display: none;
}

.extra-member {
    animation: fadeSlideUp 0.6s var(--ease-out-expo) forwards;
}

/* Stagger the animation so they pop in one by one like a wave */
.extra-member:nth-child(5) { animation-delay: 0.1s; }
.extra-member:nth-child(6) { animation-delay: 0.2s; }
.extra-member:nth-child(7) { animation-delay: 0.3s; }
.extra-member:nth-child(8) { animation-delay: 0.4s; }
.extra-member:nth-child(9) { animation-delay: 0.5s; }
.extra-member:nth-child(10) { animation-delay: 0.6s; }
.extra-member:nth-child(11) { animation-delay: 0.7s; }

@keyframes fadeSlideUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}


/* ── PREMIUM SOCIAL CONNECTIONS ── */
.social-connect-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
}

.social-label {
    font-family: var(--font-heading);
    font-size: var(--fs-small);
    color: var(--gold-bright);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

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

.social-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--ivory);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s var(--ease-bounce);
    box-shadow: var(--shadow-sm);
}

.social-btn i {
    font-size: 1.25rem;
}

/* WhatsApp Hover Effect: Saffron Glow */
.social-btn.whatsapp-btn:hover {
    color: #25D366; /* Official WhatsApp Green */
    border-color: var(--saffron);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 20px rgba(255, 153, 51, 0.4);
}

/* Instagram Hover Effect: Gold Glow */
.social-btn.instagram-btn:hover {
    color: #E1306C; /* Official Instagram Pink-Red */
    border-color: var(--gold);
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Make full-width on tiny mobile screens */
@media (max-width: 480px) {
    .social-links-row {
        flex-direction: column;
        gap: 0.5rem;
    }
    .social-btn {
        width: 100%;
        justify-content: center;
    }
}
