/* ==========================================================================
   RAMESH RICHARD - MODERN DESIGN SYSTEM 2026
   A clean, premium, editorial aesthetic designed for intellectual & spiritual depth
   ========================================================================== */

:root {
  --primary: #0a1128;
  --primary-rgb: 10, 17, 40;
  --primary-dark: #050814;
  --primary-light: #1c2541;
  
  --secondary: #1e3a8a;
  --accent: #0ea5e9;
  --accent-rgb: 14, 165, 233;
  --accent-hover: #0284c7;
  --accent-light: #e0f2fe;
  --accent-gradient: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  
  --gold: #d97706;
  --gold-light: #fef3c7;
  
  --bg-page: #f8fafc;
  --bg-card: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --border-subtle: #e2e8f0;
  --border-focus: #38bdf8;
  
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-serif: 'Playfair Display', Georgia, Cambria, "Times New Roman", serif;
  
  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.04), 0 1px 2px rgba(15, 23, 42, 0.02);
  --shadow-md: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 40px -10px rgba(15, 23, 42, 0.09), 0 8px 16px -4px rgba(15, 23, 42, 0.04);
  --shadow-xl: 0 25px 60px -15px rgba(15, 23, 42, 0.16);
  --shadow-glow: 0 0 25px rgba(14, 165, 233, 0.35);
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.15s ease;
}

/* Base & Typography */
html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

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

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--accent-hover);
}

.container-custom {
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
  padding: 12px 0;
}

.site-header.scrolled {
  padding: 8px 0;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.header-brand img {
  height: 44px;
  width: auto;
  transition: var(--transition);
}

.header-brand-title {
  display: flex;
  flex-direction: column;
}

.header-brand-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.header-brand-tagline {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

/* Desktop Nav Menu */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desktop-nav li a {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition-fast);
  position: relative;
}

.desktop-nav li a:hover {
  color: var(--primary);
  background: rgba(241, 245, 249, 0.8);
}

.desktop-nav li.active a {
  color: var(--primary);
  background: #f1f5f9;
  font-weight: 700;
}

.desktop-nav li.active a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}

.header-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--accent-gradient);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 15px rgba(14, 165, 233, 0.25);
  transition: var(--transition);
  text-decoration: none;
}

.header-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(14, 165, 233, 0.35);
  color: #ffffff !important;
}

.header-cta-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.header-cta-btn:hover svg {
  transform: translateX(3px);
}

/* Mobile Toggle Hamburger */
.mobile-toggle-btn {
  display: none;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  color: var(--primary);
}

.mobile-toggle-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

/* Mobile Drawer Overlay */
.mobile-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 17, 40, 0.6);
  backdrop-filter: blur(8px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #ffffff;
  z-index: 10001;
  padding: 30px 25px;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-body);
}

.mobile-drawer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer-nav li a {
  display: block;
  padding: 12px 16px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-heading);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.mobile-drawer-nav li a:hover,
.mobile-drawer-nav li.active a {
  background: #f1f5f9;
  color: var(--accent);
}

.mobile-drawer-footer {
  margin-top: auto;
  padding-top: 25px;
  border-top: 1px solid var(--border-subtle);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn-primary-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: var(--accent-gradient);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-pill);
  border: none;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.28);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.4);
  color: #ffffff !important;
}

.btn-primary-modern svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.btn-primary-modern:hover svg {
  transform: translateX(4px);
}

.btn-secondary-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  background: #ffffff;
  color: var(--primary) !important;
  font-weight: 700;
  font-size: 15px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary-modern:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--accent) !important;
}

.badge-pill-accent {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: rgba(14, 165, 233, 0.12);
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(14, 165, 233, 0.2);
}

.badge-pill-gold {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  background: var(--gold-light);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
}

/* ==========================================================================
   HOMEPAGE MODERN STYLING
   ========================================================================== */
.modern-hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background-image: url("../images/banner-img.webp");
  background-size: cover;
  background-position: right top;
  background-repeat: no-repeat;
  padding: 110px 0 70px;
  overflow: hidden;
}

.hero-scroll-btn {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  color: rgba(255, 255, 255, 0.65);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
}

