/* ============================================================
   TECHMED INSTITUTE OF PROFESSIONAL STUDIES (TMIPS)
   BESPOKE INSTITUTIONAL DESIGN SYSTEM (CSS3)
   Colors: Sovereign Deep Navy (#050f22, #071630, #0b1f3d) & Academic Gold (#c9a227, #f3d77d)
   Craft: Ultra-premium, human-designed institutional web engineering
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,600;0,700;0,800;0,900;1,600;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;700&display=swap');

:root {
  --navy-950: #030a17;
  --navy-900: #071630;
  --navy-850: #0b1f3d;
  --navy-800: #11284d;
  --navy-700: #183664;
  --navy-card: rgba(11, 31, 61, 0.85);

  --gold-300: #fceda2;
  --gold-400: #f3d77d;
  --gold-500: #c9a227;
  --gold-600: #a98319;
  --gold-700: #8a680e;

  --gold-gradient: linear-gradient(135deg, #fff2b2 0%, #c9a227 50%, #8a680e 100%);
  --gold-glow: rgba(201, 162, 39, 0.35);
  --gold-subtle: rgba(201, 162, 39, 0.12);
  --gold-border: rgba(201, 162, 39, 0.28);

  --cream-50: #fffdf7;
  --cream-100: #faf7ef;
  --cream-200: #f3eedc;
  --cream-300: #e5dcbe;

  --ink-900: #0e1726;
  --ink-800: #1e293b;
  --ink-700: #334155;
  --ink-500: #64748b;

  --emerald: #10b981;
  --emerald-bg: #ecfdf5;
  --ruby: #e11d48;
  --ruby-bg: #fff1f2;
  --amber: #f59e0b;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 20px -2px rgba(7, 22, 48, 0.05);
  --shadow-card: 0 12px 32px -4px rgba(7, 22, 48, 0.08), 0 4px 12px -2px rgba(7, 22, 48, 0.04);
  --shadow-hover: 0 22px 48px -6px rgba(7, 22, 48, 0.16), 0 8px 24px -4px rgba(201, 162, 39, 0.12);
  --shadow-glass: 0 16px 40px rgba(3, 10, 23, 0.45);
  --shadow-glow: 0 0 40px rgba(201, 162, 39, 0.28);

  --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--cream-100);
  color: var(--ink-800);
  line-height: 1.65;
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy-850);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

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

ul {
  list-style: none;
}

/* ===== LIVE NOTICE TICKER ===== */
.notice-ticker {
  background: linear-gradient(90deg, var(--navy-950), #10213d, var(--navy-950));
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  overflow: hidden;
  height: 38px;
  position: relative;
  z-index: 1001;
}

.ticker-badge-wrap {
  background: var(--navy-950);
  padding: 0 16px 0 5%;
  height: 100%;
  display: flex;
  align-items: center;
  z-index: 20;
  box-shadow: 10px 0 16px rgba(3, 10, 23, 0.95);
  flex-shrink: 0;
  position: relative;
}

.ticker-badge {
  background: var(--ruby);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.ticker-badge::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  animation: pulseDot 1.4s infinite;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(0.7);
  }
}

.ticker-wrap {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  padding-right: 20px;
}

.ticker-track {
  display: inline-flex;
  gap: 60px;
  white-space: nowrap;
  will-change: transform;
  animation: marqueeNotice 35s linear infinite;
}

.ticker-wrap:hover .ticker-track {
  animation-play-state: paused;
}

@keyframes marqueeNotice {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* ===== TOPBAR ===== */
.topbar {
  background: var(--navy-950);
  color: var(--gold-400);
  font-size: 0.78rem;
  font-weight: 500;
  padding: 8px 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-bottom: 1px solid rgba(201, 162, 39, 0.15);
  max-width: 100vw;
  overflow: hidden;
}

.topbar-items {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}

.topbar-items a {
  color: #d0daf0;
}

.topbar-items a:hover {
  color: var(--gold-300);
}

.topbar-badge {
  background: rgba(201, 162, 39, 0.12);
  border: 1px solid var(--gold-500);
  color: var(--gold-300);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  letter-spacing: 0.5px;
  font-weight: 700;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .topbar {
    padding: 6px 12px;
    justify-content: center;
    text-align: center;
    gap: 8px;
  }
  .topbar-items {
    gap: 8px 14px;
    justify-content: center;
    font-size: 0.73rem;
  }
  .topbar-badge {
    font-size: 0.65rem;
    padding: 2px 8px;
  }
}

@media (max-width: 480px) {
  .topbar-items:first-child span:first-child {
    display: none;
  }
}

/* ===== MAIN HEADER & NAV ===== */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(7, 22, 48, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 2px solid var(--gold-500);
  box-shadow: 0 10px 36px rgba(3, 10, 23, 0.35);
}

.navwrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 4%;
  max-width: 1440px;
  margin: 0 auto;
}

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

.brand-mark {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--gold-400);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.4);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.brand:hover .brand-mark {
  transform: scale(1.05) rotate(2deg);
}

.brand-text h1 {
  color: #fff;
  font-size: 1.45rem;
  letter-spacing: 0.5px;
  font-weight: 800;
  line-height: 1;
}

.brand-text span {
  color: var(--gold-400);
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  margin-top: 3px;
}

nav.mainnav {
  display: flex;
  gap: 4px;
  align-items: center;
  flex-wrap: nowrap;
}

nav.mainnav > .navitem {
  position: relative;
  display: flex;
  align-items: center;
}

nav.mainnav a.top-link,
nav.mainnav button.top-link {
  background: none;
  border: 1px solid transparent;
  cursor: pointer;
  color: #e5eaf5;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  height: 38px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  white-space: nowrap !important;
  letter-spacing: 0.1px;
  box-sizing: border-box;
  transition: var(--transition-smooth);
}

nav.mainnav a.top-link:hover,
nav.mainnav button.top-link:hover,
nav.mainnav .navitem.active > .top-link {
  color: var(--gold-300);
  background: rgba(201, 162, 39, 0.14);
  border-color: rgba(201, 162, 39, 0.28);
}

.dropdown {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  background: var(--cream-50);
  min-width: 290px;
  box-shadow: 0 20px 50px rgba(3, 10, 23, 0.35);
  border-top: 3px solid var(--gold-500);
  border-radius: 0 0 10px 10px;
  display: none;
  padding: 8px 0;
  z-index: 200;
  animation: fadeInDown 0.25s ease forwards;
}

.navitem:hover .dropdown {
  display: block;
}

.dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 11px 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy-850);
  border-bottom: 1px solid #f1ebd8;
  transition: var(--transition-smooth);
}

.dropdown a:hover {
  background: var(--cream-200);
  color: var(--gold-600);
  padding-left: 26px;
}

.dropdown a:last-child {
  border-bottom: none;
}

