/* KARE Online — Premium Landing Page Styles */

:root {
  --navy: #1e1a4d;
  --navy-deep: #14103a;
  --navy-soft: #f3f0ff;
  --gold: #f47b20;
  --gold-light: #ff9d45;
  --orange: #f47b20;
  --orange-light: #ff9d45;
  --orange-soft: #fff2e6;
  --blue-accent: #2e3192;
  --text-muted: #6b7288;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Manrope', sans-serif;
  --bg-warm: #FFFCF7;
  --bg-cream: #FFF9F0;
  --bg-lavender: #f3f0ff;
}

* {
  box-sizing: border-box;
}

/* Hide scrollbars on all inner section/container elements while keeping default main page scrollbar */
:not(html):not(body)::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

:not(html):not(body) {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  color: #23293a;
  background: var(--bg-warm);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: var(--font-heading);
}

a {
  text-decoration: none;
}

.text-gold {
  color: var(--gold);
}

.bg-navy {
  background: var(--navy);
}

.bg-navy-soft {
  background: var(--navy-soft);
}

.section-padding {
  padding: 60px 0;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: none;
  color: var(--navy-deep);
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(244, 123, 32, 0.35);
  transition: all .3s ease;
}

.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(244, 123, 32, 0.45);
  color: var(--navy-deep);
}

.btn-enquire {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  font-weight: 700;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(244, 123, 32, 0.35);
  transition: all .3s ease;
  border: none;
  width: auto !important;
  max-width: 220px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 12px 24px !important;
}

.btn-enquire:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(244, 123, 32, 0.45);
  color: var(--navy-deep);
}

.btn-navy {
  background: var(--navy);
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 50px;
  transition: all .3s ease;
}

.btn-navy:hover {
  background: var(--navy-deep);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline-navy {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 600;
  border-radius: 50px;
  background: transparent;
  transition: all .3s ease;
}

.btn-outline-navy:hover {
  background: var(--navy);
  color: #fff;
}

.btn-outline-light {
  border: 1.5px solid rgba(255, 255, 255, .6);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  background: transparent;
  transition: all .3s ease;
}

.btn-outline-light:hover {
  background: #fff;
  color: var(--navy);
  border-color: #fff;
}

.kare-navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px 0;
  transition: all .35s ease;
  z-index: 1000;
}

.kare-navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(244, 123, 32, 0.4);
  box-shadow: 0 4px 24px rgba(30, 26, 77, .10);
  transition: all .35s ease;
  z-index: -1;
}

.kare-navbar.scrolled {
  padding: 8px 0;
}

.kare-navbar.scrolled::before {
  background: #ffffff;
  box-shadow: 0 6px 30px rgba(30, 26, 77, .15);
  border-bottom-color: var(--orange);
}

.brand-logo {
  height: 88px;
  width: auto;
  transition: all .35s ease;
  object-fit: contain;
}

.kare-navbar.scrolled .brand-logo {
  height: 68px;
}

.brand-logo:hover {
  transform: scale(1.03);
}

.kare-navbar .nav-link {
  color: var(--navy);
  font-weight: 700;
  font-size: .95rem;
  padding: .5rem 1rem;
  position: relative;
  transition: color .25s ease;
}

.kare-navbar .nav-link:hover {
  color: var(--orange);
}

/* Small-laptop zone: keep the full inline menu on one line instead of
   letting Bootstrap shrink/wrap individual items. Desktop (>=1400px)
   keeps the roomier default sizing set above. */
@media (min-width: 992px) and (max-width: 1399.98px) {
  .kare-navbar .navbar-brand {
    margin-right: .5rem;
  }

  .brand-logo {
    height: 56px;
  }

  .kare-navbar.scrolled .brand-logo {
    height: 48px;
  }

  .kare-navbar .navbar-nav {
    gap: 0 !important;
  }

  .kare-navbar .nav-link {
    font-size: .82rem;
    padding: .5rem .55rem;
    white-space: nowrap;
  }

  .kare-navbar .nav-item.ms-lg-3 {
    margin-left: .5rem !important;
  }

  .kare-navbar .nav-item.ms-lg-3 .btn {
    padding: .5rem 1rem;
    font-size: .82rem;
    white-space: nowrap;
  }
}

@media (min-width: 992px) {
  .kare-navbar .nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: .1rem;
    height: 2.5px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .3s ease;
  }

  .kare-navbar .nav-link:not(.dropdown-toggle):hover::after {
    transform: scaleX(1);
  }
}

/* Student Login dropdown */
.kare-navbar .dropdown-menu {
  border: 1px solid rgba(30, 26, 77, .08);
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(30, 26, 77, .18);
  padding: .4rem;
  margin-top: .6rem;
}

.kare-navbar .dropdown-item {
  border-radius: 8px;
  font-weight: 600;
  font-size: .9rem;
  color: var(--navy);
  padding: .6rem .9rem;
  transition: background .2s ease, color .2s ease;
}

.kare-navbar .dropdown-item:hover,
.kare-navbar .dropdown-item:focus {
  background: rgba(244, 123, 32, .08);
  color: var(--orange);
}

@media (max-width: 991.98px) {
  .kare-offcanvas .dropdown-menu {
    position: static;
    float: none;
    width: 100%;
    border: none;
    box-shadow: none;
    background: rgba(30, 26, 77, .03);
    margin: 4px 0 0;
    padding: 4px;
  }

  .kare-offcanvas .dropdown-item {
    padding: .8rem .75rem .8rem 1.6rem;
    font-size: 1rem;
    font-weight: 700;
  }
}

.kare-navbar .navbar-toggler {
  border-color: rgba(30, 26, 77, 0.25);
  padding: 6px;
}

.kare-navbar .navbar-toggler:focus {
  box-shadow: 0 0 0 .2rem rgba(254, 123, 32, .35);
}

.kare-navbar .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(30,26,77,0.85)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.kare-offcanvas {
  --bs-offcanvas-width: min(320px, 85vw);
  color: var(--navy);
}

@media (max-width: 991.98px) {
  .kare-offcanvas {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    height: 100vh !important;
    height: 100dvh !important;
    width: var(--bs-offcanvas-width) !important;
    background: #ffffff !important;
    border: none !important;
    box-shadow: -16px 0 50px rgba(0, 0, 0, .2) !important;
    color: var(--navy) !important;
    z-index: 1055 !important;
    display: flex !important;
    flex-direction: column !important;
  }

  .kare-offcanvas .offcanvas-header {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(30, 26, 77, .08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
    background: #ffffff;
  }

  .kare-offcanvas .offcanvas-logo {
    height: 44px;
    width: auto;
    object-fit: contain;
  }

  .kare-offcanvas .btn-close {
    filter: none !important;
    opacity: .8;
    transition: opacity .25s ease, transform .25s ease;
  }

  .kare-offcanvas .btn-close:hover {
    opacity: 1;
    transform: rotate(90deg);
  }

  .kare-offcanvas .offcanvas-body {
    padding: 16px 20px 30px !important;
    flex-grow: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
  }

  .kare-offcanvas .navbar-nav {
    width: 100%;
    margin-bottom: auto;
  }

  .kare-offcanvas .navbar-nav .nav-item+.nav-item {
    border-top: 1px solid rgba(30, 26, 77, .06);
  }

  .kare-offcanvas .nav-link {
    color: var(--navy) !important;
    position: relative;
    padding: .95rem .75rem .95rem 1.1rem;
    font-size: 1.05rem;
    font-weight: 700;
    border-radius: 10px;
    transition: color .25s ease, background .25s ease, padding-left .25s ease;
    display: block;
  }

  .kare-offcanvas .nav-link::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 50%;
    width: 3px;
    height: 0;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--gold-light), var(--gold));
    transform: translateY(-50%);
    transition: height .25s ease;
  }

  .kare-offcanvas .nav-link:hover,
  .kare-offcanvas .nav-link:focus-visible {
    color: var(--orange) !important;
    background: rgba(244, 123, 32, .06);
    padding-left: 1.4rem;
  }

  .kare-offcanvas .nav-link:hover::before,
  .kare-offcanvas .nav-link:focus-visible::before {
    height: 60%;
  }

  .kare-offcanvas .navbar-nav .nav-item.ms-lg-3 {
    margin-top: 24px;
    margin-left: 0 !important;
    text-align: center;
  }

  .kare-offcanvas .navbar-nav .nav-item.ms-lg-3 .btn {
    width: 100%;
    padding: 12px 20px;
    font-size: 1rem;
  }
}

