/* ==========================================================================
   Puthiya Bharatham Party - Official Navigation System
   Theme: Indian Flag Tricolour (Saffron, White, Green, Navy Blue)
   Language: Tamil & English
   Aesthetics: Premium, Modern Glassmorphic, Patriotic
   ========================================================================== */

/* --------------------------------------------------------------------------
   Design Tokens & Variables
   -------------------------------------------------------------------------- */
:root {
  /* Indian Flag Tricolour Palette */
  --color-saffron: #FF671F;
  --color-saffron-light: #FF884D;
  --color-saffron-dark: #D84F0E;
  --color-saffron-glow: rgba(255, 103, 31, 0.28);

  --color-white: #FFFFFF;
  --color-white-soft: #F8FAFC;
  --color-white-muted: #E2E8F0;

  --color-green: #046A38;
  --color-green-light: #0D8343;
  --color-green-dark: #024A26;
  --color-green-glow: rgba(4, 106, 56, 0.25);

  --color-navy: #002868;
  --color-navy-deep: #0B1B3D;
  --color-navy-dark: #061127;
  --color-navy-light: #123C82;

  --color-gold: #D4AF37;
  --color-gold-light: #F7D070;
  --color-gold-glow: rgba(212, 175, 55, 0.35);

  /* Neutrals */
  --color-text-main: #2f2f2f;
  --color-text-muted: #2f2f2f;
  --color-border: rgba(226, 232, 240, 0.8);
  --color-border-hover: rgba(255, 103, 31, 0.35);

  /* Gradients */
  --grad-tricolour-bar: linear-gradient(
    90deg,
    #FF671F 0%,
    #FF671F 33.33%,
    #FFFFFF 33.33%,
    #FFFFFF 66.66%,
    #046A38 66.66%,
    #046A38 100%
  );
  --grad-tricolour-smooth: linear-gradient(
    90deg,
    #FF671F 0%,
    #FFA25B 25%,
    #FFFFFF 50%,
    #2E9F63 75%,
    #046A38 100%
  );
  --grad-saffron-btn: linear-gradient(135deg, #FF7722 0%, #E65100 100%);
  --grad-green-btn: linear-gradient(135deg, #0D8343 0%, #03522A 100%);
  --grad-navy-topbar: linear-gradient(135deg, #0B1B3D 0%, #061127 100%);
  --grad-gold-text: linear-gradient(135deg, #FFE082 0%, #FFB300 50%, #D48800 100%);

  /* Typography */
  --font-tamil: 'Noto Sans Tamil', 'Mukta Malar', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 14px rgba(11, 27, 61, 0.08);
  --shadow-lg: 0 10px 30px rgba(11, 27, 61, 0.12);
  --shadow-glow-saffron: 0 4px 20px rgba(255, 103, 31, 0.35);
  --shadow-glow-green: 0 4px 20px rgba(4, 106, 56, 0.35);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 13px;
}

body {
  font-family: var(--font-tamil);
  color: var(--color-text-main);
  background-color: #F8FAFD;
  line-height: 1.5;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-fast);
}

button {
  cursor: pointer;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Top Tricolour Accent Strip
   -------------------------------------------------------------------------- */


/* --------------------------------------------------------------------------
   Stunning Top Bar Navigation
   -------------------------------------------------------------------------- */
.topbar-wrapper {
  background: linear-gradient(90deg, var(--color-saffron) 0%, var(--color-saffron) 25%, #FFFFFF 42%, #FFFFFF 58%, var(--color-green) 75%, var(--color-green) 100%);
  color: #FFFFFF;
  font-size: 0.8rem;
  position: relative;
  z-index: 1001;
}

.topbar-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

/* Topbar Left: Date & Live News Ticker */
.topbar-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.topbar-date-box {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #CBD5E1;
  white-space: nowrap;
  font-size: 0.78rem;
  font-weight: 500;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  padding-right: 0.85rem;
  flex-shrink: 0;
}

.topbar-date-box .date-icon {
  color: var(--color-saffron);
}

/* News Flash Ticker */
.news-flash-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, var(--color-saffron) 0%, #D84F0E 100%);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(255, 103, 31, 0.35);
}

.pulsing-dot {
  width: 7px;
  height: 7px;
  background-color: #FFFFFF;
  border-radius: 50%;
  display: inline-block;
  animation: pulseGlow 1.5s infinite;
}

@keyframes pulseGlow {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.topbar-ticker-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
  mask-image: linear-gradient(90deg, transparent 0%, black 2%, black 98%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 2%, black 98%, transparent 100%);
}

.topbar-ticker-content {
  display: inline-flex;
  align-items: center;
  animation: tickerContinuous 24s linear infinite;
  white-space: nowrap;
}

.topbar-ticker-wrap:hover .topbar-ticker-content {
  animation-play-state: paused;
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 2rem;
  color: #F1F5F9;
  font-size: 0.78rem;
  font-weight: 500;
  white-space: nowrap;
}

.ticker-item .separator {
  color: var(--color-gold);
}

@keyframes tickerContinuous {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Topbar Right: Contacts, Socials, Language, CTA */
.topbar-right {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.topbar-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #E2E8F0;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition-fast);
}

.topbar-contact-item:hover {
  opacity: 0.8;
}

.topbar-contact-item svg {
  color: #FFFFFF;
  opacity: 0.9;
}

/* Social Icons */
.topbar-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0 0.75rem;
}

.social-link {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: var(--transition-normal);
  font-size: 0.75rem;
  flex-shrink: 0;
}

.social-link.facebook {
  background: #1877F2;
}

.social-link.twitter {
  background: #000000;
}

.social-link.youtube {
  background: #FF0000;
}

.social-link.whatsapp {
  background: #25D366;
}

.social-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.lang-btn {
  padding: 0.18rem 0.55rem;
  border-radius: 14px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #CBD5E1;
  transition: var(--transition-fast);
  line-height: 1.2;
}

.lang-btn.active {
  background: linear-gradient(135deg, var(--color-saffron) 0%, #D84F0E 100%);
  color: var(--color-white);
  box-shadow: 0 2px 6px rgba(255, 103, 31, 0.4);
}

.lang-btn:hover:not(.active) {
  color: var(--color-white);
}

/* Topbar CTA Button */
.topbar-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  height: 28px;
  padding: 0 0.75rem;
  background: var(--grad-navy-topbar);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  white-space: nowrap;
  transition: var(--transition-normal);
  box-shadow: 0 2px 6px rgba(0, 40, 104, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
}

.topbar-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 40, 104, 0.45);
  background: var(--color-navy);
}

.mobile-bottom-action-bar {
  display: none;
}

/* --------------------------------------------------------------------------
   Main Navigation Bar (Sticky, 3-Column Grid, Perfect Center Alignment)
   -------------------------------------------------------------------------- */
.main-navbar-wrapper {
  position: relative;
  z-index: 1003;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-normal);
}

.main-navbar-wrapper.scrolled {
  box-shadow: var(--shadow-lg);
  background: linear-gradient(90deg, rgb(255 103 31 / 20%) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(4, 106, 57, 20%) 100%);
}

/* 3-Column Equal Grid: Column 1 = Left Menu, Column 2 = Exact 50% Center Brand, Column 3 = Right Menu & Actions */
.main-navbar-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0.45rem 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.25rem;
  position: relative;
}

/* Column 1: Left Nav Menu Group (Aligns to the Right towards Center Logo) */
.nav-menu-group.left-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* Nav Link: Non-wrapping, Strict Height, Perfect Vertical Centering */
.nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.35rem 0.6rem;
  height: 32px;
  font-size: 0.90rem;
  font-weight: 700;
  color: var(--color-navy);
  border-radius: 8px;
  white-space: nowrap;
  transition: var(--transition-normal);
  position: relative;
  line-height: 1;
  box-sizing: border-box;
}

