:root {
  --bg: #f4f7fd;
  --ink: #0f1c34;
  --ink-soft: #4c5b79;
  --line: #d8e1ef;
  --card: #ffffff;
  --navy: #121e49;
  --navy-deep: #0b1435;
  --blue: #2d67ff;
  --cyan: #2db2ff;
  --red: #ea2a2a;
  --radius: 20px;
  --shadow: 0 24px 60px rgba(15, 28, 52, 0.16);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 14% -10%, rgba(45, 103, 255, 0.15), transparent 35%),
    radial-gradient(circle at 100% 2%, rgba(45, 178, 255, 0.15), transparent 30%),
    var(--bg);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

.container {
  width: min(1160px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.announcement {
  background: linear-gradient(90deg, #0f1a3e, #18285e 40%, #0d173a 100%);
  color: #dfe8ff;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.announcement-bottom {
  margin-top: 0;
  position: relative;
  z-index: 15;
}

.announcement-wrap {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.8rem;
}

.announcement p {
  margin: 0;
}

.creator-credit {
  display: grid;
  justify-items: end;
  gap: 0.12rem;
  text-align: right;
  font-size: 0.8rem;
}

.creator-credit a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
}

.creator-credit > a {
  color: #dfe8ff;
  font-weight: 600;
  word-break: break-word;
}

.creator-credit a:hover {
  text-decoration: underline;
}

.hero {
  background:
    radial-gradient(circle at 92% 15%, rgba(45, 178, 255, 0.28), transparent 28%),
    radial-gradient(circle at 10% 5%, rgba(45, 103, 255, 0.35), transparent 30%),
    linear-gradient(145deg, var(--navy-deep), #1a2d69 45%, #101d4a 100%);
  color: #f6f9ff;
  padding-bottom: 3.2rem;
  position: relative;
  overflow: clip;
}

.hero::after {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -190px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: rgba(45, 178, 255, 0.12);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 40;
  margin-top: 0.95rem;
  padding: 0.65rem 0.9rem;
  border-radius: 16px;
  background: rgba(8, 16, 42, 0.75);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(198, 215, 255, 0.22);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: inherit;
}

.brand img {
  width: clamp(128px, 15vw, 156px);
  height: auto;
  max-height: 44px;
  border-radius: 8px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.28);
}

.brand strong {
  display: block;
  font-size: 0.89rem;
  letter-spacing: 0.01em;
}

.brand span {
  display: block;
  font-size: 0.72rem;
  opacity: 0.84;
}

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

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.05rem;
  margin-left: auto;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(198, 215, 255, 0.32);
  border-radius: 12px;
  background: rgba(8, 16, 42, 0.72);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #e7efff;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.navbar.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

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

.nav-links a {
  color: #dce6ff;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:hover {
  color: #ffffff;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 0.8rem 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #2d67ff, #1f4dd6 52%, #183cb8);
  box-shadow: 0 12px 30px rgba(45, 103, 255, 0.45);
}

.btn-small {
  font-size: 0.85rem;
  padding: 0.67rem 0.86rem;
}

.btn-ghost {
  color: #21448f;
  border: 1px solid #b6c8e9;
  background: #fff;
}

.btn-white {
  color: #143585;
  background: #fff;
  box-shadow: 0 10px 28px rgba(8, 16, 42, 0.2);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 2rem;
  align-items: center;
  padding-top: 2rem;
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  font-weight: 800;
  color: #70d7ff;
}

.hero-copy h1 {
  margin: 0.8rem 0;
  line-height: 1.08;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.8rem);
}

.hero-copy h1 span {
  color: #89dcff;
}

.hero-copy h1 .hero-highlight-yellow {
  color: #ffd84d;
}

.lead {
  margin: 0;
  color: #d3e1ff;
  line-height: 1.7;
  max-width: 58ch;
}

.hero-actions {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.trust-pills {
  margin-top: 1.3rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.trust-pills span {
  border-radius: 999px;
  padding: 0.42rem 0.72rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #e8f3ff;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.08);
}

.hero-visual {
  position: relative;
  padding-right: 1.5rem;
  padding-bottom: 1.5rem;
}

.hero-main {
  margin: 0 auto;
  width: fit-content;
  max-width: 100%;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 54px rgba(8, 16, 42, 0.45);
  border: 2px solid rgba(255, 255, 255, 0.22);
}

.hero-main img {
  display: block;
  width: min(100%, 430px);
  height: auto;
  object-fit: contain;
}

.hero-card {
  margin: 0;
  position: absolute;
  right: 0;
  bottom: 0;
  width: min(50%, 260px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 42px rgba(8, 16, 42, 0.5);
  border: 2px solid rgba(255, 255, 255, 0.5);
  background: #fff;
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.hero-card figcaption {
  padding: 0.7rem;
  color: #1a2b58;
}

.hero-card strong {
  display: block;
  font-size: 0.85rem;
}

.hero-card p {
  margin: 0.2rem 0 0;
  font-size: 0.75rem;
  color: #476198;
}

.floating-metric {
  position: absolute;
  left: -28px;
  bottom: 20%;
  background: #fff;
  color: #122959;
  border-radius: 14px;
  padding: 0.8rem;
  border: 1px solid #d9e5f8;
  box-shadow: 0 16px 40px rgba(8, 16, 42, 0.34);
}

.floating-metric p {
  margin: 0;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: #60739f;
  letter-spacing: 0.06em;
  font-weight: 800;
}

.floating-metric h3 {
  margin: 0.15rem 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.55rem;
}

.floating-metric span {
  font-size: 0.74rem;
  color: #2f4f92;
  font-weight: 700;
}

.quick-stats {
  margin-top: -1.3rem;
  position: relative;
  z-index: 4;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
}

.quick-grid article {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.9rem;
  box-shadow: 0 18px 38px rgba(15, 28, 52, 0.08);
}

.quick-grid h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  color: #1b4fca;
}

.quick-grid p {
  margin: 0.2rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

.section {
  padding: 4rem 0;
}

.section-soft {
  background:
    radial-gradient(circle at 90% 8%, rgba(45, 103, 255, 0.13), transparent 24%),
    radial-gradient(circle at 7% 90%, rgba(45, 178, 255, 0.13), transparent 25%),
    #edf3ff;
}

.section-head {
  margin-bottom: 1.3rem;
}

.section-head h2 {
  margin: 0.45rem 0 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.program-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 18px 42px rgba(15, 28, 52, 0.08);
  padding: 1.1rem;
}

.program-card h3 {
  margin: 0;
  font-size: 1.06rem;
}

.program-card p {
  margin: 0.7rem 0;
  line-height: 1.62;
  color: #4f5f7c;
  font-size: 0.92rem;
}

.program-card ul {
  margin: 0;
  padding-left: 1rem;
  display: grid;
  gap: 0.42rem;
  color: #26488e;
  font-size: 0.85rem;
  font-weight: 700;
}

.seo-mini-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0 0.85rem;
}

.seo-mini-card {
  position: relative;
  border-radius: 16px;
  border: 1px solid #d2dff3;
  background: linear-gradient(165deg, #ffffff, #f4f8ff 70%);
  box-shadow: 0 12px 30px rgba(15, 28, 52, 0.08);
  padding: 0.9rem;
  overflow: hidden;
}

.seo-mini-card::after {
  content: "";
  position: absolute;
  right: -26px;
  top: -28px;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: rgba(45, 103, 255, 0.09);
}

.seo-mini-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  color: #1b315f;
  position: relative;
  z-index: 1;
}

.seo-mini-card p {
  margin: 0.45rem 0 0;
  color: #516285;
  line-height: 1.55;
  font-size: 0.88rem;
  position: relative;
  z-index: 1;
}

.seo-grid {
  margin-top: 0.2rem;
}

.seo-card {
  position: relative;
  border: 1px solid #cddcf2;
  background: linear-gradient(180deg, #ffffff, #f8fbff 100%);
  box-shadow: 0 18px 42px rgba(15, 28, 52, 0.1);
}

.seo-card-badge {
  margin: 0 0 0.55rem;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.62rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #1e4cc0;
  background: #e8f0ff;
  border: 1px solid #c7d8fb;
}

.seo-card-link {
  margin-top: 0.8rem;
  display: inline-flex;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.9rem;
  color: #1d4fc8;
}

.seo-card-link:hover {
  text-decoration: underline;
}

.categories-note {
  margin: 0.6rem 0 0;
  color: #556487;
  line-height: 1.65;
  max-width: 74ch;
}

.exam-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.exam-card {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid #d6ddeb;
  background: #fff;
  box-shadow: 0 16px 38px rgba(15, 28, 52, 0.1);
  padding: 1.15rem;
  min-height: 260px;
  display: flex;
  flex-direction: column;
}

.exam-card::after {
  content: "";
  position: absolute;
  right: -52px;
  top: 50%;
  transform: translateY(-50%);
  width: 220px;
  height: 220px;
  border-radius: 50%;
  opacity: 0.54;
}

.exam-accent-neet::after {
  background: #f5dbe3;
}

.exam-accent-jee::after {
  background: #f3e3bb;
}

.exam-accent-foundation::after {
  background: #efe9bb;
}

.exam-accent-boards::after {
  background: #e6e2f3;
}

.exam-accent-entrance::after {
  background: #dbeaf3;
}

.exam-accent-career::after {
  background: #e8e8eb;
}

.exam-card h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.95rem;
  position: relative;
  z-index: 1;
}

.exam-tags {
  margin-top: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.52rem;
  max-width: 74%;
  position: relative;
  z-index: 1;
}

.exam-tags span {
  border-radius: 999px;
  border: 1px solid #ced7e7;
  background: rgba(255, 255, 255, 0.88);
  padding: 0.42rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: #384d7c;
}

.exam-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.48rem;
  color: #1b355f;
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.exam-link strong {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #d6deeb;
  color: #273d6e;
}

.exam-icon {
  position: absolute;
  right: 1.42rem;
  bottom: 1.38rem;
  min-width: 2.8rem;
  height: 2.8rem;
  border-radius: 999px;
  border: 1px solid #d4deef;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  padding: 0 0.45rem;
  font-size: 0.84rem;
  font-weight: 800;
  color: #314d84;
  letter-spacing: 0.03em;
  z-index: 1;
}

.results-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.result-card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid #d5dff0;
  box-shadow: 0 18px 40px rgba(15, 28, 52, 0.09);
  padding: 1.1rem;
}

.result-card h3 {
  margin: 0;
  font-size: 1.12rem;
}

.result-card p {
  margin: 0.7rem 0 0;
  color: #4c5e7d;
  line-height: 1.7;
}

.result-tags {
  margin-top: 0.9rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.result-tags span {
  border-radius: 10px;
  padding: 0.37rem 0.62rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #1b4ab7;
  background: #ebf2ff;
}

.inline-link {
  display: inline-block;
  margin-top: 0.8rem;
  color: #1e54cb;
  font-weight: 700;
  text-decoration: none;
}

.reviews-meta {
  margin: 0.6rem 0 0;
  color: #48608f;
  font-size: 0.94rem;
}

.reviews-shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.62rem;
}

.review-nav {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid #d1def3;
  background: #fff;
  color: #1d4fc8;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(12, 27, 62, 0.13);
}

.review-nav:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.reviews-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  padding: 0.2rem 0.1rem 0.6rem;
}

.reviews-viewport::-webkit-scrollbar {
  display: none;
}

.reviews-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(320px, 1fr);
  gap: 0.9rem;
}

.review-card {
  border-radius: 18px;
  background: #fff;
  border: 1px solid #d5e1f5;
  box-shadow: 0 16px 36px rgba(15, 28, 52, 0.11);
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
  min-height: 260px;
}

.review-text {
  margin: 0;
  color: #2b3f68;
  line-height: 1.68;
  font-size: 0.92rem;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.review-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.review-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #d6e4fb;
  object-fit: cover;
}

.review-identity {
  min-width: 0;
}

.review-name {
  margin: 0;
  font-size: 1.02rem;
  color: #14223f;
}

.review-name a {
  color: inherit;
  text-decoration: none;
}

.review-meta {
  margin: 0.2rem 0 0;
  color: #4d63a0;
  font-size: 0.84rem;
  font-weight: 700;
}

.review-stars {
  color: #ef8f1a;
  letter-spacing: 0.04em;
}

.review-empty {
  border-radius: 16px;
  border: 1px dashed #bad0ef;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.65);
  color: #324e82;
  min-width: 320px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.7rem;
}

.gallery-item {
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #cfdef2;
  box-shadow: 0 16px 34px rgba(15, 28, 52, 0.1);
  grid-column: span 4;
}

.gallery-item.tall {
  grid-column: span 5;
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 7;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  min-height: 230px;
  object-fit: cover;
}

.cta-band {
  background: linear-gradient(120deg, #f3f7ff, #eaf1ff 56%, #f7f9ff);
  color: #132a5f;
  border-top: 1px solid #d8e3f5;
  border-bottom: 1px solid #d8e3f5;
}

.cta-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.cta-wrap h2 {
  margin: 0.42rem 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3.8vw, 2.8rem);
}

.cta-wrap p {
  margin: 0;
  color: #4c5f85;
  max-width: 62ch;
}

.founder-section {
  background: #f8fbff;
}

.founder-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 1.15rem;
  align-items: center;
}