.kare-navbar .navbar-toggler {
  position: relative;
  transition: border-color .25s ease, background .25s ease;
}

.kare-navbar .navbar-toggler[aria-expanded="true"] {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .5);
}

@media (max-width: 575.98px) {
  .brand-logo {
    height: 48px;
  }

  .footer-logo {
    height: 56px;
  }
}

.hero-section {
  position: relative;
  background: linear-gradient(160deg, rgba(20, 16, 58, 0.72) 0%, rgba(30, 26, 77, 0.62) 55%, rgba(60, 47, 134, 0.55) 100%),
    url('../img/hero.jpg') center center / cover no-repeat;
  padding: 160px 0 90px;
  overflow: hidden;
  color: #fff;
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(244, 123, 32, 0.18) 0%, transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(244, 123, 32, 0.12) 0%, transparent 45%),
    radial-gradient(circle at 75% 85%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
  pointer-events: none;
}

.hero-section .hero-bg-mesh {
  z-index: 1;
}

.hero-section .container {
  z-index: 2;
}

.badge-eyebrow {
  display: inline-flex;
  align-items: center;
  background: rgba(244, 123, 32, 0.12);
  border: 1px solid rgba(244, 123, 32, 0.4);
  color: var(--gold-light);
  font-weight: 600;
  font-size: .85rem;
  padding: 8px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 18px;
}

.hero-subtitle {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, .9);
  font-weight: 500;
  margin-bottom: 22px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 22px;
}

.hero-tags span {
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .15);
  padding: 6px 14px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-tags i {
  color: var(--gold-light);
}

.hero-desc {
  color: rgba(255, 255, 255, .75);
  font-size: 1.02rem;
  max-width: 560px;
}

.hero-stats {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 24px;
}

.hero-stats h3 {
  font-size: 1.8rem;
  color: var(--gold-light);
  margin-bottom: 2px;
  font-weight: 700;
}

.hero-stats p {
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  margin: 0;
}

.lead-card {
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
  color: #fff;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.lead-card h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #fff;
}

.lead-card .text-muted {
  color: rgba(255, 255, 255, .7) !important;
}

.lead-card .form-label {
  font-size: .85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .85);
}

.lead-card .form-control,
.lead-card .form-select {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 10px 14px;
  font-size: .92rem;
  color: #fff;
}

.lead-card .form-control::placeholder {
  color: rgba(255, 255, 255, .55);
}

.lead-card .form-select option {
  color: #23293a;
  background: #fff;
}

.lead-card .form-control:focus,
.lead-card .form-select:focus {
  background: rgba(255, 255, 255, 0.14);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(244, 123, 32, 0.25);
  color: #fff;
}

.lead-card textarea.form-control {
  resize: none;
}

.privacy-note {
  font-size: .75rem;
  color: rgba(255, 255, 255, .65);
  text-align: center;
  margin: 14px 0 0;
}

/* Honeypot field — invisible to humans, catches simple bots */
.enquiry-honeypot {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Enquiry form inline success/error alert */
.enquiry-alert {
  border-radius: 12px;
  padding: 12px 16px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 16px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  animation: enquiryAlertIn .3s ease;
}

.enquiry-alert i {
  font-size: 1.05rem;
  margin-top: 1px;
}

.enquiry-alert.is-success {
  background: rgba(76, 201, 118, 0.15);
  border: 1px solid rgba(76, 201, 118, 0.4);
  color: #4cc976;
}

.enquiry-alert.is-error {
  background: rgba(255, 99, 99, 0.15);
  border: 1px solid rgba(255, 99, 99, 0.4);
  color: #ff7a7a;
}

.modal-form-card .enquiry-alert.is-success {
  color: #1f8a45;
  background: rgba(31, 138, 69, 0.08);
  border-color: rgba(31, 138, 69, 0.3);
}

.modal-form-card .enquiry-alert.is-error {
  color: #c0392b;
  background: rgba(192, 57, 43, 0.08);
  border-color: rgba(192, 57, 43, 0.3);
}

@keyframes enquiryAlertIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-navy:disabled,
.btn-gold:disabled {
  opacity: .75;
  cursor: not-allowed;
  transform: none !important;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.captcha-question {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  padding: 9px 10px;
  font-weight: 700;
  font-size: .85rem;
  letter-spacing: .3px;
  color: var(--gold-light);
  white-space: nowrap;
}

.captcha-refresh {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .3s ease, background .3s ease;
  font-size: .85rem;
}

.captcha-refresh:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: rotate(180deg);
}

.captcha-input {
  flex: 1;
  min-width: 0;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

.captcha-error {
  display: none;
  color: #ff9b9b;
  font-size: .78rem;
  font-weight: 600;
  margin: 8px 0 0;
}

.captcha-error.show {
  display: block;
}

.captcha-input.is-invalid {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2) !important;
}

.trust-section {
  background: #fff;
  padding: 60px 0 80px;
  border-bottom: 1px solid #eae7f2;
}

.trust-logos-label {
  text-align: center;
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 56px;
}

.trust-logos>img {
  max-width: 100%;
  height: auto;
  width: auto;
}

@media (max-width: 575.98px) {
  .trust-logos>img {
    max-width: 260px;
  }
}

.trust-logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 76px;
  padding: 0 38px;
  border-right: 1px solid #eae7f2;
}

.trust-logo-item:last-child {
  border-right: none;
}

.trust-logo-item img {
  max-height: 64px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.55);
  transition: filter .35s ease, transform .35s ease;
}

.trust-logo-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: translateY(-2px);
}

@media (max-width: 767px) {
  .trust-logo-item {
    height: 56px;
    padding: 0 18px;
    border-right: none;
  }

  .trust-logo-item img {
    max-height: 48px;
    max-width: 100px;
  }
}

.trust-heading-wrap {
  margin-bottom: 32px;
}

.trust-check {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #eae7f2;
  border-radius: 14px;
  padding: 16px 18px;
  height: 100%;
  box-shadow: 0 4px 16px rgba(30, 26, 77, 0.04);
  transition: all .3s ease;
}

.trust-check:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(30, 26, 77, 0.1);
  border-color: transparent;
}

.trust-check i {
  flex: none;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), #3c2f86);
  color: var(--gold-light);
  font-size: 1.05rem;
}

.trust-check span {
  font-size: .86rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}

.section-padding {
  padding: 90px 0;
}

.section-eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 10px;
}

.section-title {
  font-weight: 700;
  color: var(--navy);
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.section-title.text-white {
  color: #fff;
}

.section-desc {
  color: var(--text-muted);
  max-width: 620px;
  font-size: 1.02rem;
}

.feature-card {
  background: #fff;
  border: 1px solid #eae7f2;
  border-radius: 18px;
  padding: 34px 28px;
  height: 100%;
  transition: all .35s ease;
  box-shadow: 0 4px 18px rgba(20, 30, 60, 0.04);
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(30, 26, 77, 0.12);
  border-color: transparent;
}

.feature-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), #3c2f86);
  color: var(--gold-light);
  border-radius: 14px;
  font-size: 1.5rem;
  margin-bottom: 18px;
}

