/* ==========================================================================
   Prashasan Career Academy — Human-Crafted Editorial & Animated Design System
   Palette extracted directly from Saurabh Patil's Logo:
   - Deep Cobalt Blue: #055B8F / #0D6EBD
   - Emerald Green:    #0A6B4A
   - Saffron & Gold:   #F2B705 -> #E06D1B
   - Warm Paper Cream: #FBF9F5
   - Deep Ink Navy:    #0B1F3A
   ========================================================================== */

:root {
  --blue-deep: #044770;
  --blue: #055B8F;
  --blue-bright: #0D6EBD;
  --green: #0A6B4A;
  --green-bright: #12875E;
  --gold: #F2B705;
  --saffron: #E06D1B;
  --navy-ink: #0B1F3A;
  --navy-card: #11294A;
  --paper: #FBF9F5;
  --paper-alt: #F2F6FA;
  --white: #FFFFFF;

  --ink-900: #0F1B2D;
  --ink-700: #2E3D52;
  --ink-500: #5A6B82;
  --ink-300: #94A3B8;

  --grad-accent: linear-gradient(90deg, #F2B705 0%, #E06D1B 100%);
  --grad-brand: linear-gradient(135deg, #055B8F 0%, #0D6EBD 55%, #0A6B4A 100%);

  --shadow-soft: 0 10px 30px rgba(11, 31, 58, 0.06);
  --shadow-card: 0 20px 50px rgba(11, 31, 58, 0.10);
  --shadow-float: 0 28px 70px rgba(5, 45, 78, 0.18);

  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  font-family: 'Mukta', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--paper);
  color: var(--ink-900);
  line-height: 1.7;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

main,
section,
.site-footer {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.font-display {
  font-family: 'Fraunces', 'Eczar', Georgia, serif;
}

.marathi {
  font-family: 'Mukta', sans-serif;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Scroll Progress Line */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: var(--grad-accent);
  z-index: 2500;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 0.85rem 0;
  background: rgba(251, 249, 245, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(5, 91, 143, 0.09);
  transition: all 0.35s var(--ease-expo);
}

.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(5, 91, 143, 0.08);
  box-shadow: 0 8px 28px rgba(11, 31, 58, 0.07);
  padding: 0.65rem 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}

.nav-logo-pill {
  background: var(--white);
  padding: 0.35rem 0.75rem;
  border-radius: 14px;
  border: 1px solid rgba(5, 91, 143, 0.10);
  box-shadow: 0 4px 14px rgba(11, 31, 58, 0.06);
  display: inline-flex;
  align-items: center;
  transition: transform 0.35s var(--ease-spring);
}

.nav-brand:hover .nav-logo-pill {
  transform: scale(1.04) rotate(-1deg);
}

.nav-logo-img {
  height: 46px;
  width: auto;
  object-fit: contain;
}

.nav-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav-brand-name {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy-ink);
  letter-spacing: -0.015em;
}

.nav-brand-sub {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--green);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--ink-700);
  position: relative;
  padding: 0.35rem 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2.5px;
  border-radius: 99px;
  background: var(--grad-accent);
  transition: width 0.35s var(--ease-expo);
}

.nav-link:hover,
.nav-link.active {
  color: var(--blue);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.nav-right-mobile {
  display: none;
  align-items: center;
  gap: 0.65rem;
}

/* Segmented Marathi / English Language Switcher */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--white);
  border: 1.5px solid rgba(5, 91, 143, 0.16);
  border-radius: 12px;
  padding: 0.22rem;
  box-shadow: 0 4px 12px rgba(11, 31, 58, 0.05);
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--ink-700);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.36rem 0.68rem;
  border-radius: 9px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.lang-btn.active {
  background: var(--navy-ink);
  color: var(--white);
  box-shadow: 0 3px 10px rgba(11, 31, 58, 0.18);
}

.mobile-lang-switch {
  display: none;
}

/* Mobile Toggle & Drawer */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid rgba(5, 91, 143, 0.16);
  color: var(--navy-ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 58, 0.45);
  backdrop-filter: blur(4px);
  z-index: 1400;
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s ease;
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: min(330px, 86vw);
  height: 100vh;
  background: var(--paper);
  z-index: 1500;
  padding: 1.5rem;
  box-shadow: -16px 0 48px rgba(11, 31, 58, 0.18);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  transition: right 0.45s var(--ease-expo);
}

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

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(5, 91, 143, 0.12);
}

