/* ==========================================================================
   Sistakaranaalu Community — Main Stylesheet
   Premium cultural community theme. Structured for WordPress conversion.
   --------------------------------------------------------------------------
   TABLE OF CONTENTS
   1.  Design Tokens (CSS Variables)
   2.  Reset & Base
   3.  Typography
   4.  Layout / Container
   5.  Buttons & Ripple
   6.  Badges, Alerts, Forms, Tables
   7.  Preloader / Spinner
   8.  Header & Navigation
   9.  Hero
   10. Section Heading
   11. About
   12. Statistics
   13. Vision (Mission/Vision/Values)
   14. Services
   15. Leaders
   16. News
   17. Events Timeline
   18. Achievements
   19. Testimonials
   20. Gallery
   21. Call To Action
   22. Donation
   23. Newsletter
   24. FAQ Accordion
   25. Contact Preview
   26. Footer
   27. Back To Top
   28. Page Hero / Breadcrumb (inner pages)
   29. Cards (members, pricing, profile, feature)
   ========================================================================== */

/* ==========================================================================
   1. Design Tokens
   ========================================================================== */
:root {
  /* Brand colors */
  --color-maroon: #1E5FA8;
  --color-maroon-dark: #16487F;
  --color-maroon-light: #3E7FC4;
  --color-gold: #6FB7EC;
  --color-gold-dark: #2E86CC;
  --color-gold-light: #B6DEF8;

  /* Neutrals */
  --color-bg: #F4F9FE;
  --color-white: #FFFFFF;
  --color-text: #333333;
  --color-muted: #6b6b6b;
  --color-light-gray: #EAF2FB;
  --color-border: #D9E8F6;
  --color-success: #2E7D32;

  /* Typography */
  --font-heading: 'Poppins', system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: 'Open Sans', system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing scale */
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;

  /* Layout */
  --container-max: 1320px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;

  /* Effects */
  --shadow-sm: 0 4px 14px rgba(30, 95, 168, 0.06);
  --shadow-md: 0 12px 34px rgba(30, 95, 168, 0.10);
  --shadow-lg: 0 24px 60px rgba(30, 95, 168, 0.16);
  --transition: 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  /* Header */
  --header-height: 96px;
}

/* ==========================================================================
   2. Reset & Base
   ========================================================================== */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-maroon); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--color-gold-dark); }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--color-gold); color: #fff; }

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 2000;
  background: var(--color-maroon); color: #fff;
  padding: 0.75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* ==========================================================================
   3. Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-maroon);
  line-height: 1.2;
  margin: 0 0 0.75rem;
  font-weight: 700;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
p { margin: 0 0 1rem; }
.text-gold { color: var(--color-gold-dark); }
.text-muted-2 { color: var(--color-muted); }
.lead { font-size: 1.15rem; color: var(--color-muted); }

/* ==========================================================================
   4. Layout / Container
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}
.section { padding: var(--space-xl) 0; }
.section--tight { padding: var(--space-lg) 0; }
.section--gray { background: var(--color-light-gray); }
.section--cream { background: var(--color-bg); }

.grid { display: grid; gap: 2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ==========================================================================
   5. Buttons & Ripple
   ========================================================================== */
.btn {
  --btn-bg: var(--color-maroon);
  --btn-color: #fff;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 0.85rem 1.9rem;
  border: 2px solid transparent;
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-color);
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition);
}
.btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  color: var(--btn-color);
}
.btn:active { transform: translateY(-1px); }

.btn--gold { --btn-bg: var(--color-gold); --btn-color: #16487F; }
.btn--gold:hover { --btn-bg: var(--color-gold-dark); --btn-color: #fff; }

.btn--outline {
  --btn-bg: transparent;
  --btn-color: var(--color-maroon);
  border-color: var(--color-maroon);
}
.btn--outline:hover { --btn-bg: var(--color-maroon); --btn-color: #fff; }

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.btn--ghost-light:hover { --btn-bg: #fff; --btn-color: var(--color-maroon); }

.btn--lg { padding: 1.05rem 2.4rem; font-size: 1.05rem; }
.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }
.btn--block { display: flex; width: 100%; justify-content: center; }

/* Ripple effect element injected by JS */
.ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255, 255, 255, 0.45);
  animation: ripple-anim 0.6s linear;
  pointer-events: none;
}

/* ==========================================================================
   6. Badges, Alerts, Forms, Tables
   ========================================================================== */
.badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  background: rgba(111, 183, 236, 0.16);
  color: var(--color-gold-dark);
}
.badge--maroon { background: rgba(30, 95, 168, 0.1); color: var(--color-maroon); }
.badge--success { background: rgba(46, 125, 50, 0.12); color: var(--color-success); }

.alert {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--color-gold);
  background: rgba(111, 183, 236, 0.1);
  margin-bottom: 1rem;
}
.alert i { color: var(--color-gold-dark); margin-top: 0.2rem; }
.alert--success { border-color: var(--color-success); background: rgba(46, 125, 50, 0.08); }
.alert--success i { color: var(--color-success); }

/* Forms */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--color-maroon);
}
.form-control {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: #fff;
  color: var(--color-text);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control::placeholder { color: #a8a8a8; }
.form-control:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(111, 183, 236, 0.15);
}
textarea.form-control { min-height: 140px; resize: vertical; }

/* Tables */
.table-wrap { overflow-x: auto; }
.table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.table th, .table td { padding: 0.95rem 1.2rem; text-align: left; }
.table thead th {
  background: var(--color-maroon);
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
}
.table tbody tr { border-bottom: 1px solid var(--color-border); }
.table tbody tr:nth-child(even) { background: var(--color-light-gray); }
.table tbody tr:hover { background: rgba(111, 183, 236, 0.08); }

/* ==========================================================================
   7. Preloader / Spinner
   ========================================================================== */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: grid;
  place-items: center;
  background: var(--color-bg);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.is-hidden { opacity: 0; visibility: hidden; }
.spinner {
  width: 56px;
  height: 56px;
  border: 5px solid rgba(111, 183, 236, 0.25);
  border-top-color: var(--color-maroon);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

/* ==========================================================================
   8. Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1200; /* above the mobile nav backdrop (1050) so the drawer is tappable */
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: #fff;
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid rgba(30, 95, 168, 0.08);
  transition: background var(--transition), box-shadow var(--transition), height var(--transition);
}
.site-header.is-scrolled {
  background: #fff;
  box-shadow: var(--shadow-md);
  height: 82px;
}
/* On inner pages header always solid */
.site-header.header--solid {
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
}

.brand { display: flex; align-items: center; flex-shrink: 0; }
/* Wide rectangular wordmark logo (transparent, padding trimmed so it fills its
   box). Header is white, so the logo sits cleanly with no card/box. */
.brand__logo-img {
  height: 80px;
  width: auto;
  display: block;
  transition: height var(--transition);
}
.site-header.is-scrolled .brand__logo-img { height: 66px; }
.brand__logo {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-maroon), var(--color-gold-dark));
  display: grid; place-items: center;
  color: #fff; font-family: var(--font-heading);
  font-weight: 700; font-size: 1.25rem;
  box-shadow: var(--shadow-sm);
}
.brand__name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-maroon);
  line-height: 1.1;
}
.brand__tag { display: block; font-family: var(--font-body); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-gold-dark); }