.nav-link:hover {
  color: var(--color-saffron);
  background: rgba(255, 103, 31, 0.08);
}

.nav-item.active .nav-link {
  color: var(--color-saffron-dark);
  background: rgba(255, 103, 31, 0.08);
  font-weight: 800;
}

/* Subtle Tricolour Underline Indicator on Active/Hover */
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2.5px;
  background: var(--grad-tricolour-bar);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

.nav-link:hover::after,
.nav-item.active .nav-link::after {
  width: 70%;
}

.chevron-icon {
  transition: transform var(--transition-fast);
  font-size: 0.7rem;
  color: #64748B;
  flex-shrink: 0;
}

.nav-item:hover .chevron-icon {
  transform: rotate(180deg);
  color: var(--color-saffron);
}

/* --------------------------------------------------------------------------
   Dropdown Menus
   -------------------------------------------------------------------------- */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 240px;
  background: #FFFFFF;
  border-radius: 12px;
  padding: 0.5rem 0.4rem;
  box-shadow: 0 14px 35px rgba(0, 40, 104, 0.14), 0 4px 10px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-normal);
  z-index: 100;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: 0;
  left: 10px;
  right: 10px;
  height: 3px;
  background: var(--grad-tricolour-bar);
  border-radius: 3px 3px 0 0;
}