.feature-card h5 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: .92rem;
  margin: 0;
}

.programs-section {
  position: relative;
  overflow: hidden;
}

.programs-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 15%, rgba(244, 123, 32, 0.10) 0%, transparent 38%),
    radial-gradient(circle at 90% 80%, rgba(30, 26, 77, 0.05) 0%, transparent 40%);
  pointer-events: none;
}

.program-tabs-wrap {
  display: flex;
  justify-content: center;
}

.program-tabs {
  display: inline-flex;
  background: var(--navy);
  border-radius: 50px;
  padding: 6px;
  box-shadow: 0 14px 34px rgba(30, 26, 77, 0.18);
  gap: 4px;
}

.program-tabs .nav-link {
  color: rgba(255, 255, 255, .75);
  font-weight: 700;
  font-size: .92rem;
  border-radius: 50px;
  padding: 11px 32px;
  border: none;
  background: transparent;
  transition: all .3s ease;
}

.program-tabs .nav-link:hover {
  color: #fff;
}

.program-tabs .nav-link.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 6px 16px rgba(244, 123, 32, 0.35);
}

.program-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 34px 30px;
  height: 100%;
  box-shadow: 0 6px 24px rgba(30, 26, 77, 0.06);
  border: 1px solid #eae7f2;
  transition: all .35s ease;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.program-card:hover {
  box-shadow: 0 26px 50px rgba(30, 26, 77, 0.16);
  transform: translateY(-6px);
  border-color: transparent;
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-ribbon {
  position: absolute;
  top: 18px;
  right: -34px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 5px 40px;
  transform: rotate(40deg);
  box-shadow: 0 4px 12px rgba(244, 123, 32, 0.35);
}

.program-card-head {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.program-icon {
  flex: none;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy), #3c2f86);
  color: var(--gold-light);
  font-size: 1.4rem;
  box-shadow: 0 8px 20px rgba(30, 26, 77, 0.25);
}

.program-code {
  display: inline-block;
  color: var(--gold);
  font-weight: 800;
  font-size: .72rem;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.program-card h5 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0;
  line-height: 1.3;
}

.program-card>p {
  color: var(--text-muted);
  font-size: .92rem;
}

.mini-heading {
  font-size: .78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--navy);
  margin: 14px 0 8px;
  padding-left: 10px;
  border-left: 3px solid var(--gold);
}

.career-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: start;
  gap: 6px 10px;
  flex: 1;
}

.career-list-single {
  grid-template-columns: 1fr;
}

.career-list li {
  font-size: .86rem;
  color: #3a4256;
  position: relative;
  padding-left: 16px;
}

.career-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.btn-enquire {
  border: 1.5px solid var(--navy);
  color: var(--navy);
  font-weight: 700;
  border-radius: 50px;
  background: transparent;
  transition: all .3s ease;
}

.btn-enquire:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: transparent;
  color: var(--navy-deep);
  box-shadow: 0 10px 24px rgba(244, 123, 32, 0.3);
}

.course-chooser {
  text-align: center;
}

.course-chooser-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 20px;
}

.course-guide-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.course-guide-strip span {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #eae7f2;
  padding: 12px 20px;
  border-radius: 14px;
  font-size: .85rem;
  color: #3a4256;
  box-shadow: 0 4px 16px rgba(30, 26, 77, 0.05);
  transition: all .3s ease;
}

.course-guide-strip span:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(30, 26, 77, 0.12);
  border-color: transparent;
}

.course-guide-strip i {
  font-size: 1.1rem;
  color: var(--gold);
}

.course-guide-strip strong {
  color: var(--navy);
  font-weight: 800;
  margin-right: 4px;
}

/* AOS fade-left/fade-right on the two columns translates them +/-100px
   before they animate into view; without a clipping ancestor that
   off-screen offset widens body's scrollable area and causes horizontal
   scroll on mobile even before the section is reached. */
.about-us-section {
  overflow-x: hidden;
}

.about-us-section p {
  text-align: justify !important;
  text-justify: inter-word;
}

.photo-frame {
  position: relative;
}

.photo-frame img {
  position: relative;
  width: 100%;
  display: block;
  border-radius: 22px;
  box-shadow: 0 24px 50px rgba(30, 26, 77, 0.18);
}

.mini-card {
  position: relative;
  background: #fff;
  border: 1px solid #eae7f2;
  border-radius: 16px;
  padding: 22px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  height: 100%;
  box-shadow: 0 4px 16px rgba(30, 26, 77, 0.04);
  overflow: hidden;
  transition: all .3s ease;
}

.mini-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.mini-card:hover {
  box-shadow: 0 18px 36px rgba(30, 26, 77, 0.12);
  transform: translateY(-4px);
  border-color: transparent;
}

.mini-card:hover::before {
  transform: scaleX(1);
}

.mini-card i {
  font-size: 1.3rem;
  color: var(--gold-light);
  background: linear-gradient(135deg, var(--navy), #3c2f86);
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 13px;
  box-shadow: 0 8px 18px rgba(30, 26, 77, 0.2);
}

.mini-card h6 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.mini-card p {
  color: var(--text-muted);
  font-size: .85rem;
  margin: 0;
}
.mini-para{
  min-height: 84px;
}
.mini-h5{
      min-height: 78px;
}
.post-mini{
      min-height: 90px;
}

.eligibility-section {
  position: relative;
  overflow: hidden;
}

.eligibility-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 44px 36px 36px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 28px rgba(30, 26, 77, 0.06);
  border: 1px solid #eae7f2;
  overflow: hidden;
  transition: all .35s ease;
}

@media (min-width: 992px) {
  .eligibility-card {
    min-height: 590px;
  }
}

.eligibility-card .mini-heading {
  margin-top: auto !important;
}

.eligibility-card .btn-enquire {
  margin-top: auto !important;
}

.eligibility-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.eligibility-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 26px 50px rgba(30, 26, 77, 0.14);
  border-color: transparent;
}

.eligibility-card:hover::before {
  transform: scaleX(1);
}

.eligibility-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #3c2f86);
  color: var(--gold-light);
  font-size: 1.8rem;
  box-shadow: 0 10px 26px rgba(30, 26, 77, 0.25);
}

.eligibility-tag {
  display: inline-block;
  font-size: .74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  margin-bottom: 6px;
}

.eligibility-card h5 {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  font-size: 1.25rem;
}

.eligibility-req {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--navy-soft);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: left;
  font-size: .86rem;
  font-weight: 500;
  line-height: 1.55;
  color: #3a4256;
  margin-bottom: 10px;
}

.eligibility-req strong {
  color: var(--navy);
  font-weight: 800;
}

.eligibility-req i {
  flex: none;
  color: var(--gold);
  font-size: 1.05rem;
  margin-top: 1px;
}

.mini-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--navy);
  margin-top: 22px;
  margin-bottom: 12px;
}

.mini-heading::before {
  content: '';
  display: inline-block;
  width: 3px;
  height: 14px;
  background: var(--gold);
  border-radius: 2px;
}

.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f4f0fa;
  color: var(--navy);
  border: 1px solid rgba(30, 26, 77, 0.12);
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 6px rgba(30, 26, 77, 0.05);
  transition: all 0.25s ease;
}

.pill:hover {
  background: var(--navy);
  color: #ffffff;
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 26, 77, 0.2);
}

.pill i {
  font-size: 0.85rem;
}

