/* ============================================================
   Degree Wallah — Global Stylesheet
   Brand: Navy (#0A2540) + Orange (#F7931E)
   ============================================================ */

:root {
  --navy: #0a2540;
  --navy-light: #123a63;
  --navy-dark: #071b2f;
  --orange: #f7931e;
  --orange-light: #ffaa4d;
  --orange-dark: #e07f0c;
  --text: #243b53;
  --muted: #627d98;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --border: #e3eaf2;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-card: 0 6px 24px rgba(10, 37, 64, 0.08);
  --shadow-hover: 0 14px 34px rgba(10, 37, 64, 0.16);
  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ul { list-style: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.section { padding: 72px 0; }

.section.bg-soft { background: var(--bg-soft); }

.section.navy { background: var(--navy); color: #fff; }

.section-head { text-align: center; max-width: 720px; margin: 0 auto 44px; }

.section-head .eyebrow {
  display: inline-block;
  background: rgba(247, 147, 30, 0.12);
  color: var(--orange-dark);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.navy .section-head .eyebrow { background: rgba(255, 255, 255, 0.12); color: var(--orange-light); }

.section-head h2 {
  font-size: clamp(26px, 4vw, 38px);
  color: var(--navy);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 12px;
}

.navy .section-head h2 { color: #fff; }

.section-head p { color: var(--muted); font-size: 16.5px; }

.navy .section-head p { color: #c3d2e4; }

.eyebrow.orange { background: rgba(247, 147, 30, 0.12); color: var(--orange-dark); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  line-height: 1.2;
}

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

.btn-orange:hover { background: var(--orange-dark); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(247, 147, 30, 0.35); }

.btn-outline-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover { background: #fff; color: var(--navy); }

.btn-outline-navy {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline-navy:hover { background: var(--navy); color: #fff; }

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

.btn-white:hover { background: var(--orange); color: #fff; }

.btn-block { width: 100%; }

.btn-sm { padding: 9px 18px; font-size: 14px; }

/* ============ Navbar ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 12px rgba(10, 37, 64, 0.06);
}

.navbar-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-weight: 800;
  font-size: 19px;
  color: var(--navy);
}

.brand-name span { color: var(--orange); }

.brand-tag {
  font-size: 10.5px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 26px;
}

.nav-menu > li { position: relative; }

.nav-menu a.nav-link,
.dropdown-trigger {
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
  padding: 8px 0;
  cursor: pointer;
  background: none;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-menu a.nav-link:hover,
.dropdown-trigger:hover,
.nav-menu a.nav-link.active {
  color: var(--orange);
}

.dropdown-arrow { font-size: 10px; transition: transform 0.25s ease; }

.nav-menu li:hover .dropdown-arrow { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-hover);
  min-width: 210px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 50;
}

.nav-menu li:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(4px); }

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}

.dropdown a:hover { background: var(--bg-soft); color: var(--navy); }

.dropdown a em {
  font-style: normal;
  font-size: 12px;
  color: #fff;
  background: var(--orange);
  padding: 1px 7px;
  border-radius: 999px;
  font-weight: 700;
}

.nav-cta { display: flex; align-items: center; gap: 14px; }

.nav-call {
  display: flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
  color: var(--navy);
  font-size: 14.5px;
}

.nav-call .icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(247, 147, 30, 0.12);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
}

.nav-call small { display: block; color: var(--muted); font-weight: 600; font-size: 11px; text-transform: uppercase; letter-spacing: 0.6px; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

@media (max-width: 1024px) {
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 20px 24px;
    box-shadow: 0 20px 30px rgba(10, 37, 64, 0.12);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
  }
  .nav-menu.open { max-height: 560px; overflow-y: auto; }
  .nav-menu > li { width: 100%; }
  .nav-menu > li > a.nav-link,
  .dropdown-trigger { padding: 14px 0; width: 100%; justify-content: space-between; border-bottom: 1px solid var(--border); }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 6px 12px;
    min-width: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-menu li.open .dropdown { max-height: 420px; }
  .nav-cta { margin-top: 16px; width: 100%; flex-direction: column; }
  .nav-call { width: 100%; justify-content: center; }
  .nav-cta .btn { width: 100%; }
}

/* ============ Hero ============ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, #0f3558 100%);
  color: #fff;
  overflow: hidden;
  padding: 96px 0 84px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 85% -10%, rgba(247, 147, 30, 0.28), transparent 60%),
    radial-gradient(500px 320px at 10% 110%, rgba(247, 147, 30, 0.14), transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffd9a6;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
  backdrop-filter: blur(4px);
}

.hero-badge .dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse 1.6s infinite;
}

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero h1 {
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 20px;
}

.hero h1 .hl { color: var(--orange); }

.hero p.lead {
  font-size: 17.5px;
  color: #c6d5e8;
  max-width: 560px;
  margin-bottom: 30px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding-top: 24px;
}

.hero-stat strong {
  font-size: 26px;
  color: var(--orange-light);
  font-weight: 800;
  display: block;
}

.hero-stat span { font-size: 13.5px; color: #b7c9de; }

.hero-card {
  position: relative;
  background: #fff;
  border-radius: 22px;
  padding: 30px;
  color: var(--text);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.28);
}

.hero-card .ribbon {
  position: absolute;
  top: -14px;
  right: 24px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(247, 147, 30, 0.4);
}

.hero-card h3 { color: var(--navy); font-size: 19px; margin-bottom: 4px; }

.hero-card .sub { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }

.hero-card-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  background: var(--bg-soft);
}

.hero-card-logo img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 6px;
  border: 1px solid var(--border);
}

.hero-card-logo strong { color: var(--navy); font-size: 15px; display: block; }

.hero-card-logo span { font-size: 12.5px; color: var(--muted); }

.hero-card .more {
  font-size: 13px;
  color: var(--orange-dark);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 64px 0; }
}

/* ============ Section heading helpers ============ */
.center { text-align: center; }

/* ============ University logos strip ============ */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

@media (max-width: 1024px) { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .logo-grid { grid-template-columns: repeat(2, 1fr); } }

.u-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 20px 22px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.u-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: rgba(247, 147, 30, 0.5); }

.u-logo {
  width: 84px;
  height: 84px;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 16px;
  transition: transform 0.3s ease;
}

.u-card:hover .u-logo { transform: scale(1.06); }

.u-type {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  background: rgba(247, 147, 30, 0.12);
  color: var(--orange-dark);
  padding: 4px 10px;
  border-radius: 999px;
}

.u-card h3 {
  color: var(--navy);
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.u-card p {
  font-size: 13.5px;
  color: var(--muted);
  margin-bottom: 16px;
  flex-grow: 1;
}

.u-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 12.5px; font-weight: 700; color: var(--navy); }

.u-rating .star { color: var(--orange); }

.u-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 14px;
  color: var(--orange-dark);
}

.u-link:hover { gap: 10px; }

/* ============ Course cards ============ */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .course-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .course-grid { grid-template-columns: 1fr; } }

.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  border-top: 4px solid var(--orange);
}

.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }

.course-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: rgba(247, 147, 30, 0.12);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.course-card h3 { color: var(--navy); font-size: 20px; margin-bottom: 4px; }

.course-card .degree { color: var(--muted); font-size: 13px; margin-bottom: 12px; }

.course-card p { font-size: 14.5px; color: var(--muted); margin-bottom: 16px; flex-grow: 1; }

.course-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }

.course-meta span {
  font-size: 12px;
  font-weight: 600;
  background: var(--bg-soft);
  color: var(--navy-light);
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* ============ Why section ============ */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } }

.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: all 0.3s ease;
}

.why-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); }

