:root {
  --red: #e10600;
  --red-bright: #ff2a2a;
  --red-soft: #fff0f0;
  --black: #000000;
  --ink: #15171d;
  --muted: #667085;
  --line: #e8ebf0;
  --silver: #d9d9d9;
  --silver-dark: #a6a6a6;
  --bg: #f6f7fb;
  --white: #ffffff;
  --blue: #182b49;
  --teal: #0f9f9a;
  --yellow: #f4b740;
  --shadow: 0 22px 70px rgba(18, 24, 38, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 42, 42, 0.08), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #fbfcff 48%, #f6f7fb 100%);
}

h1,
h2,
h3,
.brand-text {
  font-family: "Poppins", Arial, sans-serif;
  margin: 0;
  letter-spacing: 0;
}

p {
  line-height: 1.72;
  color: var(--muted);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  padding: 0 6vw;
  background: var(--white);
  border-bottom: 1px solid rgba(232, 235, 240, 0.85);
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-logo {
  /* width: 104px; */
  height: 104px;
  max-width: none;
  object-fit: contain;
  display: block;
  flex: 0 0 auto;
}

.brand-text {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 14px;
}

.site-nav a {
  position: relative;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  color: #273142;
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--red);
  background: var(--red-soft);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 800;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover,
.nav-cta:hover {
  transform: translateY(-2px);
}

.nav-cta,
.btn.primary {
  color: var(--white) !important;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  box-shadow: 0 16px 34px rgba(225, 6, 0, 0.28);
}

.btn.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.16);
}

.nav-toggle {
  display: none;
  min-width: 58px;
  height: 44px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font: 800 13px "Poppins", Arial, sans-serif;
}

.hero {
  position: relative;
  min-height: calc(100vh - 84px);
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(320px, 0.82fr);
  align-items: center;
  gap: 64px;
  padding: 7vw 6vw 8vw;
  overflow: hidden;
  background:
    linear-gradient(115deg, rgba(0, 0, 0, 0.9), rgba(18, 25, 40, 0.72) 48%, rgba(225, 6, 0, 0.5)),
    url("https://images.unsplash.com/photo-1509062522246-3755977927d7?auto=format&fit=crop&w=1800&q=85") center/cover;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto 6vw 34px 6vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}

.hero::after {
  content: "Online Classes";
  position: absolute;
  right: 6vw;
  bottom: 42px;
  color: rgba(255, 255, 255, 0.16);
  font: 800 clamp(42px, 8vw, 120px) "Poppins", Arial, sans-serif;
  text-transform: uppercase;
  pointer-events: none;
}

.hero-content,
.hero-panel {
  position: relative;
  z-index: 1;
}

.hero h1 {
  max-width: 820px;
  color: var(--white);
  font-size: clamp(54px, 8vw, 106px);
  line-height: 0.92;
  text-transform: uppercase;
}

.hero-copy {
  max-width: 720px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--red-bright);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  color: var(--white);
  background: rgba(225, 6, 0, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.hero-panel {
  display: grid;
  gap: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(16px);
}

.stat-card,
.course-card,
.syllabus-grid article,
.program-grid article,
.price-grid article,
.values article,
.contact-grid article,
.notice-box,
.token-card,
.enquiry-form {
  background: var(--white);
  border: 1px solid rgba(232, 235, 240, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 26px;
  background: rgba(255, 255, 255, 0.94);
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--red), var(--yellow));
}

.stat-card strong {
  display: block;
  color: var(--ink);
  font: 800 30px "Poppins", Arial, sans-serif;
}

.stat-card span {
  color: var(--muted);
  font-weight: 700;
}

.section {
  padding: 96px 6vw;
}

.intro-grid,
.contact-grid,
.form-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 54px;
  align-items: start;
}

.section h2,
.page-hero h1 {
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.06;
}

.section h3 {
  font-size: 22px;
}

.feature-list,
.values {
  display: grid;
  gap: 18px;
}

