/* =========================================================
   GREAT ACADEMY — SINGLE PAGE
   Global design variables live here.
========================================================= */

:root {
  --brand-red: #e51b23;
  --brand-red-dark: #b90f16;
  --brand-black: #0d0d0f;
  --brand-charcoal: #19191c;
  --brand-gray: #65656b;
  --brand-light: #f5f5f3;
  --white: #ffffff;
  --yellow: #f5c400;
  --purple: #5c218b;

  --container: 1240px;

  --radius-sm: 8px;
  --radius-md: 18px;
  --radius-lg: 28px;

  --shadow-soft: 0 18px 60px rgba(0, 0, 0, .08);
  --shadow-heavy: 0 28px 80px rgba(0, 0, 0, .16);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.16, 1, .3, 1);

  --font-heading: "Manrope", sans-serif;
  --font-body: "Manrope", "Noto Sans Malayalam", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  margin: 0;
  color: var(--brand-black);
  background: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body.no-scroll {
  overflow: hidden;
}

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

button,
a {
  font: inherit;
}

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

button {
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--brand-red);
  color: white;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section-pad {
  padding: 130px 0;
}

.section-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 70px;
}

.section-top p {
  max-width: 580px;
  margin: 0;
  color: var(--brand-gray);
  font-size: 16px;
  line-height: 1.8;
}

.section-top.light p {
  color: #bdbdc3;
}

.section-number {
  color: var(--brand-red);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}

.light .section-number {
  color: #fff;
}

.red-text {
  color: var(--brand-red) !important;
}

/* =========================================================
   PAGE LOADER
   ========================================================= */

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;

  background: var(--brand-black);

  display: grid;
  place-items: center;

  opacity: 1;
  visibility: visible;

  transition:
    opacity 0.8s var(--ease),
    visibility 0.8s ease;
}


/* ---------------------------------------------------------
   Loaded State
   --------------------------------------------------------- */

.page-loader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


/* =========================================================
   LOADER CONTENT
   ========================================================= */

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;

  width: min(360px, 80vw);

  text-align: center;
}


/* =========================================================
   LOGO
   ========================================================= */

.loader-logo {
  position: relative;

  width: 260px;
  max-width: 75vw;

  opacity: 0;

  transform:
    translateY(25px) scale(0.9);

  animation:
    loaderLogoIn 1s var(--ease) forwards;
}

.loader-logo img {
  display: block;

  width: 100%;
  height: auto;

  object-fit: contain;
}


/* =========================================================
   LOGO REVEAL
   ========================================================= */

@keyframes loaderLogoIn {

  0% {
    opacity: 0;
    transform:
      translateY(25px) scale(0.9);
    filter: blur(8px);
  }

  60% {
    opacity: 1;
    transform:
      translateY(-3px) scale(1.02);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform:
      translateY(0) scale(1);
    filter: blur(0);
  }

}


/* =========================================================
   LOADER LINE
   ========================================================= */

.loader-line {
  position: relative;

  width: 180px;
  height: 2px;

  margin-top: 28px;

  background: rgba(255, 255, 255, 0.16);

  overflow: hidden;

  border-radius: 10px;

  opacity: 0;

  animation:
    loaderElementIn 0.7s 0.35s ease forwards;
}


/* Moving red line */

.loader-line i {
  position: absolute;

  top: 0;
  left: 0;

  display: block;

  width: 45%;
  height: 100%;

  background: var(--brand-red);

  border-radius: 10px;

  animation:
    loaderProgress 1.4s ease-in-out infinite;
}


/* =========================================================
   LOADING TEXT
   ========================================================= */

.loader-text {
  margin-top: 18px;

  color: rgba(255, 255, 255, 0.55);

  font-size: 9px;
  font-weight: 700;

  letter-spacing: 0.22em;

  text-transform: uppercase;

  opacity: 0;

  animation:
    loaderElementIn 0.7s 0.5s ease forwards;
}


/* =========================================================
   ELEMENT FADE IN
   ========================================================= */

@keyframes loaderElementIn {

  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }

}


/* =========================================================
   PROGRESS ANIMATION
   ========================================================= */

@keyframes loaderProgress {

  0% {
    transform: translateX(-120%);
  }

  50% {
    transform: translateX(150%);
  }

  100% {
    transform: translateX(350%);
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

  .loader-content {
    width: 280px;
  }

  .loader-logo {
    width: 220px;
  }

  .loader-line {
    width: 150px;
    margin-top: 24px;
  }

  .loader-text {
    font-size: 8px;
    letter-spacing: 0.18em;
  }

}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

  .loader-logo,
  .loader-line,
  .loader-text,
  .loader-line i {
    animation: none;
  }

  .loader-logo,
  .loader-line,
  .loader-text {
    opacity: 1;
    transform: none;
  }

}

/* =========================================================
   GREAT ACADEMY — PREMIUM HEADER
   Clean, responsive, scroll-safe navigation
   ========================================================= */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 5000;
  width: 100%;
  padding: 18px 0;
  background: transparent;
  transition:
    background .45s var(--ease),
    padding .45s var(--ease),
    box-shadow .45s var(--ease),
    backdrop-filter .45s ease;
}

