/* ==========================================================================
   DCPCA - Dakshin Chennai Prabasi Cultural Association
   Global Master Design System & Styling (Mobile-Optimized)
   ========================================================================== */

:root {
  /* Primary Brand Colors */
  --maroon: #8B1E1E;
  --maroon-dark: #640D16;
  --red: #D62828;
  --orange: #FA4A26;
  --gold: #F2C94C;
  --gold-light: #FDE047;
  --gold-gradient: linear-gradient(135deg, #FFFBEB 0%, #FDE047 40%, #F2C94C 70%, #D97706 100%);
  
  /* Base Neutrals */
  --navy: #1C1C2E;
  --cream: #F7F3EC;
  --paper: #FCEFE3;
  --sand: #E6D7C3;
  --ink: #251C19;
  --text-muted: #6B5E59;
  --border-light: rgba(139, 30, 30, 0.12);
  --border-gold: rgba(242, 201, 76, 0.35);
  
  /* Typography & Layout */
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --max: 1440px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

img, video {
  max-width: 100%;
  height: auto;
}

a {
  text-decoration: none;
  color: inherit;
}

a, button, input, select, textarea {
  touch-action: manipulation;
}

.container {
  width: min(calc(100% - 48px), var(--max));
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 32px), var(--max));
  }
}

@media (max-width: 380px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }
}

/* --------------------------------------------------------------------------
   1. Top Navigation Bar (Shared Across All Pages)
   -------------------------------------------------------------------------- */
.nav {
  position: absolute;
  z-index: 50;
  inset: 0 0 auto;
  padding: 24px 0;
  color: var(--ink);
  transition: background 0.35s ease, padding 0.35s ease, box-shadow 0.35s ease;
}
.nav.scrolled, .nav.nav-solid {
  position: fixed;
  background: rgba(247, 243, 236, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(37, 28, 25, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}
.brand-mark {
  width: 68px;
  height: 68px;
  border: 2px solid var(--maroon);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--maroon);
  font-size: 30px;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(139, 30, 30, 0.12);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease, width 0.3s ease, height 0.3s ease;
  overflow: hidden;
  flex-shrink: 0;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.brand:hover .brand-mark {
  transform: scale(1.06);
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(197, 160, 89, 0.35);
}
.brand-text {
  font-family: var(--serif);
  line-height: 1.15;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maroon);
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: font-size 0.3s ease;
}
.brand-text small {
  display: block;
  font-family: var(--sans);
  font-size: 9.5px;
  letter-spacing: 0.2em;
  margin-top: 3px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}
.nav.scrolled .brand-mark, .nav.nav-solid .brand-mark {
  width: 54px;
  height: 54px;
}
.nav.scrolled .brand-text, .nav.nav-solid .brand-text {
  font-size: 1.12rem;
}
.nav.scrolled .brand-text small, .nav.nav-solid .brand-text small {
  font-size: 8.5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink);
}
.nav-links a {
  position: relative;
  transition: color 0.25s ease;
  padding: 6px 0;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--maroon);
  transition: width 0.3s ease;
}
.nav-links a:hover,
.nav-links .active {
  color: var(--maroon);
  font-weight: 600;
}
.nav-links a:hover::after,
.nav-links .active::after {
  width: 100%;
}

/* Resources Dropdown */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown-toggle {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: var(--navy);
  border: 1px solid var(--border-gold);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 200px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 100;
}
.nav-dropdown-menu::after {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(2px);
}
.nav-dropdown-menu a {
  display: block;
  padding: 9px 18px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-dropdown-menu a::after {
  display: none;
}
.nav-dropdown-menu a:hover {
  background: rgba(242, 201, 76, 0.15);
  color: var(--gold);
}

.nav-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}
.menu {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(139, 30, 30, 0.3);
  background: rgba(139, 30, 30, 0.05);
  color: var(--maroon);
  border-radius: 50%;
  cursor: pointer;
  font-size: 19px;
  place-items: center;
  transition: var(--transition);
  touch-action: manipulation;
}
.menu:hover, .menu:active {
  background: var(--maroon);
  color: #fff;
}

/* --------------------------------------------------------------------------
   2. Buttons & Common Components
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 13.5px;
  font-family: var(--sans);
  text-align: center;
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn-primary {
  background: var(--maroon);
  color: #fff;
  box-shadow: 0 6px 18px rgba(139, 30, 30, 0.25);
}
.btn-primary:hover {
  background: #731616;
  box-shadow: 0 10px 24px rgba(139, 30, 30, 0.4);
}
.btn-secondary {
  border-color: var(--maroon);
  color: var(--maroon);
  background: transparent;
}
.btn-secondary:hover {
  background: rgba(139, 30, 30, 0.08);
  border-color: var(--red);
  color: var(--red);
}
.btn-gold {
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(242, 201, 76, 0.35);
}
.btn-gold:hover {
  background: #E5BE42;
  box-shadow: 0 12px 28px rgba(242, 201, 76, 0.5);
}
.btn-outline-light {
  border-color: rgba(242, 201, 76, 0.7);
  color: var(--gold);
  background: rgba(28, 28, 46, 0.3);
  backdrop-filter: blur(8px);
}
.btn-outline-light:hover {
  background: rgba(242, 201, 76, 0.15);
  border-color: var(--gold);
  color: #fff;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--maroon);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: gap 0.2s ease, color 0.2s ease;
}
.text-link:hover {
  gap: 10px;
  color: var(--red);
}

/* Page Banner for Inner Pages */
.page-banner {
  padding: clamp(105px, 14vw, 140px) 0 clamp(45px, 7vw, 65px);
  background: linear-gradient(135deg, rgba(28, 28, 46, 0.96) 0%, rgba(139, 30, 30, 0.94) 100%),
              url("../assets/bengali-motif-pattern.png") center/cover;
  color: #fff;
  text-align: center;
  position: relative;
}
.page-banner::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40px;
  background: linear-gradient(transparent, var(--cream));
}
.page-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 12px;
}
.page-title {
  font: 700 clamp(32px, 5.5vw, 62px) var(--serif);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.page-desc {
  max-width: 650px;
  margin: 0 auto;
  font-size: clamp(14.5px, 2.2vw, 16.5px);
  color: var(--paper);
  line-height: 1.7;
  padding: 0 10px;
}

/* Content Sections */
.section {
  padding: clamp(55px, 7.5vw, 85px) 0;
}
.section-alt {
  background: var(--paper);
}
.section-head {
  text-align: center;
  max-width: 740px;
  margin: 0 auto clamp(30px, 5vw, 50px);
}
.section-kicker {
  color: var(--maroon);
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 8px;
}
.section-title {
  margin: 10px 0 16px;
  font: 600 clamp(28px, 5vw, 54px)/1.1 var(--serif);
  color: var(--maroon);
  letter-spacing: -0.02em;
}
.section-sub {
  font-size: clamp(14px, 2vw, 15.5px);
  color: var(--text-muted);
  line-height: 1.7;
}

/* --------------------------------------------------------------------------
   3. Cards Grid Styles
   -------------------------------------------------------------------------- */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
  gap: clamp(20px, 3vw, 28px);
}
.card-box {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 32px);
  box-shadow: 0 10px 30px rgba(37, 28, 25, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.card-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(139, 30, 30, 0.12);
  border-color: rgba(139, 30, 30, 0.3);
}
.card-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(139, 30, 30, 0.08);
  border: 1px solid rgba(139, 30, 30, 0.2);
  color: var(--maroon);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 20px;
}
.card-box h3 {
  font: 600 clamp(20px, 2.5vw, 22px) var(--serif);
  color: var(--maroon);
  margin-bottom: 12px;
}
.card-box p {
  font-size: 14.5px;
  color: #54443E;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Responsive Table Styles */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
  background: #fff;
  margin-top: 15px;
}
.table-responsive .schedule-table {
  box-shadow: none;
  border-radius: 0;
  margin-top: 0;
  min-width: 620px;
  width: 100%;
}
.mobile-scroll-hint {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 11.5px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 500;
}
@media (max-width: 768px) {
  .mobile-scroll-hint {
    display: flex;
  }
}

