:root {
  --primary-color: #5f60ee;
  --secondary-color: yellow;
  --bg-light: #f5f6fa;
  --white: #ffffff;
  --black: #000000;
  --gradient-primary: linear-gradient(to right bottom, #4f46e5, #604be9, #7051ed, #7e57f2, #8b5df6);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Rubik", sans-serif;
  color: #111827;
  background-color: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
}

/* CLAT page: red primary (Bootstrap red #dc3545) - overrides only for clat.html */
body.page-clat {
  --primary-color: #dc3545;
  --gradient-primary: linear-gradient(to right bottom, #b82d3b, #c7303f, #dc3545, #e94858);
}

body.page-clat .btn-primary-custom:hover {
  background-color: #bb2d3b;
  border-color: #bb2d3b;
  box-shadow: 0 14px 30px rgba(220, 53, 69, 0.35);
}

body.page-clat .hero-btn-alt {
  border-color: rgba(220, 53, 69, 0.35);
  color: var(--primary-color);
}

body.page-clat .hero-btn-alt:hover {
  border-color: #f8fafc;
  color: #bb2d3b;
}

body.page-clat .navbar-custom.scrolled {
  border-bottom-color: rgba(220, 53, 69, 0.1);
}

body.page-clat .icon-bubble {
  background: rgba(220, 53, 69, 0.1);
  color: var(--primary-color);
}

body.page-clat .pricing-card.featured {
  border-color: rgba(220, 53, 69, 0.34);
}

body.page-clat .text-primary {
  color: var(--primary-color) !important;
}

.form-control::placeholder {
  color: #adb5bd !important;
  opacity: 1;
}

.form-select option:first-child {
  color: #adb5bd;
}

a {
  text-decoration: none;
}

.section-padding {
  padding: 88px 0;
}

.bg-light-custom {
  background-color: var(--bg-light);
}

.gradient-bg {
  background: var(--gradient-primary);
  color: var(--white);
}

.badge-soft {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.78rem;
  font-weight: 500;
}

.cuet-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: auto;
  max-width: 100%;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: linear-gradient(90deg, rgba(79, 70, 229, 0.85), rgba(123, 97, 243, 0.7));
  font-size: 1.05rem;
  font-weight: 600;
}

.hero-tag-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}

.navbar-custom {
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border-bottom: 1px solid transparent;
  padding-top: 4px;
  padding-bottom: 4px;
}

.navbar-custom.scrolled {
  box-shadow: 0 10px 30px rgba(30, 41, 59, 0.08);
  border-bottom-color: rgba(95, 96, 238, 0.1);
}

.clat-nav {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom-color: rgba(17, 24, 39, 0.08);
}

.clat-nav.scrolled {
  background-color: rgba(255, 255, 255, 0.98);
}

.clat-logo {
  height: 68px;
  width: auto;
}

.brand-separator {
  width: 1px;
  height: 54px;
  background: rgba(17, 24, 39, 0.45);
}

.clat-brand-text {
  color: #111827;
  font-family: "Rubik", sans-serif;
  font-size: clamp(1.3rem, 3vw, 2.8rem);
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0.2px;
  text-transform: none;
}

.ipm-logo {
  height: 34px;
  width: auto;
}

.ipm-brand-text {
  color: #111827;
  font-family: "Rubik", sans-serif;
  font-size: clamp(0.9rem, 1.9vw, 1.18rem);
  line-height: 1.1;
  font-weight: 500;
  white-space: nowrap;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: var(--gradient-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.05rem;
}

.navbar .nav-link {
  color: #4b5563;
  font-weight: 500;
  transition: color 0.25s ease;
}

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

.btn-primary-custom,
.btn-outline-custom {
  border-radius: var(--radius);
  padding: 11px 22px;
  font-weight: 600;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.btn-primary-custom {
  background-color: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: var(--white);
}

.btn-primary-custom:hover {
  background-color: #4d4fe0;
  border-color: #4d4fe0;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(95, 96, 238, 0.35);
}

.btn-outline-custom {
  border: 1px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
}

.btn-outline-custom:hover {
  background-color: var(--white);
  color: var(--primary-color);
  transform: translateY(-2px);
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.18;
  font-weight: 700;
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.92);
  max-width: 620px;
  margin: 0 auto;
}

.hero-metrics .metric {
  background-color: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 26px 20px;
  min-height: 122px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.metric-value {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--secondary-color);
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero-btn-main {
  background-color: var(--secondary-color);
  border: 1px solid #d9c500;
  color: #111827;
}

.hero-btn-main:hover {
  background-color: #f6dc00;
  border-color: #f6dc00;
  color: #111827;
}

.hero-btn-alt {
  background-color: var(--white);
  border: 1px solid rgba(79, 70, 229, 0.35);
  color: var(--primary-color);
}

.hero-btn-alt:hover {
  background-color: #f8fafc;
  border-color: #f8fafc;
  color: #4d4fe0;
}

.cta-claim-btn {
  background-color: #ffc107;
  border-color: #ffc107;
  color: #111827;
}

.cta-claim-btn:hover {
  background-color: #e0aa00;
  border-color: #e0aa00;
  color: #111827;
}

.section-heading h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.35rem);
  font-weight: 700;
  color: #111827;
}