.site-header.scrolled {
  padding: 9px 0;
  background: rgba(255, 255, 255, .94);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 35px rgba(0, 0, 0, .07);
}

.nav-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 58px;
}

.brand {
  position: relative;
  display: block;
  width: 210px;
  height: 58px;
  flex: 0 0 auto;
  z-index: 2;
}

.brand .logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 58px;
  object-fit: contain;
  object-position: left center;
  transition: opacity .35s ease, transform .45s var(--ease);
}

.logo-white {
  opacity: 1;
  transform: scale(1);
}

.logo-transparent {
  opacity: 0;
  transform: scale(.97);
}

.site-header.scrolled .logo-white {
  opacity: 0;
  transform: scale(.97);
}

.site-header.scrolled .logo-transparent {
  opacity: 1;
  transform: scale(1);
}

/* Desktop navigation */
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin-left: auto;
}

.desktop-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .03em;
  transition: color .25s ease, transform .25s var(--ease);
}

.desktop-nav a span {
  color: rgba(255, 255, 255, .38);
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .05em;
  transition: color .25s ease;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 0;
  height: 2px;
  border-radius: 99px;
  background: var(--brand-red);
  transition: width .35s var(--ease);
}

.desktop-nav a:hover,
.desktop-nav a.active {
  color: var(--brand-red);
}

.desktop-nav a:hover span,
.desktop-nav a.active span {
  color: var(--brand-red);
}

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

.site-header.scrolled .desktop-nav a {
  color: var(--brand-black);
}

.site-header.scrolled .desktop-nav a span {
  color: #aaa;
}

.site-header.scrolled .desktop-nav a:hover,
.site-header.scrolled .desktop-nav a.active {
  color: var(--brand-red);
}

.site-header.scrolled .desktop-nav a:hover span,
.site-header.scrolled .desktop-nav a.active span {
  color: var(--brand-red);
}

/* CTA */
.nav-cta,
.mobile-menu-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #fff;
  background: var(--brand-red);
  border-radius: 999px;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform .3s var(--ease),
    background .25s ease,
    box-shadow .3s ease;
}

.nav-cta {
  min-height: 46px;
  padding: 0 17px;
  font-size: 11px;
  box-shadow: 0 8px 25px rgba(229, 27, 35, .16);
}

.nav-cta i,
.mobile-menu-cta i {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  font-style: normal;
  transition: transform .3s var(--ease);
}

.nav-cta:hover,
.mobile-menu-cta:hover {
  background: var(--brand-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(229, 27, 35, .22);
}

.nav-cta:hover i,
.mobile-menu-cta:hover i {
  transform: translate(2px, -2px);
}

/* Mobile toggle */
.menu-toggle {
  display: none;
  position: relative;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 50%;
  background: rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  cursor: pointer;
  z-index: 6000;
  transition: background .3s ease, border-color .3s ease, transform .3s var(--ease);
}

.menu-toggle:hover {
  transform: scale(1.04);
}

.menu-toggle span {
  width: 19px;
  height: 2px;
  border-radius: 99px;
  background: #fff;
  transition: transform .4s var(--ease), opacity .2s ease, background .25s ease;
}

.site-header.scrolled .menu-toggle {
  background: #fff;
  border-color: rgba(0, 0, 0, .08);
  box-shadow: 0 5px 20px rgba(0, 0, 0, .07);
}

.site-header.scrolled .menu-toggle span {
  background: var(--brand-black);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile panel */
.mobile-menu {
  display: none;
}

@media (max-width: 1100px) {
  .nav-wrap { gap: 18px; }
  .desktop-nav { gap: 15px; }
  .desktop-nav a { font-size: 10px; }
  .brand { width: 185px; }
  .nav-cta {
    min-height: 43px;
    padding: 0 14px;
    font-size: 10px;
  }
}

@media (max-width: 820px) {
  .site-header { padding: 11px 0; }
  .site-header.scrolled { padding: 7px 0; }

  .nav-wrap {
    min-height: 52px;
    gap: 0;
  }

  .brand {
    width: 175px;
    height: 52px;
  }

  .brand .logo { height: 52px; }

  .desktop-nav,
  .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-menu {
    display: block;
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 24px;
    background: linear-gradient(145deg, rgba(20, 20, 23, .985), rgba(10, 10, 12, .985));
    box-shadow: 0 30px 80px rgba(0, 0, 0, .32);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px) scale(.98);
    transform-origin: top right;
    pointer-events: none;
    transition: opacity .3s ease, visibility .3s ease, transform .4s var(--ease);
  }

  .mobile-menu.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
  }

  .mobile-menu-inner {
    padding: 22px 20px 20px;
  }

  .mobile-menu-top,
  .mobile-menu-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .mobile-menu-top {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, .09);
  }

  .mobile-menu-label,
  .mobile-menu-number,
  .mobile-menu-note {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .14em;
  }

  .mobile-menu-label,
  .mobile-menu-note { color: rgba(255, 255, 255, .45); }
  .mobile-menu-number { color: var(--brand-red); }

  .mobile-nav {
    display: flex;
    flex-direction: column;
    padding: 6px 0;
  }

  .mobile-nav a {
    display: grid;
    grid-template-columns: 30px 1fr 25px;
    align-items: center;
    gap: 10px;
    padding: 14px 3px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
    color: #fff;
    transition: color .25s ease, padding .3s var(--ease);
  }

  .mobile-nav a:last-child { border-bottom: 0; }

  .mobile-nav-number {
    color: rgba(255, 255, 255, .28);
    font-size: 8px;
    font-weight: 800;
    transition: color .25s ease;
  }

  .mobile-nav strong {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -.025em;
  }

  .mobile-nav i {
    display: grid;
    place-items: center;
    width: 25px;
    height: 25px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 50%;
    color: rgba(255, 255, 255, .45);
    font-size: 11px;
    font-style: normal;
    transition: background .25s ease, color .25s ease, transform .3s var(--ease);
  }

  .mobile-nav a:hover,
  .mobile-nav a.active {
    padding-left: 8px;
    color: var(--brand-red);
  }

  .mobile-nav a:hover .mobile-nav-number,
  .mobile-nav a.active .mobile-nav-number {
    color: var(--brand-red);
  }

  .mobile-nav a:hover i,
  .mobile-nav a.active i {
    color: #fff;
    background: var(--brand-red);
    border-color: var(--brand-red);
    transform: translate(2px, -2px);
  }

  .mobile-menu-bottom {
    align-items: center;
    margin-top: 5px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, .09);
  }

  .mobile-menu-note {
    display: flex;
    align-items: center;
    gap: 7px;
    text-transform: uppercase;
  }

  .mobile-status {
    width: 6px;
    height: 6px;
    flex: 0 0 6px;
    border-radius: 50%;
    background: #39d353;
    box-shadow: 0 0 0 4px rgba(57, 211, 83, .1);
  }

  .mobile-menu-cta {
    min-height: 42px;
    padding: 0 14px;
    font-size: 10px;
  }
}