.why-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(247, 147, 30, 0.12);
  color: var(--orange-dark);
  margin-bottom: 18px;
}

.why-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 10px; }

.why-card p { color: var(--muted); font-size: 14.5px; }

/* ============ Admission steps ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  counter-reset: step;
}

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--border);
  position: relative;
  box-shadow: var(--shadow-card);
}

.step-num {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  font-size: 19px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

.step:nth-child(2) .step-num { background: var(--orange); color: #fff; }
.step:nth-child(3) .step-num { background: var(--navy); color: var(--orange-light); }
.step:nth-child(4) .step-num { background: var(--orange); color: var(--navy); }

.step h3 { color: var(--navy); font-size: 16.5px; margin-bottom: 8px; }

.step p { color: var(--muted); font-size: 14px; }

/* ============ Testimonials ============ */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) { .testi-grid { grid-template-columns: 1fr; } }

.testi-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow-card);
}

.testi-stars { color: var(--orange); font-size: 17px; margin-bottom: 14px; letter-spacing: 2px; }

.testi-card p {
  color: var(--text);
  font-size: 14.5px;
  margin-bottom: 20px;
  font-style: italic;
}

.testi-person { display: flex; align-items: center; gap: 12px; }

.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
  font-size: 16px;
}

.testi-person strong { display: block; color: var(--navy); font-size: 14.5px; }