.feature-list article,
.values article {
  position: relative;
  overflow: hidden;
  padding: 28px 30px;
  background:
    linear-gradient(135deg, #ffffff, #fbfcff);
  border: 1px solid var(--line);
  border-left: 6px solid var(--red);
  border-radius: 8px;
  box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

.feature-list article::after,
.values article::after {
  content: "";
  position: absolute;
  right: -38px;
  top: -38px;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(225, 6, 0, 0.08), rgba(244, 183, 64, 0.12));
}

.values article {
  display: grid;
  gap: 8px;
}

.values strong {
  font: 800 22px "Poppins", Arial, sans-serif;
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--red);
  font-weight: 800;
}

.courses-preview,
.course-detail.alt {
  background:
    linear-gradient(180deg, #f7f8fb, #ffffff);
}

.section-title {
  max-width: 820px;
  margin-bottom: 34px;
}

.course-cards,
.syllabus-grid,
.program-grid,
.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 26px;
}

.course-card,
.syllabus-grid article,
.program-grid article,
.price-grid article,
.contact-grid article,
.notice-box {
  position: relative;
  overflow: hidden;
  padding: 30px;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(360px, 1.15fr);
  gap: 34px;
  align-items: stretch;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
}

.contact-details-panel,
.contact-form-panel {
  border: 1px solid rgba(232, 235, 240, 0.95);
  border-radius: 18px;
  box-shadow: 0 24px 78px rgba(18, 24, 38, 0.12);
}

.contact-details-panel {
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 4vw, 42px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(0, 0, 0, 0.92), rgba(225, 6, 0, 0.78)),
    url("https://images.unsplash.com/photo-1556761175-b413da4baf72?auto=format&fit=crop&w=1200&q=84") center/cover;
}

.contact-details-panel h2 {
  color: var(--white);
}

.contact-details-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.contact-detail-list {
  display: grid;
  gap: 14px;
  margin: 24px 0 28px;
}

.contact-detail-list article {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(10px);
}

.contact-detail-list span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.64);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
}

.contact-detail-list strong {
  color: var(--white);
  line-height: 1.5;
}

.contact-enquiry-btn {
  width: 100%;
  margin-top: auto;
}

.contact-form-panel {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 42px);
  background: var(--white);
}

.contact-form-panel h2 {
  font-size: clamp(30px, 3.5vw, 48px);
}

.form-alert.success {
  border-color: #c7f1d8;
  background: #effaf4;
}

.form-alert.success p {
  color: #137333;
}

.course-card {
  min-height: 300px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 5px solid var(--red);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.course-card:hover,
.program-grid article:hover,
.price-grid article:hover,
.syllabus-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 78px rgba(18, 24, 38, 0.16);
}

.course-icon {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 18px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.22), transparent),
    linear-gradient(135deg, var(--red), #111111);
  font: 800 26px "Poppins", Arial, sans-serif;
  box-shadow: 0 14px 30px rgba(225, 6, 0, 0.24);
}

.course-card p {
  flex: 1;
}

.course-card a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  margin-top: 10px;
  padding: 0 16px;
  color: var(--red);
  font-weight: 800;
  background: var(--red-soft);
  border-radius: 999px;
}

.syllabus-grid article {
  border-bottom: 5px solid var(--red);
}

.program-grid article {
  border-top: 5px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, var(--red), var(--teal), var(--yellow)) border-box;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 108px 6vw 96px;
  color: var(--white);
  background:
    linear-gradient(110deg, rgba(0, 0, 0, 0.9), rgba(24, 43, 73, 0.78), rgba(225, 6, 0, 0.66)),
    url("https://images.unsplash.com/photo-1523240795612-9a054b0db644?auto=format&fit=crop&w=1800&q=85") center/cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: auto -8vw -120px 42vw;
  height: 260px;
  transform: rotate(-8deg);
  background: rgba(255, 255, 255, 0.1);
  border-radius: 28px;
}

.page-hero > * {
  position: relative;
  z-index: 1;
}

.page-hero p {
  width: fit-content;
  max-width: min(680px, 100%);
  margin-top: 18px;
  padding: 12px 18px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(10px);
}

.kg-band,
.pricing-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding: 42px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.95), rgba(17, 17, 17, 0.96)),
    url("https://images.unsplash.com/photo-1596495578065-6e0763fa1178?auto=format&fit=crop&w=1400&q=80") center/cover;
  box-shadow: var(--shadow);
}