.founder-photo {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid #cfdef2;
  background: #edf3ff;
  box-shadow: 0 18px 42px rgba(15, 28, 52, 0.11);
}

.founder-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  color: transparent;
  font-size: 0;
}

.founder-content {
  min-width: 0;
}

.founder-content h2 {
  margin: 0.45rem 0 0.35rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
}

.founder-role {
  width: fit-content;
  margin: 0 0 0.8rem;
  border-radius: 999px;
  border: 1px solid #c8d9fa;
  background: #edf3ff;
  color: #1d4fc8;
  padding: 0.42rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.founder-content h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  color: #172949;
}

.founder-experience {
  margin: 0.38rem 0 0;
  color: #1e56c5;
  font-weight: 800;
}

.founder-bio {
  margin: 0.78rem 0 0;
  color: #3f5172;
  line-height: 1.72;
}

.founder-highlights {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.72rem;
}

.founder-highlights article {
  border-radius: 14px;
  border: 1px solid #d3e0f4;
  background: #fff;
  padding: 0.82rem;
  box-shadow: 0 14px 30px rgba(15, 28, 52, 0.08);
}

.founder-highlights strong {
  display: block;
  color: #1b4fca;
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.35rem;
}

.founder-highlights span {
  display: block;
  margin-top: 0.2rem;
  color: #4c5f85;
  font-size: 0.86rem;
  line-height: 1.45;
}