.nav-btn-gold {
  background: var(--gold-gradient) !important;
  color: var(--navy-950) !important;
  height: 38px !important;
  padding: 0 18px !important;
  border-radius: var(--radius-full) !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 18px rgba(201, 162, 39, 0.35);
  letter-spacing: 0.3px;
  border: 1px solid #f3e5ab !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.nav-btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.55);
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
  z-index: 1002;
}

.hamburger:hover,
.hamburger:focus {
  background: rgba(201, 162, 39, 0.12);
}

.hamburger span {
  width: 26px;
  height: 2.5px;
  background: var(--gold-400);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease, background 0.2s ease;
  display: block;
  transform-origin: center;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
  background: var(--gold-300);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
  background: var(--gold-300);
}

@media (max-width: 992px) {
  .hamburger {
    order: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: rgba(201, 162, 39, 0.12);
    border: 1.5px solid var(--gold-500);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
    z-index: 100002;
    transition: all 0.25s ease;
  }

  .navwrap {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 10px 16px;
    width: 100%;
    max-width: 100vw;
    box-sizing: border-box;
    margin: 0;
  }

  .brand {
    order: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: calc(100% - 56px);
    flex: 0 1 auto;
    margin: 0;
    text-decoration: none;
  }

  nav.mainnav {
    order: 3;
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    flex-basis: 100%;
    background: #030a17;
    background: linear-gradient(180deg, rgba(3, 10, 23, 0.99) 0%, rgba(7, 22, 48, 0.99) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(201, 162, 39, 0.3);
    border-bottom: 3px solid var(--gold-500);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85);
    border-radius: 0 0 16px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 10px 0 24px;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 100000;
    box-sizing: border-box;
  }

  nav.mainnav.open {
    display: flex;
    animation: mobileNavSlideDown 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes mobileNavSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  nav.mainnav > .navitem {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  nav.mainnav a.top-link,
  nav.mainnav button.top-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 14px 24px;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    font-size: 0.95rem;
    color: #e5eaf5;
    height: auto;
    box-sizing: border-box;
  }

  nav.mainnav a.top-link:hover,
  nav.mainnav button.top-link:hover,
  nav.mainnav .navitem.active > .top-link {
    color: var(--gold-300);
    background: rgba(201, 162, 39, 0.12);
  }

  .dropdown {
    position: static;
    box-shadow: none;
    border-top: none;
    background: rgba(0, 0, 0, 0.3);
    min-width: 0;
    padding: 6px 0;
    border-radius: 0;
    display: none;
    border-left: 3px solid var(--gold-500);
    margin: 0;
  }

  .navitem.open .dropdown {
    display: block;
    animation: none;
  }

  .dropdown a {
    color: #cbd5e1;
    padding: 11px 24px 11px 36px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .dropdown a:hover {
    color: var(--gold-300);
    background: rgba(201, 162, 39, 0.1);
    padding-left: 40px;
  }

  .nav-btn-gold {
    margin: 16px 24px 6px !important;
    width: calc(100% - 48px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    height: 44px !important;
    font-size: 0.92rem !important;
  }
}

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  min-height: 88vh;
  background: radial-gradient(ellipse at 75% 30%, #153360 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: #fff;
  padding: 100px 5% 110px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

#hero3DCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.hero-container {
  max-width: 1360px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
}

.eyebrow {
  color: var(--gold-400);
  letter-spacing: 2.5px;
  font-size: 0.82rem;
  text-transform: uppercase;
  font-weight: 800;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 32px;
  height: 2.5px;
  background: var(--gold-500);
  border-radius: 2px;
}

.hero h2 {
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
}

.hero h2 em {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}

.hero p {
  color: #d1dcee;
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 680px;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 30px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
  letter-spacing: 0.2px;
}

.btn-gold {
  background: var(--gold-gradient);
  color: var(--navy-950);
  border-color: var(--gold-500);
  box-shadow: 0 8px 26px rgba(201, 162, 39, 0.38);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #ffffff 0%, var(--gold-300) 60%, var(--gold-500) 100%);
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(201, 162, 39, 0.55);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--gold-400);
  color: #fff;
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(201, 162, 39, 0.2);
  border-color: var(--gold-300);
  color: #fff;
  transform: translateY(-3px);
}

/* HIGH-CONTRAST CARD ACTION BUTTONS ON LIGHT BACKGROUNDS */
.highlight-card .btn-outline,
.highlight-card .btn,
.card .btn-outline,
.why-card .btn-outline,
.btn-card-action {
  color: #0b1a38 !important;
  background: rgba(201, 162, 39, 0.12) !important;
  border: 1.5px solid #c9a227 !important;
  font-weight: 800 !important;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.15);
  transition: var(--transition-smooth);
}

.highlight-card .btn-outline:hover,
.highlight-card .btn:hover,
.card .btn-outline:hover,
.btn-card-action:hover {
  background: linear-gradient(135deg, #c9a227 0%, #e8cf7a 100%) !important;
  color: #040e24 !important;
  border-color: #997517 !important;
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.35);
  transform: translateY(-2px);
}

.stat-strip {
  display: flex;
  gap: 36px;
  margin-top: 50px;
  padding-top: 36px;
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  flex-wrap: wrap;
}

/* ===== WHY CHOOSE TMIPS 4-COLUMN LUXURY GRID ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 30px;
  max-width: 1360px;
  margin: 0 auto;
}

.why-card {
  background: #ffffff;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: 40px 30px;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(7, 22, 48, 0.06);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.why-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-400);
  box-shadow: 0 20px 45px rgba(7, 22, 48, 0.14);
}

.why-card:hover::before {
  opacity: 1;
}

.why-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.05) 100%);
  border: 1.5px solid rgba(201, 162, 39, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.15);
  transition: all 0.3s ease;
}

.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-850));
  border-color: var(--gold-400);
  transform: scale(1.08) rotate(3deg);
}

.why-card:hover .why-icon svg {
  fill: var(--gold-300) !important;
}

.why-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-950);
  margin-bottom: 12px;
  line-height: 1.3;
}

.why-card p {
  font-size: 0.95rem;
  color: var(--ink-700);
  line-height: 1.7;
  margin: 0;
}

.stat-strip div {
  border-left: 3.5px solid var(--gold-500);
  padding-left: 18px;
}

.stat-strip strong {
  display: block;
  font-size: 2.1rem;
  color: var(--gold-400);
  font-family: 'Playfair Display', serif;
  font-weight: 800;
  line-height: 1;
}

.stat-strip span {
  font-size: 0.78rem;
  color: #b9c8de;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
  font-weight: 600;
}

.hero-card {
  background: var(--navy-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(243, 215, 125, 0.25);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  box-shadow: var(--shadow-glass);
  position: relative;
}

.hero-card-glow {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(243, 215, 125, 0.4), transparent 60%, rgba(201, 162, 39, 0.2));
  z-index: -1;
  pointer-events: none;
}

.hero-card h3 {
  color: var(--gold-400);
  font-size: 1.55rem;
  margin-bottom: 14px;
}

.hero-card p {
  font-size: 0.96rem;
  color: #d1dcee;
  margin-bottom: 24px;
  line-height: 1.6;
}

.quick-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.q-feat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(201, 162, 39, 0.22);
  border-radius: var(--radius-sm);
  padding: 16px;
  font-size: 0.86rem;
  color: #e5eefc;
  transition: var(--transition-smooth);
}

.q-feat:hover {
  background: rgba(201, 162, 39, 0.15);
  border-color: var(--gold-400);
}

.q-feat strong {
  display: block;
  color: var(--gold-300);
  font-size: 0.92rem;
  margin-bottom: 4px;
}

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero p {
    margin: 0 auto 36px;
  }

  .eyebrow {
    justify-content: center;
  }

  .eyebrow::before {
    display: none;
  }

  .hero h2 {
    font-size: 2.6rem;
  }

  .hero-btns {
    justify-content: center;
  }

  .stat-strip {
    justify-content: center;
    text-align: left;
  }
}

/* ===== PAGE BANNER ===== */
.page-banner {
  background: radial-gradient(ellipse at 70% 30%, #153360 0%, var(--navy-900) 60%, var(--navy-950) 100%);
  color: #fff;
  padding: 70px 5% 80px;
  text-align: center;
  position: relative;
  border-bottom: 3px solid var(--gold-500);
}

.page-banner h2 {
  color: #fff;
  font-size: 2.85rem;
  margin-bottom: 14px;
  font-weight: 800;
}

.page-banner p {
  color: #d1dcee;
  font-size: 1.12rem;
  max-width: 720px;
  margin: 0 auto;
}

/* ===== GENERAL SECTIONS ===== */
section {
  padding: 90px 5%;
  position: relative;
}

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

.section-head .eyebrow {
  color: var(--gold-700);
  justify-content: center;
}

.section-head h3 {
  font-size: 2.6rem;
  margin-bottom: 14px;
  font-weight: 800;
}

.section-head p {
  color: var(--ink-500);
  font-size: 1.08rem;
  line-height: 1.7;
}

/* ===== 29-COURSE CATALOG & CONTROLS ===== */
.catalog-controls {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.cat-tab-btn {
  background: var(--cream-50);
  border: 1.5px solid var(--cream-300);
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  color: var(--navy-850);
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-subtle);
}

.cat-tab-btn:hover {
  border-color: var(--gold-500);
  color: var(--gold-700);
  transform: translateY(-2px);
}

.cat-tab-btn.active {
  background: var(--navy-850);
  color: var(--gold-300);
  border-color: var(--navy-850);
  box-shadow: 0 6px 20px rgba(11, 31, 61, 0.3);
}

.course-search-wrap {
  max-width: 520px;
  margin: 0 auto 45px;
  position: relative;
}

.course-search-input {
  width: 100%;
  padding: 16px 24px 16px 52px;
  border: 2px solid var(--cream-300);
  border-radius: 40px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  background: #fff;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
}

.course-search-input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 4px rgba(201, 162, 39, 0.18);
}

.course-search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold-600);
  font-size: 1.25rem;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 30px;
  max-width: 1360px;
  margin: 0 auto;
}