.eligibility-card .mini-heading {
  text-align: left;
}

.eligibility-card .pill-group {
  margin-bottom: 10px;
}

.eligibility-or {
  align-items: center;
  justify-content: center;
  padding: 0 6px;
}

.eligibility-or span {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #eae7f2;
  box-shadow: 0 8px 20px rgba(30, 26, 77, 0.1);
  color: var(--gold);
  font-weight: 800;
  font-size: .82rem;
  letter-spacing: .5px;
}

.admission-section {
  position: relative;
  overflow: hidden;
}

.stepper-track {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
}

.step-item {
  flex: 0 1 200px;
  text-align: center;
  padding: 4px 6px 0;
}

.step-circle {
  position: relative;
  width: 76px;
  height: 76px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--navy), #3c2f86);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 1.6rem;
  box-shadow: 0 4px 0 #fff, 0 4px 0 4px rgba(30, 26, 77, 0.1), 0 14px 28px rgba(30, 26, 77, 0.18);
  transition: transform .35s ease, box-shadow .35s ease;
}

.step-item:hover .step-circle {
  transform: translateY(-4px);
  box-shadow: 0 4px 0 #fff, 0 4px 0 4px rgba(30, 26, 77, 0.1), 0 20px 36px rgba(244, 123, 32, 0.3);
}

.step-circle .step-number {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  font-size: .72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
}

.step-item h6 {
  font-weight: 700;
  color: var(--navy);
  font-size: .95rem;
  margin: 0 0 6px;
}

.step-item p {
  color: var(--text-muted);
  font-size: .82rem;
  margin: 0;
  line-height: 1.5;
}

.step-connector {
  flex: 0 0 32px;
  align-self: flex-start;
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 700;
  opacity: .85;
}

@media (max-width: 991px) {
  .stepper-track {
    flex-wrap: wrap;
    row-gap: 36px;
  }

  .step-connector {
    display: none;
  }

  .step-item {
    flex: 0 1 45%;
  }
}

@media (max-width: 575px) {
  .step-item {
    flex: 0 1 100%;
  }
}

.benefits-section {
  position: relative;
  overflow: hidden;
}

.benefits-desc {
  color: rgba(255, 255, 255, .65) !important;
}

.benefit-pillar {
  position: relative;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 22px;
  padding: 38px 32px;
  height: 100%;
  overflow: hidden;
  transition: all .35s ease;
}

.benefit-pillar::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.benefit-pillar:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(255, 255, 255, .2);
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.25);
}

.benefit-pillar:hover::before {
  transform: scaleX(1);
}

.benefit-pillar-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  font-size: 1.5rem;
  box-shadow: 0 10px 24px rgba(244, 123, 32, 0.25);
}

.benefit-pillar h5 {
  font-weight: 700;
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefit-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: .92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, .82);
  border-bottom: 1px dashed rgba(255, 255, 255, .1);
}

.benefit-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.benefit-list li i {
  flex: none;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(244, 123, 32, .15);
  color: var(--gold-light);
  font-size: .7rem;
}


.why-kare-item {
  position: relative;
  text-align: center;
  padding: 32px 16px 28px;
  background: #fff;
  border: 1px solid #eae7f2;
  border-radius: 18px;
  height: 100%;
  overflow: hidden;
  transition: all .3s ease;
}

.why-kare-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--gold-light), var(--gold));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.why-kare-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(30, 26, 77, 0.12);
  border-color: transparent;
}

.why-kare-item:hover::before {
  transform: scaleX(1);
}

.why-kare-item i {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold-light);
  background: linear-gradient(135deg, var(--navy), #3c2f86);
  border-radius: 14px;
  box-shadow: 0 8px 18px rgba(30, 26, 77, 0.2);
}

.why-kare-item p {
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  font-size: .92rem;
}

.faq-section {
  position: relative;
  overflow: hidden;
}

.faq-accordion .accordion-item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(30, 26, 77, 0.08);
  border-radius: 0;
  transition: background .3s ease;
}

.faq-accordion .accordion-item:first-of-type,
.faq-accordion .accordion-item:last-of-type {
  border-radius: 0;
}

.faq-accordion .accordion-button {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  width: 100%;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 26px 8px 26px 0;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--navy);
  font-size: 1.08rem;
  text-align: left;
  transition: color .3s ease;
}

.faq-accordion .accordion-button::after {
  display: none;
}

.faq-accordion .accordion-button:focus {
  box-shadow: none;
}

.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--gold);
  background: transparent;
  box-shadow: none;
}

.faq-num {
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(244, 123, 32, .45);
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: .74rem;
  transition: all .3s ease;
}

.faq-accordion .accordion-button:not(.collapsed) .faq-num {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: transparent;
  color: var(--navy-deep);
}

.faq-q-text {
  flex: 1;
}

.faq-toggle {
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(30, 26, 77, .15);
  color: var(--navy);
  font-size: .95rem;
}

.faq-toggle .bi-dash {
  display: none;
}

.faq-accordion .accordion-button:not(.collapsed) .faq-toggle {
  background: var(--navy);
  border-color: transparent;
  color: #fff;
}

.faq-accordion .accordion-button:not(.collapsed) .faq-toggle .bi-plus {
  display: none;
}

.faq-accordion .accordion-button:not(.collapsed) .faq-toggle .bi-dash {
  display: block;
}

.faq-accordion .accordion-body {
  padding: 0 8px 30px 52px;
  color: var(--text-muted);
  font-size: .95rem;
  line-height: 1.65;
}

.faq-accordion .accordion-body a {
  color: var(--orange);
  font-weight: 700;
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease;
}

.faq-accordion .accordion-body a:hover {
  border-color: var(--orange);
}

.faq-choice-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .92rem;
  color: var(--text-muted);
}

.faq-choice-list li {
  padding: 4px 0;
}

.faq-choice-list strong {
  color: var(--navy);
}

.faq-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  text-align: center;
  margin-top: 20px;
  padding-top: 40px;
  border-top: 1px solid rgba(30, 26, 77, 0.08);
}

.faq-more>i {
  width: 40px;
  height: 40px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), #3c2f86);
  color: var(--gold-light);
  font-size: 1.05rem;
}

.faq-more a i {
  font-size: .85rem;
  margin-left: 2px;
}

.faq-more p {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.faq-more a {
  color: var(--gold);
  font-weight: 700;
  margin-left: 6px;
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease;
}

.faq-more a:hover {
  border-color: var(--gold);
}

.final-cta {
  position: relative;
  background: linear-gradient(150deg, var(--navy-deep), var(--navy) 60%, #3c2f86);
  padding: 100px 0;
  color: #fff;
  overflow: hidden;
}

.final-cta h2 {
  font-weight: 700;
  font-size: 2.4rem;
  margin: 16px 0;
}

.final-cta p {
  color: rgba(255, 255, 255, .8);
  max-width: 560px;
  margin: 0 auto;
  font-size: 1.05rem;
}

.kare-footer {
  background: var(--navy-soft);
  color: #3a4256;
  padding: 70px 0 24px;
  border-top: 2px solid rgba(244, 123, 32, 0.4);
}

.footer-logo {
  height: 76px;
  width: auto;
  object-fit: contain;
  transition: transform .3s ease;
}

.footer-logo:hover {
  transform: translateY(-2px);
}

.kare-footer h6 {
  color: var(--navy);
  font-weight: 800;
  margin-bottom: 18px;
  font-size: .9rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #3a4256;
  font-size: .9rem;
  font-weight: 600;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--orange);
}

.kare-footer hr {
  border-color: #eae7f2;
  margin: 34px 0 20px;
  opacity: 1;
}

.social-icons {
  display: flex;
  gap: 12px;
}

.social-icons a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #eae7f2;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(30, 26, 77, 0.06);
  transition: all .3s ease;
}