.drawer-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(5, 91, 143, 0.16);
  background: var(--white);
  color: var(--ink-900);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.drawer-link {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  font-weight: 700;
  color: var(--ink-700);
  transition: all 0.25s ease;
}

.drawer-link:hover,
.drawer-link.active {
  background: rgba(5, 91, 143, 0.08);
  color: var(--blue);
}

/* ==========================================================================
   Buttons with Light Sheen Sweep
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.78rem 1.5rem;
  border-radius: 14px;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.94rem;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spring), box-shadow 0.35s var(--ease-expo), background 0.3s ease;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 70%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 140%;
}

.btn:hover {
  transform: translateY(-2.5px);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
  border-radius: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-bright) 100%);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(5, 91, 143, 0.28);
}

.btn-primary:hover {
  box-shadow: 0 18px 36px rgba(5, 91, 143, 0.38);
}

.btn-accent {
  background: var(--grad-accent);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(224, 109, 27, 0.28);
}

.btn-outline {
  background: var(--white);
  color: var(--navy-ink);
  border: 1.5px solid rgba(5, 91, 143, 0.20);
  box-shadow: var(--shadow-soft);
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
  box-shadow: var(--shadow-card);
}

.btn-white {
  background: var(--white);
  color: var(--navy-ink);
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.16);
}

.btn-ghost-white {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(8px);
}

.btn-ghost-white:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: var(--white);
}

/* ==========================================================================
   Asymmetric Split Editorial Hero
   ========================================================================== */
.hero-editorial {
  position: relative;
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 12% 18%, rgba(242, 183, 5, 0.12) 0%, transparent 42%),
    radial-gradient(circle at 88% 22%, rgba(5, 91, 143, 0.10) 0%, transparent 46%),
    radial-gradient(circle at 72% 85%, rgba(10, 107, 74, 0.09) 0%, transparent 44%),
    var(--paper);
  overflow: hidden;
}

.hero-editorial::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(5, 91, 143, 0.07) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 90%);
  -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent 90%);
  pointer-events: none;
}

.hero-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid rgba(5, 91, 143, 0.15);
  box-shadow: var(--shadow-soft);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin-bottom: 1.35rem;
}

.eyebrow-bar {
  width: 14px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-accent);
  flex-shrink: 0;
}

.hero-headline {
  font-family: 'Fraunces', 'Eczar', Georgia, serif;
  font-size: clamp(2rem, 4.3vw, 3.6rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: -0.015em;
  color: var(--navy-ink);
  margin-bottom: 1.25rem;
}

.pen-highlight {
  position: relative;
  display: inline-block;
  color: var(--blue);
}

.pen-underline-svg {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 14px;
  pointer-events: none;
}

.pen-underline-path {
  stroke-dasharray: 360;
  stroke-dashoffset: 360;
  animation: drawStroke 1.4s var(--ease-expo) 0.4s forwards;
}

@keyframes drawStroke {
  to { stroke-dashoffset: 0; }
}

.hero-motto-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 1rem;
  padding-left: 0.85rem;
  border-left: 3.5px solid var(--saffron);
}

.hero-lead {
  font-size: 1.08rem;
  color: var(--ink-500);
  max-width: 560px;
  margin-bottom: 2rem;
  line-height: 1.75;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.hero-trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(5, 91, 143, 0.12);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink-700);
}

.trust-item svg {
  color: var(--green);
  flex-shrink: 0;
}

.hero-split > *,
.explorer-grid > *,
.ethos-split > *,
.rhythm-grid > *,
.two-col-grid > *,
.contact-layout > *,
.cta-card-editorial > *,
.subjects-grid > *,
.form-grid > *,
.footer-grid > * {
  min-width: 0;
}
.hero-stage {
  position: relative;
  padding: 1.25rem 0.75rem 1.75rem;
}