.course-card {
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  position: relative;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
}

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold-500);
}

.course-card .num {
  position: absolute;
  top: 22px;
  right: 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold-600);
  background: var(--gold-subtle);
  padding: 4px 10px;
  border-radius: 12px;
  border: 1px solid rgba(201, 162, 39, 0.3);
}

.course-card h4 {
  font-size: 1.35rem;
  margin: 12px 0 10px;
  font-weight: 700;
}

.course-card p {
  font-size: 0.92rem;
  color: var(--ink-500);
  margin-bottom: 22px;
  flex-grow: 1;
  line-height: 1.65;
}

.course-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #eee5cd;
  padding-top: 16px;
}

.course-card .tag {
  font-size: 0.76rem;
  background: var(--gold-subtle);
  color: var(--gold-700);
  border: 1px solid var(--gold-border);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-weight: 700;
}

.course-card .inq-link {
  font-size: 0.88rem;
  color: var(--navy-850);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.course-card .inq-link:hover {
  color: var(--gold-600);
  padding-left: 3px;
}

/* ===== HIGHLIGHT & FACILITY CARDS ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1360px;
  margin: 0 auto;
}

.highlight-card {
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: 38px 28px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.highlight-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gold-gradient);
  opacity: 0;
  transition: opacity 0.3s;
}

.highlight-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold-500);
  box-shadow: var(--shadow-hover);
}

.highlight-card:hover::before {
  opacity: 1;
}

.card-icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid var(--gold-border);
  box-shadow: 0 6px 16px rgba(7, 22, 48, 0.2);
}

.card-icon-badge svg {
  width: 28px;
  height: 28px;
  fill: var(--gold-300);
}

.highlight-card h4 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.highlight-card p {
  font-size: 0.94rem;
  color: var(--ink-500);
  line-height: 1.7;
}

/* ===== PARTNER HOSPITALS TICKER ===== */
.hospital-ticker {
  background: var(--navy-900);
  padding: 50px 5%;
  border-top: 2px solid var(--gold-500);
  border-bottom: 2px solid var(--gold-500);
  color: #fff;
  text-align: center;
}

.hospital-ticker h4 {
  color: var(--gold-300);
  font-size: 1.45rem;
  margin-bottom: 28px;
}

.hospital-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.hospital-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--gold-border);
  padding: 14px 24px;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.95rem;
  color: #e5eefc;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.hospital-pill:hover {
  background: rgba(201, 162, 39, 0.18);
  border-color: var(--gold-300);
  transform: translateY(-2px);
}

/* ===== ABOUT WRAPPER ===== */
.about-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 55px;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
}

.about-text h4 {
  font-size: 1.75rem;
  margin-bottom: 20px;
}

.about-text p {
  color: var(--ink-700);
  font-size: 1.02rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.badge-row {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.badge-row span {
  background: var(--gold-subtle);
  border: 1.5px solid var(--gold-500);
  color: var(--gold-700);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: var(--radius-full);
}

.about-panel {
  background: linear-gradient(145deg, var(--navy-900), var(--navy-800));
  color: #fff;
  border-radius: var(--radius-md);
  padding: 44px 38px;
  border: 1px solid var(--gold-border);
  box-shadow: var(--shadow-glass);
}

.about-panel h4 {
  color: var(--gold-300);
  font-size: 1.45rem;
  margin-bottom: 16px;
}

.about-panel p {
  color: #d0daf0;
  font-size: 0.98rem;
  line-height: 1.8;
  margin-bottom: 22px;
}

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

/* ===== FRANCHISE SECTION ===== */
.franchise-section {
  background: radial-gradient(ellipse at 50% 20%, #132e56 0%, var(--navy-900) 70%, var(--navy-950) 100%);
  color: #fff;
}

.franchise-section .section-head h3 {
  color: #fff;
}

.franchise-section .section-head p {
  color: #c5d2e5;
}

.franchise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1360px;
  margin: 0 auto 45px;
}

.franchise-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--gold-border);
  padding: 40px 32px;
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  transition: var(--transition-smooth);
}