.testi-person span { color: var(--muted); font-size: 12.5px; }

/* ============ Lead form ============ */
.lead-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

@media (max-width: 900px) { .lead-wrap { grid-template-columns: 1fr; gap: 36px; } }

.lead-points { margin-top: 26px; display: grid; gap: 16px; }

.lead-points li { display: flex; gap: 12px; align-items: flex-start; color: #d4e1f0; font-size: 15px; }

.lead-points .tick {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.form-card {
  background: #fff;
  border-radius: 22px;
  padding: 36px 32px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  color: var(--text);
}

.form-card h3 { color: var(--navy); font-size: 24px; margin-bottom: 6px; }

.form-card > p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }

.form-field { margin-bottom: 16px; }

.form-field label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.form-field input,
.form-field select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: inherit;
  color: var(--text);
  background: var(--bg-soft);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  appearance: none;
}

.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230A2540' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(247, 147, 30, 0.18);
  background: #fff;
}

.form-success {
  display: none;
  text-align: center;
  padding: 30px 10px;
}

.form-success.show { display: block; }

.form-success .check {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.12);
  color: #22c55e;
  display: grid;
  place-items: center;
  margin: 0 auto 18px;
}

.form-success h4 { color: var(--navy); font-size: 21px; margin-bottom: 8px; }

.form-success p { color: var(--muted); font-size: 14.5px; }

.form-success .btn { margin-top: 20px; }

.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; }

/* ============ Footer ============ */
.footer {
  background: var(--navy-dark);
  color: #b9c9dd;
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer .brand img { width: 52px; height: 52px; border-radius: 12px; }

.footer .brand-name { color: #fff; }

.footer-brand p { font-size: 14px; margin-top: 16px; max-width: 300px; }

.footer h4 { color: #fff; font-size: 15px; margin-bottom: 18px; text-transform: uppercase; letter-spacing: 1px; }

.footer-links li { margin-bottom: 11px; }

.footer-links a { font-size: 14px; color: #b9c9dd; transition: color 0.2s ease; }

.footer-links a:hover { color: var(--orange); }

.footer-contact li { display: flex; gap: 10px; margin-bottom: 14px; font-size: 14px; }

.footer-contact a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 13px;
}

/* ============ WhatsApp float ============ */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.45);
  transition: transform 0.25s ease;
  animation: waPulse 2.4s infinite;
}

@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.wa-float:hover { transform: scale(1.1); }

.wa-tooltip {
  position: fixed;
  right: 92px;
  bottom: 36px;
  background: var(--navy);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: 10px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 999;
  white-space: nowrap;
}

.wa-float:hover ~ .wa-tooltip { opacity: 1; visibility: visible; }

/* ============ Inner page hero ============ */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  top: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-hero .crumbs { font-size: 13px; color: #9fb4cd; margin-bottom: 12px; }

.page-hero .crumbs a:hover { color: var(--orange); }

.page-hero h1 { font-size: clamp(28px, 4.2vw, 44px); font-weight: 800; margin-bottom: 12px; position: relative; z-index: 1; }

.page-hero p { color: #c6d5e8; font-size: 16.5px; max-width: 720px; position: relative; z-index: 1; }

.page-hero .lead-actions { margin-top: 24px; position: relative; z-index: 1; }

/* ============ Course info ============ */
.course-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

@media (max-width: 900px) { .course-overview { grid-template-columns: 1fr; } }

.course-overview h3 { color: var(--navy); font-size: 21px; margin-bottom: 14px; }

.course-overview p { color: var(--muted); margin-bottom: 14px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }

.chips li {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  color: var(--navy);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}

.facts { display: grid; gap: 14px; }

.fact {
  display: flex;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: var(--shadow-card);
}

.fact .f-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 11px;
  background: rgba(247, 147, 30, 0.12);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
}

.fact strong { display: block; color: var(--navy); font-size: 15px; }

.fact span { color: var(--muted); font-size: 13px; }

/* ============ University detail ============ */
.univ-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff;
  padding: 56px 0;
}

.univ-hero-inner { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }

.univ-hero-logo {
  width: 120px;
  height: 120px;
  object-fit: contain;
  background: #fff;
  border-radius: 20px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.univ-hero h1 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 800; margin-bottom: 8px; }

.univ-hero .meta { display: flex; flex-wrap: wrap; gap: 16px; color: #b9c9dd; font-size: 14px; margin-bottom: 14px; }

.univ-hero .meta span { display: inline-flex; align-items: center; gap: 6px; }

.univ-hero .type-badge {
  background: var(--orange);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 5px 14px;
  border-radius: 999px;
  margin-left: 8px;
}

.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 6px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.rating-badge .star { color: var(--orange); }

.univ-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

@media (max-width: 900px) { .univ-layout { grid-template-columns: 1fr; } }

.univ-main h3 { color: var(--navy); font-size: 21px; margin: 30px 0 14px; }

.univ-main h3:first-child { margin-top: 0; }

.univ-main p { color: var(--muted); margin-bottom: 12px; }

.highlights-list { display: grid; gap: 12px; }

.highlights-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  color: var(--text);
}

.highlights-list .tick {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(247, 147, 30, 0.15);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 800;
}

.course-links { display: flex; flex-wrap: wrap; gap: 10px; }

.course-links a {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--navy);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.course-links a:hover { background: var(--orange); border-color: var(--orange); color: #fff; }

.sidebar-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
  box-shadow: var(--shadow-card);
  margin-bottom: 22px;
}

.sidebar-card h4 { color: var(--navy); font-size: 16px; margin-bottom: 14px; }

.sidebar-facts { display: grid; gap: 12px; }

.sidebar-facts li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 14px;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 10px;
}

