/* ============================================================
   Mana Bhatti Vikramarka — Official Website Stylesheet
   Congress Party Theme | Tricolor Inspired | Premium Design
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Tiro+Telugu&family=Cinzel:wght@400;600;700;900&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --saffron:      #FF6B00;
  --saffron-deep: #E55A00;
  --saffron-glow: rgba(255,107,0,0.18);
  --white:        #FFFFFF;
  --green:        #138808;
  --green-deep:   #0D6B06;
  --green-glow:   rgba(19,136,8,0.18);
  --navy:         #0A1628;
  --navy-mid:     #112240;
  --gold:         #C9A227;
  --gold-light:   #F0C94A;
  --cream:        #FFF9F0;
  --text-dark:    #1A1A2E;
  --text-mid:     #3D3D5C;
  --text-light:   #6B6B8A;
  --shadow-strong: 0 8px 40px rgba(0,0,0,0.45);
  --shadow-med:    0 4px 20px rgba(0,0,0,0.25);
  --shadow-soft:   0 2px 12px rgba(0,0,0,0.12);
  --radius:       12px;
  --radius-lg:    20px;
  --transition:   all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.7;
}

/* ── TRICOLOR TICKER BAR ── */
.ticker-bar {
  background: linear-gradient(90deg, var(--saffron) 0%, var(--saffron) 33.3%, var(--white) 33.3%, var(--white) 66.6%, var(--green) 66.6%, var(--green) 100%);
  height: 5px;
  width: 100%;
}

/* ── TOP ANNOUNCEMENT STRIP ── */
.announcement-strip {
  background: var(--navy);
  color: var(--gold-light);
  text-align: center;
  padding: 6px 20px;
  font-size: 0.78rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.08em;
  overflow: hidden;
  white-space: nowrap;
}

.announcement-strip .marquee {
  display: inline-block;
  animation: marquee 28s linear infinite;
}

@keyframes marquee {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* ══════════════════════════════════════════
   SITE HEADER — THREE-COLUMN DESIGN
   ══════════════════════════════════════════ */
.site-header {
  background: linear-gradient(135deg,
    #0A1628 0%,
    #112240 30%,
    #0D1F3C 60%,
    #0A1628 100%
  );
  position: relative;
  overflow: hidden;
  padding: 0;
}

/* Decorative pattern overlay */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(255,107,0,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 50%, rgba(19,136,8,0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 0%, rgba(201,162,39,0.08) 0%, transparent 50%);
  pointer-events: none;
}

/* Geometric Congress pattern */
.site-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255,255,255,0.015) 40px,
    rgba(255,255,255,0.015) 41px
  );
  pointer-events: none;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0;
  padding: 18px 30px 14px;
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

/* ── LEFT: CM Revanth Reddy ── */
.header-leader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.header-leader--left {
  flex-direction: row;
  align-items: flex-end;
  gap: 14px;
  justify-content: flex-start;
}

.header-leader--right {
  flex-direction: row;
  align-items: flex-end;
  gap: 14px;
  justify-content: flex-end;
}

.leader-photo-wrap {
  position: relative;
  flex-shrink: 0;
}

.leader-photo-wrap::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(
    var(--saffron) 0deg 120deg,
    var(--white) 120deg 240deg,
    var(--green) 240deg 360deg
  );
  animation: spin-slow 12s linear infinite;
  z-index: 0;
}

@keyframes spin-slow {
  to { transform: rotate(360deg); }
}

.leader-photo-wrap::after {
  content: '';
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background: var(--navy-mid);
  z-index: 1;
}

.leader-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  position: relative;
  z-index: 2;
  display: block;
  border: 3px solid var(--navy);
  filter: brightness(1.05) saturate(1.1);
}

.leader-info {
  color: var(--white);
}

.leader-info--right {
  text-align: right;
}

.leader-name {
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.05em;
  line-height: 1.3;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.leader-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.72);
  font-style: italic;
  margin-top: 2px;
}

.leader-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 30px;
  font-size: 0.62rem;
  font-family: 'Cinzel', serif;
  letter-spacing: 0.06em;
  margin-top: 4px;
}

.badge-saffron {
  background: rgba(255,107,0,0.2);
  border: 1px solid rgba(255,107,0,0.5);
  color: #FFB347;
}