.franchise-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-300);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-glass);
}

.franchise-card h4 {
  color: var(--gold-300);
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.franchise-card p {
  color: #cdd8eb;
  font-size: 0.96rem;
  line-height: 1.7;
}

/* ===== STUDENT & ADMIN PORTALS ===== */
.studentlogin-section {
  background: radial-gradient(ellipse at 50% 20%, #11284d 0%, var(--navy-900) 65%, var(--navy-950) 100%);
  color: #fff;
}

.studentlogin-section .section-head h3 {
  color: #fff;
}

.studentlogin-section .section-head p {
  color: #c5d2e5;
}

.zone-tabs {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.zone-tab-btn {
  background: var(--cream-50);
  border: 2px solid var(--cream-300);
  padding: 13px 26px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  color: var(--navy-850);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.zone-tab-btn:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.zone-tab-btn.active {
  background: var(--navy-850);
  color: var(--gold-300);
  border-color: var(--navy-850);
  box-shadow: 0 6px 20px rgba(11, 31, 61, 0.35);
}

.zone-panel {
  display: none;
}

.zone-panel.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

.gate {
  max-width: 500px;
  margin: 0 auto;
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: 44px 38px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.gate h4 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.gate input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--cream-300);
  border-radius: var(--radius-sm);
  margin: 18px 0 12px;
  font-size: 1rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-smooth);
}

.gate input:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.18);
}

.gate .err {
  color: var(--ruby);
  background: var(--ruby-bg);
  padding: 8px 12px;
  border-radius: var(--radius-xs);
  font-size: 0.88rem;
  font-weight: 700;
  display: none;
  margin-bottom: 14px;
}

.tool-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  max-width: 1400px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .tool-wrap {
    grid-template-columns: 1fr;
  }
}

.form-card {
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-subtle);
}

.form-card h4 {
  font-size: 1.35rem;
  margin-bottom: 22px;
  border-bottom: 2px solid var(--gold-500);
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--navy-850);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  font-size: 0.96rem;
  font-family: inherit;
  outline: none;
  transition: var(--transition-smooth);
  background: #fff;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(201, 162, 39, 0.15);
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.subj-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr auto;
  gap: 10px;
  margin-bottom: 12px;
  align-items: center;
}

.subj-row input {
  padding: 9px 12px;
  font-size: 0.88rem;
}

.subj-row button {
  background: var(--ruby-bg);
  color: var(--ruby);
  border: 1px solid var(--ruby);
  border-radius: var(--radius-sm);
  width: 34px;
  height: 34px;
  cursor: pointer;
  font-weight: 800;
  transition: var(--transition-smooth);
}

.subj-row button:hover {
  background: var(--ruby);
  color: #fff;
}

.add-subj-btn {
  background: none;
  border: 1.5px dashed var(--gold-500);
  color: var(--gold-700);
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  margin-top: 8px;
  transition: var(--transition-smooth);
  width: 100%;
}

.add-subj-btn:hover {
  background: var(--gold-subtle);
}

.photo-drop {
  border: 2px dashed var(--cream-300);
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
  cursor: pointer;
  margin-bottom: 20px;
  background: #fbf9f2;
  transition: var(--transition-smooth);
}

.photo-drop:hover {
  border-color: var(--gold-500);
  background: var(--cream-200);
}

.photo-drop img {
  max-height: 90px;
  margin: 0 auto 8px;
  border-radius: 4px;
}

.gen-btn {
  width: 100%;
  background: var(--navy-850);
  color: var(--gold-300);
  border: none;
  padding: 15px;
  border-radius: var(--radius-sm);
  font-weight: 800;
  font-size: 0.98rem;
  cursor: pointer;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition-smooth);
}

.gen-btn:hover {
  background: var(--navy-950);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(11, 31, 61, 0.35);
}

/* ===== PREVIEW & OFFICIAL DOCUMENTS ===== */
.preview-shell {
  background: #e9e3d0;
  border-radius: var(--radius-md);
  padding: 32px;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.08);
}

.doc {
  background: #fffdf9;
  width: 100%;
  max-width: 720px;
  border: 1px solid var(--cream-300);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
  position: relative;
  overflow: hidden;
}

.doc::before {
  display: none !important;
}

/* Authentic Institutional Watermark Engine (Admit Cards & Marksheets) */
.doc-watermark {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  pointer-events: none !important;
  z-index: 0 !important;
  user-select: none !important;
  overflow: hidden !important;
}

.doc-watermark-logo {
  width: 275px !important;
  height: 275px !important;
  object-fit: contain !important;
  opacity: 0.10 !important;
  filter: contrast(120%) grayscale(25%) !important;
  transform: rotate(-10deg) !important;
  pointer-events: none !important;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

.doc-watermark-text {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) rotate(-28deg) !important;
  font-size: 2.2rem !important;
  font-weight: 900 !important;
  font-family: 'Playfair Display', Georgia, serif !important;
  color: rgba(201, 162, 39, 0.10) !important;
  letter-spacing: 7px !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  pointer-events: none !important;
  -webkit-print-color-adjust: exact !important;
  print-color-adjust: exact !important;
}

.doc-info,
table.marks,
.grand-total,
.instructions,
.doc-disclaimer {
  position: relative !important;
  z-index: 1 !important;
}

.doc-header {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-850));
  color: #fff;
  padding: 22px 28px;
  display: flex;
  align-items: center;
  gap: 18px;
  border-bottom: 4px solid var(--gold-500);
  position: relative;
  z-index: 1;
}

.doc-header .mark {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--gold-300);
}

.doc-header h5 {
  color: #fff;
  font-size: 1.25rem;
  font-family: 'Playfair Display', serif;
  font-weight: 800;
}

.doc-header small {
  color: var(--gold-300);
  font-size: 0.72rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
}

.doc-banner {
  background: linear-gradient(90deg, var(--gold-500), var(--gold-300), var(--gold-500));
  color: var(--navy-950);
  text-align: center;
  padding: 9px;
  font-weight: 800;
  font-size: 0.94rem;
  letter-spacing: 1.2px;
  position: relative;
  z-index: 1;
}

.doc-body {
  padding: 30px;
  position: relative;
  z-index: 1;
}

.doc-info {
  display: grid;
  grid-template-columns: 1fr 110px;
  gap: 24px;
  margin-bottom: 20px;
}

.doc-info table {
  width: 100%;
  font-size: 0.92rem;
  border-collapse: collapse;
  color: #0b1a38;
}

