/* ==========================================================================
   Rashtriya Bhagidari Party (राष्ट्रीय भागीदारी पार्टी)
   Theme: "संविधान" (Constitution, Justice, Equality, Representation)
   Design System: Indian Political Aesthetics, Modern, Responsive
   ========================================================================== */

:root {
  --rbp-saffron: #FF6F00;
  --rbp-saffron-dark: #E65100;
  --rbp-saffron-light: #FFF3E0;
  --rbp-navy: #0A1931;
  --rbp-navy-deep: #061021;
  --rbp-blue: #0F2D6B;
  --rbp-blue-light: #EFF6FF;
  --rbp-green: #138808;
  --rbp-gold: #D4AF37;
  --rbp-gold-light: #FEF3C7;
  --rbp-text-dark: #1E293B;
  --rbp-text-muted: #64748B;
  --rbp-bg-light: #F8FAFC;
  --rbp-card-shadow: 0 10px 25px -5px rgba(10, 25, 49, 0.08), 0 8px 10px -6px rgba(10, 25, 49, 0.04);
  --rbp-card-hover: 0 20px 30px -10px rgba(10, 25, 49, 0.15);
  --rbp-border-radius: 12px;
  --rbp-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-hindi: 'Tiro Devanagari Hindi', 'Noto Sans Devanagari', 'Poppins', sans-serif;
  --font-body: 'Poppins', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Cinzel', Georgia, serif;
}