.founder-content blockquote {
  margin: 1rem 0 0;
  border-left: 4px solid #2d67ff;
  padding: 0.75rem 0 0.75rem 0.9rem;
  color: #243a67;
  background: #eef4ff;
  border-radius: 0 12px 12px 0;
  font-weight: 700;
  line-height: 1.6;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 0.95rem;
}


.contact-card,
.form-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: 0 20px 44px rgba(15, 28, 52, 0.1);
  padding: 1.15rem;
}

.contact-card h2,
.form-card h2 {
  margin: 0.38rem 0 0.65rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
}

.contact-card > p {
  margin: 0;
  color: #4f5f7a;
  line-height: 1.7;
}

.contact-list {
  margin: 0.9rem 0 1.05rem;
  display: grid;
  gap: 0.4rem;
}

.contact-list p {
  margin: 0;
  color: #2a3c5f;
  font-size: 0.9rem;
}

.contact-list span {
  color: #1747ba;
  font-weight: 700;
}

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

.enquiry-form label {
  display: grid;
  gap: 0.36rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #2a3c5f;
}

.full-width {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  font: inherit;
  padding: 0.72rem 0.78rem;
  border-radius: 12px;
  border: 1px solid #c8d7ec;
  background: #fbfdff;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(45, 103, 255, 0.24);
  border-color: #2d67ff;
}