.stage-orbit-ring {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 220px;
  height: 220px;
  border: 2px dashed rgba(5, 91, 143, 0.18);
  border-radius: 50%;
  animation: slowSpin 38s linear infinite;
  pointer-events: none;
}

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

.stage-main-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-float);
  border: 6px solid var(--white);
  background: var(--white);
  transform-style: preserve-3d;
  transition: transform 0.25s ease-out;
}

.stage-main-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  animation: subtleKenBurns 18s ease-in-out infinite alternate;
}

@keyframes subtleKenBurns {
  0% { transform: scale(1); }
  100% { transform: scale(1.055); }
}

.stage-logo-badge {
  position: absolute;
  top: -8px;
  left: -12px;
  background: var(--white);
  padding: 0.7rem 1.05rem;
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(11, 31, 58, 0.16);
  border: 1px solid rgba(5, 91, 143, 0.10);
  z-index: 4;
  animation: floatCardA 5.5s ease-in-out infinite;
}

.stage-logo-badge img {
  height: 62px;
  width: auto;
  object-fit: contain;
}

.stage-float-card {
  position: absolute;
  bottom: 0;
  right: -8px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  padding: 0.95rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(5, 91, 143, 0.12);
  box-shadow: 0 18px 42px rgba(11, 31, 58, 0.16);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  z-index: 4;
  animation: floatCardB 6.2s ease-in-out infinite;
}

.float-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: linear-gradient(135deg, var(--blue), var(--green));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

@keyframes floatCardB {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(7px); }
}

/* ==========================================================================
   Infinite Exam Ticker Ribbon
   ========================================================================== */
.exam-marquee {
  background: linear-gradient(90deg, var(--navy-ink) 0%, var(--blue-deep) 50%, var(--green) 100%);
  color: var(--white);
  padding: 0.95rem 0;
  overflow: hidden;
  position: relative;
  border-top: 2px solid rgba(242, 183, 5, 0.4);
  border-bottom: 2px solid rgba(242, 183, 5, 0.4);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 2.5rem;
  animation: marqueeScroll 30s linear infinite;
}

.exam-marquee:hover .marquee-track {
  animation-play-state: paused;
}

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

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.96rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

.marquee-sep {
  color: var(--gold);
  font-size: 1.1rem;
}

/* ==========================================================================
   Interactive Exam Track Explorer (Bespoke Split Showcase)
   ========================================================================== */
.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-paper-alt {
  background: var(--paper-alt);
  border-top: 1px solid rgba(5, 91, 143, 0.07);
  border-bottom: 1px solid rgba(5, 91, 143, 0.07);
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--saffron);
  margin-bottom: 0.75rem;
}

.section-heading {
  font-family: 'Fraunces', 'Eczar', Georgia, serif;
  font-size: clamp(1.75rem, 3.4vw, 2.7rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy-ink);
  margin-bottom: 0.9rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--ink-500);
  max-width: 640px;
}

.explorer-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  margin-top: 3rem;
  align-items: stretch;
}

.explorer-tabs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.explorer-tab {
  text-align: left;
  background: var(--white);
  border: 1.5px solid rgba(5, 91, 143, 0.12);
  border-radius: 20px;
  padding: 1.5rem 1.6rem;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.35s var(--ease-expo);
  position: relative;
  overflow: hidden;
}

.explorer-tab::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: var(--grad-accent);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease-expo);
}

.explorer-tab:hover {
  transform: translateX(6px);
  border-color: rgba(5, 91, 143, 0.32);
  box-shadow: var(--shadow-soft);
}

.explorer-tab.active {
  background: var(--navy-ink);
  color: var(--white);
  border-color: var(--navy-ink);
  box-shadow: var(--shadow-card);
  transform: translateX(8px);
}

.explorer-tab.active::before {
  transform: scaleY(1);
}

.tab-num {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 0.35rem;
  display: block;
}

.explorer-tab.active .tab-num {
  color: var(--gold);
}