@media (max-width: 560px) {
  .brand {
    width: 155px;
    height: 48px;
  }

  .brand .logo { height: 48px; }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .mobile-menu {
    left: 10px;
    right: 10px;
    top: calc(100% + 8px);
    border-radius: 21px;
  }

  .mobile-menu-inner {
    padding: 19px 17px 17px;
  }

  .mobile-nav a {
    grid-template-columns: 28px 1fr 24px;
    padding: 13px 2px;
  }

  .mobile-nav strong { font-size: 14px; }

  .mobile-menu-bottom {
    align-items: stretch;
    flex-direction: column;
  }

  .mobile-menu-cta { width: 100%; }
}

@media (max-width: 360px) {
  .brand {
    width: 140px;
    height: 46px;
  }

  .brand .logo { height: 46px; }

  .mobile-menu-inner {
    padding: 17px 15px 15px;
  }

  .mobile-nav a { padding: 11px 2px; }
  .mobile-nav strong { font-size: 13px; }
}

/* Prevent accidental horizontal scroll while mobile navigation is open */
body.no-scroll {
  overflow: hidden;
}


/* Hero */
.hero {
  position: relative;
  min-height: 850px;
  background: var(--brand-black);
  color: #fff;
  overflow: hidden;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  opacity: .18;
  background-image:
    linear-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .08) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, #000, transparent 90%);
}

.hero-red-orb {
  position: absolute;
  width: 650px;
  height: 650px;
  right: -280px;
  top: 80px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(229, 27, 35, .28), transparent 68%);
  animation: floatOrb 9s ease-in-out infinite;
}

.hero-black-orb {
  position: absolute;
  width: 500px;
  height: 500px;
  left: -260px;
  bottom: -300px;
  border-radius: 50%;
  background: rgba(229, 27, 35, .1);
}

@keyframes floatOrb {

  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(-40px, 35px, 0);
  }
}

.hero-inner {
  position: relative;
  z-index: 2;
  min-height: 850px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 60px;
  align-items: center;
  padding-top: 110px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  color: #c7c7cc;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .18em;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-red);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(229, 27, 35, .13);
}

.hero h1 {
  max-width: 750px;
  margin: 0;
  font-size: clamp(52px, 6vw, 92px);
  line-height: .96;
  letter-spacing: -.07em;
  font-weight: 800;
}

.hero h1 em {
  display: block;
  color: var(--brand-red);
  font-style: normal;
}

.hero-malayalam {
  max-width: 590px;
  margin: 30px 0 0;
  color: #cfcfd4;
  font-family: "Noto Sans Malayalam", sans-serif;
  font-size: 17px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 38px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 800;
  transition: transform .35s var(--ease), box-shadow .35s, background .35s;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(0, 0, 0, .18);
}

.btn-red {
  background: var(--brand-red);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--brand-black);
}

.btn-dark {
  background: var(--brand-black);
  color: #fff;
}