/* Base & Typography */
body {
  font-family: var(--font-body);
  color: var(--rbp-text-dark);
  background-color: #FFFFFF;
  line-height: 1.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .font-devanagari {
  font-family: var(--font-hindi);
  color: var(--rbp-navy);
  font-weight: 700;
  line-height: 1.35;
}

.font-serif {
  font-family: var(--font-serif);
}

a {
  text-decoration: none;
  transition: var(--rbp-transition);
}

/* Tricolor Top Accent Stripe */
.tricolor-stripe {
  height: 5px;
  background: linear-gradient(90deg, var(--rbp-saffron) 0%, var(--rbp-saffron) 33.33%, #FFFFFF 33.33%, #FFFFFF 66.66%, var(--rbp-green) 66.66%, var(--rbp-green) 100%);
  width: 100%;
}

/* Top Announcement / Ticker Bar */
.top-ticker-bar {
  background-color: var(--rbp-navy-deep);
  color: #E2E8F0;
  font-size: 0.85rem;
  padding: 6px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.ticker-badge {
  background: linear-gradient(135deg, var(--rbp-saffron), var(--rbp-saffron-dark));
  color: #FFFFFF;
  padding: 2px 10px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.ticker-marquee {
  white-space: nowrap;
  overflow: hidden;
  position: relative;
}

.ticker-content {
  display: inline-block;
  animation: marquee 25s linear infinite;
}

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

.top-bar-links a {
  color: #CBD5E1;
  font-size: 0.82rem;
  margin-left: 15px;
}

.top-bar-links a:hover {
  color: var(--rbp-saffron);
}

/* Main Navbar */
.navbar-rbp {
  background: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  padding: 10px 0;
  position: sticky;
  top: 0;
  z-index: 1020;
  transition: var(--rbp-transition);
}

.navbar-rbp.scrolled {
  padding: 6px 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Brand Text Styles */
.text-brand {
  text-decoration: none;
  line-height: 1.15;
  padding: 0;
  margin-right: 15px;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
}

.brand-hindi {
  font-family: var(--font-hindi);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--rbp-navy);
  letter-spacing: -0.2px;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-english {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--rbp-saffron-dark);
  letter-spacing: 1.6px;
  line-height: 1.2;
  white-space: nowrap;
}

.nav-link-rbp {
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--rbp-navy) !important;
  padding: 7px 12px !important;
  border-radius: 6px;
  transition: var(--rbp-transition);
  position: relative;
  white-space: nowrap;
}

.nav-link-rbp:hover {
  color: var(--rbp-saffron-dark) !important;
  background-color: rgba(255, 111, 0, 0.08);
}

.nav-link-rbp.active {
  color: var(--rbp-saffron-dark) !important;
  font-weight: 700;
  background-color: transparent;
}

.nav-link-rbp.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background: var(--rbp-saffron);
  border-radius: 2px;
}

/* Samvidhan Special Nav Badge */
.nav-link-samvidhan {
  background: linear-gradient(135deg, var(--rbp-navy), var(--rbp-blue));
  color: #FFE082 !important;
  border-radius: 20px;
  padding: 6px 14px !important;
  border: 1px solid var(--rbp-gold);
  box-shadow: 0 2px 6px rgba(15, 45, 107, 0.15);
  font-size: 0.92rem;
  white-space: nowrap;
  transition: var(--rbp-transition);
}

.nav-link-samvidhan:hover {
  background: linear-gradient(135deg, var(--rbp-saffron), var(--rbp-saffron-dark));
  color: #FFFFFF !important;
  border-color: var(--rbp-saffron);
  transform: translateY(-1px);
}

.btn-join-nav {
  background: linear-gradient(135deg, var(--rbp-saffron), var(--rbp-saffron-dark));
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 7px 18px;
  border-radius: 20px;
  box-shadow: 0 3px 12px rgba(230, 81, 0, 0.3);
  border: none;
  white-space: nowrap;
  transition: var(--rbp-transition);
}

.btn-join-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(230, 81, 0, 0.4);
  color: #FFFFFF !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #07152E 0%, #0F2D6B 60%, #1A365D 100%);
  color: #FFFFFF;
  padding: 90px 0 110px 0;
  overflow: hidden;
}

.hero-pattern-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.07;
  background-image: radial-gradient(#FFFFFF 1.5px, transparent 1.5px), radial-gradient(#FF7700 1.5px, transparent 1.5px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 224, 130, 0.4);
  color: #FFE082;
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 3.1rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.38;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-title .text-accent {
  color: #FFB300;
  text-shadow: 0 2px 10px rgba(255, 179, 0, 0.3);
}

.hero-lead {
  font-size: 1.15rem;
  color: #E2E8F0;
  margin-bottom: 35px;
  font-weight: 400;
  max-width: 600px;
}

.btn-rbp-primary {
  background: linear-gradient(135deg, var(--rbp-saffron), var(--rbp-saffron-dark));
  color: #FFFFFF;
  font-weight: 700;
  padding: 13px 30px;
  border-radius: 30px;
  border: none;
  box-shadow: 0 4px 18px rgba(255, 111, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  transition: var(--rbp-transition);
}

.btn-rbp-primary:hover {
  background: linear-gradient(135deg, #FF8F00, #E65100);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 111, 0, 0.5);
}

.btn-rbp-outline {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #FFFFFF;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
  backdrop-filter: blur(8px);
  transition: var(--rbp-transition);
}

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

/* Hero Samvidhan Showcase Box */
.hero-samvidhan-card {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 215, 0, 0.35);
  border-radius: 20px;
  padding: 18px 16px;
  backdrop-filter: blur(15px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-samvidhan-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 45px rgba(0, 0, 0, 0.4);
}

.hero-samvidhan-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(45deg, var(--rbp-gold), transparent, var(--rbp-saffron));
  border-radius: 22px;
  z-index: -1;
  opacity: 0.6;
}

/* Hero Center Content Styles */
.hero-center-content .hero-title {
  font-size: 2.3rem;
  line-height: 1.34;
  margin-bottom: 18px;
}

.hero-center-content .hero-lead {
  font-size: 1.05rem;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 28px;
}

@media (min-width: 1400px) {
  .hero-center-content .hero-title {
    font-size: 2.65rem;
  }
}

/* Stats Ribbon */
.stats-ribbon-section {
  background: #FFFFFF;
  margin-top: -45px;
  position: relative;
  z-index: 10;
}

.stats-container {
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(10, 25, 49, 0.1);
  padding: 30px 20px;
  border-top: 4px solid var(--rbp-saffron);
}

.stat-item {
  text-align: center;
  padding: 10px 15px;
  border-right: 1px solid #E2E8F0;
}

.stat-item:last-child {
  border-right: none;
}

.stat-number {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--rbp-navy);
  font-family: var(--font-body);
  margin-bottom: 2px;
  background: linear-gradient(135deg, var(--rbp-navy), var(--rbp-saffron-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--rbp-text-muted);
}

/* Section Common Styles */
.section-padding {
  padding: 80px 0;
}

.section-padding-sm {
  padding: 50px 0;
}

.bg-light-cream {
  background-color: #FAF8F5;
}

.section-badge {
  display: inline-block;
  background-color: var(--rbp-saffron-light);
  color: var(--rbp-saffron-dark);
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 16px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 111, 0, 0.2);
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--rbp-navy);
  margin-bottom: 15px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--rbp-text-muted);
  max-width: 680px;
  margin: 0 auto;
}