/* Responsive Grid Helper for About / Intro */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(30px, 5vw, 60px);
  align-items: center;
}
@media (max-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* --------------------------------------------------------------------------
   4. Footer
   -------------------------------------------------------------------------- */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.72);
  padding: clamp(50px, 8vw, 75px) 0 30px;
  border-top: 1px solid rgba(242, 201, 76, 0.2);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 0.9fr 1.2fr;
  gap: clamp(24px, 4vw, 38px);
}
.footer-title {
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-brand {
  color: #fff;
  font: 700 20px/1.25 var(--serif);
  margin-bottom: 10px;
}
.footer-brand small {
  display: block;
  font: 600 11px/1.4 var(--sans);
  letter-spacing: 0.16em;
  color: var(--gold);
  text-transform: uppercase;
  margin-top: 4px;
}
.footer-copy, .footer-links {
  font-size: 12.5px;
  line-height: 1.7;
}
.footer-copy {
  max-width: 260px;
  margin-bottom: 18px;
}
.footer-links {
  display: grid;
  gap: 9px;
}
.footer-links a, .footer-links span {
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.footer-links a:hover {
  color: var(--gold);
  transform: translateX(3px);
}
.socials {
  display: flex;
  gap: 8px;
  margin-top: 18px;
  flex-wrap: wrap;
}
.socials a {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 13px;
  color: #fff;
  transition: var(--transition);
}
.socials a:hover {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  transform: translateY(-2px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  flex-wrap: wrap;
  gap: 12px;
}

/* Mobile Footer Optimization (<768px) */
@media (max-width: 768px) {
  footer {
    padding: 38px 0 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px 14px;
  }
  
  /* Top Brand & Socials Bar */
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 18px;
    margin-bottom: 0;
  }
  .footer-grid > div:first-child .footer-brand {
    font-size: 18px;
    margin-bottom: 6px;
  }
  .footer-grid > div:first-child .footer-copy {
    max-width: 100%;
    margin: 0 auto 12px;
    font-size: 12px;
    line-height: 1.5;
  }
  .footer-grid > div:first-child .socials {
    justify-content: center;
    margin-top: 10px;
    gap: 10px;
  }

  /* Quick Links & Explore: Side-by-Side 2 Columns */
  .footer-grid > div:nth-child(2),
  .footer-grid > div:nth-child(3) {
    grid-column: span 1;
  }
  .footer-title {
    font-size: 11px;
    margin-bottom: 10px;
    letter-spacing: 0.12em;
  }
  .footer-links {
    gap: 7px;
    font-size: 12.5px;
    line-height: 1.45;
  }

  /* Contact: Compact Card at Bottom */
  .footer-grid > div:nth-child(4) {
    grid-column: 1 / -1;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(242, 201, 76, 0.2);
    border-radius: 14px;
    padding: 15px 16px;
    margin-top: 4px;
  }
  .footer-grid > div:nth-child(4) .footer-title {
    margin-bottom: 8px;
  }
  .footer-grid > div:nth-child(4) .footer-links {
    gap: 8px;
    font-size: 12px;
  }
  .footer-grid > div:nth-child(4) .footer-links span {
    font-size: 11.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.6);
  }

  .footer-bottom {
    margin-top: 24px;
    padding-top: 16px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* --------------------------------------------------------------------------
   4b. Sponsors & Partners Panel
   -------------------------------------------------------------------------- */
.sponsors-section {
  background: linear-gradient(180deg, #FBF8F3 0%, var(--paper) 100%);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: clamp(48px, 7vw, 72px) 0 clamp(40px, 5vw, 56px);
  position: relative;
  overflow: hidden;
}
.sponsors-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: var(--gold-gradient);
  border-radius: 2px;
}
.sponsors-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(28px, 4vw, 42px);
}
.sponsors-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(139, 30, 30, 0.06);
  border: 1px solid rgba(139, 30, 30, 0.18);
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--maroon);
  margin-bottom: 12px;
}
.sponsors-pill .pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(214, 40, 40, 0.6);
  animation: sponsorPulse 2s infinite ease-in-out;
}
@keyframes sponsorPulse {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
}
.sponsors-title {
  font: 700 clamp(24px, 3.8vw, 36px)/1.2 var(--serif);
  color: var(--maroon);
  margin-bottom: 10px;
}
.sponsors-subtitle {
  font-size: clamp(13.5px, 1.8vw, 15px);
  color: var(--text-muted);
  line-height: 1.6;
}
.sponsors-container {
  width: 100%;
  display: block;
}
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
@media (max-width: 1100px) {
  .sponsors-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}
@media (max-width: 860px) {
  .sponsors-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}
.sponsor-card {
  background: #ffffff;
  border: 1px solid rgba(139, 30, 30, 0.12);
  border-radius: 16px;
  padding: 14px 20px;
  width: 100%;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 28, 25, 0.05);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}
.sponsor-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold);
  box-shadow: 0 14px 32px rgba(139, 30, 30, 0.14);
}
.sponsor-card img {
  max-width: 100%;
  max-height: 76px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
  display: block;
}
.sponsor-card:hover img {
  transform: scale(1.06);
}

/* Visibility Control: Desktop Grid vs Mobile Marquee */
.sponsors-grid.desktop-only {
  display: grid;
}
.sponsors-marquee-wrapper.mobile-only {
  display: none;
}
.sponsors-mobile-hint {
  display: none;
}