.badge-green {
  background: rgba(19,136,8,0.2);
  border: 1px solid rgba(19,136,8,0.5);
  color: #7ED957;
}

/* ── CENTER: Logo + Title ── */
.header-center {
  text-align: center;
  padding: 0 20px;
  position: relative;
}

.congress-logo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 10px;
}

.congress-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255,107,0,0.6)) drop-shadow(0 0 32px rgba(19,136,8,0.4));
  animation: logo-pulse 3s ease-in-out infinite;
}

@keyframes logo-pulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 16px rgba(255,107,0,0.6)) drop-shadow(0 0 32px rgba(19,136,8,0.4)); }
  50%       { transform: scale(1.04); filter: drop-shadow(0 0 24px rgba(255,107,0,0.9)) drop-shadow(0 0 48px rgba(19,136,8,0.6)); }
}

.site-title-main {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.2rem, 2.5vw, 1.9rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.1;
  text-shadow:
    0 0 20px rgba(255,107,0,0.5),
    0 2px 8px rgba(0,0,0,0.6),
    0 0 60px rgba(201,162,39,0.2);
  background: linear-gradient(135deg, #FFD700, #FF8C00, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-title-telugu {
  font-family: 'Tiro Telugu', serif;
  font-size: clamp(0.9rem, 1.8vw, 1.3rem);
  color: rgba(255,255,255,0.85);
  display: block;
  margin-top: 4px;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.site-title-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.78rem;
  color: var(--gold-light);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-top: 6px;
  opacity: 0.9;
}

/* tricolor divider below title */
.tricolor-line {
  display: flex;
  height: 3px;
  border-radius: 2px;
  overflow: hidden;
  margin: 8px auto 0;
  width: 200px;
}
.tricolor-line span {
  flex: 1;
}
.tricolor-line .tc-saffron { background: var(--saffron); }
.tricolor-line .tc-white   { background: #fff; }
.tricolor-line .tc-green   { background: var(--green); }

/* ══════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════ */
.nav-wrapper {
  background: linear-gradient(90deg, var(--saffron-deep) 0%, #C45000 20%, var(--navy-mid) 40%, var(--navy-mid) 60%, var(--green-deep) 80%, #0A6B03 100%);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border-bottom: 2px solid var(--gold);
}

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

.nav-link {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 15px 28px;
  position: relative;
  transition: var(--transition);
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; right: 50%;
  height: 3px;
  background: var(--gold-light);
  transition: var(--transition);
  border-radius: 2px 2px 0 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--gold-light);
  background: rgba(255,255,255,0.08);
}

.nav-link:hover::before,
.nav-link.active::before {
  left: 10%; right: 10%;
}

.nav-separator {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.2);
  align-self: center;
}

/* ══════════════════════════════════════════
   HERO SECTION
   ══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(255,107,0,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(19,136,8,0.20) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(201,162,39,0.15) 0%, transparent 50%),
    linear-gradient(160deg, #0A1628 0%, #0D1F3C 40%, #112240 70%, #0A1628 100%);
}

/* Animated particles */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle 2px at 10% 20%, rgba(255,107,0,0.6) 0%, transparent 100%),
    radial-gradient(circle 2px at 90% 15%, rgba(19,136,8,0.6) 0%, transparent 100%),
    radial-gradient(circle 1px at 30% 80%, rgba(201,162,39,0.5) 0%, transparent 100%),
    radial-gradient(circle 2px at 70% 70%, rgba(255,107,0,0.4) 0%, transparent 100%),
    radial-gradient(circle 1px at 50% 30%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(circle 2px at 80% 60%, rgba(19,136,8,0.5) 0%, transparent 100%),
    radial-gradient(circle 1px at 20% 50%, rgba(201,162,39,0.4) 0%, transparent 100%);
  animation: float-particles 20s ease-in-out infinite alternate;
}

@keyframes float-particles {
  0%   { transform: translateY(0) translateX(0); }
  100% { transform: translateY(-30px) translateX(20px); }
}

/* Circular decorative rings */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: 
    radial-gradient(ellipse, transparent 58%, rgba(201,162,39,0.06) 60%, transparent 62%),
    radial-gradient(ellipse, transparent 72%, rgba(255,107,0,0.04) 74%, transparent 76%);
  animation: ring-rotate 30s linear infinite;
}

