/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0a0a0f;
  --gray-dark: #1e1e2e;
  --gray: #6b7280;
  --gray-light: #f5f3ee;
  --gray-border: #e2ddd4;
  --white: #ffffff;
  --cream: #faf8f3;

  /* Rich burgundy + deep navy + gold — premium law */
  --accent:       #1c1f3a;
  --accent-light: #252849;
  --accent-dark:  #0f1124;
  --gold:         #c9a84c;
  --gold-light:   #e8c96a;
  --gold-dark:    #a8882e;
  --crimson:      #7a1c1c;
  --crimson-light:#9b2626;

  --radius: 10px;
  --shadow:    0 2px 20px rgba(28,31,58,0.08);
  --shadow-md: 0 6px 32px rgba(28,31,58,0.14);
  --shadow-lg: 0 16px 56px rgba(28,31,58,0.22);
  --transition: 0.35s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Noto Sans Devanagari', sans-serif;
  background: var(--cream);
  color: var(--gray-dark);
  line-height: 1.75;
  font-size: 17px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  font-family: inherit;
}
.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-light); border-color: var(--accent-light); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover { background: var(--white); color: var(--accent); }
.full-width { width: 100%; text-align: center; }

/* ===== SECTION COMMON ===== */
.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 40px);
  color: var(--black);
  margin-bottom: 12px;
  line-height: 1.3;
}
.section-sub {
  color: var(--gray);
  font-size: 16px;
  margin-bottom: 48px;
}

section { padding: 80px 0; }

/* ===== FLOATING PARTICLES ===== */
.particles {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
.particles span {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: rgba(201,168,76,0.06);
  animation: floatParticle linear infinite;
}
.particles span:nth-child(1) { width:80px;height:80px; left:10%; animation-duration:18s; animation-delay:0s; }
.particles span:nth-child(2) { width:50px;height:50px; left:25%; animation-duration:22s; animation-delay:3s; }
.particles span:nth-child(3) { width:120px;height:120px; left:50%; animation-duration:16s; animation-delay:1s; }
.particles span:nth-child(4) { width:40px;height:40px; left:70%; animation-duration:25s; animation-delay:5s; }
.particles span:nth-child(5) { width:90px;height:90px; left:85%; animation-duration:20s; animation-delay:2s; }
.particles span:nth-child(6) { width:60px;height:60px; left:35%; animation-duration:19s; animation-delay:7s; }
.particles span:nth-child(7) { width:30px;height:30px; left:60%; animation-duration:24s; animation-delay:4s; }
.particles span:nth-child(8) { width:100px;height:100px; left:5%; animation-duration:21s; animation-delay:6s; }

@keyframes floatParticle {
  0%   { transform: translateY(110vh) rotate(0deg); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* ===== HEADER ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,253,247,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-border);
  transition: box-shadow var(--transition), background var(--transition);
}
.header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255,253,247,0.98);
}
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo { display: flex; align-items: center; gap: 10px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(27,42,74,0.3);
  position: relative; overflow: hidden;
}
.logo-icon::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(200,168,75,0.25) 50%, transparent 70%);
  animation: logoShine 3s ease-in-out infinite;
}
.logo-icon i { color: var(--gold); font-size: 20px; position: relative; z-index: 1; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-adv { font-family: 'Roboto', sans-serif; font-size: 14px; color: var(--gold-dark); font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; }
.logo-name { font-family: 'Roboto', sans-serif; font-size: 21px; color: var(--accent); font-weight: 700; line-height: 1.1; letter-spacing: 0.3px; }
.logo-sub { font-family: 'Roboto', sans-serif; font-size: 10px; color: var(--gray); letter-spacing: 1.5px; font-weight: 500; }

@keyframes logoShine {
  0%   { transform: translateX(-100%) skewX(-15deg); }
  60%, 100% { transform: translateX(200%) skewX(-15deg); }
}

.nav-list { display: flex; gap: 32px; }
.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-dark);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--accent); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--black);
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== HERO ===== */
/* Hero Marquee Bar */
.hero-marquee-bar {
  width: 100%;
  background: linear-gradient(90deg, var(--accent-dark), var(--accent), var(--accent-dark));
  border-top: 1px solid rgba(200,168,75,0.4);
  overflow: hidden;
  padding: 10px 0;
}
.hero-marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: heroMarquee 25s linear infinite;
  white-space: nowrap;
  will-change: transform;
}
.hero-marquee-track span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.3px;
  flex-shrink: 0;
}
.hero-marquee-track i { color: var(--gold); font-size: 12px; }
.hm-sep { color: var(--gold) !important; font-size: 16px !important; }
.hero-marquee-bar:hover .hero-marquee-track { animation-play-state: paused; }