.tab-name {
  display: block;
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

.tab-sub {
  display: block;
  font-size: 0.9rem;
  color: var(--ink-500);
}

.explorer-tab.active .tab-sub {
  color: rgba(255, 255, 255, 0.76);
}

.explorer-stage {
  background: var(--white);
  border-radius: 26px;
  border: 1px solid rgba(5, 91, 143, 0.12);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.explorer-pane {
  display: none;
  flex-direction: column;
  height: 100%;
  animation: paneSwap 0.5s var(--ease-expo);
}

.explorer-pane.active {
  display: flex;
}

@keyframes paneSwap {
  from { opacity: 0; transform: translateY(14px) scale(0.99); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.pane-visual {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.pane-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s var(--ease-expo);
}

.explorer-stage:hover .pane-visual img {
  transform: scale(1.04);
}

.pane-visual-badge {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  background: rgba(11, 31, 58, 0.88);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.pane-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.pane-marathi {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.6rem;
}

.pane-title {
  font-family: 'Fraunces', 'Eczar', serif;
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--navy-ink);
  margin-bottom: 0.75rem;
}

.pane-copy {
  color: var(--ink-500);
  margin-bottom: 1.25rem;
}

.pane-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

.pane-chip {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--paper-alt);
  border: 1px solid rgba(5, 91, 143, 0.12);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--blue-deep);
}

/* ==========================================================================
   Dark Academy Ink Section — Contrast & Depth
   ========================================================================== */
.ethos-dark-section {
  background: var(--navy-ink);
  color: var(--white);
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

.ethos-dark-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 82% 20%, rgba(242, 183, 5, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 18% 82%, rgba(10, 107, 74, 0.22) 0%, transparent 45%);
  pointer-events: none;
}

.ethos-split {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3.5rem;
  align-items: center;
}

.ethos-photo-wrap {
  position: relative;
}

.ethos-photo-frame {
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.38);
}

.ethos-photo-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ethos-caption-pill {
  position: absolute;
  bottom: -16px;
  left: 24px;
  background: var(--grad-accent);
  color: var(--white);
  padding: 0.7rem 1.25rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.9rem;
  box-shadow: 0 14px 32px rgba(224, 109, 27, 0.38);
}

.ethos-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.ethos-row {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 18px;
  padding: 1.25rem 1.4rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: all 0.35s var(--ease-expo);
}

.ethos-row:hover {
  background: rgba(255, 255, 255, 0.10);
  border-color: rgba(242, 183, 5, 0.45);
  transform: translateX(6px);
}

.ethos-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(242, 183, 5, 0.16);
  color: var(--gold);
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ethos-row h3 {
  font-size: 1.06rem;
  font-weight: 800;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.ethos-row p {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.74);
}

/* ==========================================================================
   Scroll-Choreographed Weekly Study Rhythm Timeline
   ========================================================================== */
.rhythm-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3.5rem;
  align-items: start;
}

.rhythm-sticky {
  position: sticky;
  top: 6.5rem;
}

.pen-progress-wrap {
  position: relative;
  padding-left: 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.pen-track-line {
  position: absolute;
  left: 14px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: rgba(5, 91, 143, 0.14);
  border-radius: 3px;
}

.pen-track-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: var(--grad-accent);
  border-radius: 3px;
  transition: height 0.25s ease-out;
}

.rhythm-step {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(5, 91, 143, 0.10);
  border-radius: 20px;
  padding: 1.65rem 1.75rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.35s var(--ease-expo);
}

.rhythm-step:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: rgba(5, 91, 143, 0.25);
}

.rhythm-dot {
  position: absolute;
  left: -2.42rem;
  top: 1.85rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--white);
  border: 4px solid var(--blue);
  box-shadow: 0 0 0 4px var(--paper);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.rhythm-step.in-view .rhythm-dot {
  border-color: var(--saffron);
  transform: scale(1.12);
}

.rhythm-tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--green);
  margin-bottom: 0.35rem;
  display: block;
}

.rhythm-step h3 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy-ink);
  margin-bottom: 0.45rem;
}

.rhythm-step p {
  font-size: 0.94rem;
  color: var(--ink-500);
}

/* ==========================================================================
   Spotlight Aspirant Stories Carousel (Replaces Generic 3-card Grid)
   ========================================================================== */
.spotlight-wrap {
  max-width: 940px;
  margin: 2.75rem auto 0;
  position: relative;
}