.sidebar-facts li:last-child { border-bottom: none; padding-bottom: 0; }

.sidebar-facts span { color: var(--muted); }

.sidebar-facts strong { color: var(--navy); text-align: right; }

.sticky-side { position: sticky; top: 92px; }

/* ============ Contact page ============ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 56px;
}

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}

.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }

.contact-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: rgba(247, 147, 30, 0.12);
  color: var(--orange-dark);
  display: grid;
  place-items: center;
}

.contact-card h3 { color: var(--navy); font-size: 17px; margin-bottom: 8px; }

.contact-card p { color: var(--muted); font-size: 14px; margin-bottom: 6px; }

.contact-card a { color: var(--orange-dark); font-weight: 700; font-size: 15px; }

.contact-card a:hover { text-decoration: underline; }

/* ============ FAQ ============ */
.faq-list { max-width: 780px; margin: 0 auto; display: grid; gap: 14px; }

.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--navy);
  padding: 18px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.faq-q .chev { transition: transform 0.3s ease; color: var(--orange); flex-shrink: 0; }

.faq-item.open .faq-q .chev { transform: rotate(180deg); }

.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }

.faq-a p { padding: 0 20px 18px; color: var(--muted); font-size: 14.5px; }

/* ============ Utility ============ */
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-24 { margin-bottom: 24px; }

.text-center { text-align: center; }

.grid-head-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 30px;
}

.filter-tabs { display: flex; gap: 10px; flex-wrap: wrap; }

.filter-tab {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--navy);
  font-weight: 700;
  font-size: 13.5px;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-tab:hover { border-color: var(--orange); color: var(--orange-dark); }

.filter-tab.active { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible { opacity: 1; transform: none; }

.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ============ Breadcrumb + misc ============ */
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }

.empty-state { text-align: center; padding: 40px 20px; color: var(--muted); }

/* ============ 404 ============ */
.error-wrap { text-align: center; padding: 90px 20px; }

.error-wrap h1 { font-size: 90px; color: var(--navy); font-weight: 800; }

.error-wrap h2 { color: var(--navy); margin-bottom: 10px; }

.error-wrap p { color: var(--muted); margin-bottom: 26px; }