/* Header changes text color when transparent over hero */
/* Header text/icons sit on a solid white header in all states */

/* Primary navigation — sits just after the logo (left), actions pushed right */
.primary-nav { margin-right: auto; }
.nav__list { display: flex; gap: 0.15rem; }
.nav__link {
  position: relative;
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.7rem;
  color: var(--color-text);
  white-space: nowrap;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.7rem; right: 0.7rem;
  bottom: 0.25rem;
  height: 2px;
  background: var(--color-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__link:hover,
.nav__link.is-active { color: var(--color-gold-dark); }

/* Dropdown menu (Gallery years) */
.has-dropdown { position: relative; }
.nav__caret { font-size: 0.65rem; margin-left: 0.35rem; transition: transform var(--transition); }
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  margin-top: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 1200;
}
.has-dropdown:hover > .dropdown,
.has-dropdown:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.has-dropdown:hover .nav__caret { transform: rotate(180deg); }
.dropdown__link {
  display: block;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--color-text);
}
.dropdown__link:hover,
.dropdown__link.is-active {
  background: rgba(111, 183, 236, 0.16);
  color: var(--color-maroon);
}
/* Toggle button only used on mobile; hidden on desktop */
.dropdown-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

/* Header actions */
.header-actions { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.icon-btn {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  border: none; background: transparent;
  color: var(--color-maroon);
  border-radius: 50%;
  font-size: 1.05rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.icon-btn:hover { background: rgba(111, 183, 236, 0.18); transform: translateY(-2px); }
.header-actions .text-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.5rem 0.6rem;
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  border: none; background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 10px;
}
/* Drawer close (X) button — only shown inside the mobile drawer */
.nav-close { display: none; }
.nav-toggle span {
  display: block; height: 2.5px; width: 100%;
  background: var(--color-maroon);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* In-drawer CTAs (Login + Join Community) — hidden on desktop, shown in the
   mobile nav drawer (see responsive.css). */
.nav-cta { display: none; }

/* ==========================================================================
   9. Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero__bg {
  position: absolute; inset: 0;
  background-image: url("../images/hero.svg");
  background-size: cover;
  background-position: center;
  z-index: -2;
  will-change: transform;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(17, 54, 95, 0.88) 0%, rgba(30, 95, 168, 0.6) 55%, rgba(17, 54, 95, 0.85) 100%);
  z-index: -1;
}
.hero__content { max-width: 760px; padding-block: 8rem 6rem; }
.hero__eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--color-gold-light);
  margin-bottom: 1rem;
}
.hero h1 { color: #fff; margin-bottom: 1.25rem; }
.hero__sub {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  max-width: 560px;
}
.hero__sub span { display: block; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Floating decorative shapes */
.hero__shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.18;
  z-index: -1;
  background: radial-gradient(circle at 30% 30%, var(--color-gold-light), transparent 70%);
}
.hero__shape--1 { width: 240px; height: 240px; top: 12%; right: 8%; }
.hero__shape--2 { width: 150px; height: 150px; bottom: 16%; right: 26%; background: radial-gradient(circle at 30% 30%, #fff, transparent 70%); }
.hero__shape--3 { width: 90px; height: 90px; top: 30%; left: 6%; }

/* Scroll indicator */
.scroll-down {
  position: absolute;
  left: 50%; bottom: 28px;
  transform: translateX(-50%);
  color: #fff;
  display: flex; flex-direction: column;
  align-items: center; gap: 0.4rem;
  font-size: 0.75rem; letter-spacing: 0.2em; text-transform: uppercase;
}
.scroll-down .mouse {
  width: 26px; height: 42px;
  border: 2px solid rgba(255,255,255,0.7);
  border-radius: 14px;
  position: relative;
}
.scroll-down .mouse::after {
  content: ""; position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 8px;
  background: #fff; border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-wheel 1.6s ease infinite;
}

/* ==========================================================================
   10. Section Heading
   ========================================================================== */
.section-head { max-width: 720px; margin: 0 auto 3.5rem; text-align: center; }
.section-head.section-head--left { margin-inline: 0; text-align: left; }
.section-head .eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--color-gold-dark);
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 2.4rem;
}
.section-head .eyebrow::before {
  content: ""; position: absolute;
  left: 0; top: 50%;
  width: 2rem; height: 2px;
  background: var(--color-gold);
  transform: translateY(-50%);
}
.section-head.section-head--left .eyebrow { padding-left: 2.4rem; }
.section-head p { color: var(--color-muted); margin-bottom: 0; }

/* ==========================================================================
   11. About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
}
.about-media { position: relative; }
.about-media img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
}
.about-media__badge {
  position: absolute;
  bottom: -28px; right: -10px;
  background: var(--color-maroon);
  color: #fff;
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-media__badge strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--color-gold-light);
}
.about-media__badge span { font-size: 0.8rem; letter-spacing: 0.05em; }
.about-mini-stats {
  display: flex;
  gap: 2rem;
  margin: 1.75rem 0;
  flex-wrap: wrap;
}
.about-mini-stats .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-maroon);
}
.about-mini-stats .lbl { font-size: 0.85rem; color: var(--color-muted); }

/* ==========================================================================
   12. Statistics
   ========================================================================== */
.stats {
  background: linear-gradient(135deg, var(--color-maroon) 0%, var(--color-maroon-dark) 100%);
  position: relative;
  overflow: hidden;
}
.stats::before {
  content: ""; position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(111, 183, 236,0.22), transparent 45%);
}
.stats-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
}
.stat-card {
  text-align: center;
  padding: 1.75rem 1rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform var(--transition), background var(--transition);
}
.stat-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, 0.12); }
.stat-card i { font-size: 1.8rem; color: var(--color-gold-light); margin-bottom: 0.6rem; }
.stat-card .count {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}
.stat-card .count-suffix { color: var(--color-gold-light); }
.stat-card .label { color: rgba(255, 255, 255, 0.82); font-size: 0.9rem; margin-top: 0.4rem; }