.social-icons a:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  border-color: transparent;
  transform: translateY(-2px);
}

#scrollTopBtn {
  position: fixed;
  bottom: 60px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy-deep);
  border: none;
  font-size: 1.2rem;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .25);
  z-index: 999;
  transition: all .3s ease;
}

#scrollTopBtn:hover {
  transform: translateY(-4px);
}

.rankings-section {
  position: relative;
  overflow: hidden;
}

.rank-card {
  position: relative;
  background: #fff;
  border: 1px solid #eae7f2;
  border-radius: 20px;
  padding: 28px 26px;
  height: 100%;
  box-shadow: 0 6px 24px rgba(30, 26, 77, 0.06);
  overflow: hidden;
  transition: all .35s ease;
}

.rank-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--navy), var(--orange-light), var(--orange));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}

.rank-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 46px rgba(30, 26, 77, 0.14);
  border-color: transparent;
}

.rank-card:hover::before {
  transform: scaleX(1);
}

.rank-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px dashed #e3ddf0;
}

.rank-card-head i {
  flex: none;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), #3c2f86);
  color: var(--orange-light);
  font-size: 1.15rem;
}

.rank-card-head h6 {
  margin: 0;
  font-weight: 800;
  color: var(--navy);
  font-size: .95rem;
  letter-spacing: .2px;
}

.rank-card-head small {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--orange);
}

.rank-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rank-list li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  font-size: .88rem;
  color: #3a4256;
  border-bottom: 1px dashed #eae7f2;
}

.rank-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.rank-list strong {
  color: var(--navy);
  font-weight: 800;
  white-space: nowrap;
}

.accred-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 44px;
}

.accred-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #eae7f2;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: .84rem;
  font-weight: 700;
  color: var(--navy);
  box-shadow: 0 4px 16px rgba(30, 26, 77, 0.05);
  transition: all .3s ease;
}

.accred-chip i {
  color: var(--orange);
  font-size: .95rem;
}

.accred-chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(30, 26, 77, 0.12);
  border-color: transparent;
}

.fee-section {
  position: relative;
  overflow: hidden;
}

.fee-table-wrap {
  background: #fff;
  border: 1px solid #eae7f2;
  border-radius: 22px;
  box-shadow: 0 10px 34px rgba(30, 26, 77, 0.07);
  overflow: hidden;
}

.fee-table {
  width: 100%;
  margin: 0;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 620px;
}

.fee-table thead th {
  background: linear-gradient(135deg, var(--navy), #3c2f86);
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
  padding: 18px 20px;
  border: none;
  vertical-align: middle;
}

.fee-table thead th:not(:first-child) {
  text-align: center;
}

.fee-table tbody td {
  padding: 15px 20px;
  font-size: .92rem;
  color: #3a4256;
  border-bottom: 1px solid #f0edf7;
  vertical-align: middle;
}

.fee-table tbody td:not(:first-child) {
  text-align: center;
  font-weight: 700;
  color: var(--navy);
}

.fee-table tbody tr:last-child td {
  border-bottom: none;
}

.fee-table tbody tr:hover td {
  background: var(--orange-soft);
}

.fee-program {
  font-weight: 800 !important;
  color: var(--navy) !important;
}

.fee-program span {
  display: block;
  font-size: .74rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: none;
  letter-spacing: 0;
}

.fee-scroll-hint {
  display: none;
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
}

.fee-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--orange-soft);
  border: 1px solid rgba(244, 123, 32, 0.25);
  border-radius: 14px;
  padding: 16px 20px;
  margin-top: 24px;
  font-size: .86rem;
  color: #52483f;
}

.fee-note i {
  color: var(--orange);
  font-size: 1.05rem;
  flex: none;
  margin-top: 2px;
}

.fee-note strong {
  color: var(--navy);
}

@media (max-width: 767px) {
  .fee-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
    margin: 0;
  }

  .fee-table {
    min-width: 520px;
  }

  .fee-table thead th {
    padding: 12px 14px;
    font-size: .74rem;
  }

  .fee-table tbody td {
    padding: 12px 14px;
    font-size: .84rem;
  }

  .fee-program span {
    font-size: .7rem;
  }

  .fee-scroll-hint {
    display: block;
    font-size: .76rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 10px;
  }

  .fee-note {
    padding: 14px 16px;
    font-size: .82rem;
    border-radius: 12px;
    margin-top: 18px;
  }

  .fee-section .btn {
    width: auto !important;
    max-width: 270px !important;
    font-size: .80rem !important;
    padding: 10px 18px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}

@media (max-width: 576px) {
  .fee-section .program-tabs {
    width: 100%;
    display: flex;
  }

  .fee-section .program-tabs .nav-item {
    flex: 1;
    text-align: center;
  }

  .fee-section .program-tabs .nav-link {
    width: 100%;
    padding: 9px 12px;
    font-size: .8rem;
    text-align: center;
    white-space: nowrap;
  }
}

.recruiters-section {
  position: relative;
  overflow: hidden;
}

.recruiter-slider-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 10px 0 20px;
  mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.recruiter-slider-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: recruiterMarquee 80s linear infinite;
}

.recruiter-slider-wrap:hover .recruiter-slider-track {
  animation-play-state: paused;
}

.recruiter-logo-card {
  flex: 0 0 auto;
  background: #ffffff;
  border: 1px solid rgba(30, 26, 77, 0.08);
  border-radius: 16px;
  padding: 16px 28px;
  min-width: 190px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(30, 26, 77, 0.06);
  transition: all 0.35s ease;
}

.recruiter-logo-card:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: var(--orange);
  box-shadow: 0 14px 32px rgba(244, 123, 32, 0.18);
}

.recruiter-logo-card img {
  max-height: 60px;
  max-width: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(10%) contrast(105%);
  transition: filter 0.3s ease;
}

.recruiter-logo-card:hover img {
  filter: grayscale(0%) contrast(110%);
}

@keyframes recruiterMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}


.footer-logo {
  height: 100px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  transition: transform .3s ease;
}

.footer-logo:hover {
  transform: scale(1.03);
}

.social-icons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-size: 1rem;
  line-height: 1;
  text-align: center;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(244, 123, 32, 0.4);
}

.footer-about {
  font-size: .9rem;
  line-height: 1.7;
  color: #4a5268;
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: .9rem;
  line-height: 1.6;
}

.footer-contact li>i {
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid #eae7f2;
  color: var(--orange);
  font-size: .95rem;
  box-shadow: 0 4px 12px rgba(30, 26, 77, 0.06);
}

.footer-contact a {
  color: var(--navy);
  font-weight: 600;
  transition: color .25s ease;
}

.footer-contact a:hover {
  color: var(--orange);
}

.footer-contact .contact-label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links a::before {
  content: '\F285';
  /* bootstrap-icons chevron-right */
  font-family: 'bootstrap-icons';
  font-size: .62rem;
  color: var(--orange);
  opacity: 0;
  transform: translateX(-4px);
  transition: all .25s ease;
}

.footer-links a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: .84rem;
  color: var(--text-muted);
}

.footer-bottom-links {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}

.footer-bottom a {
  color: var(--navy);
  font-weight: 600;
  transition: color .25s ease;
}

.footer-bottom a:hover {
  color: var(--orange);
}

.footer-bottom .sep {
  color: var(--orange);
  margin: 0 4px;
  font-weight: 700;
}