/* Preamble / Samvidhan Callout Card */
.preamble-box {
  background: linear-gradient(135deg, #FFFDF8 0%, #FFF8EE 100%);
  border: 2px solid var(--rbp-gold);
  border-radius: 16px;
  padding: 35px 30px;
  position: relative;
  box-shadow: var(--rbp-card-shadow);
}

.preamble-box::after {
  content: 'उद्देशिका';
  position: absolute;
  top: 15px;
  right: 25px;
  font-size: 4rem;
  font-weight: 900;
  color: rgba(212, 175, 55, 0.12);
  pointer-events: none;
  font-family: var(--font-hindi);
}

.preamble-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: #2D3748;
  font-family: var(--font-hindi);
  text-align: justify;
}

/* Feature & Ideology Cards */
.ideology-card {
  background: #FFFFFF;
  border-radius: var(--rbp-border-radius);
  padding: 32px 25px;
  box-shadow: var(--rbp-card-shadow);
  border: 1px solid #E2E8F0;
  transition: var(--rbp-transition);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.ideology-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--rbp-card-hover);
  border-color: var(--rbp-saffron);
}

.ideology-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--rbp-saffron), var(--rbp-blue));
  opacity: 0;
  transition: var(--rbp-transition);
}

.ideology-card:hover::before {
  opacity: 1;
}

.ideology-icon-wrapper {
  width: 65px;
  height: 65px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--rbp-saffron-light), #FFE0B2);
  color: var(--rbp-saffron-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 20px;
  transition: var(--rbp-transition);
}

.ideology-card:hover .ideology-icon-wrapper {
  background: linear-gradient(135deg, var(--rbp-saffron), var(--rbp-saffron-dark));
  color: #FFFFFF;
  transform: scale(1.08);
}

/* Leadership Cards */
.leader-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--rbp-card-shadow);
  border: 1px solid #E2E8F0;
  transition: var(--rbp-transition);
  height: 100%;
}

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

.leader-image-wrapper {
  position: relative;
  background: #F1F5F9;
  text-align: center;
  overflow: hidden;
}

.leader-image-wrapper img {
  width: 100%;
  height: 230px;
  object-fit: contain;
  transition: var(--rbp-transition);
}

.leader-card:hover .leader-image-wrapper img {
  transform: scale(1.04);
}

.leader-content {
  padding: 24px 20px;
}

.leader-name {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--rbp-navy);
  margin-bottom: 4px;
}

.leader-designation {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--rbp-saffron-dark);
  margin-bottom: 12px;
}

.leader-quote {
  font-size: 0.88rem;
  color: var(--rbp-text-muted);
  font-style: italic;
  border-left: 3px solid var(--rbp-gold);
  padding-left: 10px;
  margin-bottom: 15px;
}

.leader-social a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #F1F5F9;
  color: var(--rbp-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 0.85rem;
  transition: var(--rbp-transition);
}

.leader-social a:hover {
  background: var(--rbp-saffron);
  color: #FFFFFF;
}

/* News Cards */
.news-card {
  background: #FFFFFF;
  border-radius: var(--rbp-border-radius);
  overflow: hidden;
  box-shadow: var(--rbp-card-shadow);
  border: 1px solid #E2E8F0;
  transition: var(--rbp-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

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

.news-thumb {
  position: relative;
  height: 200px;
  overflow: hidden;
  background-color: #E2E8F0;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--rbp-transition);
}

.news-card:hover .news-thumb img {
  transform: scale(1.05);
}

.news-category-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--rbp-saffron);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
}

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