/* ==========================================================================
   13. Vision (Mission / Vision / Values)
   ========================================================================== */
.vision-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.vision-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.vision-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.vision-card .icon-circle {
  width: 84px; height: 84px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 2rem;
  color: #fff;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  box-shadow: 0 10px 24px rgba(111, 183, 236, 0.35);
}
.vision-card:nth-child(2) .icon-circle { background: linear-gradient(135deg, var(--color-maroon-light), var(--color-maroon)); box-shadow: 0 10px 24px rgba(30, 95, 168,0.3); }

/* ==========================================================================
   14. Services
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}
.service-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 2rem 1.6rem;
  border: 1px solid var(--color-border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card::before {
  content: ""; position: absolute;
  left: 0; top: 0; height: 4px; width: 100%;
  background: linear-gradient(90deg, var(--color-gold), var(--color-maroon));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .service-icon {
  width: 60px; height: 60px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  font-size: 1.5rem;
  color: var(--color-maroon);
  background: rgba(111, 183, 236, 0.14);
  margin-bottom: 1.2rem;
  transition: background var(--transition), color var(--transition);
}
.service-card:hover .service-icon { background: var(--color-maroon); color: #fff; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.service-card p { color: var(--color-muted); font-size: 0.92rem; margin-bottom: 0; }

/* ==========================================================================
   15. Leaders
   ========================================================================== */
.leaders-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.leader-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.leader-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.leader-card__photo { position: relative; aspect-ratio: 1 / 1; overflow: hidden; }
.leader-card__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
/* Keep the top of the portrait (head) in frame for photos shot with little headroom */
.leader-card__photo img.leader-img--top { object-position: top center; }
.leader-card:hover .leader-card__photo img { transform: scale(1.08); }
.leader-card__social {
  position: absolute;
  left: 0; right: 0; bottom: -60px;
  display: flex; justify-content: center; gap: 0.5rem;
  padding: 0.75rem;
  background: linear-gradient(transparent, rgba(30, 95, 168,0.85));
  transition: bottom var(--transition);
}
.leader-card:hover .leader-card__social { bottom: 0; }
.leader-card__social a {
  width: 38px; height: 38px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.15); color: #fff;
  transition: background var(--transition), transform var(--transition);
}
.leader-card__social a:hover { background: var(--color-gold); transform: translateY(-4px); }
.leader-card__body { padding: 1.25rem 1rem 1.5rem; }
.leader-card__body h3 { font-size: 1.15rem; margin-bottom: 0.2rem; }
.leader-card__body .role { color: var(--color-gold-dark); font-size: 0.88rem; font-weight: 600; }

/* ==========================================================================
   16. News
   ========================================================================== */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
  transition: transform var(--transition), box-shadow var(--transition);
}
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.news-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.news-card:hover .news-card__media img { transform: scale(1.07); }
.news-card__cat {
  position: absolute; top: 1rem; left: 1rem;
  background: var(--color-maroon); color: #fff;
}
.news-card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news-card__meta { display: flex; gap: 1rem; font-size: 0.82rem; color: var(--color-muted); margin-bottom: 0.6rem; }
.news-card__meta i { color: var(--color-gold-dark); margin-right: 0.3rem; }
.news-card h3 { font-size: 1.25rem; margin-bottom: 0.75rem; }
.news-card h3 a:hover { color: var(--color-gold-dark); }
.news-card .read-more {
  margin-top: auto;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
}
.news-card .read-more i { transition: transform var(--transition); }
.news-card .read-more:hover i { transform: translateX(5px); }

/* ==========================================================================
   17. Events Timeline
   ========================================================================== */
.timeline { position: relative; max-width: 960px; margin: 0 auto; }
.timeline::before {
  content: ""; position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px; background: var(--color-border);
  transform: translateX(-50%);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 1.5rem 2.5rem;
}
.timeline-item:nth-child(odd) { left: 0; text-align: right; }
.timeline-item:nth-child(even) { left: 50%; }
.timeline-item::after {
  content: "";
  position: absolute;
  top: 2.2rem;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 4px solid #fff;
  box-shadow: 0 0 0 2px var(--color-gold);
}
.timeline-item:nth-child(odd)::after { right: -9px; }
.timeline-item:nth-child(even)::after { left: -9px; }
.event-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: left;
  transition: transform var(--transition), box-shadow var(--transition);
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.event-card__media { aspect-ratio: 16 / 9; overflow: hidden; }
.event-card__media img { width: 100%; height: 100%; object-fit: cover; }
.event-card__body { padding: 1.4rem; }
.event-card__date {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-heading); font-weight: 600;
  color: var(--color-gold-dark); font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.event-card__loc { color: var(--color-muted); font-size: 0.88rem; margin-bottom: 1rem; }
.event-card__loc i { color: var(--color-maroon); margin-right: 0.3rem; }

/* ==========================================================================
   18. Achievements
   ========================================================================== */
.achievement-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
.achievement-card {
  display: flex; gap: 1.25rem;
  background: #fff;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.achievement-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.achievement-card .ach-icon {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 1.4rem; color: #fff;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
}
.achievement-card h3 { font-size: 1.1rem; margin-bottom: 0.35rem; }
.achievement-card p { font-size: 0.9rem; color: var(--color-muted); margin-bottom: 0; }

/* ==========================================================================
   19. Testimonials
   ========================================================================== */