.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.6rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  border-radius: 8px;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.dropdown-link:hover {
  background: rgba(255, 103, 31, 0.08);
  color: var(--color-saffron-dark);
  transform: translateX(4px);
}

.dropdown-item-icon {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  background: rgba(4, 106, 56, 0.08);
  color: var(--color-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.dropdown-link:hover .dropdown-item-icon {
  background: var(--color-saffron);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Column 2: Center Logo & Brand Identity (Exact Mathematical Dead Center)
   -------------------------------------------------------------------------- */
.center-brand-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  padding: 0 0.5rem;
  flex-shrink: 0;
  z-index: 10;
  user-select: none;
}

.center-logo-halo {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Compact, Razor-Sharp Vector Emblem Badge */
.logo-badge-wrapper {
  width: 210px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: -36px;
  position: relative;
  z-index: 1050;
}


.logo-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Brand Text Block: Bold Tamil Title & Clean Subtitle */
.brand-text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 3px;
}

.party-name-tamil {
  font-family: var(--font-tamil);
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--color-navy);
  letter-spacing: 0.3px;
  line-height: 1.15;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  white-space: nowrap;
}

.center-brand-container:hover .party-name-tamil {
  color: var(--color-saffron-dark);
}

.party-sub-title {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #475569;
  line-height: 1.15;
  margin-top: 1px;
  white-space: nowrap;
}

.party-motto {
  font-family: var(--font-tamil);
  font-size: 0.62rem;
  font-weight: 700;
  color: var(--color-green);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 2px;
  white-space: nowrap;
}

.motto-dot {
  color: var(--color-saffron);
  font-size: 0.5rem;
}

/* --------------------------------------------------------------------------
   Column 3: Right Nav Cluster (Menu Links + Search + Join CTA)
   -------------------------------------------------------------------------- */
.nav-right-cluster {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
}

.nav-menu-group.right-group {
  display: flex;
  align-items: center;
  padding: 0;
}

/* Far Right Actions: Search & Join Button */
.navbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.nav-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-navy);
  background: rgba(0, 40, 104, 0.04);
  border: 1px solid rgba(226, 232, 240, 0.9);
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.nav-icon-btn:hover {
  background: rgba(255, 103, 31, 0.1);
  color: var(--color-saffron);
  border-color: rgba(255, 103, 31, 0.3);
  transform: scale(1.05);
}

.join-katchi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 32px;
  padding: 0 0.85rem;
  border-radius: 9999px;
  background: var(--grad-saffron-btn);
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--shadow-glow-saffron);
  white-space: nowrap;
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.join-katchi-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(255, 103, 31, 0.45);
  background: linear-gradient(135deg, #FF884D 0%, #D84F0E 100%);
}

/* Mobile Toggle Hamburger */
.mobile-navbar-socials {
  display: none;
}

.mobile-nav-toggle {
  display: none;
  width: 40px;
  height: 42px;
  border-radius: 8px;
  background: rgba(0, 40, 104, 0.05);
  border: 1px solid rgba(226, 232, 240, 0.9);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  transition: var(--transition-normal);
}

.hamburger-line {
  width: 22px;
  height: 2.5px;
  background-color: var(--color-navy);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.mobile-nav-toggle.open .hamburger-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background-color: var(--color-saffron);
}