.news-date {
  font-size: 0.8rem;
  color: var(--rbp-text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-title {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.news-title a {
  color: var(--rbp-navy);
}

.news-title a:hover {
  color: var(--rbp-saffron-dark);
}

.news-excerpt {
  font-size: 0.9rem;
  color: var(--rbp-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}

.news-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--rbp-saffron-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.news-link:hover {
  gap: 10px;
  color: var(--rbp-navy);
}

/* Gallery Grid */
.gallery-nav-pills .nav-link {
  background: #F1F5F9;
  color: var(--rbp-navy);
  font-weight: 600;
  border-radius: 30px;
  padding: 8px 20px;
  margin: 4px;
  font-size: 0.9rem;
  border: 1px solid #E2E8F0;
  transition: var(--rbp-transition);
}

.gallery-nav-pills .nav-link.active, .gallery-nav-pills .nav-link:hover {
  background: var(--rbp-navy);
  color: #FFFFFF;
  border-color: var(--rbp-navy);
}

.gallery-card {
  position: relative;
  border-radius: var(--rbp-border-radius);
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  height: 290px;
  background: #0a1931;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: var(--rbp-transition);
}

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

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(10, 25, 49, 0.85) 85%, rgba(10, 25, 49, 0.98) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px 18px;
  color: #FFFFFF;
  transition: var(--rbp-transition);
}

.gallery-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: #FFFFFF;
}

.gallery-meta {
  font-size: 0.8rem;
  color: #CBD5E1;
}

/* Featured Video Card */
.featured-video-card {
  background: #0A1931;
  border-radius: var(--rbp-border-radius);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(10, 25, 49, 0.15);
  border: 1px solid rgba(255, 111, 0, 0.2);
  transition: var(--rbp-transition);
}

.featured-video-card:hover {
  box-shadow: 0 15px 35px rgba(255, 111, 0, 0.2);
  border-color: var(--rbp-saffron);
}

.video-header-bar {
  background: rgba(0, 0, 0, 0.4);
  padding: 10px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.video-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(220, 38, 38, 0.2);
  color: #EF4444;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.video-pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #EF4444;
  border-radius: 50%;
  animation: videoPulse 1.5s infinite;
}

@keyframes videoPulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
  70% { transform: scale(1.2); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.video-info-box {
  padding: 16px 20px;
  background: linear-gradient(180deg, #0A1931 0%, #061122 100%);
  color: #FFFFFF;
}

.video-info-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #F8FAFC;
  margin-bottom: 4px;
}

.video-info-desc {
  font-size: 0.85rem;
  color: #94A3B8;
  margin-bottom: 0;
}

/* Interactive Video Thumbnail Cards */
.video-thumb-card {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--rbp-border-radius);
  overflow: hidden;
  box-shadow: var(--rbp-card-shadow);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.video-thumb-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(255, 111, 0, 0.18);
  border-color: rgba(255, 111, 0, 0.4);
}

.video-thumb-card.active-video-thumb {
  border-color: var(--rbp-saffron);
  box-shadow: 0 10px 25px rgba(255, 111, 0, 0.25);
  background: #FFFDF9;
}

.video-thumb-preview {
  position: relative;
  height: 170px;
  overflow: hidden;
  background: #0A1931;
}

.video-thumb-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.video-thumb-card:hover .video-thumb-preview img {
  transform: scale(1.08);
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 25, 49, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.video-thumb-card:hover .video-play-overlay {
  background: rgba(10, 25, 49, 0.2);
}

.play-btn-circle {
  width: 48px;
  height: 48px;
  background: var(--rbp-saffron);
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.6);
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.video-thumb-card:hover .play-btn-circle {
  transform: scale(1.15);
  background: #E65100;
}

.video-thumb-card.active-video-thumb .play-btn-circle {
  background: #10B981;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.6);
}

.video-thumb-body {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
}

.video-thumb-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rbp-navy);
  margin-bottom: 6px;
  line-height: 1.35;
}

.video-thumb-meta {
  font-size: 0.78rem;
  color: #64748B;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.now-playing-badge {
  display: none;
  font-size: 0.72rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  padding: 2px 8px;
  border-radius: 12px;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.video-thumb-card.active-video-thumb .now-playing-badge {
  display: inline-flex;
  align-items: center;
}

/* Join & CTA Section */
.cta-banner-section {
  background: linear-gradient(135deg, var(--rbp-navy) 0%, #0F2D6B 100%);
  color: #FFFFFF;
  padding: 70px 0;
  position: relative;
  overflow: hidden;
}

.cta-banner-section::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 100%;
  background: radial-gradient(circle, rgba(255, 111, 0, 0.25) 0%, transparent 70%);
  pointer-events: none;
}

/* Forms */
.form-rbp-control {
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.95rem;
  transition: var(--rbp-transition);
}

.form-rbp-control:focus {
  border-color: var(--rbp-saffron);
  box-shadow: 0 0 0 3px rgba(255, 111, 0, 0.15);
  outline: none;
}

.form-label-rbp {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--rbp-navy);
  margin-bottom: 6px;
}

/* Page Banner (For Inner Pages) */
.page-header-banner {
  background: linear-gradient(135deg, var(--rbp-navy-deep) 0%, var(--rbp-blue) 100%);
  color: #FFFFFF;
  padding: 60px 0 50px 0;
  position: relative;
  border-bottom: 4px solid var(--rbp-saffron);
  overflow: hidden;
}

.page-header-banner::after {
  content: '';
  position: absolute;
  top: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 111, 0, 0.2) 0%, rgba(255, 179, 0, 0.05) 50%, transparent 70%);
  border-radius: 50%;
  animation: pulseGlow 5s ease-in-out infinite alternate;
  pointer-events: none;
}