.spotlight-card {
  background: var(--white);
  border-radius: 28px;
  border: 1px solid rgba(5, 91, 143, 0.12);
  box-shadow: var(--shadow-card);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.spotlight-card::before {
  content: '“';
  font-family: 'Fraunces', serif;
  position: absolute;
  top: 0.35rem;
  right: 2rem;
  font-size: 7.5rem;
  line-height: 1;
  color: rgba(5, 91, 143, 0.08);
  pointer-events: none;
}

.spotlight-slide {
  display: none;
  animation: paneSwap 0.45s var(--ease-expo);
}

.spotlight-slide.active {
  display: block;
}

.spotlight-quote {
  font-family: 'Fraunces', 'Eczar', Georgia, serif;
  font-size: clamp(1.22rem, 2.2vw, 1.55rem);
  line-height: 1.6;
  color: var(--navy-ink);
  margin-bottom: 1.75rem;
}

.spotlight-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(5, 91, 143, 0.10);
}

.spotlight-person strong {
  display: block;
  font-size: 1.05rem;
  color: var(--navy-ink);
}

.spotlight-person span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--green);
}

.carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1.5px solid rgba(5, 91, 143, 0.18);
  background: var(--paper);
  color: var(--navy-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.carousel-btn:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: var(--white);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.35rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 99px;
  border: none;
  background: rgba(5, 91, 143, 0.22);
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 28px;
  background: var(--saffron);
}

/* ==========================================================================
   FAQ Accordion
   ========================================================================== */
.faq-list {
  max-width: 860px;
  margin: 2.75rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(5, 91, 143, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.active {
  border-color: var(--blue);
  box-shadow: var(--shadow-card);
}

.faq-question {
  width: 100%;
  background: transparent;
  border: none;
  padding: 1.35rem 1.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: inherit;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--navy-ink);
  cursor: pointer;
}

.faq-toggle-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--paper-alt);
  color: var(--blue);
  font-size: 1.2rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease-spring), background 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(45deg);
  background: var(--blue);
  color: var(--white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-expo);
}

.faq-answer-inner {
  padding: 0 1.6rem 1.4rem;
  color: var(--ink-500);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ==========================================================================
   Editorial CTA Banner & Subpage Shared Components
   ========================================================================== */
.cta-band {
  padding: 2rem 0 5.5rem;
}

.cta-card-editorial {
  border-radius: 32px;
  background: linear-gradient(135deg, var(--blue-deep) 0%, var(--blue) 52%, var(--green) 100%);
  color: var(--white);
  padding: 4rem 3.5rem;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-float);
}

.cta-card-editorial::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 183, 5, 0.28) 0%, transparent 70%);
  pointer-events: none;
}

.cta-actions-col {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
  position: relative;
  z-index: 2;
}

/* Subpages Hero */
.page-hero {
  padding: 4rem 0 3.5rem;
  background:
    radial-gradient(circle at 82% 20%, rgba(5, 91, 143, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 14% 75%, rgba(242, 183, 5, 0.12) 0%, transparent 40%),
    var(--paper);
  border-bottom: 1px solid rgba(5, 91, 143, 0.08);
}

.two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.editorial-panel {
  background: var(--white);
  border: 1px solid rgba(5, 91, 143, 0.12);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.check-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 600;
  color: var(--ink-700);
}

.check-list li svg {
  color: var(--green);
  flex-shrink: 0;
  margin-top: 0.22rem;
}

/* Interactive Syllabus Tabs (Programs Page) */
.tab-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 2rem 0;
}

.tab-btn {
  padding: 0.75rem 1.4rem;
  border-radius: 12px;
  border: 1.5px solid rgba(5, 91, 143, 0.16);
  background: var(--white);
  color: var(--ink-700);
  font-family: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.tab-btn.active {
  background: var(--navy-ink);
  color: var(--white);
  border-color: var(--navy-ink);
}

.tab-panel {
  display: none;
  animation: paneSwap 0.45s var(--ease-expo);
}

.tab-panel.active {
  display: block;
}

.subjects-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
}

.subject-chip {
  background: var(--white);
  border: 1px solid rgba(5, 91, 143, 0.10);
  border-radius: 16px;
  padding: 1.35rem 1.2rem;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-spring), border-color 0.3s ease;
}