/* Mobile Continuous Infinite Marquee Ribbon (<768px) */
@media (max-width: 768px) {
  .sponsors-grid.desktop-only {
    display: none !important;
  }
  
  .sponsors-marquee-wrapper.mobile-only {
    display: block !important;
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: hidden;
    padding: 6px 0;
  }

  .sponsors-marquee-wrapper.mobile-only::before,
  .sponsors-marquee-wrapper.mobile-only::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 32px;
    z-index: 3;
    pointer-events: none;
  }

  .sponsors-marquee-wrapper.mobile-only::before {
    left: 0;
    background: linear-gradient(to right, #FBF8F3 0%, rgba(251, 248, 243, 0) 100%);
  }

  .sponsors-marquee-wrapper.mobile-only::after {
    right: 0;
    background: linear-gradient(to left, #FCEFE3 0%, rgba(252, 239, 227, 0) 100%);
  }

  .sponsors-marquee-track {
    display: flex;
    width: max-content;
    animation: sponsorMarqueeScroll 26s linear infinite;
    will-change: transform;
  }

  .sponsors-marquee-wrapper:hover .sponsors-marquee-track,
  .sponsors-marquee-wrapper:active .sponsors-marquee-track {
    animation-play-state: paused;
  }

  .sponsors-marquee-group {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-right: 12px;
    flex-shrink: 0;
  }

  .sponsors-marquee-group .sponsor-card {
    flex: 0 0 145px !important;
    width: 145px !important;
    min-width: 145px !important;
    max-width: 145px !important;
    height: 86px !important;
    padding: 8px 14px !important;
    border-radius: 12px;
    background: #ffffff;
    border: 1px solid rgba(139, 30, 30, 0.1);
    box-shadow: 0 2px 10px rgba(37, 28, 25, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  .sponsors-marquee-group .sponsor-card img {
    max-height: 58px;
    max-width: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  @keyframes sponsorMarqueeScroll {
    0% {
      transform: translate3d(0, 0, 0);
    }
    100% {
      transform: translate3d(-50%, 0, 0);
    }
  }

  .sponsors-mobile-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
  }
}
.sponsors-empty-card {
  background: #ffffff;
  border: 1.5px dashed rgba(139, 30, 30, 0.2);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px) clamp(20px, 3vw, 32px);
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
.sponsors-empty-icon {
  font-size: 32px;
  margin-bottom: 12px;
}
.sponsors-empty-card h3 {
  font: 700 20px var(--serif);
  color: var(--maroon);
  margin-bottom: 8px;
}
.sponsors-empty-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}
.sponsors-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
  padding: 30px 0;
}
.sponsor-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid rgba(139, 30, 30, 0.15);
  border-top-color: var(--maroon);
  border-radius: 50%;
  animation: sponsorSpin 0.8s linear infinite;
}
@keyframes sponsorSpin {
  to { transform: rotate(360deg); }
}
.sponsors-footer-cta {
  text-align: center;
  margin-top: clamp(24px, 3.5vw, 36px);
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}
.sponsors-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--maroon);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease, transform 0.2s ease;
}
.sponsors-cta-link:hover {
  color: var(--red);
  transform: translateX(2px);
}

/* --------------------------------------------------------------------------
   5. Mobile Drawer, Backdrop & Global Responsive
   -------------------------------------------------------------------------- */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 8, 18, 0.72);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(320px, 86vw);
  background: #141120;
  border-left: 1px solid rgba(242, 201, 76, 0.3);
  z-index: 1001;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.mobile-drawer.open {
  transform: translateX(0);
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
}
.drawer-links a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
  padding: 4px 0;
  display: inline-block;
}
.drawer-links a:hover,
.drawer-links .active {
  color: var(--gold);
}
.drawer-sublinks {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding-left: 14px;
  margin-top: -4px;
  margin-bottom: 4px;
  border-left: 2px solid rgba(242, 201, 76, 0.3);
  font-size: 13.5px;
}
.drawer-sublinks a {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500 !important;
  padding: 2px 0;
}
.drawer-sublinks a:hover,
.drawer-sublinks a.active {
  color: var(--gold) !important;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 15px;
  transition: var(--transition);
  touch-action: manipulation;
}
.modal-close:hover, .modal-close:active {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 24px;
  right: 24px;
  left: 24px;
  max-width: 420px;
  margin: 0 auto;
  background: #181424;
  border: 1px solid var(--gold);
  color: #fff;
  padding: 14px 20px;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   6. Media Queries & Viewport Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1220px) and (min-width: 1001px) {
  .nav-inner { gap: 16px; }
  .nav-links { gap: 18px; font-size: 13px; }
  .brand-mark { width: 60px; height: 60px; }
  .brand-text { font-size: 1.12rem; }
  .brand-text small { font-size: 8.5px; letter-spacing: 0.16em; }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .menu { display: grid; }
  .brand-mark { width: 58px; height: 58px; }
  .brand-text { font-size: 1.08rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}

@media (max-width: 620px) {
  .brand { gap: 12px; }
  .brand-text { font-size: 0.98rem; line-height: 1.15; }
  .brand-text small { font-size: 8px; letter-spacing: 0.14em; }
  .brand-mark { width: 52px; height: 52px; font-size: 24px; }
  .nav-actions .btn { display: none; }
}

@media (max-width: 420px) {
  .brand { gap: 10px; }
  .brand-text { font-size: 0.88rem; }
  .brand-text small { font-size: 7.5px; letter-spacing: 0.1em; }
  .brand-mark { width: 46px; height: 46px; }
}

/* --------------------------------------------------------------------------
   7. Team DCPCA & Leadership Styles
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(20px, 3vw, 30px);
}

.team-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  padding: clamp(24px, 4vw, 32px);
  box-shadow: 0 10px 30px rgba(37, 28, 25, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  opacity: 0.8;
  transition: height 0.25s ease;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(139, 30, 30, 0.12);
  border-color: rgba(139, 30, 30, 0.3);
}

.team-card:hover::before {
  height: 6px;
}

.team-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.team-avatar {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--maroon) 0%, #4a0e14 100%);
  color: var(--gold);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  border: 2px solid var(--gold);
  box-shadow: 0 6px 15px rgba(139, 30, 30, 0.25);
  flex-shrink: 0;
}

.team-role-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--maroon);
  background: rgba(139, 30, 30, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 6px;
}

.team-name {
  font: 700 clamp(20px, 2.4vw, 23px) var(--serif);
  color: var(--navy);
  line-height: 1.25;
}

.team-body {
  font-size: 14px;
  color: #54443E;
  line-height: 1.7;
  flex-grow: 1;
}

/* Chief Mentor Spotlight Card */
.mentor-card {
  background: linear-gradient(135deg, #1C1C2E 0%, #2A171D 100%);
  border: 2px solid var(--border-gold);
  border-radius: 20px;
  padding: clamp(30px, 5vw, 48px);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  position: relative;
  overflow: hidden;
  margin-bottom: clamp(36px, 6vw, 60px);
}

.mentor-card::after {
  content: "✦";
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 140px;
  color: rgba(242, 201, 76, 0.04);
  font-family: var(--serif);
  pointer-events: none;
}

.mentor-grid {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(20px, 4vw, 36px);
  align-items: center;
  position: relative;
  z-index: 2;
}

.mentor-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold) 0%, #B8860B 100%);
  color: var(--navy);
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 800;
  font-size: 32px;
  border: 3px solid #FFFBEB;
  box-shadow: 0 10px 25px rgba(242, 201, 76, 0.35);
  flex-shrink: 0;
}