@keyframes ring-rotate {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 20px;
  max-width: 900px;
  animation: hero-enter 1.2s cubic-bezier(0.2, 0.8, 0.4, 1) forwards;
  opacity: 0;
}

@keyframes hero-enter {
  0%   { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

.hero-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--saffron);
  text-transform: uppercase;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: '';
  width: 50px; height: 1px;
  background: linear-gradient(90deg, transparent, var(--saffron));
}
.hero-eyebrow::after {
  background: linear-gradient(90deg, var(--saffron), transparent);
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  background: linear-gradient(135deg, #FFD700 0%, #FF8C00 30%, #FFD700 60%, #FF6B00 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  margin-bottom: 10px;
  animation-delay: 0.2s;
}

.hero-title-telugu {
  font-family: 'Tiro Telugu', serif;
  font-size: clamp(1.4rem, 3.5vw, 2.8rem);
  color: rgba(255,255,255,0.9);
  display: block;
  margin-bottom: 20px;
}

.hero-desc {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.75);
  max-width: 600px;
  margin: 0 auto 36px;
  font-style: italic;
  line-height: 1.8;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  border-radius: 50px;
  font-family: 'Cinzel', serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: var(--transition);
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255,107,0,0.6);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.4);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--gold-light);
  color: var(--gold-light);
}

/* ══════════════════════════════════════════
   STATS BAR
   ══════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(90deg, var(--saffron), var(--saffron-deep) 25%, var(--navy-mid) 50%, var(--green-deep) 75%, var(--green));
  padding: 28px 20px;
}

.stats-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  text-align: center;
  padding: 10px 20px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }

.stat-number {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.stat-label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.85);
  margin-top: 4px;
  font-style: italic;
}

/* ══════════════════════════════════════════
   SECTION COMMONS
   ══════════════════════════════════════════ */
.section {
  padding: 80px 20px;
}

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

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.3em;
  color: var(--saffron);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.section-title span {
  color: var(--saffron);
}

.section-title-telugu {
  font-family: 'Tiro Telugu', serif;
  font-size: 1.1rem;
  color: var(--text-mid);
  display: block;
  margin-bottom: 16px;
}

.section-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 auto;
  width: fit-content;
}

.section-divider::before, .section-divider::after {
  content: '';
  width: 60px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold));
}
.section-divider::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.divider-diamond {
  width: 8px; height: 8px;
  background: var(--saffron);
  transform: rotate(45deg);
}

/* ══════════════════════════════════════════
   HOME: ABOUT PREVIEW
   ══════════════════════════════════════════ */
.about-preview {
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-main-image {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-strong);
  object-fit: cover;
  height: 420px;
  object-position: center top;
}

.about-image-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: linear-gradient(135deg, var(--saffron), var(--saffron-deep));
  color: var(--white);
  padding: 20px 24px;
  border-radius: var(--radius);
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  text-align: center;
  box-shadow: var(--shadow-med);
}

.about-image-badge strong {
  display: block;
  font-size: 1.8rem;
  line-height: 1;
}

.about-text h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.3;
}

.about-text .telugu-sub {
  font-family: 'Tiro Telugu', serif;
  color: var(--saffron);
  font-size: 1rem;
  display: block;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 1.05rem;
  color: var(--text-mid);
  margin-bottom: 16px;
  line-height: 1.85;
}

.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 12px;
  background: linear-gradient(135deg, rgba(255,107,0,0.05), rgba(19,136,8,0.05));
  border-radius: 8px;
  border-left: 3px solid var(--saffron);
}

.highlight-item .hi-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.highlight-item span {
  font-size: 0.88rem;
  color: var(--text-dark);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
}

/* ══════════════════════════════════════════
   NEWS / PRESS CARDS
   ══════════════════════════════════════════ */
.news-section {
  background: linear-gradient(160deg, #F8F4EE 0%, var(--cream) 100%);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.news-card-img {
  height: 190px;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card-img-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  opacity: 0.35;
}

.news-card-img-icon {
  font-size: 3rem;
  position: relative;
  z-index: 1;
}

.news-card-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--saffron);
  color: var(--white);
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 2;
}