.home-pricing {
  background:
    radial-gradient(circle at 12% 14%, rgba(225, 6, 0, 0.24), transparent 24%),
    linear-gradient(145deg, #05070d 0%, #101827 58%, #05070d 100%);
  color: var(--white);
  overflow: hidden;
}

.home-pricing .section-kicker {
  color: var(--red-bright);
}

.home-pricing .section-title h2 {
  color: var(--white);
}

.home-pricing .section-title p:last-child {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.72);
}

.home-price-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.home-price-card {
  position: relative;
  min-height: 455px;
  display: flex;
  flex-direction: column;
  padding: 34px 30px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.24);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.home-price-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 42, 42, 0.45);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.34);
}

.home-price-card::before {
  content: "";
  position: absolute;
  inset: 18px 18px auto auto;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255, 42, 42, 0.14), rgba(225, 6, 0, 0.04));
}

.home-price-card.featured {
  color: var(--white);
  border-color: transparent;
  background:
    linear-gradient(145deg, rgba(225, 6, 0, 0.94), rgba(14, 18, 28, 0.96)),
    url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1200&q=84") center/cover;
  box-shadow: 0 34px 110px rgba(225, 6, 0, 0.28);
}

.home-price-card.academic-plan,
.home-price-card.coding-plan,
.home-price-card.kg-plan {
  color: var(--white);
  border-color: transparent;
}

.home-price-card.academic-plan {
  background:
    linear-gradient(145deg, rgba(24, 43, 73, 0.96), rgba(166, 166, 166, 0.72)),
    url("https://images.unsplash.com/photo-1503676260728-1c00da094a0b?auto=format&fit=crop&w=1200&q=84") center/cover;
}

.home-price-card.coding-plan {
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 159, 154, 0.84)),
    url("https://images.unsplash.com/photo-1515879218367-8466d910aaa4?auto=format&fit=crop&w=1200&q=84") center/cover;
}

.home-price-card.kg-plan {
  background:
    linear-gradient(145deg, rgba(82, 44, 0, 0.9), rgba(244, 183, 64, 0.88)),
    url("https://images.unsplash.com/photo-1503454537195-1dcabb73ffb9?auto=format&fit=crop&w=1200&q=84") center/cover;
}

.home-price-card.academic-plan .plan-label,
.home-price-card.coding-plan .plan-label,
.home-price-card.kg-plan .plan-label {
  color: var(--black);
  background: linear-gradient(145deg, #ffffff, var(--silver));
}

.home-price-card.academic-plan strong,
.home-price-card.academic-plan p,
.home-price-card.academic-plan li,
.home-price-card.coding-plan strong,
.home-price-card.coding-plan p,
.home-price-card.coding-plan li,
.home-price-card.kg-plan strong,
.home-price-card.kg-plan p,
.home-price-card.kg-plan li {
  color: rgba(255, 255, 255, 0.92);
}

.home-price-card.featured::before {
  background: rgba(255, 255, 255, 0.16);
}

.plan-label {
  width: fit-content;
  margin-bottom: 22px;
  padding: 8px 14px;
  color: var(--red);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  background: rgba(225, 6, 0, 0.1);
  border: 1px solid rgba(225, 6, 0, 0.14);
  border-radius: 999px;
}

.home-price-card.featured .plan-label {
  color: var(--black);
  background: linear-gradient(145deg, #ffffff, var(--silver));
}

.home-price-card h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  max-width: 82%;
}

.home-price-card strong {
  display: block;
  margin: 18px 0 8px;
  color: var(--red);
  font: 800 clamp(30px, 3.4vw, 44px) "Poppins", Arial, sans-serif;
}

.home-price-card.featured strong,
.home-price-card.featured p,
.home-price-card.featured li {
  color: rgba(255, 255, 255, 0.9);
}

.home-price-card p {
  min-height: 58px;
  margin-bottom: 20px;
}

.home-price-card ul {
  display: grid;
  gap: 13px;
  margin: 0 0 26px;
  padding: 0;
  list-style: none;
}

.home-price-card li {
  position: relative;
  padding-left: 30px;
  color: var(--muted);
  font-weight: 700;
}

.home-price-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, var(--white) 0 28%, transparent 31%),
    linear-gradient(135deg, var(--red), var(--red-bright));
}