.mentor-kicker {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--gold);
  margin-bottom: 6px;
}

.mentor-name {
  font: 700 clamp(24px, 3.5vw, 34px) var(--serif);
  color: #fff;
  margin-bottom: 12px;
}

.mentor-quote {
  font-size: clamp(14px, 2vw, 16px);
  color: var(--paper);
  line-height: 1.8;
  font-style: italic;
}

@media (max-width: 680px) {
  .mentor-grid {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }
}

/* Executive Committee Grid */
.exec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: clamp(20px, 3vw, 28px);
}

.exec-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  padding: clamp(22px, 3vw, 28px);
  box-shadow: 0 8px 24px rgba(37, 28, 25, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.exec-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--maroon));
  opacity: 0.8;
  transition: height 0.25s ease;
}

.exec-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(139, 30, 30, 0.11);
  border-color: rgba(139, 30, 30, 0.3);
}

.exec-card:hover::before {
  height: 5px;
}

.exec-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}

.exec-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(139, 30, 30, 0.1) 0%, rgba(139, 30, 30, 0.18) 100%);
  color: var(--maroon);
  font-family: var(--serif);
  font-weight: 700;
  font-size: 18px;
  display: grid;
  place-items: center;
  border: 1.5px solid rgba(139, 30, 30, 0.25);
  box-shadow: 0 4px 12px rgba(139, 30, 30, 0.08);
  flex-shrink: 0;
}

.exec-info h4 {
  font: 700 clamp(17px, 2vw, 19px) var(--serif);
  color: var(--navy);
  margin-bottom: 3px;
  line-height: 1.3;
}

.exec-role-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--maroon);
  background: rgba(139, 30, 30, 0.07);
  padding: 3px 8px;
  border-radius: 999px;
}

.exec-body {
  font-size: 13.5px;
  color: #54443E;
  line-height: 1.65;
  flex-grow: 1;
  margin-bottom: 16px;
}

.team-card-footer,
.exec-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* LinkedIn Profile Button */
.team-linkedin-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0A66C2;
  background: rgba(10, 102, 194, 0.07);
  border: 1px solid rgba(10, 102, 194, 0.22);
  padding: 6px 13px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: fit-content;
}

.team-linkedin-btn svg {
  fill: #0A66C2;
  transition: transform 0.2s ease, fill 0.2s ease;
  flex-shrink: 0;
}

.team-linkedin-btn:hover {
  background: #0A66C2;
  color: #ffffff;
  border-color: #0A66C2;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(10, 102, 194, 0.25);
}

.team-linkedin-btn:hover svg {
  fill: #ffffff;
  transform: scale(1.1);
}

/* ==========================================================================
   DCPCA 2026–2027 Annual Events Calendar System
   ========================================================================== */

.calendar-banner-card {
  background: linear-gradient(135deg, #2A090D 0%, #4D0E15 50%, #1A0507 100%);
  border: 2px solid var(--gold);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 40px);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  margin-bottom: 40px;
  position: relative;
  overflow: hidden;
}

.calendar-banner-card::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.calendar-banner-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
}

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

.calendar-poster-thumb-wrap {
  position: relative;
  width: 200px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  justify-self: center;
}

.calendar-poster-thumb-wrap:hover {
  transform: scale(1.04) rotate(-1deg);
  box-shadow: 0 16px 40px rgba(242, 201, 76, 0.4);
}

.calendar-poster-thumb-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.calendar-poster-overlay {
  position: absolute;
  inset: 0;
  background: rgba(42, 9, 13, 0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  padding: 10px;
}

.calendar-poster-thumb-wrap:hover .calendar-poster-overlay {
  opacity: 1;
}

/* Membership Helpline Strip */
.membership-helpline-bar {
  background: #FFFDF9;
  border: 1.5px dashed var(--gold);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 30px 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 18px rgba(139, 30, 30, 0.05);
}

.helpline-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: clamp(15px, 2vw, 17px);
  color: var(--maroon);
  font-weight: 700;
}

.helpline-phone-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sans);
  font-size: clamp(15px, 2vw, 17px);
  font-weight: 700;
  color: var(--maroon);
  background: rgba(139, 30, 30, 0.08);
  border: 1.5px solid rgba(139, 30, 30, 0.25);
  padding: 4px 12px;
  border-radius: 8px;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.helpline-phone-btn:hover {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 30, 30, 0.2);
}

.helpline-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.helpline-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid rgba(139, 30, 30, 0.2);
  color: var(--maroon);
  font-family: var(--sans);
  font-weight: 700;
  font-size: 13.5px;
  padding: 8px 14px;
  border-radius: 100px;
  transition: all 0.25s ease;
}

.helpline-chip:hover {
  background: var(--maroon);
  color: var(--gold);
  border-color: var(--maroon);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 30, 30, 0.2);
}

/* Calendar Filter Tabs */
.calendar-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0 35px;
  justify-content: center;
}

.calendar-filter-btn {
  background: #fff;
  border: 1px solid var(--border-light);
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--sans);
}

.calendar-filter-btn:hover {
  border-color: var(--maroon);
  color: var(--maroon);
  transform: translateY(-2px);
}

.calendar-filter-btn.active {
  background: var(--maroon);
  color: #fff;
  border-color: var(--maroon);
  box-shadow: 0 4px 14px rgba(139, 30, 30, 0.25);
}

/* Calendar Event Grid & Cards */
.calendar-grid,
.calendar-events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 28px);
}