.btn-outline {
  border: 1px solid #ddd;
  color: var(--brand-black);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.text-link span {
  color: var(--brand-red);
  transition: transform .3s;
}

.text-link:hover span {
  transform: translateY(4px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 70px;
}

.hero-trust>div:not(.trust-divider) {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-trust strong {
  font-size: 17px;
}

.hero-trust span,
.hero-trust p {
  color: #8f8f97;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.hero-trust p {
  line-height: 1.5;
  margin: 0;
}

.trust-divider {
  width: 1px;
  height: 36px;
  background: #38383d;
}

.hero-visual {
  position: relative;
  height: 600px;
}

.hero-image-wrap {
  position: absolute;
  inset: 25px 20px 25px 45px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 35px;
  overflow: hidden;
  background: #161619;
}

.hero-image-wrap>img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 80% 10%, rgba(229, 27, 35, .25), transparent 30%),
    linear-gradient(145deg, #202024, #0d0d0f);
}

.paper-sheet {
  position: relative;
  width: 66%;
  height: 76%;
  padding: 30px;
  color: var(--brand-black);
  background: #f4f1e9;
  box-shadow: 25px 30px 70px rgba(0, 0, 0, .35);
  transform: rotate(-5deg);
}

.paper-label {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

.paper-title {
  margin-top: 45px;
  font-size: clamp(30px, 4vw, 56px);
  line-height: .88;
  letter-spacing: -.07em;
}

.paper-title b {
  color: var(--brand-red);
}

.paper-lines {
  width: 80%;
  height: 50px;
  margin-top: 35px;
  background: repeating-linear-gradient(to bottom, #bbb 0 1px, transparent 1px 13px);
}

.check-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  font-size: 10px;
  font-weight: 700;
}

.check-row i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  color: #fff;
  background: var(--brand-red);
  border-radius: 3px;
  font-style: normal;
}

.paper-stamp {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  border: 2px solid var(--brand-red);
  border-radius: 50%;
  color: var(--brand-red);
  font-size: 7px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  transform: rotate(12deg);
}

.floating-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: rgba(255, 255, 255, .96);
  color: var(--brand-black);
  border-radius: 14px;
  box-shadow: var(--shadow-heavy);
  animation: floating 5s ease-in-out infinite;
}

.floating-card b,
.floating-card small {
  display: block;
}

.floating-card b {
  font-size: 11px;
}

.floating-card small {
  margin-top: 2px;
  color: #777;
  font-size: 8px;
}

.mini-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: var(--brand-red);
  border-radius: 9px;
  font-weight: 900;
}

.mini-icon.dark {
  background: var(--brand-black);
}

.floating-card-one {
  left: -5px;
  top: 110px;
}

.floating-card-two {
  right: -15px;
  bottom: 115px;
  animation-delay: -2s;
}

@keyframes floating {

  0%,
  100% {
    transform: translateY(0) rotate(0);
  }

  50% {
    transform: translateY(-12px) rotate(1deg);
  }
}

.hero-side-label {
  position: absolute;
  right: -22px;
  top: 40%;
  writing-mode: vertical-rl;
  color: #6d6d73;
  font-size: 8px;
  letter-spacing: .2em;
}

.scroll-cue {
  position: absolute;
  bottom: 30px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #66666b;
  font-size: 8px;
  letter-spacing: .2em;
  transform: translateX(-50%);
}

.scroll-cue i {
  display: block;
  width: 50px;
  height: 1px;
  background: var(--brand-red);
}

/* Quick strip */
.quick-strip {
  background: var(--brand-red);
  color: white;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.quick-item {
  min-height: 115px;
  padding: 22px;
  border-right: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quick-item:first-child {
  border-left: 1px solid rgba(255, 255, 255, .2);
}

.quick-item>span {
  color: rgba(255, 255, 255, .55);
  font-size: 9px;
  font-weight: 800;
}

.quick-item b {
  margin-top: 8px;
  font-size: 14px;
}

.quick-item small {
  margin-top: 3px;
  font-size: 9px;
  opacity: .7;
}

/* Intro */
.intro {
  background: var(--brand-light);
}

.intro-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.intro-heading h2,
.courses-heading h2,
.schedule-head h2,
.results-intro h2,
.batch-copy h2,
.video-intro h2,
.contact-copy h2 {
  margin: 0;
  font-size: clamp(46px, 6vw, 82px);
  line-height: .94;
  letter-spacing: -.07em;
}

.intro-heading h2 span,
.courses-heading h2 span,
.schedule-head h2 span,
.results-intro h2 span,
.batch-copy h2 span,
.video-intro h2 span,
.contact-copy h2 span {
  color: var(--brand-red);
}

.red-rule {
  width: 180px;
  height: 5px;
  margin-bottom: 8px;
  background: var(--brand-red);
}

.process-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 12px;
}

.process-card {
  position: relative;
  overflow: hidden;
  padding: 30px;
  background: #fff;
  border: 1px solid #e6e6e3;
  border-radius: var(--radius-md);
  transition: transform .5s var(--ease), box-shadow .5s;
}

.process-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-soft);
}

.process-main {
  grid-row: span 2;
  background: var(--brand-black);
  color: #fff;
}

.process-index {
  position: absolute;
  top: 25px;
  right: 25px;
  color: #999;
  font-size: 9px;
  font-weight: 800;
}

.process-main .process-index {
  color: #666;
}

.process-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-bottom: 45px;
  border: 1px solid #ddd;
  border-radius: 50%;
  font-size: 22px;
}

.process-main .process-icon {
  color: var(--brand-red);
  border-color: #333;
}