.home-price-card .btn {
  width: 100%;
  margin-top: auto;
}

.premium-enquiry {
  position: relative;
  min-height: 52px;
  color: #050505 !important;
  overflow: hidden;
  background:
    linear-gradient(145deg, #ffffff 0%, #d9d9d9 48%, #ffffff 100%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 18px 42px rgba(0, 0, 0, 0.24);
}

.premium-enquiry::after {
  content: ">";
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  margin-left: 12px;
  color: var(--white);
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  border-radius: 50%;
  font-weight: 900;
}

.home-price-card .premium-enquiry::after {
  display: none;
}

.premium-enquiry:hover {
  color: #050505 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    0 24px 54px rgba(0, 0, 0, 0.3);
}

.dark-text {
  color: var(--ink) !important;
  border-color: var(--line);
  box-shadow: none;
}

.pricing-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 26px;
  padding: 22px 26px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
}

.pricing-more span {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 700;
}

.pricing-more .text-link {
  color: var(--white);
  padding: 10px 16px;
  background: rgba(225, 6, 0, 0.85);
  border-radius: 999px;
}

.kg-band h2,
.kg-band p,
.pricing-band h2,
.pricing-band p {
  color: var(--white);
}

.notice-box {
  margin-bottom: 46px;
  border-left: 7px solid var(--red);
  background: linear-gradient(135deg, #ffffff, #fff7f7);
}

.price-grid article {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 0;
  border-left: 5px solid var(--red);
  background:
    linear-gradient(180deg, #ffffff, #fbfcff);
}

.price-grid article h3 {
  font-size: 24px;
}

.price-grid article p {
  min-height: 72px;
  margin: 0;
}

.price-grid article .content {
  width: 100%;
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 16px;
  border: 1px solid rgba(225, 6, 0, 0.1);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(246, 247, 251, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.course-highlight {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px 16px;
  border-radius: 14px;
  color: var(--white);
  background:
    linear-gradient(135deg, #101827, rgba(225, 6, 0, 0.92));
  box-shadow: 0 16px 34px rgba(225, 6, 0, 0.18);
}

.course-highlight span {
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
}

.course-highlight strong {
  color: var(--white);
  font: 800 17px "Poppins", Arial, sans-serif;
}

.course-info-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
  margin: 0 0 18px;
  border: 1px solid #d7dce5;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  box-shadow: 0 14px 34px rgba(18, 24, 38, 0.07);
}

.course-info-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #d7dce5;
  vertical-align: middle;
  line-height: 1.45;
}

.course-info-table tr:last-child td {
  border-bottom: 0;
}

.course-info-table td:first-child {
  width: 44%;
  color: var(--ink);
  font-weight: 800;
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.08), rgba(255, 255, 255, 0.6));
  border-right: 1px solid #d7dce5;
}

.info-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  margin-right: 7px;
  color: var(--white);
  font-size: 11px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
}

.course-info-table td:last-child {
  color: #273142;
  font-weight: 800;
  background: #ffffff;
}

.course-info-table tr:hover td:first-child {
  background:
    linear-gradient(135deg, rgba(225, 6, 0, 0.13), rgba(255, 255, 255, 0.8));
}

.course-info-table tr:hover td:last-child {
  color: var(--red);
}

.read-more-btn {
  width: 100%;
  margin-top: auto;
}

.edu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 20px;
  color: var(--white);
  font-weight: 800;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--red), var(--red-bright));
  box-shadow: 0 14px 30px rgba(225, 6, 0, 0.22);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.edu-btn::after {
  content: ">";
  margin-left: 10px;
  font-weight: 900;
}

.edu-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px rgba(225, 6, 0, 0.3);
}

.enquiry-form {
  display: grid;
  gap: 18px;
  padding: 34px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 800;
}