#form-status {
  margin: 0;
  color: #204bb5;
  font-size: 0.88rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.faq-item {
  position: relative;
  border-radius: 16px;
  border: 1px solid #d2def0;
  background: #fff;
  box-shadow: 0 12px 30px rgba(15, 28, 52, 0.08);
  padding: 0.9rem 0.95rem;
  overflow: hidden;
}

.faq-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #2d67ff, #5a86ff);
}

.faq-item summary {
  cursor: pointer;
  font-weight: 800;
  color: #1c3055;
  list-style: none;
  padding-right: 1.4rem;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: #2d67ff;
  font-weight: 900;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  margin: 0.62rem 0 0;
  color: #475b84;
  line-height: 1.65;
}

.footer {
  border-top: 1px solid #d7e2f3;
  background: #eef3f7;
  padding: 2.1rem 0 1.1rem;
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 2.2rem;
}

.footer-left,
.footer-right {
  min-width: 0;
}

.footer-logo {
  width: clamp(128px, 14vw, 170px);
  height: auto;
  max-height: 52px;
  object-fit: contain;
  display: block;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid #d2dff3;
}

.footer-brand-head {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand-head h3 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2.2rem;
  color: #1a2b49;
}

.footer-brand-copy {
  margin: 0.8rem 0 0;
  max-width: 56ch;
  line-height: 1.5;
  font-size: 0.96rem;
  color: #3f4f6a;
}