@keyframes heroMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== HERO LAYOUT ===== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
  position: relative;
  background: var(--accent-dark);
  padding-top: 80px;
  overflow: hidden;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 60%, rgba(201,168,76,0.07) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(201,168,76,0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}
/* Banner image */
.hero-banner-img {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-banner-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.18;
  filter: grayscale(30%);
}
/* Court animation — now on about section */
.court-anim {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.05;
  z-index: 0;
}
.court-svg { width: 90%; max-width: 700px; height: auto; }
.ca-pillar  { fill: var(--gold); animation: courtFade 4s ease-in-out infinite alternate; }
.ca-roof    { fill: none; stroke: var(--gold); stroke-width: 3; animation: courtFade 4s 0.3s ease-in-out infinite alternate; }
.ca-base, .ca-step { fill: var(--gold); animation: courtFade 4s 0.6s ease-in-out infinite alternate; }
.ca-scale-pole, .ca-scale-arm, .ca-scale-chain { stroke: var(--gold-light); stroke-width: 2.5; fill: none; }
.ca-scale-pivot { fill: var(--gold); }
.ca-scale-pan   { fill: none; stroke: var(--gold-light); stroke-width: 2; }
.ca-pan-left  { animation: scaleTilt 3s ease-in-out infinite; }
.ca-pan-right { animation: scaleTilt 3s ease-in-out infinite reverse; }
.ca-scale-arm { animation: scaleBalance 3s ease-in-out infinite; transform-origin: 400px 200px; }
.ca-gavel-head   { fill: var(--gold); animation: gavelSwing 2.5s ease-in-out infinite; transform-origin: 570px 166px; }
.ca-gavel-handle { stroke: var(--gold-light); stroke-width: 3; fill: none; animation: gavelSwing 2.5s ease-in-out infinite; transform-origin: 570px 166px; }
.ca-book  { fill: none; stroke: var(--gold-light); stroke-width: 2; animation: courtFade 4s 1s ease-in-out infinite alternate; }
.ca-book-line { stroke: var(--gold-light); stroke-width: 1.5; }

@keyframes courtFade { from { opacity: 0.5; } to { opacity: 1; } }
@keyframes scaleBalance { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes scaleTilt { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@keyframes gavelSwing { 0%, 100% { transform: rotate(0deg); } 40%, 60% { transform: rotate(-25deg); } }


/* Left content */
.hero-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 60px 20px 40px;
  position: relative;
  z-index: 2;
}
.hero-content {  flex: 1;
  max-width: 560px;
  animation: slideUp 0.7s ease both;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,168,75,0.15);
  color: var(--gold-light);
  border: 1px solid rgba(200,168,75,0.35);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
}
.hero-badge i { color: var(--gold); font-size: 13px; }
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4.5vw, 48px);
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 20px;
  animation: slideUp 0.7s 0.1s ease both;
}
.hero-sub {
  color: rgba(255,255,255,0.75);
  font-size: 19px;
  margin-bottom: 28px;
  line-height: 1.85;
  animation: slideUp 0.7s 0.2s ease both;
}
.hero-sub strong { color: var(--gold-light); font-weight: 600; }