.required {
  color: var(--red);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #dfe3ea;
  border-radius: 8px;
  font: inherit;
  background: #fbfcff;
  outline: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--red);
  background: var(--white);
  box-shadow: 0 0 0 4px rgba(225, 6, 0, 0.1);
}

.field textarea {
  min-height: 130px;
  padding-top: 14px;
  resize: vertical;
}

.career-section {
  display: grid;
  grid-template-columns: minmax(300px, 0.85fr) minmax(360px, 1.15fr);
  gap: 36px;
  align-items: stretch;
  background:
    linear-gradient(180deg, #ffffff 0%, #f6f7fb 100%);
}

.career-intro,
.career-form {
  border: 1px solid rgba(232, 235, 240, 0.95);
  border-radius: 18px;
  box-shadow: 0 24px 78px rgba(18, 24, 38, 0.12);
}

.career-intro {
  padding: clamp(28px, 4vw, 42px);
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(15, 23, 42, 0.94), rgba(225, 6, 0, 0.68)),
    url("https://images.unsplash.com/photo-1551836022-d5d88e9218df?auto=format&fit=crop&w=1200&q=84") center/cover;
}

.career-intro h2,
.career-intro p {
  color: var(--white);
}

.career-points {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.career-points span {
  padding: 14px 16px;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
}

.career-form {
  display: grid;
  gap: 18px;
  padding: clamp(28px, 4vw, 42px);
  background: var(--white);
}

.submit-btn {
  min-height: 54px;
}

.form-alert {
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid #ffd1d1;
  background: #fff3f3;
}

.form-alert p {
  margin: 0;
  color: #a50000;
  font-weight: 700;
}

.form-alert p + p {
  margin-top: 8px;
}

.token-card {
  position: sticky;
  top: 112px;
  padding: 36px;
  border-top: 7px solid var(--red);
  background:
    linear-gradient(145deg, #ffffff, #fff8f8);
}

.token-card strong {
  display: block;
  margin: 12px 0;
  color: var(--red);
  font: 800 clamp(30px, 4vw, 42px) "Poppins", Arial, sans-serif;
  word-break: break-word;
}

.site-footer {
  position: relative;
  display: grid;
  grid-template-columns: 1.2fr 0.6fr 0.9fr;
  gap: 36px;
  padding: 58px 6vw;
  color: var(--white);
  background:
    linear-gradient(135deg, #050505, #15171d 60%, #310503);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, var(--red), var(--silver), var(--red-bright));
}

.site-footer h2,
.site-footer h3 {
  color: var(--white);
}

.site-footer p,
.site-footer a {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.site-footer a {
  margin-top: 8px;
}

.site-footer a:hover {
  color: var(--white);
}

.site-footer .footer-contact-link {
  display: inline;
  margin-top: 0;
  color: rgba(255, 255, 255, 0.86);
}

.footer-social-title {
  margin-top: 22px;
  font-size: 16px;
}

.social-icons {
  display: inline-grid;
  grid-template-columns: repeat(3, 25px);
  grid-auto-flow: column;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 10px;
}

.site-footer .social-icons a {
  display: grid;
  width: 25px;
  height: 25px;
  place-items: center;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  font-size: 25px;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.site-footer .social-icons a:hover {
  opacity: 0.8;
  transform: translateY(-2px);
}

.site-footer .social-icons a:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 4px;
  border-radius: 3px;
}

.social-icons .fa-facebook {
  color: #1877f2;
}

.social-icons .fa-instagram {
  color: #e4405f;
}

.social-icons .fa-youtube {
  color: #ff0000;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    inset: 84px 0 auto 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px 6vw 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.1);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    border-radius: 8px;
  }

  .hero,
  .intro-grid,
  .contact-grid,
  .form-section,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 92px;
  }

  .course-cards,
  .syllabus-grid,
  .program-grid,
  .price-grid {
    grid-template-columns: 1fr;
  }

  .kg-band,
  .pricing-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .token-card {
    position: static;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding: 0 18px;
  }

  .brand-text {
    font-size: 17px;
  }

  .brand-logo {
    width: 78px;
    height: 78px;
    max-width: none;
  }

  .section,
  .page-hero,
  .hero {
    padding-left: 20px;
    padding-right: 20px;
  }

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

  .hero-copy {
    font-size: 17px;
  }

  .enquiry-form,
  .token-card,
  .course-card,
  .syllabus-grid article,
  .program-grid article,
  .price-grid article,
  .notice-box {
    padding: 24px;
  }
}

/* Professional responsive refresh */
body.modal-open {
  overflow: hidden;
}

.site-header {
  min-height: 112px;
  padding: 0 clamp(18px, 5vw, 72px);
}

.brand-text {
  white-space: nowrap;
}

.site-nav {
  gap: 6px;
}

.site-nav a {
  min-height: 40px;
  padding: 0 13px;
}

.nav-cta {
  margin-left: 8px;
  border-radius: 8px;
}

.hero {
  min-height: 720px;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: clamp(28px, 5vw, 72px);
  padding: clamp(76px, 8vw, 118px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.96) 0%, rgba(8, 14, 24, 0.9) 44%, rgba(225, 6, 0, 0.64) 100%),
    url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1900&q=88") center/cover;
}

.hero::after {
  content: "";
  right: clamp(18px, 5vw, 72px);
  bottom: 26px;
  width: min(460px, 44vw);
  height: 7px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--red), var(--silver), transparent);
}