.footer-store-buttons {
  margin-top: 1.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
}

.store-btn {
  min-width: 190px;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  text-decoration: none;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(135deg, #132950, #1a3d78);
  box-shadow: 0 10px 22px rgba(10, 25, 52, 0.18);
}

.program-card,
.exam-card,
.result-card,
.review-card,
.gallery-item,
.faq-item,
.seo-mini-card,
.contact-card,
.form-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.gallery-item img {
  transition: transform 0.28s ease;
}

.nav-links a,
.inline-link,
.seo-card-link,
.store-btn {
  transition: color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
  .program-card:hover,
  .exam-card:hover,
  .result-card:hover,
  .review-card:hover,
  .gallery-item:hover,
  .faq-item:hover,
  .seo-mini-card:hover,
  .contact-card:hover,
  .form-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 46px rgba(15, 28, 52, 0.14);
    border-color: #c2d3ef;
  }

  .gallery-item:hover img {
    transform: scale(1.03);
  }

  .seo-card-link:hover,
  .inline-link:hover {
    transform: translateX(2px);
  }

  .store-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(10, 25, 52, 0.24);
  }
}

.footer-social-title {
  margin: 1.5rem 0 0.8rem;
  font-size: 2rem;
  font-family: "Space Grotesk", sans-serif;
}

.footer-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.66rem;
}

.footer-social a {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
  color: #fff;
}