.process-card h3 {
  margin: 0;
  font-size: 34px;
  letter-spacing: -.05em;
}

.process-card p {
  max-width: 420px;
  margin: 12px 0 0;
  color: #777;
  font-size: 12px;
  line-height: 1.8;
}

.process-main p {
  color: #a9a9af;
}

.process-word {
  position: absolute;
  right: 22px;
  bottom: 18px;
  color: #eee;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .15em;
}

.process-main .process-word {
  color: #252528;
}

/* Marquee */
.marquee {
  overflow: hidden;
  padding: 23px 0;
  background: var(--brand-black);
  color: white;
}

.marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: 30px;
  animation: marquee 24s linear infinite;
}

.marquee span {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .13em;
}

.marquee i {
  color: var(--brand-red);
  font-style: normal;
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

/* Courses */
.courses {
  background: #fff;
}

.courses-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  margin-bottom: 70px;
}

.course-levels {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
}

.course-levels span {
  padding: 9px 12px;
  background: #f2f2f0;
  border-radius: 100px;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}

.course-levels span:nth-child(2) {
  background: #fff2f2;
  color: var(--brand-red);
}

.course-explorer {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  min-height: 570px;
  border: 1px solid #ddd;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.course-list {
  padding: 18px;
  background: #f6f6f4;
}

.course-tab {
  position: relative;
  display: grid;
  grid-template-columns: 45px 1fr 25px;
  align-items: center;
  width: 100%;
  padding: 22px 18px;
  text-align: left;
  color: var(--brand-black);
  background: transparent;
  border-bottom: 1px solid #dededb;
  transition: background .3s, color .3s, padding .3s;
}

.course-tab span {
  color: #9b9b9f;
  font-size: 9px;
  font-weight: 800;
}

.course-tab b {
  font-size: 13px;
}

.course-tab i {
  font-style: normal;
  color: #aaa;
  transition: transform .3s;
}

.course-tab:hover,
.course-tab.active {
  background: var(--brand-red);
  color: white;
}

.course-tab.active span,
.course-tab.active i {
  color: rgba(255, 255, 255, .65);
}

.course-tab:hover i,
.course-tab.active i {
  transform: translate(3px, -3px);
}

.course-list-note {
  padding: 25px 15px;
  color: #8b8b90;
  font-size: 9px;
  line-height: 1.7;
}

.course-detail {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 50px;
  background:
    radial-gradient(circle at 90% 15%, rgba(229, 27, 35, .11), transparent 28%),
    #101012;
  color: white;
}

.course-detail::before {
  content: "PSC";
  position: absolute;
  right: -25px;
  bottom: -65px;
  color: rgba(255, 255, 255, .035);
  font-size: 260px;
  font-weight: 900;
  letter-spacing: -.1em;
}

.course-detail-top {
  display: flex;
  justify-content: space-between;
  color: #77777e;
  font-size: 9px;
  letter-spacing: .15em;
  font-weight: 800;
}

.detail-no {
  color: var(--brand-red);
}

.course-detail-body {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: end;
}

.course-detail-body h3 {
  margin: 0;
  font-size: clamp(65px, 8vw, 110px);
  line-height: .85;
  letter-spacing: -.08em;
  color: #fff;
}

.course-detail-body p {
  max-width: 480px;
  margin: 25px 0 0;
  color: #a8a8ae;
  font-size: 13px;
  line-height: 1.8;
}

.course-detail-body ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.course-detail-body li {
  padding: 14px 0;
  border-bottom: 1px solid #2e2e32;
  color: #d6d6da;
  font-size: 11px;
}

.course-detail-body li::before {
  content: "✓";
  margin-right: 12px;
  color: var(--brand-red);
}

.course-detail-bottom {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 25px;
  border-top: 1px solid #29292d;
  color: #77777e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
}

.course-detail-bottom a {
  color: #fff;
  font-size: 10px;
  letter-spacing: 0;
}

/* Schedule */
.schedule {
  background: var(--brand-black);
  color: white;
}

.schedule-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
}

.schedule-highlight {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-left: 2px solid var(--brand-red);
  background: #161619;
}

.schedule-highlight b {
  font-size: 25px;
  color: var(--brand-red);
}

.schedule-highlight span {
  color: #99999f;
  font-size: 9px;
  line-height: 1.5;
}

.week-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.day-card {
  position: relative;
  min-height: 220px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: #18181b;
  border: 1px solid #29292e;
  transition: transform .4s var(--ease), background .4s;
}

.day-card:hover {
  transform: translateY(-8px);
  background: #202024;
}

.day-card.offline {
  border-top: 3px solid var(--brand-red);
}

.day-card.online {
  border-top: 3px solid #6d6dff;
}

.day-card.sunday {
  border-top: 3px solid var(--yellow);
}

.day-no {
  position: absolute;
  top: 18px;
  left: 18px;
  color: #6d6d73;
  font-size: 9px;
  font-weight: 800;
}

.day-card strong {
  font-size: 13px;
  line-height: 1.2;
}

.day-card small {
  margin-top: 7px;
  color: #77777e;
  font-size: 8px;
  line-height: 1.5;
}