.hero::before {
  inset: 24px clamp(18px, 5vw, 72px);
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 28px;
  background: transparent;
  pointer-events: none;
}

.hero h1 {
  max-width: 760px;
  margin-top: 14px;
  font-size: clamp(48px, 7.2vw, 92px);
  line-height: 0.98;
  text-wrap: balance;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.48);
}

.hero h1 span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: clamp(86px, 11vw, 145px);
  margin-right: 14px;
  padding: 0 14px;
  color: #050505;
  background: linear-gradient(145deg, #f4f4f4, #a6a6a6);
  border-radius: 16px;
  text-shadow: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.75), 0 18px 40px rgba(0, 0, 0, 0.26);
}

.hero-copy {
  max-width: 650px;
  font-size: clamp(17px, 1.7vw, 21px);
}

.hero-panel {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.34);
}

.stat-card {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  box-shadow: none;
}

.section {
  padding: clamp(64px, 8vw, 104px) clamp(20px, 6vw, 86px);
}

.section-title {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title h2,
.intro-grid h2,
.page-hero h1 {
  text-wrap: balance;
}

.course-cards,
.program-grid,
.price-grid {
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
}

.syllabus-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.course-card,
.program-grid article,
.price-grid article,
.syllabus-grid article {
  min-height: 245px;
  border-radius: 14px;
}

.course-card {
  border-top: 0;
  background:
    linear-gradient(180deg, #ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(225, 6, 0, 0.96), rgba(166, 166, 166, 0.8)) border-box;
  border: 1px solid transparent;
}

.course-icon {
  border-radius: 14px;
}

.page-hero {
  min-height: 360px;
  display: grid;
  align-content: center;
  padding: clamp(72px, 9vw, 118px) clamp(20px, 6vw, 86px);
  background:
    linear-gradient(95deg, rgba(0, 0, 0, 0.94), rgba(16, 23, 35, 0.82), rgba(225, 6, 0, 0.58)),
    url("https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?auto=format&fit=crop&w=1800&q=88") center/cover;
}

.page-hero::after {
  display: none;
}

.kg-band,
.pricing-band {
  border-radius: 16px;
}

.enquiry-form,
.token-card,
.notice-box,
.contact-grid article {
  border-radius: 16px;
}

.booking-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.booking-modal.open {
  display: flex;
}

.booking-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(10px);
}

.booking-dialog {
  position: relative;
  z-index: 1;
  width: min(960px, 100%);
  max-height: min(92vh, 820px);
  display: grid;
  grid-template-columns: 0.76fr 1fr;
  gap: 0;
  overflow: auto;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.45);
}

.modal-intro {
  min-height: 100%;
  padding: clamp(28px, 4vw, 44px);
  color: var(--white);
  background:
    linear-gradient(150deg, rgba(0, 0, 0, 0.95), rgba(225, 6, 0, 0.78)),
    url("https://images.unsplash.com/photo-1588072432836-e10032774350?auto=format&fit=crop&w=900&q=84") center/cover;
}