@media (max-width: 1050px) {
  .calendar-grid,
  .calendar-events-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 680px) {
  .calendar-grid,
  .calendar-events-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cal-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid var(--border-light);
  padding: clamp(20px, 3vw, 26px);
  box-shadow: 0 8px 24px rgba(37, 28, 25, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.cal-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(139, 30, 30, 0.12);
  border-color: rgba(139, 30, 30, 0.35);
}

.cal-card.featured-puja {
  border: 2px solid var(--gold);
  background: linear-gradient(to bottom, #FFFDF9 0%, #FFFFFF 100%);
}

.cal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.cal-status-wrap {
  display: inline-flex;
  align-items: center;
}

.event-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  line-height: 1.2;
  white-space: nowrap;
}

/* Status Badges Colors & Accents */
.status-upcoming {
  background: #FFFBEB;
  color: #B45309;
  border: 1px solid #FDE68A;
}

.status-ongoing {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #6EE7B7;
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
  animation: liveGlow 2.5s infinite;
}

.status-completed {
  background: #F1F5F9;
  color: #64748B;
  border: 1px solid #CBD5E1;
}

/* Pulsing live dot for ongoing events */
.status-pulse-dot {
  width: 7px;
  height: 7px;
  background-color: #10B981;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

.status-pulse-dot::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid #10B981;
  animation: statusRipple 1.6s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

@keyframes statusRipple {
  0% { transform: scale(0.8); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

@keyframes liveGlow {
  0%, 100% { box-shadow: 0 0 6px rgba(16, 185, 129, 0.2); }
  50% { box-shadow: 0 0 14px rgba(16, 185, 129, 0.45); }
}

/* Event Card Status Treatments */
.cal-card {
  position: relative;
  overflow: hidden;
}

.cal-card > * {
  position: relative;
  z-index: 2;
}

.cal-card.is-completed {
  opacity: 0.92;
  border-color: rgba(203, 213, 225, 0.75);
  background: linear-gradient(to bottom, #FFFFFF 0%, #F8FAFC 100%);
}

.cal-card.is-completed:hover {
  opacity: 1;
}

.cal-card.is-completed .cal-idx {
  background: #64748B;
  color: #F8FAFC;
  box-shadow: none;
}

/* Authentic Postal Stamp Watermark Background for Completed Cards */
.cal-card.is-completed::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 6px;
  width: 180px;
  height: 180px;
  background: url('../assets/stamp-completed-round.jpg') no-repeat center center;
  background-size: contain;
  mix-blend-mode: multiply;
  opacity: 0.16;
  pointer-events: none;
  z-index: 1;
  transform: translateY(-50%) rotate(-6deg);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cal-card.is-completed:hover::before {
  opacity: 0.24;
  transform: translateY(-50%) rotate(-3deg) scale(1.04);
}

/* Featured Event Card Background Stamp */
.event-card.is-completed {
  position: relative;
  overflow: hidden;
}

.event-card.is-completed::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 40px;
  width: 270px;
  height: 270px;
  background: url('../assets/stamp-completed-round.jpg') no-repeat center center;
  background-size: contain;
  mix-blend-mode: multiply;
  opacity: 0.16;
  pointer-events: none;
  z-index: 1;
  transform: translateY(-50%) rotate(-8deg);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.event-card.is-completed:hover::before {
  opacity: 0.24;
  transform: translateY(-50%) rotate(-4deg) scale(1.04);
}

.cal-card.is-ongoing {
  border: 2px solid #10B981;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.16);
  background: linear-gradient(to bottom, #F0FDF4 0%, #FFFFFF 100%);
}

.cal-card.is-ongoing .cal-idx {
  background: #059669;
  color: #FFFFFF;
}

.event-featured-status-inline .event-status-badge {
  vertical-align: middle;
}

.cal-idx {
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 800;
  width: 40px;
  height: 40px;
  background: var(--maroon);
  color: var(--gold);
  border-radius: 12px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 10px rgba(139, 30, 30, 0.2);
  flex-shrink: 0;
}

.cal-date-badge {
  text-align: right;
}

.cal-date-badge .date-str {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--maroon);
  display: block;
}

.cal-date-badge .day-str {
  font-size: 11.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.cal-icon {
  font-size: 26px;
  margin-bottom: 10px;
  display: inline-block;
}

.cal-title {
  font: 700 clamp(18px, 2.2vw, 22px) var(--serif);
  color: var(--maroon);
  line-height: 1.25;
  margin-bottom: 6px;
}

.cal-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.tag-puja { background: rgba(214, 40, 40, 0.1); color: var(--red); }
.tag-culture, .tag-cultural { background: rgba(242, 201, 76, 0.25); color: #92400e; }
.tag-festivity { background: rgba(250, 74, 38, 0.12); color: var(--orange); }
.tag-community { background: rgba(34, 197, 94, 0.12); color: #166534; }
.tag-movie { background: rgba(147, 51, 234, 0.12); color: #6b21a8; }

.cal-desc {
  font-size: 13.5px;
  color: #54443E;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
}

.cal-subevents {
  list-style: none;
  background: var(--paper);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 12.5px;
  color: var(--ink);
  margin-bottom: 14px;
  display: grid;
  gap: 6px;
}

.cal-subevents li {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  line-height: 1.4;
}

.cal-subevents li::before {
  content: "✦";
  color: var(--maroon);
  font-size: 10px;
  margin-top: 2px;
}

.cal-durga-subdays {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  background: #FFFDF9;
  border: 1px solid rgba(242, 201, 76, 0.4);
  border-radius: 10px;
  padding: 10px 12px;
  font-size: 11.5px;
  margin-bottom: 14px;
}

.cal-durga-subdays div {
  padding: 3px 0;
  border-bottom: 1px dashed rgba(139, 30, 30, 0.1);
}

.cal-durga-subdays strong {
  color: var(--maroon);
}

.cal-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(139, 30, 30, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* Modal Lightbox for Poster */
.calendar-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(22, 7, 8, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  place-items: center;
  padding: 20px;
}

.calendar-modal-backdrop.active {
  display: grid;
}

.calendar-modal-content {
  position: relative;
  max-width: 900px;
  max-height: 92vh;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  animation: modalScaleIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalScaleIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.calendar-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: var(--maroon);
  color: #fff;
}

.calendar-modal-header h4 {
  font: 600 16px var(--serif);
  color: var(--gold);
}

.calendar-modal-body {
  overflow-y: auto;
  padding: 16px;
  text-align: center;
  background: #251C19;
}

.calendar-modal-body img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
}

.calendar-modal-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 14px 20px;
  background: var(--cream);
  border-top: 1px solid var(--border-light);
}

/* Social Outreach & Donation Card */
.outreach-donation-card {
  background: #FFFDF9;
  border: 1.5px solid rgba(139, 30, 30, 0.2);
  border-radius: 20px;
  padding: clamp(24px, 4vw, 36px);
  margin-top: 40px;
  box-shadow: 0 12px 35px rgba(139, 30, 30, 0.06);
}

.outreach-donation-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.donation-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 6px;
}

.donation-title {
  font: 700 clamp(20px, 2.5vw, 24px) var(--serif);
  color: var(--maroon);
  margin-bottom: 8px;
}

.donation-desc {
  font-size: 14.5px;
  color: #54443E;
  line-height: 1.6;
  max-width: 750px;
}

.outreach-badge {
  background: var(--maroon);
  color: var(--gold);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.outreach-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.bank-details-box, .coordinators-box {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 14px;
  padding: clamp(18px, 2.5vw, 24px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
}

.bank-header, .coordinators-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  color: var(--maroon);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(139, 30, 30, 0.1);
}

.bank-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13.5px;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(0,0,0,0.06);
  flex-wrap: wrap;
  gap: 6px;
}

.bank-row span {
  color: var(--text-muted);
}

.bank-row strong {
  color: var(--ink);
}

.copyable-field {
  font-family: monospace;
  font-size: 14px;
  background: var(--paper);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--maroon);
}

.bank-note {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 14px;
}

.bank-note code {
  background: rgba(139, 30, 30, 0.08);
  color: var(--maroon);
  padding: 2px 6px;
  border-radius: 4px;
}

.coord-cards {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.coord-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--paper);
  border: 1px solid rgba(139, 30, 30, 0.1);
  border-radius: 10px;
  padding: 10px 14px;
  color: var(--ink);
  text-decoration: none;
  transition: var(--transition);
}

.coord-chip:hover {
  background: #fff;
  border-color: var(--maroon);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 30, 30, 0.1);
}

.coord-avatar {
  font-size: 22px;
}

.coord-chip strong {
  display: block;
  font-size: 14px;
  color: var(--maroon);
}

.coord-chip span {
  font-size: 12.5px;
  color: var(--text-muted);
}

@media (max-width: 860px) {
  .outreach-details-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Featured Event Cards & Schedule Table (Shared across Events & Community)
   ========================================================================== */

.event-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(37, 28, 25, 0.05);
  display: grid;
  grid-template-columns: 340px 1fr;
  transition: var(--transition);
  margin-bottom: 30px;
  position: relative;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(139, 30, 30, 0.12);
  border-color: rgba(139, 30, 30, 0.3);
}

.event-img {
  position: relative;
  background: #2A171D;
  min-height: 240px;
  overflow: hidden;
}

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

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

.event-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--maroon);
  color: #fff;
  padding: 8px 14px;
  border-radius: 8px;
  text-align: center;
  font-weight: 700;
  line-height: 1.1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.event-date-badge span {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--gold);
}

.event-body {
  padding: clamp(22px, 3.5vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.event-category {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 8px;
}

.event-title {
  font: 700 clamp(22px, 2.8vw, 26px) var(--serif);
  color: var(--maroon);
  margin-bottom: 12px;
  line-height: 1.25;
}

.event-meta {
  display: flex;
  gap: clamp(12px, 2vw, 20px);
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.event-desc {
  font-size: 14.5px;
  color: #54443E;
  line-height: 1.75;
  margin-bottom: 22px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.schedule-table th,
.schedule-table td {
  padding: 14px 18px;
  text-align: left;
  border-bottom: 1px solid rgba(139, 30, 30, 0.08);
  font-size: 13.5px;
}

.schedule-table th {
  background: var(--maroon);
  color: var(--gold);
  font-family: var(--serif);
  font-weight: 600;
  white-space: nowrap;
}

.schedule-table tr:hover {
  background: var(--paper);
}

@media (max-width: 860px) {
  .event-card {
    grid-template-columns: 1fr;
  }

  .event-img {
    height: 220px;
    min-height: auto;
  }
}

/* ==========================================================================
   Membership Tiers Cards
   ========================================================================== */

.tier-card {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: clamp(24px, 4vw, 36px) clamp(20px, 3.5vw, 30px);
  box-shadow: 0 10px 30px rgba(37, 28, 25, 0.05);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--transition);
}

.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 45px rgba(139, 30, 30, 0.12);
  border-color: var(--maroon);
}

.tier-card.featured {
  border: 2px solid var(--gold);
  background: #FFFDF9;
}

.tier-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gold);
  color: var(--navy);
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(242, 201, 76, 0.4);
}

.tier-name {
  font: 700 clamp(20px, 2.5vw, 24px) var(--serif);
  color: var(--maroon);
  margin-bottom: 8px;
}

.tier-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  margin-bottom: 20px;
  line-height: 1.6;
}

.tier-features {
  list-style: none;
  display: grid;
  gap: 12px;
  font-size: 14px;
  color: #54443E;
  margin-bottom: 28px;
  flex-grow: 1;
  padding: 0;
}

.tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
}