@media (max-width: 991px) {
  .hero-title {
    font-size: 2.1rem;
  }

  .hero-section {
    padding: 130px 0 60px;
  }

  .section-padding {
    padding: 60px 0;
  }

  .lead-card {
    margin-top: 10px;
  }

  .brand-logo {
    height: 72px;
  }

  .kare-navbar.scrolled .brand-logo {
    height: 56px;
  }

  .footer-logo {
    height: 80px;
  }

  .footer-contact {
    margin-top: 10px;
  }

  .footer-contact li {
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    margin-bottom: 16px !important;
    text-align: left !important;
  }

  .footer-contact li>i {
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    margin-top: 2px;
  }

  .footer-contact li>div {
    flex: 1;
    word-break: break-word;
  }

  .footer-contact .contact-label {
    font-size: 0.72rem;
    margin-bottom: 2px;
  }

  .footer-contact a {
    font-size: 0.86rem;
    line-height: 1.5;
  }
}

@media (max-width: 576px) {
  .hero-stats {
    flex-wrap: wrap !important;
    margin-top: 1.2rem !important;
    padding-top: 16px !important;
    row-gap: 16px !important;
    justify-content: space-between !important;
  }

  .hero-stats>div {
    flex: 1 1 45%;
  }

  .hero-stats>div:last-child {
    flex: 1 1 100% !important;
    text-align: center !important;
    margin-top: 4px;
  }

  .hero-title {
    font-size: 1.7rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .final-cta h2 {
    font-size: 1.8rem;
  }


  .lead-card {
    padding: 28px 20px;
  }

  .program-tabs-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    padding-bottom: 4px;
  }

  .program-tabs {
    padding: 5px;
  }

  .program-tabs .nav-link {
    padding: 10px 18px;
    font-size: .85rem;
    white-space: nowrap;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }

  .footer-bottom-links {
    justify-content: center;
    font-size: .8rem;
  }

  .accred-chip {
    padding: 9px 15px;
    font-size: .78rem;
  }

  .recruiter-logo-card {
    min-width: 150px;
    height: 80px;
    padding: 12px 18px;
  }

  .hero-btns {
    flex-wrap: nowrap !important;
    gap: 8px !important;
  }

  .hero-btns .btn {
    flex: 1 1 50% !important;
    font-size: 0.78rem !important;
    padding: 10px 6px !important;
    white-space: nowrap !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 0 !important;
  }

  .hero-btns .btn i {
    font-size: 0.78rem !important;
    margin-left: 3px !important;
  }

  .final-cta-btns {
    gap: 8px !important;
  }

  .final-cta-btns .btn {
    font-size: 0.78rem !important;
    padding: 10px 12px !important;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .about-us-section p {
    text-align: justify !important;
    text-justify: inter-word;
    word-spacing: -0.4px !important;
    letter-spacing: -0.1px !important;
    -webkit-hyphens: auto;
    hyphens: auto;
    word-break: break-word;
    line-height: 1.65;
  }

  .btn-enquire {
    width: auto !important;
    max-width: 210px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 18px !important;
    font-size: 0.85rem !important;
  }
}

@media (max-width: 767.98px) {

  section,
  .section-padding,
  .trust-section,
  .about-us-section,
  .eligibility-section,
  .fee-section,
  .admission-section,
  .rankings-section,
  .recruiters-section,
  .faq-section,
  .final-cta,
  .kare-footer {
    padding-top: 35px !important;
    padding-bottom: 35px !important;
  }
}

.kare-modal .modal-content {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(30, 26, 77, 0.3) !important;
}

.modal-course-details-card,
.modal-form-card {
  border: 1px solid #eae7f2;
}

.modal-course-icon-wrap {
  width: 48px !important;
  height: 48px !important;
  min-width: 48px !important;
  min-height: 48px !important;
  flex: 0 0 48px !important;
  border-radius: 14px !important;
  background: linear-gradient(135deg, var(--navy), #3c2f86) !important;
  color: var(--gold-light) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.4rem !important;
  box-shadow: 0 6px 16px rgba(30, 26, 77, 0.2) !important;
}

@media (max-width: 576px) {
  .modal-course-icon-wrap {
    width: 40px !important;
    height: 40px !important;
    min-width: 40px !important;
    min-height: 40px !important;
    flex: 0 0 40px !important;
    border-radius: 12px !important;
    font-size: 1.15rem !important;
  }
}

.extra-small {
  font-size: .74rem;
}

.letter-spacing-1 {
  letter-spacing: 1px;
}

.modal-highlights-list li span,
#modalCourseEligibility {
  color: #3a4256;
}

.border-gold {
  border-color: var(--gold) !important;
}

.bg-gold {
  background-color: var(--gold) !important;
}

.text-navy {
  color: var(--navy) !important;
}

.modal-brochure-btn,
.btn-modal-submit {
  width: auto !important;
  max-width: 85%;
  padding: 9px 24px !important;
  font-size: .88rem !important;
  letter-spacing: .2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .modal-course-details-card {
    min-height: 540px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .modal-form-card {
    min-height: 540px;
    display: flex;
    flex-direction: column;
  }
}

.modal-fee-box {
  min-height: 82px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* ---------- Highlighted fee region labels (Indian & NRI / Foreign Nationals) ---------- */
.fee-region-label {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: .4px;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-soft);
  border: 1px solid rgba(244, 123, 32, .28);
  padding: 3px 12px;
  border-radius: 999px;
}

.fee-amount {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
}

@media (max-width: 575.98px) {
  .fee-region-label {
    font-size: .66rem;
    padding: 3px 9px;
  }

  .fee-amount {
    font-size: .9rem;
  }
}

.form-control:focus,
.form-select:focus,
textarea.form-control:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 0.2rem rgba(230, 168, 0, 0.25) !important;
  outline: 0 !important;
}

/* ---------- Custom Select Dropdown Styling ---------- */
.form-select {
  border: 1.5px solid var(--orange) !important;
  border-radius: 14px !important;
  padding: 10px 16px !important;
  font-weight: 700 !important;
  color: var(--navy) !important;
  background-color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(244, 123, 32, 0.08) !important;
  transition: all 0.25s ease !important;
  cursor: pointer;
}

.form-select:hover {
  border-color: var(--orange-light) !important;
  box-shadow: 0 6px 18px rgba(244, 123, 32, 0.15) !important;
}

.form-select optgroup {
  font-weight: 800 !important;
  color: var(--navy) !important;
  background: #f7f5fb !important;
  font-size: 0.88rem !important;
  padding: 8px 10px !important;
}

.form-select option {
  font-weight: 600 !important;
  color: #23293a !important;
  padding: 10px 12px !important;
  background: #ffffff !important;
  font-size: 0.9rem !important;
}

@media (max-width: 576px) {
  .form-select {
    font-size: 0.82rem !important;
    padding: 9px 12px !important;
  }

  .form-select optgroup {
    font-size: 0.78rem !important;
  }

  .form-select option {
    font-size: 0.8rem !important;
  }
}

/* ---------- Modal Heading Icon Alignment ---------- */
.modal-course-details-card h6 {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  line-height: 1.3 !important;
}

.modal-course-details-card h6 i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 22px !important;
  height: 22px !important;
  flex: 0 0 22px !important;
  font-size: 1.05rem !important;
  text-align: center !important;
  margin-right: 0 !important;
}

.about-us-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-cream) 100%) !important;
}