.modal-intro h2 {
  color: var(--white);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
}

.modal-intro p {
  color: rgba(255, 255, 255, 0.84);
}

.modal-form {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  min-height: 38px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: rgba(0, 0, 0, 0.56);
  font-weight: 800;
  cursor: pointer;
}

.two-fields {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.two-fields span {
  display: grid;
  gap: 8px;
}

.modal-token {
  grid-column: 1 / -1;
  position: static;
  margin: 0 34px 34px;
  box-shadow: none;
}

@media (max-width: 1180px) {
  .site-nav {
    font-size: 13px;
  }

  .site-nav a {
    padding: 0 9px;
  }

  .hero {
    grid-template-columns: 1fr 340px;
  }

  .home-price-grid {
    grid-template-columns: 1fr 1fr;
  }

  .home-price-card.featured {
    grid-column: 1 / -1;
  }
}

@media (max-width: 980px) {
  .site-nav {
    inset: 76px 0 auto 0;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-panel {
    max-width: 720px;
    grid-template-columns: repeat(3, 1fr);
  }

  .intro-grid,
  .contact-grid,
  .contact-page-grid,
  .career-section,
  .form-section {
    grid-template-columns: 1fr;
  }

  .booking-dialog {
    grid-template-columns: 1fr;
  }

  .modal-intro {
    min-height: auto;
  }

  .home-price-grid {
    grid-template-columns: 1fr;
  }

  .home-price-card.featured {
    grid-column: auto;
  }

  .pricing-more {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 720px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }

  .hero h1 span {
    margin-right: 8px;
    border-radius: 12px;
  }

  .two-fields {
    grid-template-columns: 1fr;
  }

  .booking-modal {
    padding: 12px;
  }

  .booking-dialog {
    border-radius: 14px;
  }

  .modal-close {
    color: var(--ink);
    background: rgba(255, 255, 255, 0.92);
  }
}

@media (max-width: 560px) {
  .brand-text {
    max-width: 145px;
    white-space: normal;
    line-height: 1;
  }

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

  .hero h1 span {
    min-width: 74px;
    padding: 0 10px;
  }

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

  .stat-card strong {
    font-size: 25px;
  }

  .modal-form,
  .modal-intro {
    padding: 24px;
  }

  .modal-token {
    margin: 0 24px 24px;
  }
}

/* Pricing page final card design */
.pricing-page-section {
  background:
    radial-gradient(circle at 8% 8%, rgba(225, 6, 0, 0.08), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fb 100%);
}

.pricing-page-section .price-grid {
  align-items: stretch;
  grid-template-columns: repeat(3, minmax(300px, 1fr));
  max-width: 1320px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-course-card {
  position: relative;
  min-height: 100%;
  padding: 28px;
  border: 1px solid #e2e7f0;
  border-radius: 20px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgba(18, 24, 38, 0.11);
}

.pricing-course-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, var(--red), var(--red-bright), var(--silver-dark));
}

.pricing-course-card h3 {
  font-size: 25px;
  line-height: 1.2;
}

.pricing-course-card > p {
  min-height: 76px;
  margin: 8px 0 0;
  color: #667085;
}

.pricing-course-card .content {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-top: 8px;
  padding: 18px;
  border: 1px solid #e5e9f2;
  border-radius: 18px;
  background:
    linear-gradient(180deg, #fbfcff, #ffffff);
}

.pricing-course-card .course-highlight {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background:
    linear-gradient(135deg, #0f172a 0%, #2a1111 48%, var(--red) 100%);
}

.pricing-course-card .course-info-table {
  width: 100%;
  max-width: 100%;
  border: 1px solid #cfd6e3;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: none;
}

.pricing-course-card .read-more-btn {
  width: 100%;
}

.pricing-course-card .edu-btn {
  width: 100%;
}

.pricing-course-card .course-info-table td {
  padding: 12px 13px;
  border-bottom: 1px solid #dbe1ea;
  font-size: 14px;
  line-height: 1.35;
}

.pricing-course-card .course-info-table td:first-child {
  width: 45%;
  color: #111827;
  background: #f1f4f9;
  border-right: 1px solid #dbe1ea;
}

.pricing-course-card .course-info-table td:last-child {
  color: #344054;
  background: #ffffff;
}

.pricing-course-card .info-icon {
  box-shadow: 0 8px 18px rgba(225, 6, 0, 0.2);
}

.pricing-course-card .edu-btn {
  min-height: 50px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #111827, var(--red));
}

@media (max-width: 980px) {
  .pricing-page-section .price-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
  }
}

@media (max-width: 520px) {
  .pricing-page-section .price-grid {
    max-width: 100%;
  }
}

/* Website language selector */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.language-switcher {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #273142;
  background: #ffffff;
}

.language-switcher > i {
  color: var(--red);
  font-size: 15px;
}

.language-switcher select {
  min-width: 84px;
  padding: 0 22px 0 0;
  border: 0;
  outline: 0;
  color: #273142;
  background: transparent;
  font: 700 13px "Inter", Arial, sans-serif;
  cursor: pointer;
}

#google_translate_element {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

html,
body {
  top: 0 !important;
}

.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
body > .skiptranslate,
.skiptranslate iframe {
  display: none !important;
  height: 0 !important;
  visibility: hidden !important;
}

html[dir="rtl"] body {
  text-align: right;
}

html[dir="rtl"] .site-nav,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .pricing-more {
  direction: rtl;
}

@media (max-width: 1180px) {
  .language-switcher {
    padding: 0 8px;
  }
}

@media (max-width: 980px) {
  .language-switcher {
    width: 100%;
    justify-content: flex-start;
    padding: 10px 12px;
  }

  .language-switcher select {
    flex: 1;
  }
}

/* Malayalam uses taller glyphs and typically needs more horizontal space. */
html[data-site-language="ml"] body,
html[data-site-language="ml"] button,
html[data-site-language="ml"] input,
html[data-site-language="ml"] select,
html[data-site-language="ml"] textarea {
  font-family: "Noto Sans Malayalam", "Inter", Arial, sans-serif;
}

html[data-site-language="ml"] h1,
html[data-site-language="ml"] h2,
html[data-site-language="ml"] h3,
html[data-site-language="ml"] .brand-text {
  font-family: "Noto Sans Malayalam", "Poppins", Arial, sans-serif;
  line-height: 1.35;
}

html[data-site-language="ml"] .site-nav {
  font-size: 12px;
}

html[data-site-language="ml"] .site-nav a {
  padding-left: 8px;
  padding-right: 8px;
  white-space: normal;
  text-align: center;
}

html[data-site-language="ml"] .hero h1 {
  font-size: clamp(38px, 5.8vw, 72px);
  overflow-wrap: anywhere;
}

html[data-site-language="ml"] .page-hero h1 {
  font-size: clamp(30px, 3.5vw, 48px);
}

html[data-site-language="ml"] h2,
html[data-site-language="ml"] h3,
html[data-site-language="ml"] p,
html[data-site-language="ml"] li,
html[data-site-language="ml"] label,
html[data-site-language="ml"] a,
html[data-site-language="ml"] button {
  overflow-wrap: anywhere;
}

html[data-site-language="ml"] .btn,
html[data-site-language="ml"] .nav-cta,
html[data-site-language="ml"] .text-link {
  height: auto;
  min-height: 48px;
  white-space: normal;
  text-align: center;
  line-height: 1.45;
}

@media (max-width: 1180px) {
  html[data-site-language="ml"] .site-header {
    align-items: center;
  }

  html[data-site-language="ml"] .nav-toggle {
    display: grid;
    place-items: center;
  }

  html[data-site-language="ml"] .site-nav {
    position: absolute;
    inset: 112px 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 14px 6vw 24px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 22px 46px rgba(15, 23, 42, 0.1);
  }

  html[data-site-language="ml"] .site-nav.open {
    display: flex;
  }

  html[data-site-language="ml"] .site-nav a {
    justify-content: flex-start;
    border-radius: 8px;
    text-align: left;
  }

  html[data-site-language="ml"] .nav-cta {
    margin-left: 0;
  }
}