.page-header-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 10px;
  animation: fadeInDown 0.6s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.page-breadcrumb {
  font-size: 0.88rem;
  animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s both;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.page-breadcrumb a {
  color: #CBD5E1;
}

.page-breadcrumb a:hover {
  color: var(--rbp-saffron);
}

.page-breadcrumb .active {
  color: #FFE082;
  font-weight: 600;
}

/* Footer */
.footer-rbp {
  background-color: var(--rbp-navy-deep);
  color: #CBD5E1;
  padding: 70px 0 0 0;
  border-top: 5px solid var(--rbp-saffron);
}

.footer-heading {
  color: #FFFFFF;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--rbp-saffron);
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #94A3B8;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--rbp-transition);
}

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

.footer-social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  transition: var(--rbp-transition);
}

.footer-social-link:hover {
  background: var(--rbp-saffron);
  color: #FFFFFF;
  transform: translateY(-3px);
}

.footer-bottom {
  background-color: #030812;
  padding: 20px 0;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.85rem;
  color: #64748B;
}

/* Responsive & Utility classes */
.text-saffron {
  color: var(--rbp-saffron-dark) !important;
}

.text-navy {
  color: var(--rbp-navy) !important;
}

.bg-saffron-light {
  background-color: var(--rbp-saffron-light) !important;
}

.bg-navy {
  background-color: var(--rbp-navy) !important;
}

/* ==========================================================================
   Continuous Right-to-Left Mahapurush Slider & Global Animations
   ========================================================================== */

/* Mahapurush Slider Section */
.mahapurush-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 15px 0 25px 0;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.mahapurush-slider-track {
  display: flex;
  gap: 22px;
  width: max-content;
  animation: slideRightToLeft 45s linear infinite;
}

.mahapurush-slider-track:hover {
  animation-play-state: paused;
}

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

.mahapurush-slide-card {
  width: 260px;
  min-width: 260px;
  background: #FFFFFF;
  border-radius: 20px;
  padding: 24px 18px 20px 18px;
  box-shadow: 0 10px 30px rgba(10, 25, 49, 0.08);
  border: 1.5px solid #F1F5F9;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--rbp-transition);
  cursor: pointer;
}

.mahapurush-slide-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 20px 40px rgba(255, 111, 0, 0.2);
  border-color: var(--rbp-saffron);
}

.mahapurush-avatar-container {
  width: 140px;
  height: 140px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mahapurush-avatar-lg {
  width: 135px;
  height: 135px;
  min-width: 135px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 4px solid var(--rbp-gold);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
  background-color: #FFFFFF;
  transition: var(--rbp-transition);
}

.mahapurush-slide-card:hover .mahapurush-avatar-lg {
  transform: scale(1.06);
  border-color: var(--rbp-saffron);
  box-shadow: 0 10px 25px rgba(255, 111, 0, 0.3);
}

.mahapurush-name-lg {
  font-family: var(--font-hindi);
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--rbp-navy);
  margin-bottom: 4px;
  line-height: 1.3;
}