.testimonials { background: var(--color-light-gray); }
.testimonial-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  height: 100%;
  position: relative;
}
.testimonial-card .quote-mark {
  font-size: 3rem; line-height: 1;
  color: var(--color-gold);
  font-family: Georgia, serif;
  opacity: 0.5;
}
.testimonial-card p { font-style: italic; color: #444; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.testimonial-author img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; }
.testimonial-author .name { font-family: var(--font-heading); font-weight: 600; color: var(--color-maroon); }
.testimonial-author .prof { font-size: 0.85rem; color: var(--color-muted); }
.testimonial-stars { color: var(--color-gold); margin-bottom: 0.5rem; }

/* ==========================================================================
   20. Gallery
   ========================================================================== */
.gallery-masonry { columns: 3; column-gap: 1.25rem; }
.gallery-item {
  position: relative;
  margin-bottom: 1.25rem;
  break-inside: avoid;
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
}
.gallery-item img { width: 100%; display: block; transition: transform 0.6s ease; }
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(transparent 40%, rgba(30, 95, 168,0.8));
  opacity: 0;
  display: flex; align-items: flex-end;
  padding: 1.25rem;
  color: #fff;
  transition: opacity var(--transition);
}
.gallery-item:hover .gallery-item__overlay { opacity: 1; }
.gallery-item__overlay i {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  font-size: 1.6rem;
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-item__overlay i { transform: translate(-50%, -50%) scale(1); }

/* ==========================================================================
   21. Call To Action
   ========================================================================== */
.cta {
  position: relative;
  color: #fff;
  text-align: center;
  background: linear-gradient(135deg, var(--color-maroon-dark), var(--color-maroon));
  overflow: hidden;
}
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 30%, rgba(111, 183, 236,0.25), transparent 40%),
             radial-gradient(circle at 80% 70%, rgba(111, 183, 236,0.2), transparent 40%);
}
.cta__inner { position: relative; max-width: 760px; margin: 0 auto; }
.cta h2 { color: #fff; }
.cta p { color: rgba(255,255,255,0.88); margin-bottom: 2rem; }
.cta__actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   22. Donation
   ========================================================================== */
.donation-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; }
.donation-box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border-top: 5px solid var(--color-gold);
}
.progress-wrap { margin: 1.5rem 0; }
.progress-meta { display: flex; justify-content: space-between; font-family: var(--font-heading); font-weight: 600; margin-bottom: 0.5rem; }
.progress-meta .raised { color: var(--color-maroon); }
.progress-meta .goal { color: var(--color-muted); }
.progress-bar {
  height: 14px;
  background: var(--color-light-gray);
  border-radius: var(--radius-pill);
  overflow: hidden;
}
.progress-bar__fill {
  height: 100%;
  width: 0;
  border-radius: var(--radius-pill);
  background: linear-gradient(90deg, var(--color-gold), var(--color-maroon));
  transition: width 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.donation-amounts { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.5rem 0; }
.donation-amounts button {
  flex: 1; min-width: 80px;
  padding: 0.7rem;
  border: 1.5px solid var(--color-border);
  background: #fff;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading); font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
}
.donation-amounts button:hover,
.donation-amounts button.is-active { background: var(--color-maroon); color: #fff; border-color: var(--color-maroon); }

/* ==========================================================================
   23. Newsletter
   ========================================================================== */
.newsletter {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
  color: #fff;
}
.newsletter-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.newsletter h2 { color: #fff; }
.newsletter p { color: rgba(255,255,255,0.92); }
.newsletter-form { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.newsletter-form .form-control { flex: 1; min-width: 220px; border: none; }
.newsletter-illustration { text-align: center; font-size: clamp(6rem, 16vw, 12rem); color: rgba(255,255,255,0.85); }

/* ==========================================================================
   24. FAQ Accordion
   ========================================================================== */
.faq-wrap { max-width: 840px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: transparent;
  border: none;
  padding: 1.25rem 1.5rem;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 1.05rem;
  color: var(--color-maroon);
  cursor: pointer;
}
.faq-question .faq-icon { transition: transform var(--transition); color: var(--color-gold-dark); flex-shrink: 0; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
}
.faq-item.is-open .faq-answer { padding-bottom: 1.4rem; }
.faq-answer p { margin: 0; color: var(--color-muted); }

/* ==========================================================================
   25. Contact Preview
   ========================================================================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3rem; align-items: stretch; }
.contact-info-list { display: grid; gap: 1.25rem; margin-bottom: 1.5rem; }
.contact-info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  background: #fff; padding: 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.contact-info-item .ci-icon {
  flex-shrink: 0;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(30, 95, 168,0.1); color: var(--color-maroon);
  font-size: 1.1rem;
}
.contact-info-item h4 { margin: 0 0 0.2rem; font-size: 1rem; }
.contact-info-item p { margin: 0; color: var(--color-muted); font-size: 0.92rem; }
.map-placeholder {
  width: 100%; min-height: 320px;
  border-radius: var(--radius-md);
  background: repeating-linear-gradient(45deg, #efe9dd, #efe9dd 12px, #f6f1e7 12px, #f6f1e7 24px);
  display: grid; place-items: center;
  color: var(--color-muted);
  border: 1px dashed var(--color-border);
}
.map-placeholder i { font-size: 2.5rem; color: var(--color-maroon); }

/* ==========================================================================
   26. Footer
   ========================================================================== */
.site-footer {
  background: #fff;
  color: var(--color-text);
  padding-top: var(--space-xl);
  border-top: 1px solid rgba(30, 95, 168, 0.12);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: var(--space-lg);
}
.footer-col h4 {
  color: var(--color-maroon);
  font-size: 1.1rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.footer-col h4::after {
  content: ""; position: absolute;
  left: 0; bottom: 0;
  width: 40px; height: 2px;
  background: var(--color-gold);
}
.footer-brand { display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1rem; }
/* Same rule as the header logo: transparent art on a white background, no card */
.footer-brand__logo {
  height: 86px;
  width: auto;
  display: block;
}
.footer-brand .brand__name { color: var(--color-maroon); }
.footer-col p { font-size: 0.92rem; color: #555; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a { color: #555; font-size: 0.92rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.footer-links a:hover { color: var(--color-maroon); padding-left: 5px; }
.footer-links a i { font-size: 0.7rem; color: var(--color-gold-dark); }
.footer-contact li { display: flex; gap: 0.75rem; margin-bottom: 0.85rem; font-size: 0.92rem; color: #555; }
.footer-contact i { color: var(--color-gold-dark); margin-top: 0.25rem; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.footer-social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(30, 95, 168,0.08); color: var(--color-maroon);
  transition: background var(--transition), transform var(--transition), color var(--transition);
}
.footer-social a:hover { background: var(--color-gold); color: #fff; transform: translateY(-4px); }
.footer-newsletter .form-control { margin-bottom: 0.75rem; }
.footer-bottom {
  border-top: 1px solid rgba(0,0,0,0.1);
  padding: 1.5rem 0;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; flex-wrap: wrap;
  font-size: 0.88rem;
  color: #555;
}
.footer-bottom-links { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.footer-bottom-links a { color: #555; }
.footer-bottom-links a:hover { color: var(--color-maroon); }

/* ==========================================================================
   27. Back To Top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 50px; height: 50px;
  border-radius: 50%;
  border: none;
  background: var(--color-maroon);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition);
  z-index: 900;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--color-gold-dark); transform: translateY(-4px); }

/* ==========================================================================
   28. Page Hero / Breadcrumb (inner pages)
   ========================================================================== */
.page-hero {
  position: relative;
  padding: calc(var(--header-height) + 4rem) 0 4rem;
  background: linear-gradient(120deg, rgba(17, 54, 95,0.92), rgba(30, 95, 168,0.8)),
             linear-gradient(135deg, #1E5FA8, #103A6B);
  color: #fff;
  text-align: center;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute;
  right: -60px; top: -60px;
  width: 260px; height: 260px; border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(111, 183, 236,0.3), transparent 70%);
}
.page-hero h1 { color: #fff; position: relative; }
.page-hero p { color: rgba(255,255,255,0.85); max-width: 640px; margin: 0 auto; position: relative; }
.breadcrumb {
  display: flex; justify-content: center; gap: 0.5rem;
  margin-top: 1rem; font-size: 0.9rem;
  position: relative;
}
.breadcrumb a { color: var(--color-gold-light); }
.breadcrumb span { color: rgba(255,255,255,0.7); }
.breadcrumb .sep { color: rgba(255,255,255,0.5); }

/* ==========================================================================
   29. Cards (members, pricing, profile, feature, album)
   ========================================================================== */
/* Year album cards (gallery landing) */
.album-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.album-card {
  position: relative;
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 3;
  transition: transform var(--transition), box-shadow var(--transition);
}
.album-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.album-card:hover img { transform: scale(1.08); }
.album-card__overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, rgba(30, 95, 168,0.25), rgba(17, 54, 95,0.78));
  padding: 1.5rem;
}
.album-card__year {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}
.album-card__meta { font-size: 0.9rem; color: var(--color-gold-light); margin-top: 0.35rem; }
.album-card__cta {
  margin-top: 1rem;
  font-family: var(--font-heading);
  font-weight: 600; font-size: 0.85rem;
  letter-spacing: 0.05em;
  display: inline-flex; align-items: center; gap: 0.45rem;
  padding: 0.5rem 1.1rem;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: var(--radius-pill);
  transition: background var(--transition), color var(--transition);
}
.album-card:hover .album-card__cta { background: var(--color-gold); border-color: var(--color-gold); color: #16487F; }

.member-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.75rem; }
.profile-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
}
.profile-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.profile-card__cover { height: 90px; background: linear-gradient(135deg, var(--color-maroon), var(--color-gold-dark)); }
.profile-card__avatar {
  width: 96px; height: 96px; border-radius: 50%;
  object-fit: cover; margin: -48px auto 0;
  border: 4px solid #fff; position: relative;
}
.profile-card__body { padding: 1rem 1rem 1.75rem; }
.profile-card__body h3 { font-size: 1.15rem; margin-bottom: 0.15rem; }
.profile-card__body .role { color: var(--color-gold-dark); font-size: 0.85rem; }
.profile-card__meta { display: flex; justify-content: center; gap: 1.25rem; margin-top: 0.75rem; font-size: 0.8rem; color: var(--color-muted); }

.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.pricing-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}
.pricing-card.is-featured {
  border-color: var(--color-gold);
  transform: scale(1.04);
  box-shadow: var(--shadow-lg);
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.pricing-card .price {
  font-family: var(--font-heading); font-weight: 700;
  font-size: 2.6rem; color: var(--color-maroon);
  margin: 0.5rem 0;
}
.pricing-card .price small { font-size: 1rem; color: var(--color-muted); font-weight: 400; }
.pricing-card ul { margin: 1.5rem 0; text-align: left; }
.pricing-card ul li { padding: 0.5rem 0; display: flex; gap: 0.6rem; align-items: center; }
.pricing-card ul li i { color: var(--color-success); }

.feature-card {
  display: flex; gap: 1.25rem;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.feature-card .feat-icon {
  flex-shrink: 0; width: 54px; height: 54px;
  border-radius: var(--radius-sm); display: grid; place-items: center;
  background: rgba(111, 183, 236,0.15); color: var(--color-maroon); font-size: 1.3rem;
}

/* Utility */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.text-center { text-align: center; }
.mt-3 { margin-top: 1.5rem; }
.flex-center { display: flex; align-items: center; justify-content: center; }

/* ==========================================================================
   29. Language switcher (English / Telugu) + Google Translate cleanup
   ========================================================================== */
.lang-switch { position: relative; }
.lang-switch__btn {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 42px;
  gap: 0.45rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1.5px solid var(--color-border);
  background: #fff;
  color: var(--color-maroon);
}
.lang-switch__btn:hover {
  background: rgba(111, 183, 236, 0.14);
  border-color: var(--color-gold);
  color: var(--color-maroon);
}
.lang-switch__btn i { font-size: 1rem; }
.lang-switch__current {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  line-height: 1;
}
.lang-switch__menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 160px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.4rem;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  z-index: 1200;
}
.lang-switch.is-open .lang-switch__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-switch__opt {
  display: block;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text);
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}
.lang-switch__opt:hover { background: rgba(111, 183, 236, 0.16); color: var(--color-maroon); }
.lang-switch__opt.is-active { color: var(--color-maroon); font-weight: 700; }

/* Hide Google Translate's injected banner / tooltip / default widget */
.goog-te-banner-frame.skiptranslate,
.goog-te-gadget-icon,
#goog-gt-tt,
.goog-te-balloon-frame,
#google_translate_element { display: none !important; }
body { top: 0 !important; position: static !important; }
.skiptranslate iframe { visibility: hidden !important; height: 0 !important; border: 0 !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }


/* ==========================================================================
   30. Hero Image Slider (homepage, above hero)
   Full-width auto-playing showcase. Source images are A4-ratio event
   posters, so each slide shows the full image (object-fit: contain) over a
   blurred fill of itself to avoid cropping text and ugly letterbox bars.
   ========================================================================== */
.hero-slider-section {
  margin-top: var(--header-height);
  background: var(--color-maroon-dark);
}

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

.hero-slide {
  position: relative;
  width: 100%;
  height: clamp(360px, 56vw, 660px);
  display: grid;
  place-items: center;
  overflow: hidden;
}

/* Blurred backdrop fill derived from the same image */
.hero-slide::before {
  content: "";
  position: absolute;
  inset: -8%;
  background-image: var(--slide-img);
  background-size: cover;
  background-position: center;
  filter: blur(28px) brightness(0.55) saturate(1.1);
  transform: scale(1.1);
  z-index: 0;
}

/* Subtle maroon wash to tie slides into the brand palette */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(17, 54, 95, 0.32) 0%, rgba(17, 54, 95, 0.12) 40%, rgba(17, 54, 95, 0.45) 100%);
  z-index: 1;
}

/* The actual poster/photo, shown in full */
.hero-slide__img {
  position: relative;
  z-index: 2;
  max-width: min(96%, 1180px);
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

/* Pagination bullets */
.hero-slider .swiper-pagination {
  bottom: 16px;
}
.hero-slider .swiper-pagination-bullet {
  width: 11px;
  height: 11px;
  background: rgba(255, 255, 255, 0.65);
  opacity: 1;
  transition: background var(--transition), transform var(--transition);
}
.hero-slider .swiper-pagination-bullet-active {
  background: var(--color-gold);
  transform: scale(1.25);
}

/* Navigation arrows */
.hero-slider .swiper-button-prev,
.hero-slider .swiper-button-next {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  transition: background var(--transition), transform var(--transition);
}
.hero-slider .swiper-button-prev:hover,
.hero-slider .swiper-button-next:hover {
  background: var(--color-gold);
  color: #16487F;
  transform: scale(1.05);
}
.hero-slider .swiper-button-prev::after,
.hero-slider .swiper-button-next::after {
  font-size: 1.1rem;
  font-weight: 700;
}


/* ==========================================================================
   31. Join Community Modal
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: rgba(42, 16, 16, 0.6);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity var(--transition), visibility var(--transition);
}
.modal-overlay.is-open { opacity: 1; visibility: visible; pointer-events: auto; }

.modal {
  position: relative;
  display: block;          /* override Bootstrap's .modal { display:none } */
  width: 100%;
  max-width: 460px;
  height: auto;            /* override Bootstrap's .modal { height:100% } */
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 2.5rem 2rem 2rem;
  transform: translateY(20px) scale(0.97);
  transition: transform var(--transition);
}
.modal-overlay.is-open .modal { transform: translateY(0) scale(1); }

.modal__close {
  position: absolute;
  top: 0.85rem; right: 0.85rem;
  width: 40px; height: 40px;
  display: grid; place-items: center;
  border: none;
  border-radius: 50%;
  background: var(--color-light-gray);
  color: var(--color-maroon);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.modal__close:hover { background: var(--color-maroon); color: #fff; transform: rotate(90deg); }

.modal__head { text-align: center; margin-bottom: 1.5rem; }
.modal__icon {
  width: 64px; height: 64px;
  margin: 0 auto 1rem;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 1.6rem;
  color: #fff;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  box-shadow: 0 10px 24px rgba(111, 183, 236, 0.35);
}
.modal__head h3 { margin-bottom: 0.4rem; }
.modal__head p { color: var(--color-muted); font-size: 0.95rem; margin: 0; }

.modal__form .form-group { margin-bottom: 1rem; }
.req { color: var(--color-maroon); font-weight: 700; }
.field-error {
  display: none;
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: #c0392b;
}
.field-error.is-visible { display: block; }
.form-control.is-invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192, 57, 43, 0.12);
}
.modal__form .btn { margin-top: 0.5rem; }

.modal__thanks { text-align: center; padding: 1rem 0 0.5rem; }
.modal__thanks-icon {
  font-size: 3.4rem;
  color: var(--color-success);
  display: block;
  margin-bottom: 0.85rem;
}
.modal__thanks h3 { margin-bottom: 0.5rem; }
.modal__thanks p { color: var(--color-muted); margin-bottom: 1.5rem; }


/* ==========================================================================
   32. Mission section (bilingual content)
   ========================================================================== */
.mission-content { max-width: 880px; margin: 0 auto; }
.mission-content p {
  font-size: 1.08rem;
  line-height: 1.95;
  color: var(--color-text);
  margin-bottom: 1.25rem;
}
.mission-content p:last-child { margin-bottom: 0; }
/* Telugu reads better a touch larger with more line spacing */
.mission-content [lang="te"] p { font-size: 1.14rem; line-height: 2.05; }

/* ==========================================================================
   30. Legal & Policy Documents (about page) + lightbox content
   ========================================================================== */
.legal-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.legal-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  height: 100%;
  padding: 1.4rem 1.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  color: var(--color-text);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}
.legal-link:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-gold);
  color: var(--color-text);
}
.legal-link__icon {
  flex-shrink: 0;
  width: 54px; height: 54px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  font-size: 1.4rem;
  color: var(--color-maroon);
  background: rgba(111, 183, 236, 0.14);
  transition: background var(--transition), color var(--transition);
}
.legal-link:hover .legal-link__icon { background: var(--color-maroon); color: #fff; }
.legal-link__text { flex: 1; }
.legal-link__text strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--color-maroon);
}
.legal-link__text small { color: var(--color-muted); font-size: 0.85rem; line-height: 1.4; }
.legal-link__open { color: var(--color-gold-dark); font-size: 0.95rem; transition: transform var(--transition); }
.legal-link:hover .legal-link__open { transform: translate(3px, -3px); }

/* Hidden source container for the lightbox content */
.legal-source { display: none; }

/* Document body rendered inside GLightbox */
.legal-doc {
  font-family: var(--font-body);
  max-width: 760px;
  padding: 2.5rem;
  background: #fff;
  border-radius: var(--radius-md);
  color: var(--color-text);
}
.legal-doc__head { border-bottom: 2px solid var(--color-border); margin-bottom: 1.5rem; padding-bottom: 1rem; }
.legal-doc h2 { margin-bottom: 0.35rem; }
.legal-doc__updated { color: var(--color-muted); font-size: 0.85rem; margin-bottom: 0; }
.legal-doc h3 {
  font-size: 1.1rem;
  color: var(--color-maroon);
  margin: 1.5rem 0 0.5rem;
}
.legal-doc p { color: var(--color-text); }

@media (max-width: 860px) {
  .legal-list { grid-template-columns: 1fr; max-width: 520px; }
}

/* ==========================================================================
   31. Donation QR modal
   ========================================================================== */
.modal--qr { max-width: 420px; text-align: center; }
.qr-box {
  display: grid;
  place-items: center;
  padding: 0.5rem 0 0.25rem;
}
.qr-box__img {
  width: 280px;
  height: 280px;
  max-width: 100%;
  object-fit: contain;
  background: #fff;
  padding: 12px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.qr-box__note {
  font-size: 0.85rem;
  color: var(--color-muted);
  margin: 0.9rem 0 0;
}
.qr-box__note i { color: var(--color-gold-dark); margin-right: 0.35rem; }

/* ==========================================================================
   32. Eminent Personalities (profile page)
   ========================================================================== */
.personality {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 3rem;
  align-items: start;
}
.personality__media { position: sticky; top: 110px; }
.personality__media img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--color-border);
}
.personality__name { margin-top: 1.1rem; text-align: center; }
.personality__name h2 { margin-bottom: 0.2rem; }
.personality__meta {
  color: var(--color-gold-dark);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0;
}
.personality__content p {
  margin-bottom: 1.2rem;
  text-align: justify;
  line-height: 1.9;
}
.personality__source {
  font-size: 0.85rem;
  color: var(--color-muted);
  font-style: italic;
  border-top: 1px solid var(--color-border);
  padding-top: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 860px) {
  .personality { grid-template-columns: 1fr; gap: 2rem; }
  .personality__media { position: static; max-width: 340px; margin: 0 auto; }
}