.fee-section {
  background: linear-gradient(180deg, #ffffff 0%, #FFF5EB 100%);
}

.admission-section {
  background: linear-gradient(180deg, var(--bg-warm) 0%, #fff 100%);
}

.recruiters-section {
  background: linear-gradient(180deg, #ffffff 0%, var(--bg-cream) 100%);
}

.programs-section {
  background: linear-gradient(180deg, var(--bg-lavender) 0%, #ede8ff 100%) !important;
}

.eligibility-section {
  background: linear-gradient(180deg, #ede8ff 0%, var(--bg-lavender) 100%) !important;
}

.rankings-section {
  background: linear-gradient(180deg, var(--bg-lavender) 0%, #e8e3ff 100%) !important;
}

.faq-section {
  background: linear-gradient(180deg, #ede8ff 0%, var(--bg-lavender) 100%) !important;
}

.kare-footer {
  background: rgba(255, 255, 255, 0.96) !important;
  border-top: 2px solid rgba(244, 123, 32, 0.4);
  box-shadow: 0 -4px 24px rgba(30, 26, 77, .10);
}

/* ==================================================
   LEADERSHIP TEAM SECTION STYLES
   ================================================== */
.leadership-section {
  position: relative;
}

.leadership-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 32px 26px;
  border: 1px solid rgba(30, 26, 77, 0.08);
  box-shadow: 0 10px 30px rgba(30, 26, 77, 0.05);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
  overflow: hidden;
}

.leadership-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 20px 20px 0 0;
}

.leadership-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(30, 26, 77, 0.12);
  border-color: rgba(244, 123, 32, 0.35);
}

.leader-content-box {
  position: relative;
  width: 100%;
}

.leader-heading {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
  position: relative;
  text-transform: uppercase;
}

.leader-passage p {
  color: #4a5168;
  font-size: 0.92rem;
  line-height: 1.68;
  margin-bottom: 0;
  text-align: justify !important;
  text-justify: inter-word;
  hyphens: auto;
}

.leader-profile-footer {
  border-top-color: rgba(30, 26, 77, 0.08) !important;
}

.leader-profile-footer p {text-align: center !important; padding-top: 5px;}

.leader-name {
  font-family: var(--font-heading);
  color: var(--navy);
  font-size: 1.15rem;
  font-weight: 700;
}

.leader-designation {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Leader Image Circular Frame Styling */
.leader-img-wrapper {
  position: relative;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #f4f0ff, #fff9f2);
  border: 4px solid var(--gold);
  box-shadow: 0 0 0 3px #ffffff, 0 8px 24px rgba(30, 26, 77, 0.12);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.leader-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transform: none !important;
}

@media (max-width: 991.98px) {
  .leadership-card {
    padding: 26px 20px;
  }

  .leader-img-wrapper {
    width: 160px;
    height: 160px;
  }

  .leader-heading {
    font-size: 1rem;
  }

  .leader-passage p {
    font-size: 0.88rem;
  }
}

/* ==================================================
   RECOGNITIONS, ACCREDITATIONS & RANKINGS (V2 NEW DESIGN)
   ================================================== */
.rankings-section-v2 {
  position: relative;
  background: linear-gradient(135deg, #100b2e 0%, #1a1545 50%, #261f5c 100%);
  color: #ffffff;
  padding: 70px 0;
  overflow: hidden;
}

.rankings-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(244, 123, 32, 0.16) 0%, rgba(30, 26, 77, 0) 70%);
  pointer-events: none;
}

.rankings-section-v2 .section-eyebrow {
  color: var(--gold);
  background: rgba(244, 123, 32, 0.12);
  border: 1px solid rgba(244, 123, 32, 0.35);
  padding: 6px 18px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.rankings-section-v2 .section-title {
  color: #ffffff;
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.rankings-section-v2 .section-desc {
  color: rgba(255, 255, 255, 0.82);
  max-width: 680px;
}

.rank-v2-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 24px;
  height: 100%;
  color: #23293a;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
}

.rank-v2-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px rgba(244, 123, 32, 0.3), 0 10px 30px rgba(0, 0, 0, 0.35);
  border-color: var(--gold);
}

.rank-v2-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  background: rgba(30, 26, 77, 0.08);
  color: var(--navy);
  margin-bottom: 14px;
}

.rank-v2-badge.badge-gold {
  background: rgba(244, 123, 32, 0.14);
  color: #d96206;
}

.rank-v2-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fcfbfe;
  border: 1.5px solid #eae6f5;
  border-radius: 16px;
  padding: 16px 18px;
  height: 100%;
  transition: all 0.3s ease;
}

.logo-box:hover {
  background: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 8px 20px rgba(30, 26, 77, 0.1);
}

.approval-highlights {
  background: #f8f7fc;
  border: 1.5px solid #eae6f5;
  border-radius: 16px;
  padding: 14px 18px;
}

.approval-point {
  display: flex;
  align-items: flex-start;
  font-size: 0.83rem;
  color: #4a5168;
  line-height: 1.45;
}

.approval-point strong {
  color: var(--navy);
  font-weight: 800;
}

/* HIGH-IMPACT LARGER & UNIFORM LOGO IMAGES */
.logo-img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-img-lg {
  height: 95px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
}

.logo-img-md {
  height: 70px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

.logo-img-sm {
  height: 55px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
}

.logo-img-h {
  height: 85px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  margin-bottom: 10px;
}

.logo-img-sq {
  height: 110px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}

.logo-info h6 {
  margin: 0 0 2px;
  font-weight: 800;
  color: var(--navy);
  font-size: 1.1rem;
}

.logo-info p {
  margin: 0;
  font-size: 0.8rem;
  color: #4a5168;
  font-weight: 600;
  line-height: 1.35;
}

.grade-badge {
  display: inline-block;
  background: linear-gradient(135deg, #d32f2f, #b71c1c);
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 6px 18px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(211, 47, 47, 0.4);
  letter-spacing: 0.5px;
}

.logo-box-inline {
  display: flex;
  align-items: center;
  gap: 20px;
}

.rank-divider {
  border-top: 1.5px dashed rgba(30, 26, 77, 0.15);
  margin: 16px 0;
  opacity: 1;
}

.rank-stat-pill {
  background: linear-gradient(135deg, #1e1a4d, #2e286e);
  color: #ffffff;
  border-radius: 14px;
  padding: 14px 10px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(30, 26, 77, 0.2);
  transition: all 0.25s ease;
}

.rank-stat-pill:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, var(--gold), #e0680d);
}

.stat-val {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1.1;
}

.rank-stat-pill:hover .stat-val {
  color: #ffffff;
}

.stat-lbl {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.88);
  margin-top: 4px;
}

.logo-feature-box {
  background: #fcfbfe;
  border: 1.5px solid #eae6f5;
  border-radius: 16px;
  padding: 20px 16px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.logo-feature-box:hover {
  background: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(30, 26, 77, 0.12);
  transform: translateY(-3px);
}

.logo-feature-box h6 {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.05rem;
  margin-bottom: 2px;
}

.logo-feature-box p {
  font-size: 0.78rem;
  color: #4a5168;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
}

.qs-brand-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #14103a;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.78rem;
  padding: 5px 12px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  box-shadow: 0 3px 8px rgba(20, 16, 58, 0.25);
  flex-shrink: 0;
}

.qs-brand-highlight {
  color: var(--gold);
  font-weight: 900;
}

.rank-bar-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f4f1fa;
  padding: 11px 18px;
  border-radius: 10px;
  border-left: 4px solid var(--gold);
  font-size: 0.9rem;
}

.bar-lbl {
  font-weight: 700;
  color: var(--navy);
}

.bar-val {
  font-weight: 800;
  color: #d96206;
  font-size: 0.98rem;
}

.the-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.the-stat-box {
  background: #f4f1fa;
  border-radius: 12px;
  padding: 12px 16px;
  border-left: 4px solid var(--navy);
  transition: all 0.25s ease;
}

.the-stat-box:hover {
  border-left-color: var(--gold);
  background: #ffffff;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
}

.the-lbl {
  display: block;
  font-size: 0.76rem;
  color: #5c6278;
  font-weight: 600;
}

.the-val {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}

@media (min-width: 768px) {
  .border-start-md {
    border-left: 1.5px dashed rgba(30, 26, 77, 0.15);
    padding-left: 28px !important;
  }
}

@media (max-width: 767.98px) {
  .rankings-section-v2 {
    padding: 45px 0;
  }
  .rank-v2-card {
    padding: 18px 16px;
    border-radius: 16px;
  }
  .border-end-sm {
    border-right: none !important;
    border-bottom: 1.5px dashed rgba(30, 26, 77, 0.15);
    padding-bottom: 16px;
    margin-bottom: 12px;
  }
  .the-stats-grid {
    grid-template-columns: 1fr;
  }
  .rankings-section-v2 .section-title {
    font-size: 1.7rem;
  }
  .rank-stat-pill {
    padding: 8px 6px;
  }
  .rank-stat-pill .stat-val {
    font-size: 1.15rem;
  }
  .rank-stat-pill .stat-lbl {
    font-size: 0.7rem;
  }
  .approval-highlights {
    padding: 12px 14px;
  }
  .approval-point {
    font-size: 0.78rem;
  }
  .logo-carousel-item {
    flex: 0 0 190px;
    padding: 14px 10px;
  }
  .carousel-logo-img {
    height: 65px;
  }
}

@media (max-width: 575.98px) {
  .logo-box {
    flex-direction: column;
    text-align: center;
    padding: 14px 10px;
  }
  .logo-box-inline {
    flex-direction: column;
    text-align: center;
  }
  .logo-img {
    width: 75px;
    height: 75px;
  }
  .logo-img-lg {
    height: 75px;
  }
  .rank-v2-title {
    font-size: 1.25rem;
  }
}

/* ==================================================
   DRAGGABLE & SCROLLABLE ACCREDITATION LOGO SLIDER
   ================================================== */
.accred-carousel-card {
  position: relative;
}

.logo-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 10px 4px 16px;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  /* Thin styled scrollbar */
  scrollbar-width: thin;
  scrollbar-color: var(--gold) rgba(30, 26, 77, 0.08);
}

.logo-carousel-wrapper.is-dragging {
  cursor: grabbing !important;
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
}

.logo-carousel-wrapper::-webkit-scrollbar {
  height: 6px;
}

.logo-carousel-wrapper::-webkit-scrollbar-track {
  background: rgba(30, 26, 77, 0.06);
  border-radius: 10px;
}

.logo-carousel-wrapper::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 10px;
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  gap: 20px;
  width: max-content;
}