.subject-chip:hover {
  transform: translateY(-4px);
  border-color: var(--green);
}

.subject-chip h4 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy-ink);
  margin-bottom: 0.35rem;
}

.subject-chip p {
  font-size: 0.86rem;
  color: var(--ink-500);
}

/* Gallery Grid (Logo-Only Showcase Ready for Future Photos) */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.gallery-logo-card {
  background: var(--white);
  border: 1px solid rgba(5, 91, 143, 0.12);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.35s var(--ease-expo), box-shadow 0.35s var(--ease-expo);
  display: flex;
  flex-direction: column;
}

.gallery-logo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.gallery-logo-frame {
  background: linear-gradient(145deg, #FBF9F5 0%, #EEF5FB 100%);
  border-bottom: 1px solid rgba(5, 91, 143, 0.08);
  padding: 2.5rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
}

.gallery-logo-frame img {
  max-height: 112px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.gallery-card-meta {
  padding: 1.5rem;
}

.gallery-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--saffron);
  background: rgba(242, 183, 5, 0.14);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  margin-bottom: 0.65rem;
}

.gallery-card-meta h2 {
  font-size: 1.18rem;
  font-weight: 800;
  color: var(--navy-ink);
  margin-bottom: 0.4rem;
}

.gallery-card-meta p {
  font-size: 0.92rem;
  color: var(--ink-500);
}

.gallery-note {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-500);
}

/* Contact Layout & Form */
.contact-layout {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 2.5rem;
  align-items: start;
}

.info-stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.info-card {
  background: var(--white);
  border: 1px solid rgba(5, 91, 143, 0.12);
  border-radius: 20px;
  padding: 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(5, 91, 143, 0.10);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-card.green .info-icon {
  background: rgba(10, 107, 74, 0.10);
  color: var(--green);
}

.info-card.gold .info-icon {
  background: rgba(242, 183, 5, 0.16);
  color: #B45309;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-700);
}

.form-control {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: 0.88rem 1rem;
  border-radius: 12px;
  border: 1.5px solid rgba(5, 91, 143, 0.18);
  background: var(--paper);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink-900);
  transition: all 0.25s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(5, 91, 143, 0.12);
}

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

.form-status {
  margin-top: 1rem;
  padding: 1rem 1.2rem;
  border-radius: 14px;
  font-weight: 600;
  font-size: 0.94rem;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(10, 107, 74, 0.10);
  border: 1px solid rgba(10, 107, 74, 0.30);
  color: var(--green);
}

.form-status.error {
  display: block;
  background: rgba(220, 38, 38, 0.08);
  border: 1px solid rgba(220, 38, 38, 0.26);
  color: #B91C1C;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 4.25rem 0 2rem;
  position: relative;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--gold), var(--saffron));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-logo-wrap {
  display: inline-block;
  background: var(--white);
  padding: 0.5rem 0.95rem;
  border-radius: 14px;
  margin-bottom: 1rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
}

.footer-motto {
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 0.45rem;
}

.footer-desc {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.68);
  max-width: 380px;
}

.footer-col h4 {
  color: var(--white);
  font-weight: 800;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--gold);
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.64);
}