.news-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card-date {
  font-size: 0.75rem;
  color: var(--text-light);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.news-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.45;
  flex: 1;
}

.news-card-excerpt {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 16px;
}

.news-read-more {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  color: var(--saffron);
  text-decoration: none;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.news-read-more:hover { color: var(--saffron-deep); gap: 10px; }

/* ══════════════════════════════════════════
   INITIATIVES SECTION
   ══════════════════════════════════════════ */
.initiatives {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.initiatives::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 0% 50%, rgba(255,107,0,0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 50%, rgba(19,136,8,0.15) 0%, transparent 50%);
}

.initiatives .section-title,
.initiatives .section-eyebrow { color: var(--gold-light); }
.initiatives .section-title span { color: var(--saffron); }

.init-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.init-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
  backdrop-filter: blur(6px);
}

.init-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.init-icon {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 16px;
}

.init-title {
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: var(--gold-light);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.init-title-telugu {
  font-family: 'Tiro Telugu', serif;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 10px;
}

.init-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   GALLERY GRID
   ══════════════════════════════════════════ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--navy-mid);
}

.gallery-item:first-child,
.gallery-item:nth-child(4) {
  grid-column: span 2;
  aspect-ratio: 16/9;
}

.gallery-item-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  transition: var(--transition);
}

.gallery-item::after {
  content: attr(data-caption);
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  padding: 30px 16px 14px;
  transform: translateY(100%);
  transition: var(--transition);
}

.gallery-item:hover::after {
  transform: translateY(0);
}

.gallery-item:hover .gallery-item-inner {
  transform: scale(1.05);
}