.mobile-nav-toggle.open .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open .hamburger-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background-color: var(--color-green);
}

/* --------------------------------------------------------------------------
   Mobile Drawer Navigation Menu
   -------------------------------------------------------------------------- */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 27, 61, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 86%;
  max-width: 360px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1101;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  box-shadow: 6px 0 25px rgba(0, 0, 0, 0.2);
}

.mobile-drawer.active {
  transform: translateX(0);
}

.mobile-drawer-header {
  padding: 1.25rem;
  background: #FFFFFF;
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--color-saffron);
}

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

.mobile-drawer-logo {
  width: 170px;
  height: auto;
  max-height: 65px;
  object-fit: contain;
}

.mobile-drawer-title {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.2;
}

.mobile-drawer-sub {
  font-size: 0.68rem;
  color: #94A3B8;
  font-family: var(--font-sans);
  font-weight: 700;
}

.mobile-drawer-close {
  color: var(--color-navy);
  font-size: 1.5rem;
  padding: 0.25rem 0.5rem;
  transition: var(--transition-fast);
}

.mobile-drawer-close:hover {
  color: var(--color-saffron);
}

.mobile-drawer-body {
  padding: 1.25rem;
  flex: 1;
}

.mobile-search-form {
  margin-bottom: 1.25rem;
  position: relative;
}

.mobile-search-input {
  width: 100%;
  padding: 0.7rem 2.4rem 0.7rem 1rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-fast);
}

.mobile-search-input:focus {
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 3px var(--color-saffron-glow);
}

.mobile-search-submit {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #64748B;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  border-bottom: 1px solid #F1F5F9;
  padding-bottom: 0.4rem;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  border-radius: 6px;
}

.mobile-nav-link:hover,
.mobile-nav-item.active .mobile-nav-link {
  color: var(--color-saffron);
  background: rgba(255, 103, 31, 0.06);
}

.mobile-submenu {
  display: none;
  padding-left: 1rem;
  margin-top: 0.25rem;
  border-left: 2px solid var(--color-green);
}

.mobile-submenu.open {
  display: block;
}

.mobile-sub-link {
  display: block;
  padding: 0.45rem 0.5rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
}

.mobile-sub-link:hover {
  color: var(--color-green-dark);
}

.mobile-drawer-footer {
  padding: 1.25rem;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}

.mobile-join-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.75rem;
  border-radius: 8px;
  background: var(--grad-saffron-btn);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 12px rgba(255, 103, 31, 0.35);
  margin-bottom: 1rem;
}

.mobile-contact-info {
  font-size: 0.82rem;
  color: #64748B;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Search Modal Overlay
   -------------------------------------------------------------------------- */
.search-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 27, 61, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  transition: all var(--transition-normal);
}

.search-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.search-modal-card {
  width: 90%;
  max-width: 640px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(-20px) scale(0.95);
  transition: all var(--transition-bounce);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.search-modal-backdrop.active .search-modal-card {
  transform: translateY(0) scale(1);
}

.search-modal-header {
  height: 4px;
  background: var(--grad-tricolour-bar);
}

.search-modal-body {
  padding: 1.5rem;
}

.search-input-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: #F8FAFC;
  border: 2px solid #E2E8F0;
  border-radius: 12px;
  transition: var(--transition-fast);
}

.search-input-group:focus-within {
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 3px var(--color-saffron-glow);
  background: #FFFFFF;
}

.search-input-field {
  flex: 1;
  border: none;
  background: transparent;
  font-size: 1.1rem;
  font-family: inherit;
  outline: none;
  color: var(--color-navy);
}

.search-close-btn {
  color: #94A3B8;
  font-size: 1.25rem;
  transition: var(--transition-fast);
}

.search-close-btn:hover {
  color: var(--color-saffron);
}

.search-suggestions {
  margin-top: 1.25rem;
}

.suggestion-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: #64748B;
  margin-bottom: 0.6rem;
}

.suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.suggestion-tag {
  padding: 0.35rem 0.8rem;
  background: #F1F5F9;
  color: var(--color-navy);
  font-size: 0.82rem;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.suggestion-tag:hover {
  background: var(--color-saffron);
  color: #FFFFFF;
}

/* --------------------------------------------------------------------------
   Membership Registration Modal
   -------------------------------------------------------------------------- */
.membership-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 27, 61, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1250;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  transition: all var(--transition-normal);
}

.membership-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.membership-card {
  width: 100%;
  max-width: 520px;
  background: #FFFFFF;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transform: translateY(20px);
  transition: all var(--transition-bounce);
}

.membership-modal-backdrop.active .membership-card {
  transform: translateY(0);
}

.membership-header {
  background: var(--grad-navy-topbar);
  color: #FFFFFF;
  padding: 1.5rem 1.75rem;
  position: relative;
  border-bottom: 4px solid var(--color-saffron);
}

.membership-header-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.membership-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
}

.membership-header p {
  font-size: 0.82rem;
  color: #CBD5E1;
}

.membership-close-btn {
  color: #CBD5E1;
  font-size: 1.4rem;
  background: rgba(255, 255, 255, 0.1);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.membership-close-btn:hover {
  background: var(--color-saffron);
  color: #FFFFFF;
}

.membership-form {
  padding: 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

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

.form-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-navy);
}

.form-control {
  padding: 0.65rem 0.9rem;
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  font-size: 0.92rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 3px var(--color-saffron-glow);
}

.membership-submit-btn {
  padding: 0.85rem;
  background: var(--grad-saffron-btn);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 800;
  border-radius: 10px;
  margin-top: 0.5rem;
  box-shadow: 0 4px 15px rgba(255, 103, 31, 0.4);
  transition: var(--transition-normal);
}

.membership-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 103, 31, 0.55);
}

/* --------------------------------------------------------------------------
   Hero Showcase Section (Stunning Context for the Navigation)
   -------------------------------------------------------------------------- */
.hero-showcase {
  position: relative;
  padding: 4rem 1.5rem 4rem;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.hero-bg-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-bg-slider::after {
  content: '';
  display: none;
}

.bg-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease-in-out, transform 6s ease-out;
}

.bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-bottom-img-wrap {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 35vw;
  max-width: 450px;
  min-width: 200px;
  line-height: 0;
  z-index: 2;
}

.hero-bottom-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: bottom right;
}

.hero-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-left: 6rem;
  text-align: left;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-text-slider {
  position: relative;
  width: 100%;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: var(--color-navy);
  border: 2px solid var(--color-white);
  border-radius: 50%;
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100;
  transition: all 0.3s ease;
}

.hero-arrow:hover {
  background: var(--color-saffron);
  border-color: var(--color-saffron);
}

.hero-prev {
  left: 2rem;
}

.hero-next {
  right: 2rem;
}

.text-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}

.text-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
}

.hero-static-content {
  position: relative;
  width: 100%;
  margin-bottom: 2rem;
}

.hero-title-static {
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 0.8;
}

.text-blue-shadow {
  color: var(--color-navy);
  text-shadow: 
    2px 2px 0px #fff, -2px -2px 0px #fff, 
    2px -2px 0px #fff, -2px 2px 0px #fff,
    0px 6px 20px rgba(0,0,0,0.4);
  display: block;
}

.text-red-shadow {
  color: rgb(188, 0, 0);
  text-shadow: 
    2px 2px 0px #fff, -2px -2px 0px #fff, 
    2px -2px 0px #fff, -2px 2px 0px #fff,
    0px 6px 20px rgba(0,0,0,0.4);
  display: block;
}

@media (max-width: 992px) {
  .hero-content {
    padding-left: 3rem;
  }
}

@media (max-width: 640px) {
  .hero-content {
    padding-left: 1.5rem;
  }
  .hero-title-static {
    font-size: 2rem;
    line-height: 1.2;
  }
}

.hero-btn-group {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1.25rem;
  margin-bottom: 4rem;
}

.btn-primary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  background: #002868;
  color: #FFFFFF;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 9999px;
  transition: var(--transition-normal);
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 40, 104, 0.3);
}

.btn-primary-hero:hover {
  background: #001A4A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 40, 104, 0.45);
}