.mahapurush-role-lg {
  font-size: 0.85rem;
  color: var(--rbp-text-muted);
  line-height: 1.3;
  margin-bottom: 8px;
  max-width: 100%;
}

.mahapurush-tag-lg {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 14px;
  display: inline-block;
}

/* Global Website Animations */
.hero-samvidhan-card {
  animation: floatHeroCard 6s ease-in-out infinite;
}

@keyframes floatHeroCard {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero-badge {
  animation: pulseGlow 3s infinite;
}

@keyframes pulseGlow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(255, 224, 130, 0.4);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(255, 224, 130, 0);
  }
}

.btn-rbp-primary, .btn-join-nav {
  position: relative;
  overflow: hidden;
}

.btn-rbp-primary::before, .btn-join-nav::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: 0.5s;
}

.btn-rbp-primary:hover::before, .btn-join-nav:hover::before {
  left: 100%;
}

.hover-lift, 
.vision-pillar-card, 
.mission-pillar-box, 
.manifesto-card, 
.contact-card,
.stat-item,
.p-4.bg-white.rounded-4,
.p-4.rounded-4.shadow-sm,
.p-3.bg-white.rounded-3 {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease;
}

.hover-lift:hover,
.p-4.bg-white.rounded-4:hover,
.p-4.rounded-4.shadow-sm:hover,
.p-3.bg-white.rounded-3:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(10, 25, 49, 0.12) !important;
}

/* Scroll Reveal Dynamic Animation */
.scroll-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Subtle glowing pulse on live badges */
.badge-live-pulse {
  animation: liveBadgePulse 2s infinite ease-in-out;
}

@keyframes liveBadgePulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.85;
  }
}

/* About Page Leader Hero Cards Animation */
.leader-hero-card {
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  animation: subtleLeaderFloat 5s ease-in-out infinite alternate;
}

.leader-hero-card-secondary {
  animation: subtleLeaderFloat 5.5s ease-in-out 1.2s infinite alternate;
}

.leader-hero-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 35px -5px rgba(10, 25, 49, 0.15) !important;
}

@keyframes subtleLeaderFloat {
  0% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(-6px);
  }
}

/* ==========================================================================
   Print Stylesheet (सदस्यता रसीद एवं प्रमाणपत्र प्रिंटिंग)
   ========================================================================== */
@media print {
  body {
    background-color: #FFFFFF !important;
    color: #000000 !important;
    font-size: 12pt;
    margin: 0 !important;
    padding: 0 !important;
  }

  .top-ticker-bar,
  .tricolor-stripe,
  .navbar,
  .page-header-banner,
  footer,
  .btn,
  button,
  .no-print,
  .alert,
  .section-padding > .container > .row {
    display: none !important;
  }

  .section-padding {
    padding: 0 !important;
  }

  .container {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  #printableMembershipCard {
    display: block !important;
    position: relative !important;
    width: 100% !important;
    max-width: 680px !important;
    margin: 30px auto !important;
    border: 2px solid #D4AF37 !important;
    box-shadow: none !important;
    border-radius: 12px !important;
    background-color: #FFFFFF !important;
    page-break-inside: avoid;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }
}

/* image css */

.gallery-photo-card {
    width: 100%;
    height: 230px;
    overflow: hidden;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 5px 18px rgba(0,0,0,0.10);
    transition: all 0.3s ease;
}

.gallery-photo-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform 0.4s ease;
}

.gallery-photo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

@media (max-width: 576px) {
    .gallery-photo-card {
        height: 180px;
    }
}

/* document gallery css  */

/* =========================================================
   DOCUMENT GALLERY
   ========================================================= */

.document-gallery-item {
    display: flex;
}

.document-gallery-card {
    width: 100%;
    aspect-ratio: 1 / 1;          /* height kam: pehle 3 / 4 thi */
    overflow: hidden;
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.10);
    transition: all 0.3s ease;
}

.document-gallery-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;          /* image crop nahi hogi */
    object-position: center;
    background: #ffffff;
    transition: transform 0.4s ease;
}

.document-gallery-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.document-gallery-card:hover img {
    transform: scale(1.02);
}

/* Mobile */
@media (max-width: 576px) {

    .document-gallery-card {
        aspect-ratio: 1 / 1;
        border-radius: 12px;
    }

}