/* ══════════════════════════════════════════
   JOURNEY TIMELINE
   ══════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--saffron), var(--gold), var(--green));
  transform: translateX(-50%);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0 30px;
  align-items: start;
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) .tl-content {
  grid-column: 1;
  text-align: right;
}

.timeline-item:nth-child(odd) .tl-empty {
  grid-column: 3;
}

.timeline-item:nth-child(even) .tl-content {
  grid-column: 3;
  text-align: left;
}

.timeline-item:nth-child(even) .tl-empty {
  grid-column: 1;
}

.tl-dot {
  grid-column: 2;
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 0 0 6px rgba(255,107,0,0.2), 0 0 0 12px rgba(255,107,0,0.07);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.tl-year {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--saffron);
  line-height: 1;
  margin-bottom: 6px;
}

.tl-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 8px;
  font-weight: 700;
}

.tl-desc {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ══════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,107,0,0.2), transparent 70%);
}

.contact-info-card h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.contact-info-card .telugu-name {
  font-family: 'Tiro Telugu', serif;
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  margin-bottom: 28px;
  display: block;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.contact-detail:last-of-type { border-bottom: none; }

.contact-detail-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  background: rgba(255,107,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-detail-text strong {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--gold-light);
  margin-bottom: 3px;
}

.contact-detail-text span {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.8);
  line-height: 1.5;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-med);
}

.contact-form-wrap h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-mid);
  margin-bottom: 7px;
  text-transform: uppercase;
}

.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid #E8E4DE;
  border-radius: 8px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--saffron);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(255,107,0,0.1);
}

.form-control::placeholder { color: var(--text-light); }

textarea.form-control { resize: vertical; min-height: 130px; }

/* ══════════════════════════════════════════
   PAGE HERO (inner pages)
   ══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #112240 50%, var(--navy) 100%);
  position: relative;
  padding: 70px 20px 60px;
  text-align: center;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255,107,0,0.18) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 50%, rgba(19,136,8,0.15) 0%, transparent 55%);
}

.page-hero-content { position: relative; z-index: 1; }

.page-hero-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  background: linear-gradient(135deg, #FFD700, #FF8C00);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.page-hero-telugu {
  font-family: 'Tiro Telugu', serif;
  font-size: 1.3rem;
  color: rgba(255,255,255,0.8);
  display: block;
  margin-bottom: 16px;
}

.page-hero-breadcrumb {
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.15em;
}

.page-hero-breadcrumb a { color: var(--saffron); text-decoration: none; }
.page-hero-breadcrumb span { margin: 0 8px; }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.75);
  position: relative;
  overflow: hidden;
}

.footer-top {
  padding: 60px 20px 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand .congress-logo-sm {
  width: 55px; height: 55px;
  object-fit: contain;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 10px rgba(255,107,0,0.4));
}

.footer-brand h3 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.footer-brand .telugu-name {
  font-family: 'Tiro Telugu', serif;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
  display: block;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.6);
}

.footer-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  text-transform: uppercase;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.88rem;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-col ul li a:hover {
  color: var(--saffron);
  padding-left: 4px;
}

.footer-col ul li a::before {
  content: '\003E';
  color: var(--saffron);
  font-size: 1.1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
}

.social-links {
  display: flex;
  gap: 10px;
}

.social-link {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
  border: 1px solid rgba(255,255,255,0.1);
}

.social-link:hover {
  background: var(--saffron);
  border-color: var(--saffron);
  transform: translateY(-2px);
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .header-inner { gap: 10px; padding: 14px 16px; }
  .leader-photo  { width: 80px; height: 80px; }
  .init-grid     { grid-template-columns: repeat(2, 1fr); }
  .news-grid     { grid-template-columns: repeat(2, 1fr); }
  .footer-top    { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
    padding: 12px 10px;
    gap: 6px;
  }
  .leader-photo { width: 65px; height: 65px; }
  .leader-name  { font-size: 0.68rem; }
  .congress-logo { width: 65px; height: 65px; }
  .site-title-main { font-size: 1rem; }
  .nav-link { padding: 12px 14px; font-size: 0.7rem; }
  .about-grid    { grid-template-columns: 1fr; }
  .contact-grid  { grid-template-columns: 1fr; }
  .stats-inner   { grid-template-columns: repeat(2, 1fr); }
  .news-grid     { grid-template-columns: 1fr; }
  .init-grid     { grid-template-columns: 1fr; }
  .footer-top    { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child,
  .gallery-item:nth-child(4) { grid-column: span 1; aspect-ratio: 4/3; }
  .timeline::before { left: 24px; }
  .timeline-item {
    grid-template-columns: 48px 1fr;
    gap: 0 16px;
  }
  .timeline-item:nth-child(odd) .tl-content,
  .timeline-item:nth-child(even) .tl-content {
    grid-column: 2; text-align: left;
  }
  .tl-dot { width: 42px; height: 42px; font-size: 1rem; grid-column: 1; }
  .timeline-item .tl-empty { display: none; }
}

@media (max-width: 480px) {
  .leader-info { display: none; }
  .nav-separator { display: none; }
  .nav-link { padding: 10px 8px; font-size: 0.65rem; letter-spacing: 0.04em; }
  .hero-cta-group { flex-direction: column; align-items: center; }
}

/* ── Filter buttons ─────────────────────────────── */
.gal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 18px;
}

.gal-filter-btn {
  padding: 9px 24px;
  border-radius: 50px;
  border: 2px solid rgba(0,0,0,0.15);
  background: transparent;
  color: var(--text-dark);
  font-family: 'Cinzel', serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

.gal-filter-btn:hover {
  border-color: var(--saffron);
  color: var(--saffron);
}

.gal-filter-btn.active {
  background: var(--saffron);
  border-color: var(--saffron);
  color: #fff;
  box-shadow: 0 4px 14px rgba(255,107,0,0.35);
}

/* ── Count badge ─────────────────────────────────── */
.gal-count-row {
  text-align: center;
  margin-bottom: 32px;
}

.gal-count-badge {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.95rem;
  color: var(--text-light);
  padding: 5px 18px;
  border-radius: 30px;
  border: 1px solid rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.7);
}

/* ── Masonry grid ────────────────────────────────── */
.gal-grid {
  columns: 3;
  column-gap: 16px;
}

@media (max-width: 900px) { .gal-grid { columns: 2; } }
@media (max-width: 520px) { .gal-grid { columns: 1; } }

.gal-item {
  break-inside: avoid;
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  transition: transform 0.35s cubic-bezier(.4,0,.2,1), box-shadow 0.35s;
  outline: none;
}

.gal-item:hover,
.gal-item:focus-visible {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 12px 36px rgba(0,0,0,0.22);
  z-index: 2;
}

.gal-item.hidden {
  display: none;
}

.gal-img-wrap { position: relative; display: block; }