.hero-scroll-btn:hover {
  color: #ffffff;
  transform: translateX(-50%) translateY(3px);
}

.hero-scroll-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  animation: heroBounce 2s infinite ease-in-out;
}

@keyframes heroBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(6px); }
  60% { transform: translateY(3px); }
}

.modern-hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(100deg, rgba(10, 17, 40, 0.96) 0%, rgba(10, 17, 40, 0.88) 42%, rgba(10, 17, 40, 0.25) 100%);
  z-index: 1;
}

.modern-hero-section .container {
  position: relative;
  z-index: 2;
}

.hero-main-card {
  max-width: 640px;
}

.hero-main-card h1 {
  font-size: 54px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 20px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-main-card .hero-tagline {
  font-size: 20px;
  font-weight: 400;
  color: #e2e8f0;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 45px;
}

/* Key Metrics / Proof Bar */
.hero-proof-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
}

.proof-item {
  display: flex;
  flex-direction: column;
}

.proof-item strong {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.proof-item span {
  font-size: 12px;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

/* ==========================================================================
   FEATURED & SELECTED VIDEOS
   ========================================================================== */
.section-wrapper {
  padding: 90px 0;
}

.section-title-wrap {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 55px;
}

.section-title-wrap h2 {
  font-size: 38px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 12px;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-title-wrap p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Featured Video Card (Campaign Choice) */
.featured-hero-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  margin-bottom: 45px;
}

.featured-hero-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

.featured-hero-card .row {
  align-items: stretch;
}

.featured-thumb-col {
  display: flex;
}

.featured-thumb-container {
  position: relative;
  min-height: 380px;
  height: 100%;
  width: 100%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.featured-thumb-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.featured-thumb-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 17, 40, 0.22);
  pointer-events: none;
  transition: var(--transition);
}

.featured-hero-card:hover .featured-thumb-container::after {
  background: rgba(10, 17, 40, 0.1);
}

.featured-hero-card:hover .featured-thumb-container img {
  transform: scale(1.05);
}

.play-pulse-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 72px;
  height: 72px;
  background: var(--accent-gradient);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.5);
  animation: pulseRipple 2s infinite;
  transition: var(--transition);
  z-index: 3;
}

.featured-hero-card:hover .play-pulse-btn {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 8px 30px rgba(14, 165, 233, 0.5);
}

.play-pulse-btn svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
  margin-left: 4px;
}

@keyframes pulseRipple {
  0% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0.6);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(14, 165, 233, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(14, 165, 233, 0);
  }
}

.featured-body-container {
  padding: 45px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.featured-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.featured-body-container h3 {
  font-size: 30px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 16px;
}

.featured-body-container h3 a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

.featured-body-container h3 a:hover {
  color: var(--accent);
}

.featured-body-container p {
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 28px;
}

/* Companion Video Cards Grid */
.modern-video-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-subtle);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.modern-video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

.modern-video-thumb {
  position: relative;
  width: 100%;
  padding-top: 60%; /* Aspect Ratio */
  background: var(--primary);
  overflow: hidden;
  display: block;
}

.modern-video-thumb img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modern-video-thumb::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(10, 17, 40, 0.2);
  pointer-events: none;
  transition: var(--transition);
}

.modern-video-card:hover .modern-video-thumb::after {
  background: rgba(10, 17, 40, 0.08);
}

.modern-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  background: rgba(10, 17, 40, 0.8);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  z-index: 2;
}

.modern-play-icon svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
  margin-left: 3px;
}

.modern-video-card:hover .modern-play-icon {
  background: var(--accent);
  border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.15);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
}

.modern-video-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.modern-video-topic {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
  display: inline-block;
}

.modern-video-body h4 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 10px;
  min-height: 48px;
}

.modern-video-body h4 a {
  color: var(--text-heading);
  transition: var(--transition-fast);
}

.modern-video-body h4 a:hover {
  color: var(--accent);
}

.modern-video-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 18px;
  flex-grow: 1;
}

.card-action-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  transition: var(--transition-fast);
}