.btn-arrow {
  font-size: 0.85rem;
}

.hero-slider-controls {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  color: #64748B;
  font-size: 0.75rem;
  font-weight: 700;
}

.slider-line {
  width: 40px;
  height: 2px;
  background: #CBD5E1;
}

.slider-num {
  cursor: pointer;
  transition: var(--transition-fast);
}

.slider-num.active {
  color: #0F172A;
}

.slider-num:hover {
  color: #0F172A;
}

.btn-secondary-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 2rem;
  background: #FFFFFF;
  color: var(--color-navy);
  font-size: 1.05rem;
  font-weight: 800;
  border-radius: 9999px;
  border: 2px solid var(--color-navy);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

.btn-secondary-hero:hover {
  background: var(--color-navy);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* Feature Showcase Grid */
.party-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-card {
  background: #FFFFFF;
  padding: 1.5rem;
  border-radius: 16px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition-normal);
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.stat-card.saffron-accent::before {
  background: var(--color-saffron);
}

.stat-card.navy-accent::before {
  background: var(--color-navy);
}

.stat-card.green-accent::before {
  background: var(--color-green);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-number {
  font-size: 1.75rem;
  font-weight: 900;
  font-family: var(--font-sans);
  color: var(--color-navy);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #64748B;
  margin-top: 0.25rem;
}

/* --------------------------------------------------------------------------
   Values & Social Responsibility Section
   -------------------------------------------------------------------------- */
.values-section {
  padding: 40px 1.5rem;
  background-color: var(--color-white-soft);
  position: relative;
  overflow: hidden;
}

.values-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.values-image-col {
  position: relative;
}

.masonry-scroller-col {
  position: relative;
  height: 350px;
  overflow: hidden;
  border-radius: 14px;
}

.scrolling-masonry-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  height: 100%;
}

.scrolling-column {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  animation: scrollVertical var(--scroll-duration, 20s) linear infinite;
}

.scrolling-column:hover {
  animation-play-state: paused;
}

@keyframes scrollVertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(calc(-50% - 0.625rem)); }
}

.masonry-item {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  border-radius: 14px;
  display: block;
  box-shadow: var(--shadow-md);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  object-fit: cover;
}

.masonry-item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-lg);
}

.values-text-col {
  display: flex;
  flex-direction: column;
  height: 350px;
}

.values-text-slider {
  position: relative;
  flex-grow: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 1rem;
}

/* Custom Scrollbar for Values Slider */
.values-text-slider::-webkit-scrollbar {
  width: 6px;
}
.values-text-slider::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.05);
  border-radius: 10px;
}
.values-text-slider::-webkit-scrollbar-thumb {
  background: var(--color-saffron);
  border-radius: 10px;
}

.values-slide-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.values-slide-item.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.values-quote-icon {
  font-size: 4rem;
  color: var(--color-saffron);
  opacity: 0.2;
  line-height: 1;
  margin-bottom: -1rem;
  font-family: serif;
}

.values-main-text {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy-deep);
  line-height: 1.8;
}

.values-slider-controls {
  display: flex;
  gap: 1rem;
 
}

.val-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-navy);
  border: none;
  color: var(--color-white);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.val-btn:hover {
  background: var(--color-saffron);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

@media (max-width: 992px) {
  .values-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* --------------------------------------------------------------------------
   About Section
   -------------------------------------------------------------------------- */
.about-section {
  padding: 40px 1.5rem;
  background-color: var(--color-green);
  color: var(--color-white-muted);
  position: relative;
  overflow: hidden;
}

.about-section .section-title {
  color: var(--color-white);
}

.about-section .about-text-content p {
  color: var(--color-white-muted);
}

.about-section .about-highlights li {
  color: var(--color-white);
}

.about-section .about-highlights li svg {
  color: var(--color-saffron);
}

.about-section .section-badge {
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-saffron);
  border-color: rgba(255, 255, 255, 0.2);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Visuals Left Side */
.about-visuals {
  position: relative;
  margin-top: 2rem;
}

.about-image-wrapper {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
  background: var(--color-white);
  padding: 10px;
}

.about-main-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  display: block;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Quote Cards */
.quote-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.6);
  padding: 1.25rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  max-width: 280px;
}