.social-row {
  display: flex;
  gap: 0.75rem;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.social-btn:hover {
  background: var(--grad-accent);
  border-color: transparent;
  transform: translateY(-3px);
}

/* ==========================================================================
   Scroll Reveal Motion
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s var(--ease-expo), transform 0.55s var(--ease-expo);
}

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

.delay-1 { transition-delay: 0.05s; }
.delay-2 { transition-delay: 0.1s; }
.delay-3 { transition-delay: 0.15s; }

/* ==========================================================================
   Responsive Rules (Tablet, Mobile & Small Phones)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-split,
  .explorer-grid,
  .ethos-split,
  .rhythm-grid,
  .two-col-grid,
  .contact-layout,
  .cta-card-editorial {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  #police-bharti .two-col-grid > div:last-child {
    order: -1;
  }

  .rhythm-sticky {
    position: static;
  }

  .explorer-tab:hover,
  .explorer-tab.active,
  .ethos-row:hover {
    transform: none;
  }

  .cta-actions-col {
    justify-content: flex-start;
  }

  .subjects-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.15rem;
  }

  .site-nav {
    padding: 0.7rem 0;
  }

  .nav-logo-img {
    height: 38px;
  }

  .nav-links,
  .nav-actions {
    display: none;
  }

  .nav-right-mobile {
    display: flex;
  }

  .mobile-lang-switch {
    display: inline-flex;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-editorial {
    padding: 2.25rem 0 3.25rem;
  }

  .page-hero {
    padding: 2.5rem 0 2.25rem;
  }

  .hero-headline {
    font-size: clamp(1.65rem, 6vw, 2.25rem);
    line-height: 1.3;
  }

  .section-heading {
    font-size: clamp(1.5rem, 5.8vw, 2rem);
    line-height: 1.32;
  }

  .info-card > div,
  .hero-headline,
  .section-heading,
  .section-desc {
    min-width: 0;
    overflow-wrap: break-word;
  }

  .pen-highlight {
    max-width: 100%;
  }

  .hero-motto-strip {
    font-size: 0.95rem;
  }

  .hero-lead {
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
  }

  .hero-cta-row {
    gap: 0.75rem;
    margin-bottom: 1.65rem;
  }

  .hero-trust-strip {
    gap: 0.75rem 1.25rem;
    padding-top: 1.15rem;
  }

  .hero-stage {
    padding: 0.5rem 0 0;
  }

  .stage-orbit-ring {
    display: none;
  }

  .stage-logo-badge {
    display: none;
  }

  .stage-main-frame {
    border-width: 4px;
    border-radius: 20px;
  }

  .stage-float-card {
    position: static;
    margin-top: 0.85rem;
    width: 100%;
    padding: 0.85rem 1rem;
    animation: none;
  }

  .exam-marquee {
    padding: 0.75rem 0;
  }

  .marquee-item {
    font-size: 0.88rem;
  }

  .section,
  .ethos-dark-section {
    padding: 3.5rem 0;
  }

  .explorer-grid {
    margin-top: 2rem;
    gap: 1.5rem;
  }

  .explorer-tab {
    padding: 1.1rem 1.2rem;
    border-radius: 16px;
  }

  .tab-name {
    font-size: 1.08rem;
  }

  .pane-visual {
    aspect-ratio: 4 / 3;
  }

  .pane-body {
    padding: 1.35rem;
  }

  .pane-title {
    font-size: 1.35rem;
  }

  .ethos-caption-pill {
    position: relative;
    bottom: auto;
    left: auto;
    display: inline-block;
    margin-top: 0.85rem;
    font-size: 0.84rem;
  }

  .ethos-row {
    padding: 1rem 1.1rem;
  }

  .pen-progress-wrap {
    padding-left: 2.1rem;
    gap: 1.15rem;
  }

  .pen-track-line {
    left: 8px;
  }

  .rhythm-dot {
    left: -1.92rem;
    top: 1.45rem;
    width: 15px;
    height: 15px;
    border-width: 3px;
  }

  .rhythm-step {
    padding: 1.25rem 1.15rem;
    border-radius: 16px;
  }

  .spotlight-card {
    padding: 1.65rem 1.25rem;
    border-radius: 22px;
  }

  .spotlight-card::before {
    font-size: 4.5rem;
    right: 1rem;
  }

  .faq-question {
    padding: 1.1rem 1.15rem;
    font-size: 0.96rem;
  }

  .faq-answer-inner {
    padding: 0 1.15rem 1.15rem;
  }

  .cta-band {
    padding: 1.5rem 0 3.75rem;
  }

  .cta-card-editorial {
    padding: 2rem 1.35rem;
    border-radius: 24px;
  }

  .editorial-panel {
    padding: 1.4rem;
    border-radius: 20px;
  }

  .form-control {
    font-size: 16px;
  }

  .subjects-grid,
  .gallery-grid,
  .form-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    padding: 3.25rem 0 1.75rem;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .hero-cta-row .btn,
  .cta-actions-col .btn {
    width: 100%;
  }

  .tab-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .spotlight-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .carousel-controls {
    width: 100%;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