.tier-features li::before {
  content: "✓";
  color: #22C55E;
  font-weight: bold;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   8. Semantic Reusable Classes (Replacing Inline CSS)
   -------------------------------------------------------------------------- */
.text-white { color: #ffffff !important; }
.text-gold { color: var(--gold) !important; }
.text-maroon { color: var(--maroon) !important; }
.text-navy { color: var(--navy) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-center { text-align: center !important; }
.text-bold { font-weight: 700 !important; }
.text-semibold { font-weight: 600 !important; }
.serif-title { font-family: var(--serif) !important; }
.w-full { width: 100% !important; }
.cursor-pointer { cursor: pointer !important; }
.mt-auto { margin-top: auto !important; }
.mt-36 { margin-top: 36px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-12 { margin-top: 12px !important; }
.mt-8 { margin-top: 8px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-18 { margin-bottom: 18px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-8 { margin-bottom: 8px !important; }

/* Lead paragraphs & body variations */
.lead-text {
  font-size: clamp(14.5px, 2vw, 16px);
  color: #54443E;
  line-height: 1.85;
  margin-bottom: 18px;
}
.lead-text-lg {
  font-size: clamp(14.5px, 2vw, 16px);
  color: #54443E;
  line-height: 1.85;
  margin-bottom: 24px;
}
.philosophy-text {
  font-size: clamp(14.5px, 2vw, 16px);
  color: #54443E;
  line-height: 1.85;
  margin-bottom: 18px;
}

/* Stat counters */
.stat-boxes-wrap {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.stat-box-num {
  font-size: clamp(24px, 3.5vw, 28px);
  color: var(--maroon);
  font-family: var(--serif);
  display: block;
}
.stat-box-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

/* Flex layout utilities */
.flex-wrap-gap-sm {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.flex-wrap-gap-md {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.flex-wrap-gap-lg {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.flex-between-baseline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
}
.flex-between-center {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* Wing & Patron Card Badges */
.wing-card-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--maroon);
  text-transform: uppercase;
  margin-top: auto;
  letter-spacing: 0.04em;
}
.pillar-badge-gold {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* Appreciation / Thank You Note Card */
.appreciation-card-wrapper {
  max-width: 680px;
  margin: 0 auto;
}
.appreciation-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(252, 239, 227, 0.65));
  border-radius: 18px;
  border: 1px solid var(--border-gold);
  padding: clamp(20px, 4vw, 28px) clamp(20px, 4vw, 32px);
  box-shadow: 0 10px 30px rgba(139, 30, 30, 0.04);
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
  overflow: hidden;
}
.appreciation-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--gold-gradient);
}
.appreciation-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--paper);
  color: var(--maroon);
  font: 700 18px var(--serif);
  display: grid;
  place-items: center;
  border: 2px solid var(--border-gold);
  flex-shrink: 0;
}
.appreciation-info h4 {
  font: 700 18px var(--serif);
  color: var(--maroon);
  margin-bottom: 2px;
}
.appreciation-badge {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  color: #B45309;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}
.appreciation-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
@media (max-width: 600px) {
  .appreciation-card {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 20px 16px;
  }
  .appreciation-card::before {
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100%;
    height: 3px;
  }
}

/* Helpline & Contact Rows */
.helpline-box {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: 0 4px 18px rgba(37, 28, 25, 0.04);
}
.helpline-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.helpline-title {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--maroon);
  font-weight: 700;
}
.helpline-links-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.helpline-phone-link {
  color: var(--maroon);
  font-weight: 600;
  font-size: 13.5px;
}
.helpline-divider {
  color: var(--border-light);
}
.helpline-subtext {
  display: block;
  font-family: var(--sans);
  font-size: 11.5px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 3px;
}

/* Events Banner & Poster Modal Components */
.events-banner-section {
  padding-bottom: 20px;
}
.events-banner-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}
.events-banner-title {
  font: 700 clamp(24px, 3.5vw, 36px) var(--serif);
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}
.events-banner-desc {
  font-size: clamp(14px, 1.8vw, 15.5px);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 650px;
}
.events-banner-cta-wrap {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.btn-glass-download {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}
.btn-glass-download:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Nirghonto Schedule Table Classes */
.nirghonto-header-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 35px 0 14px;
}
.nirghonto-title {
  font: 700 clamp(20px, 2.5vw, 24px) var(--serif);
  color: var(--maroon);
  margin-bottom: 4px;
}
.nirghonto-motto {
  font-size: 13.5px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.nirghonto-venue-tag {
  font-size: 13px;
  color: var(--text-muted);
}
.table-col-date {
  min-width: 170px;
}
.table-col-puja {
  min-width: 290px;
}
.table-col-cultural {
  min-width: 250px;
}
.schedule-date-text {
  font-size: 15px;
  color: var(--maroon);
  font-weight: 700;
}
.schedule-tithi-text {
  font-weight: 700;
  color: var(--navy);
  font-size: 14px;
}
.schedule-time-list {
  line-height: 1.85;
  font-size: 13.5px;
}
.schedule-time-val {
  color: var(--maroon);
  font-weight: 700;
}
.schedule-evening-tithi {
  color: var(--maroon);
  font-size: 14.5px;
  font-weight: 700;
}
.schedule-evening-title {
  font-size: 14px;
  font-weight: 600;
  color: #54443E;
}
.schedule-evening-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 4px;
}
.schedule-accent-bengali {
  font-family: var(--serif);
  font-size: 13.5px;
  color: var(--maroon);
  font-weight: 600;
}
.schedule-badge-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}

/* Generic Modal Classes */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 28, 46, 0.88);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal-card {
  background: #ffffff;
  border-radius: 20px;
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  color: #ffffff;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  z-index: 2;
  transition: background 0.2s;
}
.modal-close-btn:hover {
  background: var(--maroon);
}
.modal-content-wrap {
  padding: clamp(20px, 4vw, 32px);
}