.doc-info table td {
  padding: 6px 0;
  vertical-align: top;
  color: #0b1a38;
}

.doc-info table td:first-child {
  color: #475569;
  width: 38%;
  font-weight: 700;
}

.doc-info table td:last-child {
  color: #040e22;
  font-weight: 800;
}

.doc-photo-box {
  width: 100px;
  height: 120px;
  border: 2px solid var(--cream-300);
  background: #f4f0e2;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 0.72rem;
  color: #999;
  border-radius: 4px;
}

.doc-photo-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

table.marks {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 0.9rem;
  color: #0b1a38;
}

table.marks th {
  background: #f4efdc;
  color: var(--navy-850);
  padding: 11px 14px;
  text-align: left;
  font-size: 0.82rem;
  text-transform: uppercase;
  border-top: 2px solid var(--navy-850);
  border-bottom: 2px solid var(--navy-850);
  font-weight: 800;
}

table.marks td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--cream-300);
  color: #0f172a;
  font-weight: 600;
}

table.marks tr.total-row td {
  background: #fdfbf5;
  color: var(--navy-950);
  font-weight: 900;
  border-top: 2px solid var(--navy-850);
  border-bottom: 2px solid var(--navy-850);
}

.grand-total {
  text-align: right;
  margin-top: 18px;
  font-size: 0.96rem;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.grand-total strong {
  color: var(--navy-850);
  font-size: 1.25rem;
}

.pass-pill {
  background: var(--emerald-bg);
  color: var(--emerald);
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.84rem;
}

.fail-pill {
  background: var(--ruby-bg);
  color: var(--ruby);
  font-weight: 800;
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.84rem;
}

.doc-disclaimer {
  font-size: 0.74rem;
  color: var(--ink-500);
  margin-top: 24px;
  border-top: 1px solid #e0d8be;
  padding-top: 14px;
  text-align: center;
  line-height: 1.6;
}

/* ID Card Layout */
.idcard {
  width: 350px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
  background: #fff;
  border: 1px solid var(--cream-300);
}

.idcard-head {
  background: linear-gradient(135deg, var(--navy-950), var(--navy-850));
  color: #fff;
  padding: 18px;
  text-align: center;
  border-bottom: 4px solid var(--gold-500);
}

.idcard-head h5 {
  color: #fff;
  font-size: 1.15rem;
  font-family: 'Playfair Display', serif;
}

.idcard-head small {
  color: var(--gold-300);
  font-size: 0.65rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.idcard-body {
  padding: 20px;
  display: flex;
  gap: 16px;
}

.idcard-photo {
  width: 90px;
  height: 110px;
  border: 2px solid var(--gold-500);
  flex-shrink: 0;
  background: #f4f0e2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: #999;
  border-radius: 6px;
  overflow: hidden;
}

.idcard-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.idcard-details p {
  font-size: 0.78rem;
  margin-bottom: 5px;
  color: #3a4560;
}

.idcard-details b {
  color: var(--navy-850);
  display: block;
  font-size: 0.94rem;
  margin-bottom: 4px;
}

.idcard-foot {
  background: var(--cream-200);
  padding: 11px 18px;
  font-size: 0.72rem;
  text-align: center;
  color: #556;
  border-top: 1px solid var(--cream-300);
  font-weight: 600;
}

/* Certificate Layout */
.certificate {
  background: #fffdf9;
  width: 100%;
  max-width: 800px;
  border: 14px solid var(--navy-850);
  padding: 12px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
}

.certificate-inner {
  border: 2.5px solid var(--gold-500);
  padding: 48px 40px;
  text-align: center;
  position: relative;
  background: #fffefb;
}

.certificate-inner::before {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid var(--gold-300);
  pointer-events: none;
}

.cert-mark {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 2px solid var(--gold-300);
  box-shadow: 0 4px 16px rgba(201, 162, 39, 0.35);
  overflow: hidden;
}

.cert-title {
  font-family: 'Playfair Display', serif;
  color: var(--gold-600);
  font-size: 2.1rem;
  margin: 24px 0 6px;
  font-weight: 800;
}

.cert-sub {
  font-size: 0.96rem;
  color: var(--ink-500);
  margin-bottom: 18px;
}

.cert-name {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  color: var(--navy-850);
  margin: 14px 0;
  border-bottom: 2px solid var(--gold-500);
  display: inline-block;
  padding-bottom: 8px;
  font-weight: 800;
}

.cert-body {
  font-size: 1.05rem;
  color: #334;
  line-height: 2.1;
  max-width: 640px;
  margin: 0 auto 28px;
}

.cert-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: 44px;
  font-size: 0.88rem;
  color: #556;
}

.cert-foot .sig {
  border-top: 1px solid #99a;
  padding-top: 8px;
  min-width: 170px;
  text-align: center;
}

.cert-foot .sig img {
  max-height: 58px;
  display: block;
  margin: 0 auto 6px;
}

/* Fee Receipt Layout */
.receipt {
  background: #fffdf9;
  width: 100%;
  max-width: 560px;
  border: 1px solid var(--cream-300);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}

.receipt-body {
  padding: 30px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px dashed var(--cream-300);
  font-size: 0.94rem;
}

.receipt-row span:first-child {
  color: var(--ink-500);
  font-weight: 600;
}

.receipt-amount {
  background: var(--cream-200);
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-sm);
  padding: 18px;
  text-align: center;
  margin-top: 22px;
}

.receipt-amount .amt {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  color: var(--navy-850);
  font-weight: 900;
}

.receipt-amount .lbl {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--gold-700);
  letter-spacing: 1.4px;
  font-weight: 800;
}

.instructions {
  margin-top: 20px;
  font-size: 0.82rem;
  color: #445;
  background: #f5efe0;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--gold-500);
  line-height: 1.65;
}

.print-btn {
  margin-top: 20px;
  width: 100%;
  background: var(--gold-gradient);
  color: var(--navy-950);
  border: none;
  padding: 15px;
  font-weight: 800;
  font-size: 0.98rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
  transition: var(--transition-smooth);
}

.print-btn:hover {
  background: linear-gradient(135deg, #fff, var(--gold-300));
  transform: translateY(-2px);
}

/* ===== CONTACT SECTION ===== */
.contact-box {
  background: var(--cream-50);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-md);
  padding: 44px;
  box-shadow: var(--shadow-subtle);
}

.contact-pill {
  background: var(--cream-100);
  border: 1px solid var(--cream-300);
  border-radius: var(--radius-sm);
  padding: 20px 18px;
}

.contact-pill span {
  display: block;
  font-size: 0.78rem;
  color: var(--gold-700);
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-pill strong {
  display: block;
  font-size: 1rem;
  color: var(--navy-850);
  word-break: break-word;
}

@media (max-width: 768px) {
  .contact-box,
  .form-card {
    padding: 24px 18px;
  }

  .contact-pill {
    padding: 14px 14px;
  }
}

/* ===== FOOTER ===== */
footer {
  background: var(--navy-950);
  color: #c3cde0;
  padding: 75px 5% 30px;
  border-top: 3px solid var(--gold-500);
}

.foot-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 42px;
  max-width: 1360px;
  margin: 0 auto 50px;
}