.primary-quote {
  top: -30px;
  left: -30px;
  
}

.secondary-quote {
  bottom: -40px;
  right: -16px;
 
}

.quote-mark {
  font-size: 3rem;
  color: var(--color-text-muted);
  opacity: 0.3;
  line-height: 0;
  position: absolute;
  top: 25px;
  left: 10px;
  font-family: serif;
}

.quote-card blockquote {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-navy-deep);
  line-height: 1.5;
  position: relative;
  z-index: 1;
  padding-left: 15px;
}

/* Content Right Side */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.section-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background-color: rgba(4, 106, 56, 0.1);
  color: var(--color-green);
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 20px;
  width: max-content;
  border: 1px solid rgba(4, 106, 56, 0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-navy-deep);
  line-height: 1.3;
  margin-bottom: 0.5rem;
  font-family: var(--font-sans);
}

.highlight-green {
  color: var(--color-green);
}

.btn-outline-green {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border: 2px solid var(--color-green);
  background-color: transparent;
  color: var(--color-green);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: max-content;
}

.btn-outline-green:hover {
  background-color: var(--color-green);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(4, 106, 56, 0.3);
  transform: translateY(-2px);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.8rem;
  border: 2px solid var(--color-white);
  background-color: transparent;
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  width: max-content;
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-green);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

.about-text-content p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.about-highlights {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.about-highlights li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
}

.about-highlights li svg {
  color: var(--color-green);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.about-actions {
  margin-top: 1rem;
}

/* Mobile Responsiveness for About */
@media (max-width: 992px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 5rem;
  }
  
  .primary-quote {
    left: -10px;
    top: -20px;
  }
  
  .secondary-quote {
    right: -10px;
    bottom: -30px;
  }

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

.site-footer {
  background-color: var(--color-navy-deep);
  color: #CBD5E1;
  border-top: 4px solid var(--color-saffron);
}

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

.footer-logo h3 {
  color: var(--color-white);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.footer-logo-en {
  display: block;
  font-size: 0.8rem;
  color: var(--color-saffron);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: #94A3B8;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--color-saffron);
  transform: translateY(-3px);
}

.footer-col h4 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--color-saffron);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.links-col a {
  color: #CBD5E1;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
}

.links-col a:hover {
  color: var(--color-saffron);
  transform: translateX(5px);
}

.footer-contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.5;
}

.footer-contact-info svg {
  color: var(--color-saffron);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-bottom {
  background: var(--color-navy-dark);
  padding: 1.5rem;
  font-size: 0.85rem;
  color: #94A3B8;
}

.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  margin: 0;
  font-size: 0.85rem;
}

@media (max-width: 640px) {
  .footer-bottom p {
    font-size: 0.65rem;
  }
}

.developer-credit a {
  color: var(--color-saffron);
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s ease;
}

.developer-credit a:hover {
  opacity: 0.8;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .topbar-contact-item span {
    display: none;
  }
}

@media (max-width: 992px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 3rem 1.5rem;
  }
}