.day-card i {
  position: absolute;
  right: 15px;
  top: 50%;
  color: #242428;
  font-size: 60px;
  font-style: normal;
  font-weight: 900;
}

.sunday-banner {
  display: grid;
  grid-template-columns: .7fr 1.4fr .5fr;
  align-items: center;
  gap: 35px;
  margin-top: 35px;
  padding: 30px;
  background: var(--brand-red);
  border-radius: var(--radius-md);
}

.sunday-big {
  font-size: clamp(30px, 4vw, 54px);
  font-weight: 900;
  line-height: .8;
  letter-spacing: -.07em;
}

.sunday-big span {
  color: #ffb5b8;
}

.sunday-copy small {
  font-size: 8px;
  letter-spacing: .15em;
  opacity: .7;
}

.sunday-copy h3 {
  margin: 9px 0;
  font-size: 24px;
}

.sunday-copy p {
  max-width: 500px;
  margin: 0;
  color: rgba(255, 255, 255, .75);
  font-size: 10px;
  line-height: 1.6;
}

.sunday-mark {
  justify-self: end;
  color: white;
  font-size: 50px;
  font-weight: 900;
  line-height: .75;
  text-align: right;
}

.sunday-mark small {
  font-size: 9px;
  letter-spacing: .15em;
}

/* Results */
.results {
  background: var(--brand-light);
}

.results-intro {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 70px;
}

.results-intro p {
  max-width: 480px;
  margin: 0;
  color: var(--brand-gray);
  font-size: 13px;
  line-height: 1.9;
}

.results-intro h2 {
  margin-top: 25px;
}

.poster-stage {
  position: relative;
  padding: 35px;
  background: #e9e9e6;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.poster-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 22px;
  color: #89898e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
}

.poster-meta b {
  color: var(--brand-red);
}

.poster-open {
  position: relative;
  display: block;
  width: min(100%, 760px);
  margin: auto;
  padding: 0;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, .13);
}

.poster-open img {
  width: 100%;
  height: auto;
  transition: transform .8s var(--ease);
}

.poster-open:hover img {
  transform: scale(1.025);
}

.poster-overlay {
  position: absolute;
  left: 50%;
  bottom: 25px;
  padding: 13px 18px;
  color: white;
  background: rgba(13, 13, 15, .9);
  border-radius: 100px;
  font-size: 9px;
  font-weight: 800;
  opacity: 0;
  transform: translate(-50%, 15px);
  transition: opacity .4s, transform .4s;
}

.poster-open:hover .poster-overlay {
  opacity: 1;
  transform: translate(-50%, 0);
}

.batch-showcase {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 80px;
  align-items: center;
  margin-top: 130px;
}

.batch-copy p {
  max-width: 480px;
  color: var(--brand-gray);
  font-size: 13px;
  line-height: 1.9;
}

.batch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.batch-poster {
  max-height: 760px;
  margin: 0;
}

/* Video */
.video-section {
  background: #fff;
}

.video-intro {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 55px;
}

.video-intro h2 {
  margin-top: 25px;
}

.video-intro p {
  max-width: 470px;
  margin: 0;
  color: var(--brand-gray);
  font-size: 13px;
  line-height: 1.9;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 8.5;
  overflow: hidden;
  background: #111;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-heavy);
}

.video-frame video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.video-label {
  position: absolute;
  left: 25px;
  top: 25px;
  padding: 9px 12px;
  color: white;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(8px);
  font-size: 8px;
  letter-spacing: .13em;
  font-weight: 800;
}

/* Features */
.features {
  background: var(--brand-light);
}

.feature-layout {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 90px;
}