.foot-grid h5 {
  color: var(--gold-300);
  font-size: 1.18rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.foot-grid p,
.foot-grid a:not(.btn) {
  font-size: 0.94rem;
  color: #aab4cb;
  display: block;
  margin-bottom: 12px;
}

.foot-grid a:not(.btn):hover {
  color: var(--gold-300);
  padding-left: 5px;
}

.foot-grid a.btn {
  display: inline-flex !important;
  color: #071530 !important;
  text-decoration: none !important;
  margin-bottom: 0 !important;
}

.foot-grid a.btn-gold {
  background: linear-gradient(135deg, #e8cf7a 0%, #c9a227 50%, #b38b16 100%) !important;
  color: #071530 !important;
  font-weight: 900 !important;
  border: 1px solid #f3e5ab !important;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.4) !important;
}

.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 26px;
  text-align: center;
  font-size: 0.86rem;
  color: #8894ac;
}

/* Floating WhatsApp CTA */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #25D366;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  z-index: 2000;
  cursor: pointer;
  transition: transform 0.25s ease;
}

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

.wa-float svg {
  width: 36px;
  height: 36px;
  fill: #fff;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

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

/* ===== TMIPS CLASSIC & MODERN PRELOADER ===== */
.tmips-preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: radial-gradient(circle at 50% 45%, #0e2752 0%, #06152e 55%, #020712 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.75s;
  overflow: hidden;
  user-select: none;
}

.tmips-preloader.loaded {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-20px) scale(0.98);
  pointer-events: none;
}

.preloader-bg-glow {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, rgba(201, 162, 39, 0.02) 60%, transparent 80%);
  filter: blur(40px);
  pointer-events: none;
  animation: preloaderPulseGlow 3s ease-in-out infinite alternate;
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 440px;
  padding: 20px;
}

/* Emblem & Orbitals */
.preloader-crest-wrapper {
  position: relative;
  width: 140px;
  height: 140px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.crest-orbital-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.crest-orbital-ring.ring-outer {
  inset: -14px;
  border: 1.5px dashed rgba(201, 162, 39, 0.45);
  animation: preloaderSpin 14s linear infinite;
  box-shadow: 0 0 20px rgba(201, 162, 39, 0.2);
}

.crest-orbital-ring.ring-inner {
  inset: -6px;
  border: 1px solid rgba(243, 215, 125, 0.35);
  border-top-color: var(--gold-400);
  border-bottom-color: var(--gold-400);
  animation: preloaderSpinReverse 8s linear infinite;
}

.preloader-crest-box {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: #ffffff;
  padding: 4px;
  border: 2.5px solid var(--gold-400);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(201, 162, 39, 0.35);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: preloaderCrestFloat 3s ease-in-out infinite;
}

.preloader-crest-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.crest-sparkle-dot {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px #ffe599, 0 0 20px #e8cf7a;
}

.crest-sparkle-dot.dot-1 {
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: preloaderDotOrbital 4s linear infinite;
}

/* Typography */
.preloader-text-block {
  margin-bottom: 24px;
}

.preloader-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  background: linear-gradient(135deg, #ffffff 0%, #fae8a4 50%, #c9a227 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 4px;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.preloader-subtitle {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 4px;
  color: #94a3b8;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.preloader-crest-est {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--gold-400);
  letter-spacing: 1.8px;
  border-top: 1px solid rgba(201, 162, 39, 0.35);
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  padding: 2px 14px;
}

/* Progress bar */
.preloader-progress-shell {
  width: 260px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 12px;
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.preloader-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #997517, #e8cf7a, #ffffff);
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(232, 207, 122, 0.8);
  transition: width 0.15s ease-out;
}

.preloader-status {
  display: flex;
  justify-content: space-between;
  width: 260px;
  font-size: 0.72rem;
  color: #8899b5;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}

.preloader-pct {
  color: var(--gold-300);
  font-weight: 800;
}

/* Preloader Keyframes */
@keyframes preloaderSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes preloaderSpinReverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes preloaderCrestFloat {

  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-5px) scale(1.02);
  }
}

@keyframes preloaderPulseGlow {
  0% {
    opacity: 0.4;
    transform: scale(0.9);
  }

  100% {
    opacity: 0.8;
    transform: scale(1.15);
  }
}

/* ============================================================
   COURSE DETAIL PAGE ARCHITECTURE (Dynamic 29+ Programs)
   ============================================================ */

.course-detail-hero {
  background: radial-gradient(circle at 80% 20%, #0d2757 0%, #061530 60%, #030a17 100%);
  padding: 50px 0 60px;
  border-bottom: 3px solid var(--gold-500);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.course-detail-hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: radial-gradient(rgba(201, 162, 39, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  pointer-events: none;
}

.course-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  color: #94a3b8;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.course-breadcrumb a {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
}

.course-breadcrumb a:hover {
  color: #e8cf7a;
}

.course-breadcrumb span {
  color: #64748b;
}

.course-breadcrumb .curr {
  color: #e8cf7a;
  font-weight: 700;
}

.course-hero-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.badge-code {
  background: linear-gradient(135deg, #c9a227, #84600e);
  color: #040e22;
  font-weight: 900;
  font-family: 'JetBrains Mono', monospace;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
}

.badge-cat,
.badge-duration,
.badge-govt {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.35);
  color: #e8cf7a;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

.course-hero-title {
  font-size: 2.35rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  color: #ffffff;
  margin: 0 0 12px;
  line-height: 1.25;
}

.course-hero-tagline {
  font-size: 1.05rem;
  color: #cbd5e1;
  max-width: 860px;
  line-height: 1.65;
  margin-bottom: 28px;
}

.course-hero-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin-bottom: 32px;
}

.stat-pill {
  background: rgba(7, 22, 50, 0.85);
  border: 1px solid rgba(201, 162, 39, 0.3);
  padding: 14px 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.stat-pill .stat-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.stat-pill strong {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.5px;
}

.stat-pill span {
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 700;
}

.course-hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: 1px solid #20ba5a;
  border-radius: var(--radius-sm);
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-whatsapp:hover {
  background: #1ebc59;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.35);
  color: #fff;
}

.btn-outline-hero {
  background: transparent;
  color: #e8cf7a;
  border: 1.5px solid rgba(201, 162, 39, 0.5);
  border-radius: var(--radius-sm);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-smooth);
}

.btn-outline-hero:hover {
  background: rgba(201, 162, 39, 0.15);
  border-color: #e8cf7a;
  color: #ffffff;
}

/* STICKY SUB-NAVIGATION STRIP */
.course-sticky-nav {
  position: sticky;
  top: 74px;
  z-index: 990;
  background: rgba(6, 19, 44, 0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--gold-500);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: top 0.2s ease;
}

@media (max-width: 992px) {
  .course-sticky-nav {
    top: 68px;
  }
}

.course-nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none;
}

.course-nav-links::-webkit-scrollbar {
  display: none;
}

.course-nav-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  white-space: nowrap;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.course-nav-links a:hover,
.course-nav-links a.active {
  color: #040e22;
  background: #e8cf7a;
  border-color: #c9a227;
  box-shadow: 0 4px 12px rgba(201, 162, 39, 0.3);
}

.course-nav-links .apply-nav-btn {
  margin-left: auto;
  background: linear-gradient(135deg, #c9a227, #84600e);
  color: #040e22 !important;
  font-weight: 800;
  padding: 8px 20px;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.45);
}

.course-nav-links .apply-nav-btn:hover {
  background: #f1df9a;
  transform: translateY(-1px);
}

/* Smooth section scroll anchors */
.course-card-section,
.sidebar-card,
#overview,
#syllabus,
#labs,
#career,
#certification,
#faqs,
#apply {
  scroll-margin-top: 145px;
}