/* --------------------------------------------------------------------------
   Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1280px) {
  .main-navbar-container {
    gap: 0.75rem;
    padding: 0.35rem 1rem;
  }
  .nav-link {
    padding: 0.45rem 0.55rem;
    font-size: 0.93rem;
  }
  .nav-right-cluster {
    gap: 0.45rem;
  }
  .join-katchi-btn {
    padding: 0 0.85rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 1120px) {
  .hero-showcase {
    min-height: 440px;
    padding-top: 3.5rem;
    padding-bottom: 3.5rem;
  }
}

@media (max-width: 992px) {
  .main-navbar-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0.4rem 1rem;
  }

  .nav-menu-group.left-group,
  .nav-menu-group.right-group,
  .nav-right-cluster {
    display: none !important;
  }

  .mobile-navbar-socials {
    display: flex;
    gap: 0.65rem;
    align-items: center;
    justify-self: start;
    grid-column: 1;
    grid-row: 1;
  }



  .mobile-nav-toggle {
    display: flex;
    justify-self: end;
    grid-column: 3;
    grid-row: 1;
  }

  .center-brand-container {
    margin: 0 auto;
    grid-column: 2;
    grid-row: 1;
  }

  .logo-badge-wrapper {
    width: 190px;
    height: 60px;
    margin-top: -16px;
  }

  .topbar-container {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0 1rem;
  }

  .topbar-date-box,
  .topbar-socials {
    display: none;
  }

  .topbar-left {
    flex: 1;
    justify-content: flex-start;
  }
  
  .topbar-right {
    flex: none;
    justify-content: flex-end;
  }

  .hero-title {
    font-size: 2.1rem;
  }

  .hero-showcase {
    min-height: 400px;
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  .hero-content {
    padding-left: 3rem;
    padding-right: 3rem;
    text-align: center;
    align-items: center;
  }

  .hero-arrow {
    width: 38px;
    height: 38px;
  }

  .hero-prev {
    left: 0.5rem;
  }

  .hero-next {
    right: 0.5rem;
  }
}

@media (max-width: 640px) {
  .topbar-ticker-wrap {
    display: none;
  }
  
  .topbar-container {
    justify-content: space-between;
    padding: 0 1rem;
    min-height: 38px;
  }

  .topbar-left {
    justify-content: flex-start;
    flex: 1;
  }

  .topbar-right {
    gap: 0;
  }
  
  .topbar-wrapper .topbar-cta-btn {
    display: none;
  }
  
  .mobile-navbar-socials {
    display: none;
  }
  
  .mobile-bottom-action-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    background: var(--color-white-soft);
    border-bottom: 1px solid var(--color-border);
  }
  
  .mobile-bottom-socials {
    display: flex;
    align-items: center;
    gap: 0.6rem;
  }

  .party-name-tamil {
    font-size: 1.15rem;
  }

  .party-sub-title {
    font-size: 0.62rem;
  }

  .party-motto {
    display: none;
  }

  .logo-badge-wrapper {
    width: 195px;
    height: 70px;
    margin-top: -24px;
  }

  .topbar-cta-btn {
    padding: 0.15rem 0.6rem;
    font-size: 0.7rem;
    gap: 0.25rem;
  }

  .lang-btn {
    padding: 0.15rem 0.4rem;
    font-size: 0.65rem;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-description {
    font-size: 0.95rem;
  }

  .hero-btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary-hero,
  .btn-secondary-hero {
    width: 100%;
    justify-content: center;
  }
}


/* --------------------------------------------------------------------------
   CTA Section (Get Involved)
   -------------------------------------------------------------------------- */
.cta-section {
  padding: 40px 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.7) 100%), url('../images/cta-bg.png') center/cover no-repeat;
  position: relative;
  border-top: 1px solid var(--color-border);
  color: var(--color-text-main);
}

.cta-section .section-title {
  color: var(--color-navy-deep);
}

.cta-description {
  color: var(--color-text-muted) !important;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.cta-image-col {
  display: flex;
  justify-content: center;
  position: relative;
}

.cta-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 250px;
  aspect-ratio: 1/1;
  border-radius: 50%;
  padding: 15px;
  background: white;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-round-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.cta-content-col .section-title {
  margin-bottom: 1rem;
}

.highlight-saffron {
  color: var(--color-saffron);
}

.cta-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

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

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.cta-input,
.cta-select {
  width: 100%;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font-size: 1rem;
  background: var(--color-white-soft);
  color: var(--color-text-main);
  transition: all 0.3s ease;
  font-family: inherit;
}

.cta-input:focus,
.cta-select:focus {
  outline: none;
  border-color: var(--color-saffron);
  box-shadow: 0 0 0 4px rgba(255, 103, 31, 0.1);
  background: white;
}

.cta-submit-btn {
  margin-top: 0.5rem;
  width: 100%;
  justify-content: center;
  font-size: 1.1rem;
  padding: 1.1rem 2rem;
}

@media (max-width: 992px) {
  .cta-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .cta-image-col {
    order: -1;
  }
}

@media (max-width: 640px) {
  .form-group-row {
    grid-template-columns: 1fr;
  }
}