.section-heading p {
  color: #6b7280;
  max-width: 680px;
  margin: 0 auto;
}

.premium-card {
  border-radius: var(--radius);
  background-color: var(--white);
  color: #111827;
  padding: 28px;
  border: 1px solid rgba(17, 24, 39, 0.05);
  box-shadow: 0 14px 34px rgba(15, 23, 42, 0.06);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
  height: 100%;
}

.premium-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 44px rgba(15, 23, 42, 0.11);
  border-color: rgba(95, 96, 238, 0.2);
}

.premium-card.gradient-bg,
.premium-card.gradient-bg h3,
.premium-card.gradient-bg h4,
.premium-card.gradient-bg h5,
.premium-card.gradient-bg h6,
.premium-card.gradient-bg p,
.premium-card.gradient-bg .metric div {
  color: #ffffff;
}

.premium-card.gradient-bg .metric-value {
  color: var(--secondary-color) !important;
}

.icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(95, 96, 238, 0.1);
  color: var(--primary-color);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.list-check {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.list-check li {
  padding-left: 28px;
  margin-bottom: 10px;
  position: relative;
  color: #374151;
}

.list-check li::before {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--primary-color);
  font-size: 0.85rem;
}

.timeline {
  position: relative;
  padding-left: 28px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 2px;
  bottom: 2px;
  width: 2px;
  background: rgba(95, 96, 238, 0.25);
}

.timeline-step {
  position: relative;
  margin-bottom: 22px;
}

.timeline-step:last-child {
  margin-bottom: 0;
}

.timeline-step::before {
  content: "";
  position: absolute;
  left: -24px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(95, 96, 238, 0.16);
}

.testimonial-card img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.pricing-card.featured {
  background: #f7f7ff;
  border: 1px solid rgba(95, 96, 238, 0.34);
  transform: scale(1.01);
}

.pricing-value {
  font-size: 2rem;
  font-weight: 700;
  color: #111827;
}

.faq-wrap .accordion-item {
  border: 1px solid #c8d7ea;
  border-radius: 6px;
  overflow: hidden;
  background: #ffffff;
}

.faq-wrap .accordion-button {
  font-weight: 600;
  padding: 1rem 1.2rem;
  background: #ffffff;
  color: #27364b;
  box-shadow: none;
}

.faq-wrap .accordion-button:not(.collapsed) {
  color: #1f2d42;
  background: #d5e2f2;
}

.faq-wrap .accordion-button::after {
  filter: hue-rotate(170deg) saturate(0.9);
  opacity: 0.75;
}

.faq-wrap .accordion-body {
  background: #ffffff;
  color: #374151;
  border-top: 1px solid #ccd9e7;
}

.cta-banner {
  border-radius: calc(var(--radius) + 4px);
  position: relative;
  overflow: hidden;
}

.cta-banner::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -60px;
  top: -60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
}

.footer-main {
  background-color: #0f1222;
  color: rgba(255, 255, 255, 0.82);
}

.footer-main a {
  color: rgba(255, 255, 255, 0.82);
}

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