/* COURSE DETAIL BODY LAYOUT */
.course-detail-body {
  background: #fbf9f4;
  padding: 40px 0 80px;
}

.course-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 36px;
  align-items: start;
}

/* LEFT COLUMN CARD SECTIONS */
.course-card-section {
  background: #ffffff;
  border: 1px solid #e9e2d0;
  border-radius: 12px;
  padding: 34px 30px;
  margin-bottom: 28px;
  box-shadow: 0 4px 16px rgba(11, 31, 61, 0.05);
}

.section-badge-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  border-bottom: 2px solid #f4eedd;
  padding-bottom: 14px;
}

.section-badge-title .icon {
  font-size: 1.45rem;
}

.section-badge-title h3 {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  color: var(--navy-950);
  margin: 0;
}

.overview-text {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  margin: 0 0 16px;
}

.skills-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 12px;
}

.skill-item {
  background: #fbf9f4;
  border: 1px solid #eee5cd;
  border-radius: 8px;
  padding: 12px 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: #1e293b;
  font-weight: 600;
  line-height: 1.5;
}

.skill-item .check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #10b981;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* SYLLABUS ACCORDION & TABLE */
.syllabus-accordion {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.syllabus-block {
  border: 1.5px solid #e2d7be;
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.syllabus-block-head {
  background: linear-gradient(135deg, #091a38, #051024);
  color: #ffffff;
  padding: 16px 20px;
}

.syllabus-block-head .term-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #e8cf7a;
  letter-spacing: 1px;
  margin-bottom: 4px;
  display: inline-block;
}

.syllabus-block-head h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.syllabus-block-body {
  padding: 0;
  overflow-x: auto;
}

.syllabus-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.syllabus-table th {
  background: #f8f5eb;
  color: var(--navy-900);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.75rem;
  padding: 10px 16px;
  text-align: left;
  border-bottom: 1.5px solid #eee5cd;
}

.syllabus-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #f1ebd9;
  color: #334155;
}

.subj-type-tag {
  background: rgba(201, 162, 39, 0.15);
  color: #84600e;
  border: 1px solid rgba(201, 162, 39, 0.3);
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

/* LAB FEATURES */
.lab-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.lab-feature-pill {
  background: #fdfcf9;
  border: 1px solid #e8dec7;
  border-radius: 8px;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
}

.lab-feature-pill .lab-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* CAREER ROLES */
.career-roles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}

.career-role-card {
  background: #f8fbfd;
  border: 1px solid #dce9f5;
  border-radius: 8px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.career-role-card .role-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.career-role-card strong {
  display: block;
  font-size: 0.94rem;
  color: var(--navy-900);
  margin-bottom: 2px;
}

.career-role-card span {
  font-size: 0.76rem;
  color: #64748b;
}

/* FAQS LIST */
.course-faqs-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: #fdfcf9;
  border: 1px solid #eee5cd;
  border-radius: 8px;
  padding: 16px 18px;
}

.faq-question {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--navy-950);
  margin: 0 0 6px;
}

.faq-answer {
  font-size: 0.9rem;
  color: #475569;
  margin: 0;
  line-height: 1.6;
}

/* RIGHT COLUMN STICKY SIDEBAR */
.course-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-card {
  background: #ffffff;
  border: 1px solid #e9e2d0;
  border-radius: 12px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(11, 31, 61, 0.06);
}

.sidebar-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  color: var(--navy-950);
  margin: 0 0 16px;
  border-bottom: 1.5px solid #eee5cd;
  padding-bottom: 10px;
}

.snapshot-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.snapshot-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.86rem;
  border-bottom: 1px dashed #eee5cd;
  padding-bottom: 8px;
}

.snapshot-list li span {
  color: #64748b;
}

.snapshot-list li strong {
  color: var(--navy-950);
  text-align: right;
  max-width: 60%;
}

.related-courses-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.related-course-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #fdfbf7;
  border: 1px solid #eee5cd;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.related-course-item:hover {
  background: #fffdf9;
  border-color: #c9a227;
  transform: translateX(4px);
}

.related-course-item .rel-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.related-course-item .rel-info {
  flex: 1;
  min-width: 0;
}

.related-course-item .rel-code {
  font-size: 0.68rem;
  font-family: monospace;
  color: #c9a227;
  font-weight: 700;
  display: block;
}

.related-course-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy-900);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.related-course-item .rel-duration {
  font-size: 0.72rem;
  color: #64748b;
}

.related-course-item .rel-arrow {
  color: #c9a227;
  font-weight: 800;
}

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

  .course-sidebar {
    position: static;
  }

  .course-hero-title {
    font-size: 1.85rem;
  }
}

/* Print Media Layout */
@media print {

  /* Public Site & Admin Portal Elements to Hide */
  header,
  footer,
  .notice-ticker,
  .topbar,
  .zone-tabs,
  .wa-float,
  .hero,
  .page-banner,
  .gate,
  #hero3DCanvas,
  .tmips-preloader,
  .admin-sidebar,
  .admin-topbar,
  .admin-menu-toggle,
  .form-card,
  .admin-table-card,
  .admin-table-head,
  .admin-login-screen,
  .preview-control-bar,
  .no-print,
  button,
  .btn,
  .gen-btn,
  .add-subj-btn,
  .photo-drop,
  .admin-nav,
  .admin-user-profile,
  .print-btn {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  html,
  body,
  .admin-body {
    background: #ffffff !important;
    color: #000000 !important;
    margin: 0 !important;
    padding: 0 !important;
    min-height: auto !important;
    width: 100% !important;
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .admin-layout,
  .admin-main,
  .admin-content,
  .tool-wrap,
  .preview-shell {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    background: #ffffff !important;
  }
}

/* ===== FOUNDER & LEADERSHIP PAGE STYLES ===== */
.founder-hero {
  background: radial-gradient(ellipse at 50% 20%, #112952 0%, var(--navy-900) 60%, var(--navy-950) 100%);
  padding: 60px 20px 50px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}

.founder-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 40px;
  align-items: center;
}

@media (max-width: 900px) {
  .founder-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.founder-card-frame {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
  position: relative;
}

.founder-avatar-box {
  width: 160px;
  height: 160px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-600));
  padding: 4px;
  box-shadow: 0 0 25px rgba(201, 162, 39, 0.35);
  position: relative;
}

.founder-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--navy-950);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 3px solid var(--navy-900);
}