.card-action-link svg {
  width: 10px;
  height: 10px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.card-action-link:hover {
  color: var(--accent);
  transform: translateX(3px);
}

.card-action-link:hover svg {
  transform: translateX(4px);
}

/* Fallback Card Graphic */
.fallback-thumb-box {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary) 0%, #1e293b 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  padding: 20px;
  text-align: center;
}

.fallback-thumb-box svg {
  opacity: 0.8;
  margin-bottom: 6px;
}

.fallback-thumb-topic {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Library Discovery Box */
.library-discovery-card {
  margin-top: 50px;
  padding: 40px;
  background: #ffffff;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 25px;
}

.library-discovery-text h3 {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 6px;
}

.library-discovery-text p {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

.library-discovery-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   QUOTE / REFLECTION BANNER
   ========================================================================== */
.editorial-quote-section {
  padding: 85px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #111a38 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.editorial-quote-section::before {
  content: "“";
  position: absolute;
  top: -40px;
  left: 8%;
  font-family: var(--font-serif);
  font-size: 260px;
  color: rgba(255, 255, 255, 0.04);
  line-height: 1;
  pointer-events: none;
}

.quote-inner {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.quote-inner blockquote {
  font-family: var(--font-serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.5;
  color: #ffffff;
  margin-bottom: 24px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.quote-inner cite {
  display: block;
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ==========================================================================
   ABOUT DR. RAMESH RICHARD SECTION
   ========================================================================== */
.about-modern-section {
  padding: 95px 0;
  background: #ffffff;
}

.about-author-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-author-frame img {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.about-author-frame:hover img {
  transform: scale(1.03);
}

.about-author-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  padding: 16px 20px;
  background: rgba(10, 17, 40, 0.88);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.about-author-badge strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
}

.about-author-badge span {
  font-size: 13px;
  color: var(--accent);
}

.about-content-col {
  padding-left: 35px;
}

.about-content-col h2 {
  font-size: 38px;
  font-weight: 800;
  margin-top: 10px;
  margin-bottom: 20px;
}

.about-content-col p {
  font-size: 16.5px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 18px;
}

.credentials-pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 25px 0 35px;
}

.credential-pill {
  padding: 8px 16px;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* ==========================================================================
   TOPICS DIRECTORY CARDS
   ========================================================================== */
.topic-card-modern {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.topic-card-modern:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: var(--shadow-lg);
}

.topic-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.topic-card-index {
  font-size: 12px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.topic-card-modern h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.topic-card-modern h3 a {
  color: var(--primary);
}

.topic-card-modern h3 a:hover {
  color: var(--accent);
}

.topic-card-modern p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 22px;
  flex-grow: 1;
}

.topic-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid #f1f5f9;
}

.topic-item-pill {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-light);
}

/* ==========================================================================
   VIDEO PAGE FILTER & CONTROLS
   ========================================================================== */
.video-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 45px;
}

.video-filter-chip {
  padding: 9px 20px;
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition-fast);
  text-decoration: none;
}

.video-filter-chip:hover {
  background: #f1f5f9;
  color: var(--primary);
  border-color: #cbd5e1;
}

.video-filter-chip.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(10, 17, 40, 0.2);
}

/* Horizontal scroll view on mobile only */
@media (max-width: 768px) {
  .video-filter-bar {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    padding-top: 6px;
    padding-bottom: 14px;
    margin-bottom: 25px;
    margin-left: -20px;
    margin-right: -20px;
    padding-left: 20px;
    padding-right: 20px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .video-filter-bar::-webkit-scrollbar {
    display: none;
  }

  .video-filter-chip {
    flex-shrink: 0;
    white-space: nowrap;
    user-select: none;
    -webkit-user-select: none;
  }

  .video-filter-bar::after {
    content: '';
    padding-right: 10px;
    flex-shrink: 0;
  }
}

/* Modern Pagination */
.modern-pagination-container {
  display: flex;
  justify-content: center;
  margin-top: 55px;
}

.modern-pagination-container .pagination {
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
}

.modern-pagination-container .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border-radius: var(--radius-md);
  background: #ffffff;
  border: 1px solid var(--border-subtle);
  color: var(--primary);
  font-weight: 700;
  font-size: 15px;
  transition: var(--transition-fast);
}

.modern-pagination-container .page-item.active .page-link {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.modern-pagination-container .page-link:hover {
  background: var(--accent);
  color: #ffffff;
  border-color: var(--accent);
}

/* ==========================================================================
   SINGLE VIDEO & ARTICLE READING EXPERIENCE
   ========================================================================== */
.single-view-container {
  padding: 130px 0 80px;
  background: var(--bg-page);
}

.cinematic-player-box {
  background: #000000;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.35);
  margin-bottom: 40px;
}

.author-byline-box {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 30px;
}

.author-avatar-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.author-meta-text strong {
  display: block;
  font-size: 15px;
  color: var(--text-heading);
}

.author-meta-text span {
  font-size: 13px;
  color: var(--text-muted);
}

.single-lead-excerpt {
  font-size: 19px;
  color: var(--text-heading);
  line-height: 1.65;
  margin-bottom: 30px;
  font-weight: 500;
}

.rich-content-area {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
}

.rich-content-area p {
  margin-bottom: 22px;
}

/* Sidebar Related List */
.sidebar-related-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 30px 25px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}

.sidebar-related-card h3 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-subtle);
}