/* ==========================================================================
   33. Member directory — full (uncropped) photo cards
   ========================================================================== */
.profile-card--photo { display: flex; flex-direction: column; text-align: center; }
.profile-card--photo .profile-card__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  background: var(--color-light-gray);
  display: grid;
  place-items: center;
  overflow: hidden;
}
.profile-card--photo .profile-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;   /* show the full photo, never cropped */
  display: block;
}
.profile-card--photo .profile-card__body { padding: 1rem 1rem 1.4rem; }
.profile-card--photo .profile-card__body h3 { font-size: 1.1rem; margin-bottom: 0.15rem; }
.profile-card--photo .profile-card__body .role { color: var(--color-gold-dark); font-size: 0.85rem; }

/* ==========================================================================
   34. Service card — downloadable (PDF) variant
   ========================================================================== */
.service-card--download { text-decoration: none; color: inherit; cursor: pointer; }
.service-card--download:hover { color: inherit; }
.service-card__hint {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.9rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-gold-dark);
  transition: gap var(--transition);
}
.service-card--download:hover .service-card__hint { gap: 0.7rem; }

/* Optional-field hint in forms */
.optional {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 0.78rem;
  color: var(--color-muted);
  text-transform: none;
  letter-spacing: 0;
}

/* ==========================================================================
   35. Books / Community Library cards (about page)
   ========================================================================== */