.social-link {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pulse-cta {
  animation: pulseCta 2.2s infinite;
}

.methodology-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.methodology-track::before {
  display: none;
}

.method-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.method-step::after {
  content: "";
  position: absolute;
  top: 20px;
  left: calc(50% + 26px);
  width: calc(100% - 52px);
  height: 2px;
  background: rgba(255, 255, 255, 0.9);
}

.method-step:last-child::after {
  display: none;
}

.step-dot {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: #ffffff;
  color: var(--primary-color);
  margin: 0 auto 16px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.method-step h6 {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 8px;
}

.method-step p {
  color: #ffffff;
  margin-bottom: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

.course-tag {
  display: inline-block !important;
  width: auto !important;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  letter-spacing: 0.2px;
}

.pricing-card {
  position: relative;
}

.pricing-card .course-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  margin: 0 !important;
  z-index: 2;
}

.trust-strip-wrap {
  background: var(--bg-light);
}

.trust-strip {
  background: transparent;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}

.trust-point {
  color: #111827;
  font-size: 0.98rem;
  padding: 12px 22px;
  border-left: 1px solid rgba(17, 24, 39, 0.18);
}

.trust-point:first-child {
  border-left: 0;
}

.achievers-banner {
  max-height: 500px;
  object-fit: contain;
}

.ipm-results-banner {
  width: 1120px;
  max-width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.cuet-domain-tab {
  background: transparent;
  border: 0;
  cursor: pointer;
}

.cuet-domain-tab.active {
  background: rgba(95, 96, 238, 0.12);
  font-weight: 700;
}

.cuet-domain-filter {
  background: transparent;
}

.cuet-domain-filter .trust-strip {
  background: transparent;
  border: 0;
  border-radius: 14px;
  padding: 0;
  gap: 8px;
  justify-content: center;
}

.cuet-domain-filter .cuet-domain-tab {
  border: 1px solid #d8e1f0;
  background: #ffffff;
  color: #334155;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.cuet-domain-filter .cuet-domain-tab:hover {
  border-color: #b7c7e6;
  color: #1f2937;
}

.cuet-domain-filter .cuet-domain-tab.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(95, 96, 238, 0.24);
}

.cuet-flexi-filter {
  background: transparent;
}

.cuet-flexi-filter .trust-strip {
  background: transparent;
  border: 0;
  border-radius: 14px;
  padding: 0;
  gap: 8px;
  justify-content: center;
}

.cuet-flexi-filter .cuet-flexi-tab {
  border: 1px solid #d8e1f0;
  background: #ffffff;
  cursor: pointer;
  color: #334155;
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: all 0.2s ease;
  line-height: 1.2;
}

.cuet-flexi-filter .cuet-flexi-tab:hover {
  border-color: #b7c7e6;
  color: #1f2937;
}

.cuet-flexi-filter .cuet-flexi-tab.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 8px 18px rgba(95, 96, 238, 0.24);
}

.results-section .metric-value {
  color: var(--primary-color);
}

.institutes-card {
  background: var(--gradient-primary);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}

.institutes-card h4 {
  color: var(--white);
}

.institutes-card .badge {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #111827 !important;
  border-color: rgba(255, 255, 255, 0.7) !important;
}

.ipm-table-wrap {
  padding: 0;
  overflow: hidden;
}

.ipm-comp-table {
  min-width: 760px;
  margin: 0;
  border-collapse: collapse;
}

.ipm-comp-table thead th {
  background: #5f60ee;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.82rem 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
}

.ipm-comp-table tbody td {
  background: #ffffff;
  color: #1f2937;
  font-size: 0.92rem;
  padding: 0.62rem 0.75rem;
  border: 1px solid #d6dce7;
  transition: background-color 0.2s ease;
}

.ipm-comp-table tbody td:first-child {
  font-weight: 500;
}

.ipm-comp-table tbody tr:nth-child(even) td {
  background: #f8faff;
}

.ipm-comp-table tbody tr:hover td {
  background: #eef3ff;
}

.ipm-freebies {
  background: #f1f4ff;
  border: 1px solid #dfe5ff;
  border-left: 3px solid #3854e6;
  border-radius: 12px;
  padding: 14px 16px;
}

.ipm-freebies h5 {
  margin-bottom: 8px;
  color: #2447cb;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.ipm-freebies .list-check li {
  margin-bottom: 8px;
}

.ipm-freebies .list-check li:last-child {
  margin-bottom: 0;
}

.cuet-subject-tabs {
  background: transparent;
  border-radius: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border: 0;
}

.cuet-subject-tab {
  background: #eef1f8;
  border: 1px solid #d7deed;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
  color: #1f2937;
  transition: all 0.2s ease;
}

.cuet-subject-tab.active {
  background: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(95, 96, 238, 0.24);
}

.cuet-subject-tab:hover {
  border-color: #b9c4df;
}

.cuet-price-label {
  color: #9aa0aa;
  font-size: 0.96rem;
  font-weight: 700;
}

.cuet-price-label span {
  text-decoration: line-through;
}

.cuet-price-offer {
  color: #1f4b99;
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1.1;
}

.cuet-price-offer span {
  font-size: 2.2rem;
}

.cuet-subject-panel .premium-card {
  border: 1px solid #e4e8ef;
  border-radius: 18px;
  padding: 26px 30px;
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.06);
}