.footer-social a:nth-child(1) { background: #1777f2; }
.footer-social a:nth-child(2) { background: linear-gradient(135deg, #f58529, #dd2a7b 50%, #8134af); }
.footer-social a:nth-child(3) { background: #ff0000; }
.footer-social a:nth-child(4) { background: #0a66c2; }
.footer-social a:nth-child(5) { background: #1d9bf0; }
.footer-social a:nth-child(6) { background: #2aabee; }

.footer-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.6rem;
}

.footer-col h4 {
  margin: 0 0 0.72rem;
  font-family: "Space Grotesk", sans-serif;
  font-size: 2rem;
}

.footer-col a {
  display: block;
  margin-bottom: 0.5rem;
  color: #2f3e59;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
}

.footer-col a:hover {
  color: #1c53cc;
}

.footer-bottom-line {
  margin-top: 1.2rem;
  padding-top: 0.9rem;
  border-top: 1px solid #d3dfef;
}

.footer-bottom-line p {
  margin: 0;
  font-size: 0.86rem;
  color: #5a6a85;
}

.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 96px;
  z-index: 65;
  display: grid;
  gap: 0.62rem;
}

.fab {
  min-width: 128px;
  padding: 0.72rem 0.85rem;
  border-radius: 999px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 14px 28px rgba(15, 28, 52, 0.25);
  text-align: center;
}

.fab-whatsapp {
  background: linear-gradient(135deg, #26d366, #139b46);
}

.fab-call {
  background: linear-gradient(135deg, #1f67ff, #1142b8);
}

.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  background: rgba(3, 9, 28, 0.52);
  padding: 1rem;
}

.popup-card {
  position: relative;
  width: min(460px, 100%);
  border-radius: 18px;
  border: 1px solid #d3ddf0;
  background: #fff;
  box-shadow: 0 24px 60px rgba(5, 14, 41, 0.33);
  padding: 1rem;
}

.popup-card .eyebrow {
  color: #1f4ec2;
}

.popup-card h3 {
  margin: 0.5rem 0 1rem;
  line-height: 1.4;
  font-size: 1.06rem;
  color: #1f2c4d;
}

.popup-close {
  position: absolute;
  top: 0.55rem;
  right: 0.55rem;
  border: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 1.25rem;
  cursor: pointer;
  color: #3b4f77;
  background: #eaf0fb;
  z-index: 2;
}

.popup-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.popup-btn,
.popup-cancel {
  width: 100%;
}

.popup-cancel {
  color: #1f356f;
  background: #edf3ff;
  border: 1px solid #c8d9fa;
}

body.popup-open {
  overflow: hidden;
}

.popup-overlay[hidden] {
  display: none !important;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.6s ease forwards;
}

.delay-1 {
  animation-delay: 0.12s;
}

.delay-2 {
  animation-delay: 0.24s;
}

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

@media (max-width: 1060px) {
  .hero-layout,
  .program-grid,
  .results-layout,
  .founder-layout,
  .contact-layout,
  .faq-grid {
    grid-template-columns: 1fr;
  }

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

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

  .seo-mini-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .exam-tags {
    max-width: 80%;
  }

  .gallery-item,
  .gallery-item.tall,
  .gallery-item.wide {
    grid-column: span 1;
    grid-row: span 1;
  }

  .hero-visual {
    max-width: 620px;
  }

  .floating-metric {
    left: 10px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(1160px, calc(100% - 1rem));
  }

  .announcement-wrap {
    padding: 0.45rem 0;
    min-height: auto;
    flex-direction: column;
    text-align: center;
    gap: 0.2rem;
  }

  .creator-credit {
    justify-items: center;
    text-align: center;
  }

  .navbar {
    margin-top: 0.7rem;
    padding: 0.7rem;
    align-items: center;
    flex-wrap: nowrap;
    position: relative;
  }

  .brand {
    width: auto;
    justify-content: flex-start;
    flex: 1;
    min-width: 0;
  }

  .brand span {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
  }

  .nav-menu {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.55rem);
    z-index: 80;
    margin-left: 0;
    padding: 0.78rem;
    border-radius: 14px;
    border: 1px solid rgba(198, 215, 255, 0.22);
    background: rgba(8, 16, 42, 0.96);
    box-shadow: 0 20px 42px rgba(7, 15, 39, 0.45);
    grid-template-columns: 1fr;
    gap: 0.7rem;
  }

  .navbar.nav-open .nav-menu {
    display: grid;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
  }

  .nav-links a {
    display: block;
    padding: 0.55rem 0.68rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
  }

  .btn-small {
    width: 100%;
  }

  .nav-cta {
    justify-content: center;
  }

  .hero-layout {
    padding-top: 1.3rem;
    gap: 1.4rem;
  }

  .hero-copy h1 {
    font-size: clamp(1.9rem, 12vw, 3rem);
  }

  .hero-actions,
  .trust-pills,
  .enquiry-form,
  .quick-grid {
    grid-template-columns: 1fr;
  }

  .seo-mini-grid {
    grid-template-columns: 1fr;
  }

  .exam-card {
    min-height: 240px;
  }

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

  .exam-card h3 {
    font-size: 1.6rem;
  }

  .exam-tags {
    max-width: 100%;
  }

  .founder-highlights {
    grid-template-columns: 1fr;
  }

  .reviews-shell {
    grid-template-columns: 1fr;
  }

  .review-nav {
    display: none;
  }

  .reviews-track {
    grid-auto-columns: minmax(82vw, 1fr);
  }

  .floating-actions {
    right: 10px;
    bottom: 86px;
  }

  .fab {
    min-width: 110px;
    font-size: 0.78rem;
    padding: 0.62rem 0.75rem;
  }

  .popup-card {
    width: min(360px, 100%);
  }

  .popup-actions {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    padding-right: 0.9rem;
    padding-bottom: 0.9rem;
  }

  .hero-card {
    width: min(48%, 220px);
  }

  .floating-metric {
    left: 8px;
    bottom: 16%;
  }

  .cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .footer-brand-head h3,
  .footer-social-title,
  .footer-col h4 {
    font-size: 1.5rem;
  }

  .store-btn {
    min-width: 150px;
  }
}