.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 2rem;
}
.book-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  text-decoration: none;
  color: inherit;
  transition: transform var(--transition), box-shadow var(--transition);
}
.book-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  color: inherit;
}
.book-card__cover {
  aspect-ratio: 300 / 420;
  background: var(--color-light-gray);
  display: grid;
  place-items: center;
  overflow: hidden;
  padding: 1rem;
}
.book-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: var(--radius-sm);
  transition: transform 0.5s ease;
}
.book-card:hover .book-card__cover img { transform: scale(1.05); }
.book-card__info {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.book-card__info h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.book-card__info p {
  font-size: 0.88rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
  flex: 1;
}
.book-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-gold-dark);
  margin-top: auto;
  transition: gap var(--transition);
}
.book-card:hover .book-card__btn { gap: 0.7rem; }

/* ==========================================================================
   36. Government Orders / Affidavits cards
   ========================================================================== */
.go-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
}
.go-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.go-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.go-card__preview {
  display: block;
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-light-gray);
}
.go-card__preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.75rem;
  transition: transform 0.5s ease;
}
.go-card:hover .go-card__preview img { transform: scale(1.03); }
.go-card__zoom {
  position: absolute;
  bottom: 0.75rem; right: 0.75rem;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--color-maroon);
  color: #fff;
  display: grid; place-items: center;
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
}
.go-card:hover .go-card__zoom { opacity: 1; transform: scale(1.1); }
.go-card__pdf-cover {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, var(--color-maroon), #16487F);
  color: #fff;
  text-align: center;
  padding: 2rem;
}
.go-card__pdf-cover i { font-size: 3.5rem; opacity: 0.9; }
.go-card__pdf-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
}
.go-card__pdf-sub {
  font-size: 0.85rem;
  opacity: 0.75;
}
.go-card__info { padding: 1.25rem; }
.go-card__info h3 { font-size: 1.1rem; margin-bottom: 0.3rem; }
.go-card__info p { font-size: 0.88rem; color: var(--color-muted); margin-bottom: 0.75rem; }
.go-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--color-gold-dark);
  transition: gap var(--transition);
}
.go-card__btn:hover { gap: 0.7rem; }