.gal-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.4,0,.2,1);
}

.gal-item:hover .gal-img {
  transform: scale(1.05);
}

/* Overlay */
.gal-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,22,40,0.92) 0%,
    rgba(10,22,40,0.4) 50%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
}

.gal-item:hover .gal-overlay,
.gal-item:focus-visible .gal-overlay {
  opacity: 1;
}

.gal-overlay-inner {
  padding: 16px;
  width: 100%;
}

.gal-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) scale(0.8);
  opacity: 0;
  transition: all 0.3s;
  background: rgba(255,107,0,0.85);
  border-radius: 50%;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gal-item:hover .gal-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -60%) scale(1);
}

.gal-cat-pill {
  display: inline-block;
  background: var(--saffron);
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 30px;
  margin-bottom: 6px;
}

.gal-caption {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.9);
  line-height: 1.4;
}

/* Empty state */
.gal-empty {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.gal-empty-icon { font-size: 3rem; margin-bottom: 12px; }
.gal-empty p { font-family: 'Cinzel', serif; font-size: 1rem; }

/* ═════════════════════════════════════════════════
   LIGHTBOX
   ═════════════════════════════════════════════════ */
.glb-overlay {
  position: fixed;
  inset: 0;
  background: rgba(5, 8, 18, 0.97);
  z-index: 9999;
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: glbFadeIn 0.25s ease;
}

.glb-overlay.open {
  display: flex;
}

@keyframes glbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Close button */
.glb-close {
  position: absolute;
  top: 18px;
  right: 22px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.25s;
  z-index: 10;
}

.glb-close:hover {
  background: var(--saffron, #FF6B00);
  border-color: var(--saffron, #FF6B00);
  transform: rotate(90deg);
}

/* Nav arrows */
.glb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: all 0.25s;
  z-index: 10;
}

.glb-nav:hover {
  background: var(--saffron, #FF6B00);
  border-color: var(--saffron, #FF6B00);
  transform: translateY(-50%) scale(1.1);
}

.glb-prev { left: 20px; }
.glb-next { right: 20px; }

/* Stage */
.glb-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: calc(100vw - 160px);
  max-height: calc(100vh - 160px);
  width: 100%;
}

.glb-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: calc(100vh - 200px);
}

.glb-img {
  max-width: 100%;
  max-height: calc(100vh - 200px);
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.7);
  animation: glbImgIn 0.3s cubic-bezier(.4,0,.2,1);
  display: block;
}

@keyframes glbImgIn {
  from { opacity: 0; transform: scale(0.94); }
  to   { opacity: 1; transform: scale(1); }
}

/* Loader */
.glb-loader {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  display: none;
}

.glb-loader.visible { display: flex; }

.glb-spinner {
  width: 42px;
  height: 42px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--saffron, #FF6B00);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Caption bar */
.glb-caption-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0 20px;
}

.glb-cat-badge {
  background: var(--saffron, #FF6B00);
  color: #fff;
  font-family: 'Cinzel', serif;
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 30px;
  white-space: nowrap;
}

.glb-caption-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  text-align: center;
}

.glb-counter {
  font-family: 'Cinzel', serif;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
  white-space: nowrap;
}

/* Thumbnail strip */
.glb-thumbs {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 12px 20px;
  overflow-x: auto;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  scrollbar-width: thin;
  scrollbar-color: rgba(255,107,0,0.5) transparent;
}

.glb-thumb {
  width: 54px;
  height: 40px;
  object-fit: cover;
  border-radius: 5px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.5;
  transition: all 0.25s;
  flex-shrink: 0;
}

.glb-thumb:hover { opacity: 0.85; }
.glb-thumb.active {
  border-color: var(--saffron, #FF6B00);
  opacity: 1;
  transform: translateY(-2px);
}

/* Keyboard hint */
.glb-hint {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  font-family: 'Cinzel', serif;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  letter-spacing: 0.1em;
  pointer-events: none;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .glb-nav { width: 44px; height: 44px; }
  .glb-prev { left: 8px; }
  .glb-next { right: 8px; }
  .glb-stage { max-width: calc(100vw - 100px); }
  .glb-thumbs { display: none; }
  .glb-img { max-height: calc(100vh - 180px); }
}