/* Info card inside hero */
.hero-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(200,168,75,0.25);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: slideUp 0.7s 0.3s ease both;
  backdrop-filter: blur(8px);
}
.hero-info-avatar {
  width: 48px; height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.hero-info-avatar i { color: var(--white); font-size: 20px; }
.hero-info-details { flex: 1; }
.hero-info-details h3 { font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.hero-info-details p { font-size: 15px; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 6px; margin-bottom: 2px; }
.hero-info-details i { color: var(--gold); font-size: 11px; }
.hero-info-details a { color: rgba(255,255,255,0.7); transition: color var(--transition); }
.hero-info-details a:hover { color: var(--gold); }
.hero-ballot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 83px; height: 83px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  border: 3px solid var(--gold);
}
.hero-ballot-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.7); letter-spacing: 0.5px; text-transform: uppercase; line-height: 1; font-family: 'Roboto', sans-serif; }
.hero-ballot-num { font-size: 28px; font-weight: 800; color: var(--white); font-family: 'Roboto', sans-serif; line-height: 1.1; }

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  animation: slideUp 0.7s 0.4s ease both;
}
.hero-btns .btn-primary { background: var(--gold); color: var(--accent-dark); border-color: var(--gold); font-weight: 700; }
.hero-btns .btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(200,168,75,0.4); }
.hero-btns .btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.5); }
.hero-btns .btn-outline:hover { background: rgba(255,255,255,0.1); border-color: var(--white); }

/* Right: Poster Card */
.hero-poster {
  flex: 0 0 380px;
  animation: slideUp 0.7s 0.15s ease both;
}
.poster-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0,0,0,0.14);
  border: 1px solid var(--gray-border);
}
.poster-header {
  background: var(--accent);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
}
.poster-logo {
  width: 40px; height: 40px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.poster-logo i { color: var(--gold); font-size: 18px; }
.poster-org { font-size: 12px; font-weight: 600; color: var(--white); line-height: 1.4; }
.poster-date { font-size: 11px; color: rgba(255,255,255,0.7); }
.poster-photo-wrap {
  position: relative;
  background: #f0f0f0;
  overflow: hidden;
}
.poster-photo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}
.poster-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,52,96,0.97) 0%, rgba(15,52,96,0.7) 70%, transparent 100%);
  padding: 28px 18px 16px;
  text-align: center;
}
.poster-role {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 3px;
}
.poster-name {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--white);
  font-weight: 700;
  margin-bottom: 4px;
  line-height: 1.2;
}
.poster-tagline {
  font-size: 11px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
  margin-bottom: 10px;
}
.poster-bcr-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 4px;
  letter-spacing: 1px;
}