.founder-avatar-inner svg {
  width: 90px;
  height: 90px;
  fill: var(--gold-300);
}

.founder-title-badge {
  display: inline-block;
  background: rgba(201, 162, 39, 0.15);
  border: 1px solid var(--gold-border);
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.founder-timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
  padding-left: 30px;
  border-left: 2px solid rgba(201, 162, 39, 0.3);
}

.founder-timeline-item {
  position: relative;
  margin-bottom: 35px;
}

.founder-timeline-item::before {
  content: '';
  position: absolute;
  left: -37px;
  top: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--gold-400);
  border: 3px solid var(--navy-950);
  box-shadow: 0 0 10px rgba(201, 162, 39, 0.6);
}

.founder-timeline-year {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  color: var(--gold-700);
  background: rgba(201, 162, 39, 0.12);
  padding: 3px 12px;
  border-radius: 12px;
  margin-bottom: 6px;
}

/* ===== STUDY CENTRE / FRANCHISE DIRECTORY STYLES ===== */
.centre-directory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 1360px;
  margin: 40px auto;
}

.centre-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-200);
  box-shadow: 0 6px 22px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.centre-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-500);
  box-shadow: 0 14px 32px rgba(11, 31, 61, 0.12);
}

.centre-card-header {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #ffffff;
  padding: 22px 24px;
  position: relative;
  border-bottom: 2px solid var(--gold-500);
}

.centre-code-pill {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(201, 162, 39, 0.2);
  border: 1px solid var(--gold-400);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 14px;
  letter-spacing: 1px;
}

.centre-card-body {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.centre-info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
}

.centre-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.9rem;
  color: var(--ink-700);
  line-height: 1.5;
}

.centre-info-list li .info-icon {
  flex-shrink: 0;
  width: 20px;
  color: var(--gold-600);
  margin-top: 2px;
}

.centre-facilities-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.centre-facility-tag {
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  color: var(--navy-900);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 6px;
}

.centre-card-footer {
  border-top: 1px solid var(--ink-100);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.mca-badge-banner {
  background: linear-gradient(135deg, #071530 0%, #0d2550 100%) !important;
  border: 2px solid var(--gold-border) !important;
  border-radius: var(--radius-md);
  padding: 26px 30px;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  gap: 24px;
  margin: 30px auto;
  max-width: 1360px;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.25);
}

.mca-badge-banner h3 {
  color: #ffffff !important;
}

.mca-badge-banner p {
  color: #e2e8f0 !important;
}

.mca-badge-banner strong {
  color: #fbbf24 !important;
}

.mca-badge-banner span {
  color: #e8cf7a !important;
}

@media (max-width: 768px) {
  .mca-badge-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }
}

.mca-badge-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(201, 162, 39, 0.15);
  border: 1.5px solid var(--gold-400);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}

/* ===== PRINT MEDIA STYLES ===== */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 11pt !important;
  }

  .topbar,
  header,
  .mainnav,
  .hamburger,
  footer,
  .notice-ticker,
  .page-banner,
  .wa-float,
  .zone-tabs,
  .cta-block,
  .btn,
  button,
  .form-card,
  #preloaderBar,
  #tmipsPreloader {
    display: none !important;
  }

  .admin-wrap {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .admin-section-pane {
    display: none !important;
  }

  .admin-section-pane.active {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .doc,
  .idcard,
  .certificate,
  .receipt,
  .print-area {
    display: block !important;
    box-shadow: none !important;
    margin: 0 auto !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
    background: #ffffff !important;
    color: #000000 !important;
  }

  .doc.print-area,
  .certificate.print-area,
  .receipt.print-area {
    width: 100% !important;
    max-width: 100% !important;
  }

  .idcard.print-area {
    width: 320px !important;
    max-width: 320px !important;
    border: 2px solid #0b1a38 !important;
    margin: 20px auto !important;
  }

  @page {
    size: auto;
    margin: 8mm;
  }
}

/* ============================================================
   GLOBAL PREMIUM BUTTON SYSTEM (High-Contrast & Visible Text)
   ============================================================ */
.btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  font-family: inherit !important;
  font-size: 0.92rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  padding: 12px 24px !important;
  border-radius: 8px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  text-align: center !important;
  border: 1.5px solid transparent !important;
}

.btn:hover {
  transform: translateY(-2px) !important;
  text-decoration: none !important;
}

.btn:active {
  transform: translateY(0) !important;
}

/* 1. GOLD LUXURY BUTTON (Deep Navy Text on Rich Gold) */
.btn-gold {
  background: linear-gradient(135deg, #e8cf7a 0%, #c9a227 50%, #b38b16 100%) !important;
  color: #071530 !important;
  font-weight: 900 !important;
  border: 1px solid #f3e5ab !important;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6) !important;
  text-shadow: none !important;
}

.btn-gold:hover {
  background: linear-gradient(135deg, #f5df93 0%, #d8b233 50%, #c4991c 100%) !important;
  color: #020b18 !important;
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
}

/* 2. OUTLINE BUTTON (HIGH CONTRAST) */
.btn-outline {
  background: #ffffff !important;
  color: #071530 !important;
  border: 2px solid #071530 !important;
  font-weight: 800 !important;
}

.page-banner .btn-outline,
.founder-hero .btn-outline,
.dark-section .btn-outline {
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.5) !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.btn-outline:hover {
  background: #071530 !important;
  color: #ffffff !important;
  border-color: #071530 !important;
}

.page-banner .btn-outline:hover,
.founder-hero .btn-outline:hover,
.dark-section .btn-outline:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
  border-color: #ffffff !important;
}

/* 3. WHATSAPP BUTTON (Crisp White Text on Green) */
.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35) !important;
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #2ee071 0%, #159c8d 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5) !important;
}

/* 4. NAVY BUTTON */
.btn-navy {
  background: linear-gradient(135deg, #071530 0%, #0d2550 100%) !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  border: 1px solid var(--gold-border) !important;
  box-shadow: 0 4px 14px rgba(7, 21, 48, 0.3) !important;
}

.btn-navy:hover {
  background: linear-gradient(135deg, #0c234b 0%, #12336e 100%) !important;
  color: #ffffff !important;
  border-color: var(--gold-400) !important;
}