.feature-big {
  position: relative;
  min-height: 520px;
  padding: 50px;
  background: var(--brand-red);
  color: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.feature-big::after {
  content: "✓";
  position: absolute;
  right: -20px;
  bottom: -100px;
  color: rgba(255, 255, 255, .09);
  font-size: 330px;
  font-weight: 900;
}

.feature-number {
  font-size: 10px;
  letter-spacing: .15em;
  opacity: .65;
}

.feature-big h2 {
  position: relative;
  z-index: 1;
  margin: 100px 0 0;
  font-size: clamp(55px, 6vw, 90px);
  line-height: .82;
  letter-spacing: -.08em;
}

.feature-big h2 span {
  color: #ffc5c7;
}

.feature-big p {
  position: relative;
  z-index: 1;
  max-width: 360px;
  margin-top: 35px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  line-height: 1.8;
}

.feature-list {
  border-top: 1px solid #d7d7d3;
}

.feature-row {
  display: grid;
  grid-template-columns: 50px 1fr 30px;
  align-items: center;
  gap: 20px;
  min-height: 105px;
  border-bottom: 1px solid #d7d7d3;
}

.feature-row>span {
  color: #aaa;
  font-size: 9px;
  font-weight: 800;
}

.feature-row b,
.feature-row small {
  display: block;
}

.feature-row b {
  font-size: 15px;
}

.feature-row small {
  margin-top: 6px;
  color: #777;
  font-size: 10px;
  line-height: 1.5;
}

.feature-row i {
  color: var(--brand-red);
  font-style: normal;
}

/* CTA */
.malayalam-cta {
  position: relative;
  overflow: hidden;
  padding: 130px 0;
  background: var(--brand-black);
  color: white;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: .14;
  background:
    linear-gradient(90deg, transparent 49%, rgba(255, 255, 255, .2) 50%, transparent 51%),
    linear-gradient(transparent 49%, rgba(255, 255, 255, .2) 50%, transparent 51%);
  background-size: 90px 90px;
  transform: perspective(500px) rotateX(55deg) scale(1.5);
  transform-origin: center bottom;
}

.cta-inner {
  position: relative;
  z-index: 2;
}

.cta-small {
  color: var(--brand-red);
  font-family: "Noto Sans Malayalam", sans-serif;
  font-size: 13px;
  font-weight: 700;
}

.cta-inner h2 {
  max-width: 850px;
  margin: 20px 0;
  font-family: "Noto Sans Malayalam", var(--font-heading);
  font-size: clamp(45px, 6vw, 85px);
  line-height: 1.05;
  letter-spacing: -.06em;
}

.cta-inner h2 span {
  color: var(--brand-red);
}

.cta-inner p {
  max-width: 650px;
  color: #99999f;
  font-family: "Noto Sans Malayalam", sans-serif;
  font-size: 14px;
  line-height: 1.9;
}

.cta-actions {
  display: flex;
  align-items: center;
  gap: 25px;
  margin-top: 35px;
}

.cta-phone {
  color: #fff;
  font-size: 18px;
  font-weight: 800;
}

/* Contact */
.contact {
  background: #fff;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: center;
}

.contact-copy>p {
  max-width: 500px;
  margin: 25px 0 45px;
  color: var(--brand-gray);
  font-size: 13px;
  line-height: 1.8;
}

.contact-links {
  border-top: 1px solid #ddd;
}

.contact-links a {
  display: grid;
  grid-template-columns: 45px 1fr 25px;
  align-items: center;
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid #ddd;
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: white;
  background: var(--brand-red);
  border-radius: 50%;
  font-size: 14px;
}

.contact-links small,
.contact-links b {
  display: block;
}

.contact-links small {
  color: #999;
  font-size: 8px;
  letter-spacing: .15em;
}

.contact-links b {
  margin-top: 4px;
  font-size: 13px;
}

.contact-links i {
  color: var(--brand-red);
  font-style: normal;
}

.contact-card {
  position: relative;
  min-height: 520px;
  padding: 38px;
  color: white;
  background: var(--brand-black);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.contact-card::after {
  content: "GA";
  position: absolute;
  right: -50px;
  bottom: -100px;
  color: rgba(255, 255, 255, .035);
  font-size: 280px;
  font-weight: 900;
  letter-spacing: -.15em;
}

.contact-card-top {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 20px;
}

.contact-card-top img {
  width: 190px;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.contact-card-top span {
  color: #77777e;
  font-size: 8px;
  letter-spacing: .16em;
}

.location-block {
  position: relative;
  z-index: 2;
  margin-top: 130px;
}

.location-block small {
  color: var(--brand-red);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
}

.location-block h3 {
  margin: 18px 0;
  font-size: clamp(28px, 3vw, 43px);
  line-height: 1.05;
  letter-spacing: -.05em;
}

.map-link {
  display: inline-flex;
  color: #aaaab0;
  font-size: 10px;
  font-weight: 700;
}

.contact-card-bottom {
  position: absolute;
  z-index: 2;
  left: 38px;
  right: 38px;
  bottom: 38px;
  display: flex;
  gap: 10px;
}

.contact-card-bottom .btn {
  min-height: 46px;
  padding-inline: 18px;
}

/* Footer */
footer {
  background: #09090a;
  color: white;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.3fr .8fr .7fr;
  gap: 80px;
  padding: 70px 0;
}

.footer-main img {
  width: 210px;
  height: 62px;
  object-fit: contain;
  object-position: left center;
}

.footer-main p {
  max-width: 290px;
  /* color: #77777e; */
  font-size: 10px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-content: start;
}

.footer-links a {
  /* color: #99999f; */
  font-size: 10px;
  transition: color .3s;
}

.footer-links a:hover {
  color: #fff;
}

.footer-cta span {
  display: block;
  /* color: #66666c; */
  font-size: 8px;
  letter-spacing: .15em;
}

.footer-cta a {
  display: inline-block;
  margin-top: 15px;
  color: white;
  font-size: 13px;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-top: 1px solid #222226;
  /* color: #55555a; */
  font-size: 8px;
  letter-spacing: .06em;
}

/* Floating actions */
.floating-actions {
  position: fixed;
  z-index: 800;
  right: 22px;
  bottom: 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.floating-actions a {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: white;
  background: var(--brand-black);
  border: 1px solid #333;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .18);
  transition: transform .3s, background .3s;
}

.floating-actions a:first-child {
  background: #16a35a;
  border-color: #16a35a;
}

.floating-actions a:hover {
  transform: translateY(-4px);
}

.back-top {
  position: fixed;
  z-index: 800;
  right: 22px;
  bottom: 128px;
  width: 40px;
  height: 40px;
  color: white;
  background: var(--brand-red);
  border-radius: 50%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: .3s;
}

.back-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 40px;
  background: rgba(5, 5, 6, .92);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .35s, visibility .35s;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: min(95vw, 1000px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 30px 100px rgba(0, 0, 0, .5);
  transform: scale(.94);
  transition: transform .5s var(--ease);
}

.lightbox.open img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  width: 45px;
  height: 45px;
  color: white;
  background: rgba(255, 255, 255, .1);
  border-radius: 50%;
  font-size: 25px;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}

.reveal-left {
  transform: translateX(-50px);
}

.reveal-right {
  transform: translateX(50px);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0);
}

.delay-1 {
  transition-delay: .08s;
}

.delay-2 {
  transition-delay: .16s;
}

.delay-3 {
  transition-delay: .24s;
}

/* Responsive */
@media (max-width: 1100px) {
  .desktop-nav {
    gap: 15px;
  }

  .desktop-nav a {
    font-size: 10px;
  }

  .nav-wrap {
    gap: 18px;
  }

  .brand {
    width: 180px;
  }

  .hero-inner {
    grid-template-columns: 1fr .8fr;
  }

  .hero h1 {
    font-size: clamp(50px, 7vw, 75px);
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 250px 250px;
  }

  .process-main {
    grid-row: span 2;
  }

  .week-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section-pad {
    padding: 90px 0;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 145px;
    padding-bottom: 90px;
  }

  .hero h1 {
    font-size: clamp(50px, 13vw, 78px);
  }

  .hero-malayalam {
    font-size: 15px;
  }

  .hero-trust {
    margin-top: 50px;
    flex-wrap: wrap;
  }

  .hero-visual {
    height: 480px;
    margin-top: 20px;
  }

  .hero-image-wrap {
    inset: 10px 10px 10px 10px;
  }

  .floating-card-one {
    left: -2px;
    top: 65px;
  }

  .floating-card-two {
    right: -3px;
    bottom: 70px;
  }

  .hero-side-label {
    display: none;
  }

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

  .quick-item {
    min-height: 100px;
  }

  .quick-item:nth-child(5) {
    grid-column: span 2;
  }

  .section-top {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 50px;
  }

  .intro-heading,
  .courses-heading,
  .schedule-head {
    align-items: start;
    flex-direction: column;
  }

  .process-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .process-main {
    grid-row: auto;
  }

  .process-card {
    min-height: 280px;
  }

  .course-explorer {
    grid-template-columns: 1fr;
  }

  .course-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .course-list-note {
    grid-column: span 2;
  }

  .course-detail {
    min-height: 530px;
  }

  .course-detail-body {
    grid-template-columns: 1fr;
    gap: 35px;
  }

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

  .sunday-banner {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .sunday-mark {
    justify-self: start;
    text-align: left;
  }

  .results-intro,
  .batch-showcase,
  .video-intro,
  .feature-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .batch-showcase {
    margin-top: 90px;
  }

  .feature-big {
    min-height: 450px;
  }

  .contact-grid {
    gap: 60px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .section-pad {
    padding: 75px 0;
  }

  .brand {
    width: 150px;
  }

  .brand img {
    height: 50px;
  }

  .hero h1 {
    font-size: 48px;
  }

  .hero-malayalam {
    font-size: 14px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .text-link {
    justify-content: center;
  }

  .hero-trust {
    gap: 15px;
  }

  .hero-trust .trust-divider {
    display: none;
  }

  .hero-visual {
    height: 420px;
  }

  .paper-sheet {
    width: 72%;
    height: 72%;
    padding: 22px;
  }

  .paper-title {
    margin-top: 25px;
  }

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

  .intro-heading h2,
  .courses-heading h2,
  .schedule-head h2,
  .results-intro h2,
  .batch-copy h2,
  .video-intro h2,
  .contact-copy h2 {
    font-size: 47px;
  }

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

  .process-card {
    min-height: 250px;
  }

  .course-list {
    grid-template-columns: 1fr;
  }

  .course-list-note {
    grid-column: auto;
  }

  .course-tab {
    padding: 18px 12px;
  }

  .course-detail {
    padding: 30px;
    min-height: 580px;
  }

  .course-detail-body h3 {
    font-size: 75px;
  }

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

  .day-card {
    min-height: 180px;
  }

  .poster-stage {
    padding: 15px;
  }

  .poster-meta {
    font-size: 7px;
  }

  .batch-showcase {
    gap: 35px;
  }

  .batch-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .batch-actions .btn {
    width: 100%;
  }

  .video-frame {
    aspect-ratio: 1 / .72;
  }

  .feature-big {
    padding: 30px;
  }

  .feature-big h2 {
    margin-top: 80px;
  }

  .cta-inner h2 {
    font-size: 47px;
  }

  .cta-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .contact-card {
    min-height: 500px;
    padding: 25px;
  }

  .contact-card-top img {
    width: 150px;
  }

  .contact-card-bottom {
    left: 25px;
    right: 25px;
    bottom: 25px;
    flex-direction: column;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  .floating-actions {
    right: 14px;
    bottom: 14px;
  }

  .back-top {
    right: 14px;
    bottom: 122px;
  }

  .lightbox {
    padding: 20px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
  }
}