/* ===== ABOUT ===== */
.about {
  background: linear-gradient(135deg, #1a1506 0%, #2a2008 30%, #1c1f3a 70%, #0f1124 100%);
  position: relative;
  overflow: hidden;
}
.about .court-anim { opacity: 0.06; }
.about .section-label { color: var(--gold); }
.about .section-title { color: var(--white); }
.about-intro { color: rgba(255,255,255,0.9) !important; }
.about-text { color: rgba(255,255,255,0.65) !important; }
.about-stats {
  background: rgba(201,168,76,0.08) !important;
  border: 1px solid rgba(201,168,76,0.2) !important;
}
.stat-num { color: var(--gold) !important; }
.stat-label { color: rgba(255,255,255,0.6) !important; }
.qualifications h3 { color: var(--white) !important; }
.qualifications li { color: rgba(255,255,255,0.75) !important; }
.about-img-main { border: 3px solid rgba(201,168,76,0.3); box-shadow: 0 8px 40px rgba(0,0,0,0.4); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}
.about-images { position: relative; }
.about-img-main {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.about-carousel { display: none; margin-top: 28px; }

/* ===== PHOTO GALLERY ===== */
.photo-gallery {
  background: linear-gradient(160deg, #0a0e1a 0%, #111827 50%, #1a1506 100%);
  padding: 60px 0;
  position: relative;
  overflow: hidden;
}
.photo-gallery .section-label { color: var(--gold); }
.photo-gallery .section-title { color: var(--white); margin-bottom: 32px; }

/* Shared SVG background */
.section-svg-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  color: var(--gold);
  opacity: 0.05;
  overflow: hidden;
}
.section-svg-bg svg { width: 100%; height: 100%; }

/* Multi-item carousel */
.multi-carousel {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mc-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
}
.mc-track {
  display: flex;
  gap: 16px;
  transition: transform 0.5s ease;
}
.mc-item {
  flex: 0 0 calc(33.333% - 11px);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.mc-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.mc-item:hover img { transform: scale(1.04); }
.mc-btn {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(201,168,76,0.15);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 15px;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition), color var(--transition);
}
.mc-btn:hover { background: var(--gold); color: var(--accent-dark); }

@media (max-width: 768px) {
  .multi-carousel { display: none; }
}
@media (min-width: 769px) {
  .pgallery-marquee { display: none; }
}

/* Desktop carousel */
.pgallery-desktop { display: block; }
.pgallery-carousel-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  max-width: 700px;
  margin: 0 auto;
}
.pgallery-track {
  display: flex;
  transition: transform 0.5s ease;
}
.pgallery-slide { min-width: 100%; }
.pgallery-slide img { width: 100%; height: auto; display: block; object-fit: contain; }
.pgallery-btn {
  position: absolute;
  top: 50%; transform: translateY(-50%);
  background: rgba(26,26,46,0.65);
  color: var(--white);
  border: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  transition: background var(--transition);
  z-index: 2;
}
.pgallery-btn:hover { background: var(--accent); }
.pgallery-prev { left: 12px; }
.pgallery-next { right: 12px; }
.pgallery-dots { display: flex; justify-content: center; gap: 8px; margin-top: 16px; }

/* Mobile marquee — hidden on desktop */
.pgallery-marquee { display: none; overflow: hidden; }
.marquee-track {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: marqueeScroll 18s linear infinite;
}
.marquee-track img {
  height: 180px;
  width: auto;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.pgallery-marquee:hover .marquee-track { animation-play-state: paused; }

@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
  .pgallery-desktop { display: none; }
  .pgallery-marquee { display: block; }
}

.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-border);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.dot.active { background: var(--accent); transform: scale(1.3); }
.about-intro {
  font-size: 18px;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 16px;
  line-height: 1.8;
}
.about-text { color: var(--gray); margin-bottom: 32px; font-size: 16px; }
.about-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 32px;
  padding: 24px;
  background: var(--gray-light);
  border-radius: var(--radius);
}
.stat { text-align: center; }
.stat-num { display: block; font-size: 28px; font-weight: 700; color: var(--accent); font-family: 'Playfair Display', serif; }
.stat-label { font-size: 12px; color: var(--gray); }
.qualifications h3 { font-size: 17px; font-weight: 600; margin-bottom: 12px; color: var(--black); }
.qualifications ul { display: flex; flex-direction: column; gap: 10px; }
.qualifications li { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--gray-dark); }
.qualifications li i { color: var(--gold); width: 16px; }

/* ===== GALLERY ===== */
.gallery { padding: 0 0 80px; background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-grid img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition);
}
.gallery-grid img:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }

/* ===== SANKALP (हमारा संकल्प) ===== */
.sankalp {
  background: linear-gradient(160deg, #1a0a0a 0%, #2a1010 40%, #1c1f3a 100%);
  position: relative;
  overflow: hidden;
}
.sankalp .section-label { color: var(--gold); }
.sankalp .section-title { color: var(--white); }
.sankalp .section-sub { color: rgba(255,255,255,0.6); }
.sankalp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.sankalp-card {
  background: rgba(255,255,255,0.05);
  padding: 32px 24px;
  border-radius: var(--radius);
  border: 1px solid rgba(200,168,75,0.15);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  position: relative;
  overflow: hidden;
}
.sankalp-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.sankalp-card:hover { transform: translateY(-5px); box-shadow: 0 12px 32px rgba(0,0,0,0.3); background: rgba(255,255,255,0.08); }
.sankalp-card:hover::before { transform: scaleX(1); }
.sankalp-icon {
  width: 52px; height: 52px;
  background: rgba(200,168,75,0.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  transition: background var(--transition);
}
.sankalp-card:hover .sankalp-icon { background: var(--gold); }
.sankalp-icon i { font-size: 20px; color: var(--gold); transition: color var(--transition); }
.sankalp-card:hover .sankalp-icon i { color: var(--accent-dark); }
.sankalp-card h3 { font-size: 17px; font-weight: 600; color: var(--white); margin-bottom: 10px; }
.sankalp-card p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.75; }

/* ===== CASE SEARCH ===== */
.search-section { background: var(--cream); }
.search-box { max-width: 640px; margin: 0 auto 12px; }
.search-input-wrap {
  display: flex;
  align-items: center;
  border: 2px solid var(--gray-border);
  border-radius: 50px;
  overflow: hidden;
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.search-input-wrap:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(26,26,46,0.08);
}
.search-icon { padding: 0 16px; color: var(--gray); font-size: 16px; }
.search-input-wrap input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  padding: 14px 0;
  color: var(--black);
  background: transparent;
}
.search-input-wrap input::placeholder { color: #aaa; }
.search-btn {
  background: var(--accent);
  color: var(--white);
  border: none;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background var(--transition);
  white-space: nowrap;
}
.search-btn:hover { background: var(--accent-light); }
.search-hint { text-align: center; font-size: 12px; color: var(--gray); margin-top: 8px; }

/* Appeal Card */
.appeal-card {
  max-width: 480px;
  margin: 36px auto 0;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--gray-border);
  display: flex;
  flex-direction: column;
  animation: slideUp 0.6s ease both;
}
.appeal-card-img {
  width: 100%;
  overflow: hidden;
}
.appeal-card-img img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}
.appeal-card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}
.appeal-card-icon {
  width: 48px; height: 48px;
  background: rgba(201,168,76,0.15);
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px;
}
.appeal-card-icon i { font-size: 20px; color: var(--gold); }
.appeal-card-sub { font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 8px; }
.appeal-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.6;
}