/* ==========================================================================
   FORMS & CONTACT / SUBSCRIBE PAGES
   ========================================================================== */
.form-card-modern {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 45px 50px;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-lg);
}

.form-group-modern {
  margin-bottom: 22px;
}

.form-label-modern {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 8px;
}

.form-control-modern {
  width: 100%;
  padding: 13px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-heading);
  background: #f8fafc;
  transition: var(--transition-fast);
}

.form-control-modern:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(14, 165, 233, 0.15);
}

.captcha-box-modern {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: #f1f5f9;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  font-weight: 700;
  color: var(--primary);
  font-size: 16px;
}

.captcha-box-modern input {
  width: 90px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  text-align: center;
  font-weight: 700;
}

.g-recaptcha-wrapper {
  display: block;
  margin: 6px 0 16px 0;
  overflow: visible !important;
}

.g-recaptcha {
  display: inline-block;
}

@media (max-width: 480px) {
  .g-recaptcha {
    transform: scale(0.92);
    transform-origin: 0 0;
  }
}

@media (max-width: 360px) {
  .g-recaptcha {
    transform: scale(0.82);
    transform-origin: 0 0;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer-modern {
  background: var(--primary);
  color: #cbd5e1;
  padding: 80px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand-col p {
  font-size: 15px;
  line-height: 1.7;
  color: #94a3b8;
  margin: 18px 0 25px;
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 22px;
}

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

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

.footer-nav-list li a {
  color: #94a3b8;
  font-size: 14.5px;
  transition: var(--transition-fast);
}

.footer-nav-list li a:hover {
  color: var(--accent);
  padding-left: 4px;
}

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

.footer-social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}

.footer-social-icon:hover {
  background: var(--accent);
  color: #ffffff;
  transform: translateY(-3px);
  border-color: var(--accent);
}

.footer-social-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-bottom-bar {
  margin-top: 65px;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .desktop-nav, .header-cta-btn { display: none; }
  .mobile-toggle-btn { display: block; }
  .hero-main-card h1 { font-size: 40px; }
  .modern-hero-section { background-position: 75% top; }
  .hero-proof-bar { grid-template-columns: repeat(2, 1fr); }
  .featured-thumb-container { min-height: 280px; }
  .featured-body-container { padding: 30px; }
  .about-content-col { padding-left: 0; margin-top: 40px; }
  .form-card-modern { padding: 30px 25px; }
}

@media (max-width: 576px) {
  .hero-main-card h1 { font-size: 32px; }
  .modern-hero-section { min-height: 100vh; min-height: 100svh; padding: 100px 0 50px; background-position: 68% top; }
  .section-title-wrap h2 { font-size: 28px; }
  .hero-proof-bar { grid-template-columns: 1fr; }
  .footer-bottom-bar { text-align: center; justify-content: center; }
  .hero-scroll-btn { display: none; }
}