.cuet-subject-panel .premium-card h5 {
  font-size: 2rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.cuet-subject-panel .premium-card p.mb-2 {
  color: #0f172a;
  font-size: 1.02rem;
  line-height: 1.35;
}

.cuet-stat-lines {
  font-weight: 400;
  line-height: 1.7;
}

.cuet-stat-lines .fa-check {
  color: var(--primary-color);
  font-size: 0.9rem;
  margin-right: 7px;
}

.cuet-subject-panel .btn.btn-primary-custom {
  width: auto;
  min-width: 108px;
  margin-left: auto;
  border-radius: 18px;
  font-size: 1.05rem;
  font-weight: 700;
  padding: 10px 20px;
}

.cuet-price-label {
  color: #9aa0aa;
  font-size: 0.95rem;
  font-weight: 500;
}

.cuet-price-label span {
  text-decoration: line-through;
}

.cuet-price-offer {
  color: #1f4b99;
  font-size: 2rem;
  font-weight: 500;
  line-height: 1.05;
}

.cuet-price-offer span {
  font-size: 2.1rem;
}

.cuet-offer-box {
  background: #f5f6fb;
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.cuet-gst-note {
  color: #334155;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cuet-hurry {
  color: #d45a1d;
  font-weight: 700;
  font-size: 0.96rem;
  margin-bottom: 0;
}

.cuet-why-card {
  background: var(--gradient-primary);
  border-color: rgba(255, 255, 255, 0.28);
  color: var(--white);
}

.cuet-why-card h5,
.cuet-why-card p {
  color: var(--white);
}

.why-icon-round {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 8px;
  font-size: 0.92rem;
}


.achievement-band {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.achievement-band .badge {
  background: var(--gradient-primary);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.ach-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  flex: 0 0 30px;
}

.testimonial-message {
  font-size: 1.06rem;
  line-height: 1.8;
  color: #1f2937;
  font-style: italic;
  margin-top: 2px;
  position: relative;
  padding-left: 4px;
}

.testimonial-message::before {
  content: "\201C";
  color: var(--primary-color);
  font-size: 2rem;
  line-height: 0;
  margin-right: 6px;
  vertical-align: -0.2em;
}

.testimonial-card {
  border: 1px solid rgba(95, 96, 238, 0.12);
}

.testimonial-card .testimonial-message {
  border-bottom: 1px dashed rgba(95, 96, 238, 0.25);
  padding-bottom: 12px;
}

.cuet-test-series .ts-ref-card {
  border-radius: 22px;
  border: 1px solid #e6e9f1;
  box-shadow: none;
  padding: 30px 34px;
}

.cuet-test-series .ts-ref-card h5 {
  font-size: 2.8rem;
  margin-bottom: 6px;
}

.cuet-test-series .ts-ref-card > p {
  font-size: 2.35rem;
  color: #0f172a;
  margin-bottom: 16px;
}

.cuet-test-series .ts-ref-card .list-check {
  margin-bottom: 28px;
}

.cuet-test-series .ts-ref-card .list-check li {
  font-size: 2.2rem;
  line-height: 1.5;
  margin-bottom: 12px;
  color: #1e293b;
}

.cuet-test-series .ts-ref-card .list-check li::before {
  color: #5f60ee;
  top: 6px;
}

.cuet-test-series .ts-ref-old {
  font-size: 1.85rem;
}

.cuet-test-series .ts-ref-new {
  font-size: 4.1rem;
  line-height: 1;
}

.cuet-test-series .ts-ref-btn {
  min-width: 118px;
  height: 62px;
  border-radius: 20px;
  font-size: 2.25rem;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Test Series (Budget-Friendly) - smaller Enroll button */
.cuet-test-series-budget .ts-ref-btn {
  min-width: auto;
  height: auto;
  padding: 6px 14px;
  font-size: 0.85rem;
  border-radius: var(--radius);
}

@keyframes pulseCta {
  0% {
    box-shadow: 0 0 0 0 rgba(95, 96, 238, 0.45);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(95, 96, 238, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(95, 96, 238, 0);
  }
}

@media (max-width: 991px) {
  .section-padding {
    padding: 72px 0;
  }

  .clat-nav .container {
    gap: 10px;
  }

  .clat-logo {
    height: 50px;
  }

  .ipm-logo {
    height: 32px;
  }

  .brand-separator {
    height: 34px;
  }

  .clat-brand-text {
    font-size: clamp(0.9rem, 2.8vw, 1.2rem);
    white-space: nowrap;
  }

  .ipm-brand-text {
    font-size: clamp(0.75rem, 1.9vw, 0.95rem);
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-metrics .metric {
    min-height: 108px;
    padding: 20px 16px;
  }

  .metric-value {
    font-size: 1.8rem;
  }

  #courses .section-heading h2 {
    white-space: normal !important;
  }

  .navbar-collapse {
    background: var(--white);
    border-radius: 14px;
    padding: 14px;
    margin-top: 10px;
    box-shadow: 0 12px 34px rgba(17, 24, 39, 0.08);
  }

  .methodology-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }

  .method-step::after {
    display: none;
  }

  .trust-strip {
    justify-content: flex-start;
  }

  .trust-point {
    width: 100%;
    border-left: 0;
    border-top: 1px solid rgba(17, 24, 39, 0.16);
    text-align: center;
  }

  .trust-point:first-child {
    border-top: 0;
  }

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

@media (max-width: 575px) {
  .section-padding {
    padding: 64px 0;
  }

  .clat-logo {
    height: 40px;
  }

  .ipm-logo {
    height: 28px;
  }

  .brand-separator {
    display: none;
  }

  .clat-brand-text {
    display: none;
  }

  .ipm-brand-text {
    display: none;
  }

  .hero-title {
    font-size: 1.9rem;
  }

  .hero-subtitle {
    font-size: 0.98rem;
  }

  .hero-metrics .metric {
    min-height: 98px;
    padding: 16px 14px;
  }

  .metric-value {
    font-size: 1.55rem;
  }

  .hero-btn-main,
  .hero-btn-alt {
    width: 100%;
    text-align: center;
  }

  .section-heading h2 {
    font-size: 1.9rem;
  }

  .premium-card {
    padding: 22px;
  }

  .testimonial-message {
    font-size: 1rem;
  }

  .methodology-track {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .achievement-band {
    grid-template-columns: 1fr;
  }

  .step-dot {
    width: 38px;
    height: 38px;
    margin-bottom: 12px;
  }

  .footer-main .container {
    text-align: center;
  }
}

/* Keep hero registration form on top */
#enroll.premium-card,
.premium-card#enroll {
  position: relative;
  z-index: 10;
}
.hero-form-col {
  position: relative;
  z-index: 5;
}

/* OTP overlay (custom, no Bootstrap modal) */
.otp-overlay {
  position: fixed;
  inset: 0;
  z-index: 1060;
  overflow-x: hidden;
  overflow-y: auto;
  outline: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.otp-overlay[aria-hidden="true"] {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}
.otp-overlay-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1061;
}
.otp-overlay-box {
  position: relative;
  z-index: 1062;
  max-width: 420px;
  width: 100%;
  padding: 1.5rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* IPM results slider */
#ipmResultsCarousel .carousel-control-prev,
#ipmResultsCarousel .carousel-control-next {
  width: 10%;
}
#ipmResultsCarousel .carousel-indicators [data-bs-target] {
  background-color: rgba(17, 24, 39, 0.6);
}

/* Scholarship announcement banner */
.scholarship-banner {
  display: inline-block;
  margin: 0 0 1rem;
  padding: 12px 16px;
  border-radius: 14px;
  border: 2px solid #f59e0b;
  border-left: 6px solid #d97706;
  background: linear-gradient(135deg, #fff9db 0%, #ffe08a 100%);
  color: #111827;
  font-weight: 800;
  line-height: 1.5;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  max-width: 760px;
}