@media (max-width: 600px) {
  .appeal-card-title { font-size: 15px; }
}

.ballot-num {
  background: var(--gold);
  color: var(--accent);
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 4px;
  font-size: 16px;
  white-space: nowrap;
}

.loader {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 32px;
  color: var(--gray);
  font-size: 15px;
}
.spinner {
  width: 28px; height: 28px;
  border: 3px solid var(--gray-border);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.hidden { display: none !important; }

/* Result Cards */
.search-result { max-width: 900px; margin: 24px auto 0; animation: fadeIn 0.4s ease; }

.result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  flex-wrap: wrap;
  gap: 8px;
}
.result-count {
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.result-query {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 1px;
}
.result-note {
  font-size: 13px;
  color: var(--gray);
  margin-bottom: 16px;
  text-align: center;
}
.result-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.result-card {
  background: var(--white);
  border: 1px solid var(--gray-border);
  border-radius: 12px;
  padding: 20px 22px;
  transition: box-shadow var(--transition), transform var(--transition);
  border-top: 3px solid var(--accent);
}
.result-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

/* Top row: name left, electoral+ballot right */
.rc-top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 0;
}
.rc-left { flex: 1; }
.rc-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 10px;
}
.rc-right-col {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  flex-shrink: 0;
}
.rc-electoral { font-size: 13px; color: var(--gray-dark); white-space: nowrap; }
.rc-electoral strong { color: var(--black); }

/* Middle */
.rc-mid { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid var(--gray-border); }
.rc-mid p { font-size: 14px; color: var(--gray-dark); }
.rc-mid strong { color: var(--black); margin-right: 4px; }

/* Bottom */
.rc-bottom { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.rc-bottom p { font-size: 14px; color: var(--gray-dark); }
.rc-bottom strong { color: var(--black); margin-right: 4px; }

/* keep old classes for safety */
.rc-enrol { display: none; }
.rc-details { display: none; }
.rc-body { display: none; }

.rc-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--gray-border);
}
.rc-note-text {
  font-size: 13px;
  color: #c0392b;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.rc-note-text i { font-size: 11px; color: var(--gold); flex-shrink: 0; }
.rc-note-text strong { font-weight: 700; }

.rc-ballot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 86px; height: 86px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  border: 3px solid var(--gold);
  box-shadow: 0 4px 16px rgba(27,42,74,0.3);
}
.rc-ballot-label {
  font-size: 8px;
  font-weight: 700;
  color: rgba(255,255,255,0.75);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
  font-family: 'Roboto', sans-serif;
}
.rc-ballot-num {
  font-size: 34px;
  font-weight: 800;
  color: var(--gold);
  font-family: 'Roboto', sans-serif;
  line-height: 1.1;
}

.no-result {
  text-align: center;
  padding: 40px;
  color: var(--gray);
  font-size: 15px;
}
.no-result i { font-size: 36px; color: var(--gray-border); display: block; margin-bottom: 12px; }

@media (max-width: 600px) {
  .result-cards { grid-template-columns: 1fr; }
}