/* Call To Action Banner */
.cta-banner-section {
  background: linear-gradient(90deg, #8B1E1E, #640D16);
  color: #ffffff;
  text-align: center;
  padding: clamp(50px, 7vw, 75px) 0;
}
.cta-banner-title {
  font: 700 clamp(28px, 4.5vw, 42px) var(--serif);
  margin-bottom: 14px;
  color: #ffffff;
}
.cta-banner-desc {
  max-width: 600px;
  margin: 0 auto 28px;
  color: var(--paper);
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.7;
}

/* Card body text & image utilities */
.card-body-text {
  font-size: 13.5px;
  line-height: 1.7;
  margin-bottom: 16px;
}
.img-cover-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Mobile drawer brand styling */
.drawer-brand-text {
  color: #ffffff;
}
.drawer-brand-sub {
  color: var(--gold);
}
.drawer-join-btn {
  width: 100%;
  margin-top: auto;
}

/* Credentials Card (Official Office details) */
.credentials-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  padding: clamp(28px, 5vw, 44px);
  box-shadow: 0 10px 35px rgba(37, 28, 25, 0.06);
  max-width: 900px;
  margin: 0 auto;
}
.credentials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  border-top: 1px solid var(--border-light);
  padding-top: 24px;
}
.credential-item {
  display: flex;
  gap: 14px;
}
.credential-icon {
  font-size: 24px;
  color: var(--maroon);
  flex-shrink: 0;
}
.credential-title {
  font-size: 14px;
  color: var(--navy);
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
}
.credential-text {
  font-size: 13.5px;
  color: #54443E;
  line-height: 1.6;
}
.flex-center-wrap {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.pb-30 { padding-bottom: 30px !important; }
.pb-20 { padding-bottom: 20px !important; }
.link-underline-maroon {
  color: var(--maroon);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}
.link-underline-maroon:hover {
  color: var(--red);
}
.btn-cta-large {
  padding: 12px 28px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* Additional Spacing & Typography Utilities */
.mb-30 { margin-bottom: 30px !important; }
.mb-22 { margin-bottom: 22px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-14 { margin-bottom: 14px !important; }
.mb-10 { margin-bottom: 10px !important; }
.mb-6  { margin-bottom: 6px !important; }
.mb-4  { margin-bottom: 4px !important; }
.mb-3  { margin-bottom: 3px !important; }
.mt-30 { margin-top: 30px !important; }
.mt-6  { margin-top: 6px !important; }
.mt-4  { margin-top: 4px !important; }
.mt-3  { margin-top: 3px !important; }
.m-0   { margin: 0 !important; }
.m-auto { margin: 0 auto !important; }

.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.d-inline-block { display: inline-block !important; }

.fs-11 { font-size: 11px !important; }
.fs-11-5 { font-size: 11.5px !important; }
.fs-12 { font-size: 12px !important; }
.fs-12-5 { font-size: 12.5px !important; }
.fs-13 { font-size: 13px !important; }
.fs-13-5 { font-size: 13.5px !important; }
.fs-14 { font-size: 14px !important; }
.fs-14-5 { font-size: 14.5px !important; }
.fs-15 { font-size: 15px !important; }
.fs-15-5 { font-size: 15.5px !important; }
.fs-16 { font-size: 16px !important; }
.fs-19 { font-size: 19px !important; }
.fs-20 { font-size: 20px !important; }
.fs-24 { font-size: 24px !important; }
.fs-40 { font-size: 40px !important; }

.text-ink { color: var(--ink) !important; }
.text-body { color: #54443E !important; }
.lh-15 { line-height: 1.5 !important; }
.lh-16 { line-height: 1.6 !important; }
.lh-17 { line-height: 1.7 !important; }
.lh-18 { line-height: 1.8 !important; }
.lh-185 { line-height: 1.85 !important; }

/* Hero Pill Badge */
.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(242, 201, 76, 0.18);
  border: 1px solid rgba(242, 201, 76, 0.4);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  text-transform: uppercase;
  font-weight: 700;
}

/* Hero Button Variants */
.btn-hero-white {
  background: rgba(255, 255, 255, 0.9);
  border-color: transparent;
}
.btn-hero-white:hover {
  background: #ffffff;
}
.btn-hero-glass {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}
.btn-hero-glass:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}
.btn-hero-glass-alt {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.25);
}
.btn-hero-glass-alt:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* Modal Close Button */
.modal-close-btn {
  color: #ffffff;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

/* FAQ Title */
.faq-section-title {
  font-size: clamp(24px, 3.5vw, 32px);
}

/* Resource Page Components */
.resource-text {
  font-size: 15.5px;
  color: #54443E;
  line-height: 1.8;
  margin-bottom: 16px;
}
.resource-text-mb {
  font-size: 15.5px;
  color: #54443E;
  line-height: 1.8;
  margin-bottom: 22px;
}
.resource-section-alt {
  background: var(--paper);
}
.resource-section-white {
  background: #ffffff;
}
.coupons-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}
.card-box-gold {
  border-color: var(--gold);
}

/* Contact Page Components */
.venue-highlight-box {
  background: rgba(242, 201, 76, 0.12);
  border: 1px solid rgba(242, 201, 76, 0.4);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
}
.contact-highlight-desc {
  display: block;
  color: var(--maroon);
  margin-top: 4px;
  font-weight: 600;
}
.contact-phones-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-top: 6px;
  font-size: 14.5px;
}
.contact-office-title {
  font: 700 24px var(--serif);
  color: var(--maroon);
  margin-bottom: 24px;
}
.contact-lead-desc {
  font-size: 14.5px;
  color: #54443E;
  line-height: 1.7;
  margin-bottom: 20px;
}
.grid-col-span-2 {
  grid-column: span 2;
}