@media (max-width: 680px) {
  .go-grid { grid-template-columns: 1fr; max-width: 400px; }
}

/* ==========================================================================
   37. Jaathirathnalu — Community Jewels gallery (about page)
   ========================================================================== */
.jaathi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}
.jaathi-card {
  margin: 0;
  text-align: center;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
}
.jaathi-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.jaathi-card a {
  display: block;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-light-gray);
}
.jaathi-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.5rem;
  transition: transform 0.5s ease;
}
.jaathi-card:hover img { transform: scale(1.05); }
.jaathi-card figcaption {
  padding: 0.9rem 0.75rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-maroon);
}

@media (max-width: 992px) { .jaathi-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .jaathi-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   38. News article modal
   ========================================================================== */
.modal--article { max-width: 680px; max-height: 90vh; overflow-y: auto; }
.news-article__body { padding: 0.5rem 0; }
.news-article__body p { line-height: 1.8; margin-bottom: 1rem; }
.news-article__gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.5rem;
}
.news-article__gallery img {
  width: 100%;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
@media (max-width: 520px) {
  .news-article__gallery { grid-template-columns: 1fr; }
}

/* ==========================================================================
   39. News ticker (above header, sticky, infinite scroll)
   ========================================================================== */
.news-ticker {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  background: linear-gradient(90deg, #FF6B35, #E91E63, #FF6B35);
  background-size: 200% 100%;
  animation: ticker-bg-shift 4s ease infinite;
  color: #fff;
  text-decoration: none;
  overflow: hidden;
  height: 40px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: var(--font-body);
  box-shadow: 0 2px 12px rgba(233, 30, 99, 0.4);
}
.news-ticker:hover { color: #fff; }
@keyframes ticker-bg-shift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}
.news-ticker__label {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0 1rem;
  height: 100%;
  background: #fff;
  color: #E91E63;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  position: relative;
  z-index: 2;
  animation: ticker-label-pulse 1.5s ease-in-out infinite;
}
@keyframes ticker-label-pulse {
  0%, 100% { background: #fff; color: #E91E63; }
  50% { background: #FFEB3B; color: #D32F2F; }
}
/* Fade-out mask so text disappears smoothly behind the "News" label */
.news-ticker__label::after {
  content: "";
  position: absolute;
  top: 0;
  right: -30px;
  width: 30px;
  height: 100%;
  background: linear-gradient(to right, rgba(233, 30, 99, 0.9), transparent);
  pointer-events: none;
}
.news-ticker__track {
  display: flex;
  animation: ticker-scroll 45s linear infinite;
  white-space: nowrap;
}
.news-ticker:hover .news-ticker__track { animation-play-state: paused; }
.news-ticker__text {
  padding: 0 3rem;
  white-space: nowrap;
}
@keyframes ticker-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Adjust header top to account for ticker height */
.site-header { top: 40px; }
html { scroll-padding-top: calc(var(--header-height) + 40px); }

/* ==========================================================================
   40. Matrimony modal & form layout
   ========================================================================== */
.modal--matrimony { max-width: 640px; max-height: 90vh; overflow-y: auto; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
@media (max-width: 520px) {
  .form-row { grid-template-columns: 1fr; }
}
.service-card--active { border-color: var(--color-gold-dark); }
.service-card--active::before { transform: scaleX(1); }

/* ==========================================================================
   41. Search overlay
   ========================================================================== */
.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 12vh;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay__inner {
  width: 90%;
  max-width: 620px;
  position: relative;
}
.search-overlay__close {
  position: absolute;
  top: -50px;
  right: 0;
  width: 44px;
  height: 44px;
  border: none;
  background: rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.3rem;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}
.search-overlay__close:hover { background: rgba(255,255,255,0.25); transform: rotate(90deg); }
.search-form__wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.5rem 0.5rem 1.25rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.3);
}
.search-form__icon { color: var(--color-muted); font-size: 1.1rem; margin-right: 0.75rem; }
.search-form__input {
  flex: 1;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  padding: 0.75rem 0;
  background: transparent;
  color: var(--color-text);
}
.search-form__input::placeholder { color: #aaa; }
.search-form__btn {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.7rem 1.5rem;
  border: none;
  border-radius: var(--radius-pill);
  background: var(--color-maroon);
  color: #fff;
  cursor: pointer;
  transition: background var(--transition);
}
.search-form__btn:hover { background: var(--color-gold-dark); }
.search-results {
  margin-top: 1rem;
  max-height: 50vh;
  overflow-y: auto;
}
.search-results a {
  display: block;
  padding: 0.85rem 1.25rem;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
  color: var(--color-text);
  text-decoration: none;
  font-size: 0.95rem;
  transition: background var(--transition);
}
.search-results a:hover { background: #fff; }
.search-results a strong { color: var(--color-maroon); }
.search-results .no-results {
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
}

/* Brand word bilingual inline spans */
.brand-word { display: inline; }
.brand-word > [data-lang-block] { display: inline; }
.brand-word > [hidden] { display: none !important; }

/* Jaathi card with popup (clickable variant) */
.jaathi-card--clickable { cursor: pointer; border: 2px solid var(--color-gold-dark); }
.jaathi-card--clickable figcaption::after { content: ' \f35d'; font-family: 'Font Awesome 6 Free'; font-weight: 900; font-size: 0.7rem; margin-left: 0.3rem; opacity: 0.6; }

/* ==========================================================================
   Credit line with OhamWeb glow animation
   ========================================================================== */
.credit-line {
  font-size: 0.82rem;
  color: var(--color-muted);
}
.ohamweb-glow {
  color: #E91E63;
  font-weight: 700;
  text-decoration: none;
  animation: oham-glow 2s ease-in-out infinite;
}
.ohamweb-glow:hover {
  color: #E91E63;
  text-shadow: 0 0 12px rgba(233, 30, 99, 0.8), 0 0 24px rgba(233, 30, 99, 0.5);
}
@keyframes oham-glow {
  0%, 100% { text-shadow: 0 0 4px rgba(233, 30, 99, 0.3); opacity: 0.85; }
  50% { text-shadow: 0 0 14px rgba(233, 30, 99, 0.7), 0 0 28px rgba(233, 30, 99, 0.4); opacity: 1; }
}