.logo-carousel-item {
  flex: 0 0 220px;
  scroll-snap-align: start;
  background: #fcfbfe;
  border: 1.5px solid #eae6f5;
  border-radius: 16px;
  padding: 16px 14px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.logo-carousel-item:hover {
  background: #ffffff;
  border-color: var(--gold);
  box-shadow: 0 8px 22px rgba(30, 26, 77, 0.12);
  transform: translateY(-4px);
}

.carousel-logo-img {
  height: 75px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  margin-bottom: 8px;
}

.logo-carousel-item h6 {
  font-weight: 800;
  color: var(--navy);
  font-size: 1.02rem;
  margin-bottom: 2px;
}

.logo-carousel-item p {
  font-size: 0.78rem;
  color: #4a5168;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

/* COMPACT SMALL CENTERED FORM SUBMIT BUTTON */
.btn-compact-submit {
  width: auto !important;
  min-width: 170px;
  max-width: 100%;
  padding: 9px 24px !important;
  font-size: 0.9rem !important;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(20, 16, 58, 0.25);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.btn-compact-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(244, 123, 32, 0.4);
}

/* ==================================================
   WHY CHOOSE US SECTION (CIRCULAR GRADIENT ICONS)
   ================================================== */
.why-choose-section {
  position: relative;
  background: linear-gradient(135deg, #100b2e 0%, #1a1545 50%, #261f5c 100%);
  color: #ffffff;
  padding: 85px 0;
  overflow: hidden;
}

.why-sub-heading {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--gold);
}

.why-main-title {
  font-family: var(--font-heading);
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-top: 4px;
  letter-spacing: 1px;
}


.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 24px;
  margin-top: 35px;
}

.why-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.why-card-item.col-span-2 {
  grid-column: span 2;
}

.why-card-item:hover {
  transform: translateY(-5px);
}

.why-icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #ffffff;
  border: 4px solid var(--gold);
  box-shadow: 0 8px 24px rgba(244, 123, 32, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.1rem;
  color: #d96206;
  margin-bottom: 12px;
  transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.why-card-item:hover .why-icon-circle {
  background: var(--gold);
  color: #ffffff;
  border-color: #ffffff;
  box-shadow: 0 12px 32px rgba(244, 123, 32, 0.55);
  transform: scale(1.08);
}

.why-card-text {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e4e2f5;
  line-height: 1.4;
  margin: 0;
  max-width: 230px;
}

.why-student-frame img {
  border: 5px solid rgba(255, 255, 255, 0.18);
  transition: transform 0.4s ease;
}

.why-student-frame:hover img {
  transform: scale(1.02);
}

.student-badge-overlay {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(16, 11, 46, 0.88);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.88rem;
  padding: 8px 18px;
  border-radius: 50px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

/* ==================================================
   CIQA DOCUMENTS SECTION
   ================================================== */
.ciqa-section {
  background: #eae8f2;
  padding: 55px 0;
  border-top: 1.5px solid #dedaeb;
  border-bottom: 1.5px solid #dedaeb;
}

.ciqa-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #16123e;
  margin-bottom: 4px;
  display: inline-block;
  letter-spacing: 0.5px;
}


.ciqa-documents-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 32px;
  margin-top: 28px;
}

.ciqa-column {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ciqa-doc-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  color: #16123e;
  font-weight: 600;
  font-size: 0.93rem;
  text-decoration: none;
  transition: all 0.25s ease;
  padding: 10px 14px;
  background: #ffffff;
  border: 1px solid #dcd8ea;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(22, 18, 62, 0.03);
  width: 100%;
}

.ciqa-doc-link:hover {
  color: #d94213;
  background: #ffffff;
  border-color: #d94213;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(217, 66, 19, 0.12);
}

.ciqa-arrow {
  color: #d95813;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.ciqa-doc-name {
  flex-grow: 1;
  color: #16123e;
  font-weight: 600;
  transition: color 0.25s ease;
}

.ciqa-doc-link:hover .ciqa-doc-name {
  color: #d94213;
}

.ciqa-download-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #d94213;
  color: #ffffff;
  font-size: 0.75rem;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(217, 66, 19, 0.3);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.ciqa-doc-link:hover .ciqa-download-badge {
  background: #16123e;
  transform: scale(1.1);
}

@media (max-width: 991.98px) {
  .ciqa-documents-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 575.98px) {
  .ciqa-documents-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ciqa-doc-link {
    font-size: 0.88rem;
  }
}

@media (max-width: 767.98px) {
  .why-main-title {
    font-size: 1.6rem;
  }
  .why-sub-heading {
    font-size: 0.8rem;
    letter-spacing: 1px;
  }
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 14px;
  }
  .why-icon-circle {
    width: 66px;
    height: 66px;
    font-size: 1.65rem;
  }
  .why-card-text {
    font-size: 0.83rem;
  }
}

@media (max-width: 575.98px) {
  .why-main-title {
    font-size: 1.35rem;
  }
}

@media (max-width: 991.98px) {
  .modal-form-card {
    height: auto !important;
  }
}
