/* CBSN Custom Styles - Recreating Reference Design */
:root {
  --cbsn-blue: #1e76e8;
  --cbsn-blue-dark: #1257af;
  --cbsn-blue-light: #38bdf8;
  --cbsn-navy: #0b172a;
  --cbsn-dark: #18181b;
  --cbsn-gray-bg: #f8fafc;
  --cbsn-card-border: #e2e8f0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #1e293b;
  background-color: #ffffff;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-weight: 700;
}

/* Header */
.cbsn-header {
  background-color: var(--cbsn-blue);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}

.cbsn-header.scrolled {
  background-color: rgba(30, 118, 232, 0.98);
  backdrop-filter: blur(10px);
}

/* Hero Section */
.hero-wrapper {
  position: relative;
  background-color: #0b172a;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  opacity: 0.82;
  filter: saturate(1.1) contrast(1.08);
  pointer-events: none;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(11, 23, 42, 0.78) 0%, rgba(20, 80, 145, 0.62) 50%, rgba(11, 23, 42, 0.82) 100%);
  z-index: 1;
}

.hero-emblem-badge {
  filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.45));
  animation: emblemFloat 4s ease-in-out infinite alternate;
}

@keyframes emblemFloat {
  0% { transform: translateY(0px) scale(1); }
  100% { transform: translateY(-6px) scale(1.02); }
}

.hero-slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
  transition: opacity 1.2s ease-in-out, transform 8s ease-in-out;
  transform: scale(1.05);
}

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

/* Buttons */
.btn-cbsn-primary {
  background-color: #2563eb;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
  transition: all 0.25s ease;
}

.btn-cbsn-primary:hover {
  background-color: #1d4ed8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
  color: #ffffff;
}

.btn-cbsn-outline {
  border: 2px solid #ffffff;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  transition: all 0.25s ease;
}

.btn-cbsn-outline:hover {
  background-color: #ffffff;
  color: #1e293b;
  transform: translateY(-2px);
}

/* Advantage / Feature Pillar Cards */
.pillar-card {
  position: relative;
  padding-top: 1rem;
  transition: transform 0.3s ease;
}

.pillar-card:hover {
  transform: translateY(-4px);
}

.pillar-bar {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* Ideology Cards */
.ideology-card {
  background: #ffffff;
  border-radius: 8px;
  padding: 2rem 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid #f1f5f9;
  transition: all 0.3s ease;
}

.ideology-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(30, 112, 191, 0.12);
  border-color: #bfdbfe;
}

.ideology-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background-color: #eff6ff;
  color: #1e70bf;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.ideology-card:hover .ideology-icon-box {
  background-color: #1e70bf;
  color: #ffffff;
}

/* Steps Section (Dark) */
.steps-dark-section {
  background-color: #18181b;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  transition: all 0.3s ease;
}

.step-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #38bdf8;
  transform: translateY(-4px);
}

.step-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.25rem auto;
}

/* Event Card */
.event-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
}

.event-badge {
  background-color: #475569;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 4px;
}

/* Mobile Drawer Navigation */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(11, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82%;
  max-width: 340px;
  background: #ffffff;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

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

/* Animated Hamburger */
.hamburger-line {
  display: block;
  width: 24px;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.hamburger.is-active .line-1 {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.is-active .line-2 {
  opacity: 0;
}
.hamburger.is-active .line-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* Floating Actions */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: #25d366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: all 0.3s ease;
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 26px rgba(37, 211, 102, 0.6);
  color: #ffffff;
}

.back-to-top {
  position: fixed;
  bottom: 90px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  background-color: rgba(30, 41, 59, 0.85);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  z-index: 89;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background-color: var(--cbsn-blue);
  transform: translateY(-3px);
}