/* ===== CONTACT ===== */
.contact { background: #0f3460; }
.contact .section-label { color: var(--gold); }
.contact .section-title { color: var(--white); }
.contact .section-sub { color: rgba(255,255,255,0.6); }
.contact-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.contact-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
  padding: 32px 20px 28px;
  text-align: center;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.contact-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(201,168,76,0.3));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.contact-card:hover {
  transform: translateY(-6px);
  background: rgba(255,255,255,0.1);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.contact-card:hover::after { transform: scaleX(1); }
.contact-card-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.contact-card-icon i { font-size: 24px; color: var(--white); }
.contact-card h4 {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.contact-card p { font-size: 15px; color: rgba(255,255,255,0.8); line-height: 1.7; }
.contact-card a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.contact-card a:hover { color: var(--gold); }

/* ===== FOOTER ===== */
.footer { background: #060d1a; color: rgba(255,255,255,0.8); padding: 60px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-icon { background: rgba(255,255,255,0.1); }
.footer-brand .logo-icon i { color: var(--gold); }
.footer-brand .logo-adv { color: var(--gold); }
.footer-brand .logo-name { color: var(--white); }
.footer-brand p { font-size: 15px; line-height: 1.8; color: rgba(255,255,255,0.6); margin-bottom: 16px; }
.footer-social {
  display: flex;
  gap: 12px;
}
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--accent); transform: translateY(-3px); }
.footer h4 { color: var(--white); font-size: 15px; font-weight: 600; margin-bottom: 16px; letter-spacing: 1px; text-transform: uppercase; }
.footer-links ul, .footer-practice ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 15px; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-links a:hover { color: var(--gold); }
.footer-practice li { font-size: 15px; color: rgba(255,255,255,0.6); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .sankalp-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-images { max-width: 500px; }
  .about-img-secondary { display: none; }
  .hero-inner { flex-direction: column; text-align: center; padding: 60px 20px 60px; gap: 32px; }
  .hero-content { max-width: 100%; }
  .hero-btns { justify-content: center; }
  .hero-info-card { justify-content: center; }
  .hero-poster { flex: none; width: 100%; max-width: 300px; }
  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  section { padding: 48px 0; }
  .hamburger { display: flex; }

  /* Header: fixed 58px, no overflow */
  .header .container { height: 58px; overflow: hidden; }
  .logo { gap: 8px; }
  .logo-icon { width: 32px; height: 32px; border-radius: 6px; }
  .logo-icon i { font-size: 14px; }
  .logo-adv { display: none; }
  .logo-name { font-size: 15px; }
  .logo-sub { font-size: 10px; }

  /* Hero: padding-top = header height only, no extra */
  .hero { padding-top: 58px; min-height: auto; }
  .hero-inner { flex-direction: column; text-align: center; padding: 36px 20px 32px; gap: 28px; }

  .nav {
    position: fixed;
    top: 58px; left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--gray-border);
    padding: 20px;
    transform: translateY(-200%);
    visibility: hidden;
    transition: transform var(--transition), visibility var(--transition);
    box-shadow: var(--shadow-md);
    z-index: 999;
  }
  .nav.open { transform: translateY(0); visibility: visible; }
  .nav-list { flex-direction: column; gap: 0; }
  .nav-link { display: block; padding: 14px 0; border-bottom: 1px solid var(--gray-border); font-size: 16px; }
  .nav-list li:last-child .nav-link { border-bottom: none; }

  .contact-cards { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .search-input-wrap { border-radius: var(--radius); flex-wrap: wrap; }
  .search-btn { width: 100%; border-radius: 0 0 var(--radius) var(--radius); }
  .search-icon { padding: 14px 16px; }
  .search-input-wrap input { padding: 14px 0; }
  .sankalp-grid { grid-template-columns: repeat(2, 1fr); }
  .about-images { display: block; }
  .about-grid { grid-template-columns: 1fr; }
  .about-carousel { display: none; }
  .gallery { display: none; }}

@media (max-width: 480px) {
  .sankalp-grid { grid-template-columns: 1fr; }
  .contact-cards { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 26px; }
  .hero-info-card { flex-direction: column; text-align: center; }
  .about-stats { flex-direction: column; gap: 16px; }
  .stat { display: flex; align-items: center; gap: 12px; text-align: left; }
}