/* Gallery Lightbox & Empty state */
.lightbox-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
}
.empty-state-icon {
  font-size: 40px;
  margin-bottom: 12px;
}

/* ==========================================================================
   DCPCA Awards & Accolades Showcase Component ("Best Pujo of Chennai 2024")
   ========================================================================== */
.section-award {
  background: radial-gradient(circle at 80% 20%, rgba(242, 201, 76, 0.08), transparent 40%), var(--cream);
  padding: clamp(60px, 8vw, 95px) 0;
  position: relative;
  overflow: hidden;
}

.award-banner-card {
  background: linear-gradient(135deg, #26070B 0%, #4A0E15 45%, #1A0507 100%);
  border: 2px solid rgba(242, 201, 76, 0.55);
  border-radius: 24px;
  padding: clamp(28px, 4.5vw, 50px);
  color: #ffffff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 45px rgba(242, 201, 76, 0.12);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.award-banner-card::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(242, 201, 76, 0.2) 0%, rgba(250, 74, 38, 0.08) 50%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.award-banner-card::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: -60px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(139, 30, 30, 0.45) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.award-card-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.88fr;
  gap: clamp(28px, 4vw, 52px);
  align-items: center;
  position: relative;
  z-index: 2;
}

@media (max-width: 960px) {
  .award-card-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.award-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(242, 201, 76, 0.14);
  border: 1px solid rgba(242, 201, 76, 0.55);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.award-badge-pill .trophy-emoji {
  font-size: 16px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.award-title {
  font: 700 clamp(26px, 3.8vw, 44px)/1.15 var(--serif);
  color: #ffffff;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}

.award-title span {
  color: var(--gold);
  display: inline-block;
  background: linear-gradient(135deg, #FFFBEB 0%, #FDE047 40%, #F2C94C 70%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.award-description {
  font-size: clamp(14px, 1.8vw, 15.5px);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 22px;
}

.award-highlights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 26px;
}

@media (max-width: 580px) {
  .award-highlights-grid {
    grid-template-columns: 1fr;
  }
}

.award-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(242, 201, 76, 0.22);
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.45;
  transition: background 0.3s ease, border-color 0.3s ease;
}

.award-highlight-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(242, 201, 76, 0.45);
}

.award-highlight-item strong {
  display: block;
  color: #ffffff;
  font-size: 13.5px;
  margin-bottom: 2px;
  font-weight: 600;
}

.award-highlight-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.award-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.award-media-wrap {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 440px;
}

.award-media-frame {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(242, 201, 76, 0.25);
  aspect-ratio: 4 / 3;
  background: #150608;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
}

.award-media-frame:hover {
  transform: scale(1.025);
  box-shadow: 0 22px 55px rgba(242, 201, 76, 0.35);
}

.award-media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.award-media-frame:hover img {
  transform: scale(1.05);
}

.award-ribbon {
  position: absolute;
  top: 14px;
  right: 14px;
  background: linear-gradient(135deg, #FDE047 0%, #F2C94C 50%, #D97706 100%);
  color: #1A0507;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 13px;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 3;
}

.award-media-caption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 16px 12px;
  background: linear-gradient(transparent, rgba(14, 4, 6, 0.88) 70%);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  text-align: center;
  z-index: 2;
  font-weight: 500;
}

.stat-box-award {
  background: linear-gradient(135deg, #FFFDF5 0%, #FEF3C7 100%) !important;
  border: 1.5px solid var(--gold) !important;
  box-shadow: 0 6px 20px rgba(242, 201, 76, 0.28) !important;
}

.stat-box-award .stat-box-num {
  color: #9A3412 !important;
  font-size: clamp(22px, 3.2vw, 26px);
}

.stat-box-award .stat-box-label {
  color: #78350F !important;
  font-weight: 700 !important;
}




