/* ==========================================================================
   Apollo Apex Group of Institutions — Design System
   Colors: Deep Navy Blue (#0a192f), Teal / Cyan (#0e7490, #06b6d4), 
           Warm Champagne Gold (#d4af37, #f59e0b), Pure White / Slate (#f8fafc)
   ========================================================================== */

:root {
  --navy-dark: #051928;
  --navy-primary: #004d6b;
  --navy-surface: #005f84;
  --teal-accent: #007c9d;
  --teal-light: #22a9cc;
  --gold-primary: #f5a623;
  --gold-glow: #e28704;
  --gold-light: #fef3c7;
  --slate-dark: #1e293b;
  --slate-muted: #64748b;
  --slate-border: #e2e8f0;
  --bg-light: #f4f8fa;
  --bg-card: #ffffff;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(0, 77, 107, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 77, 107, 0.1);
  --shadow-lg: 0 16px 40px rgba(0, 77, 107, 0.16);
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-light);
  color: var(--slate-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.25s ease;
}

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.container {
  width: min(1240px, 92%);
  margin-inline: auto;
}

/* ==========================================================================
   Typography & Reusable Utilities
   ========================================================================== */
.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
  color: var(--gold-glow);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 0.8rem;
}

.section-heading {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-primary);
  line-height: 1.25;
  margin-bottom: 0.8rem;
  letter-spacing: -0.5px;
}

.section-sub {
  color: var(--slate-muted);
  font-size: 1.05rem;
  max-width: 680px;
  margin-inline: auto;
}

.gold-gradient {
  background: linear-gradient(135deg, #fcd34d 0%, #d4af37 50%, #f59e0b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 50px;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.btn-gold {
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
  color: #07111e;
  font-weight: 700;
  box-shadow: 0 4px 18px rgba(245, 158, 11, 0.35);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.45);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.btn-ai-glass {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.35), rgba(6, 182, 212, 0.25));
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #ffffff;
  backdrop-filter: blur(8px);
}
.btn-ai-glass:hover {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.6), rgba(6, 182, 212, 0.45));
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy-primary);
  color: #ffffff;
}
.btn-navy:hover {
  background: var(--navy-surface);
  transform: translateY(-2px);
}

.btn-outline-wa {
  border: 1.5px solid #22c55e;
  color: #15803d;
  background: rgba(34, 197, 94, 0.08);
}
.btn-outline-wa:hover {
  background: #22c55e;
  color: #ffffff;
}

.btn-ai {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}
.btn-ai:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  transform: translateY(-2px);
}

/* ==========================================================================
   Top Announcement Bar
   ========================================================================== */
.topbar {
  background: var(--navy-dark);
  color: #94a3b8;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 0;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.topbar-info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar-info a {
  color: #f1f5f9;
  font-weight: 600;
}
.topbar-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gold-glow);
  font-weight: 700;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--gold-glow);
  border-radius: 50%;
  animation: pulseAnim 1.8s infinite;
}
@keyframes pulseAnim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 10px var(--gold-glow); }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.topbar-wa {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #4ade80;
  font-weight: 600;
}
.topbar-cta-link {
  color: var(--gold-primary);
  font-weight: 700;
  text-decoration: none;
}
.topbar-cta-link:hover {
  color: #ffffff;
}

.btn-outline-wa-hero {
  border: 1.5px solid #22c55e;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.15);
  backdrop-filter: blur(8px);
}
.btn-outline-wa-hero:hover {
  background: #22c55e;
  color: #ffffff;
  transform: translateY(-2px);
}

.dock-call {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-primary);
  color: #ffffff;
  padding: 8px 18px 8px 10px;
  border-radius: 50px;
  box-shadow: 0 8px 24px rgba(0, 77, 107, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dock-call:hover {
  transform: translateY(-3px);
  background: var(--navy-surface);
  box-shadow: 0 12px 30px rgba(0, 77, 107, 0.5);
}
.dock-call-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold-primary);
  color: #051928;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.dock-call-text {
  text-align: left;
}
.dock-call-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.1;
}
.dock-call-status {
  font-size: 0.72rem;
  color: #cbd5e1;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  z-index: 90;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}
.site-header.scrolled {
  box-shadow: 0 6px 20px rgba(10, 30, 59, 0.12);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand-logo-img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  background: #ffffff;
  padding: 4px;
  border-radius: 14px;
  border: 1.5px solid var(--slate-border);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease;
}
.brand-logo:hover .brand-logo-img {
  transform: scale(1.04);
}
.brand-crest {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--navy-primary) 0%, var(--navy-surface) 100%);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--gold-primary);
  font-size: 1.5rem;
  font-weight: 800;
  box-shadow: 0 4px 12px rgba(10, 30, 59, 0.2);
  position: relative;
}
.brand-crest.light {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--gold-glow);
}
.brand-footer-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background: #ffffff;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 12px;
}
.brand-names {
  display: flex;
  flex-direction: column;
}
.brand-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-primary);
  letter-spacing: 0.5px;
  line-height: 1.1;
}
.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--slate-muted);
  letter-spacing: 1.2px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 22px;
}
.nav-item {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--slate-dark);
}
.nav-item:hover {
  color: var(--teal-accent);
}

.nav-item-dropdown {
  position: relative;
}
.dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  border: 1px solid var(--slate-border);
  z-index: 100;
}
.dropdown-content a {
  display: block;
  padding: 8px 14px;
  font-size: 0.88rem;
  color: var(--navy-primary);
  border-radius: 8px;
  font-weight: 500;
}
.dropdown-content a:hover {
  background: var(--bg-light);
  color: var(--teal-accent);
}
.nav-item-dropdown:hover .dropdown-content {
  display: block;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2.5px;
  background: var(--navy-primary);
  border-radius: 2px;
}

/* ==========================================================================
   Hero Section — Nusantara International Academy Theme
   Full Campus Photography + Glassmorphic Frosted Glass + Modern Typography
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  color: #ffffff;
  padding: 80px 0 90px;
  overflow: hidden;
}

.hero-bg-media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  transition: transform 8s ease;
}

.hero-section:hover .hero-bg-img {
  transform: scale(1.05);
}

/* Cinematic Gradient Vignette Overlay */
.hero-vignette {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg, 
    rgba(5, 25, 40, 0.92) 0%, 
    rgba(5, 25, 40, 0.75) 45%, 
    rgba(5, 25, 40, 0.35) 80%,
    rgba(5, 25, 40, 0.6) 100%
  );
}

.hero-container-nusantara {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.35fr 0.95fr;
  gap: 50px;
  align-items: center;
}

/* Left Content Column */
.hero-kicker-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.kicker-line {
  width: 36px;
  height: 2px;
  background: var(--gold-primary);
}
.kicker-text {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold-primary);
  text-transform: uppercase;
}

.hero-main-title {
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1px;
  color: #ffffff;
  margin-bottom: 14px;
}

.highlight-gold {
  color: #fce79a;
  text-shadow: 0 2px 14px rgba(245, 166, 35, 0.35);
}

.hero-tagline-text {
  font-size: 1.05rem;
  font-weight: 600;
  color: #a7f3d0;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.hero-narrative {
  font-size: 1.02rem;
  line-height: 1.65;
  color: #e2e8f0;
  max-width: 620px;
  margin-bottom: 28px;
}

/* Stats Row */
.hero-stats-row {
  display: flex;
  gap: 36px;
  margin-bottom: 34px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 18px 0;
}
.h-stat-item {
  display: flex;
  flex-direction: column;
}
.h-stat-num {
  font-size: 2.1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}
.h-stat-lbl {
  font-size: 0.8rem;
  color: #cbd5e1;
  font-weight: 500;
  margin-top: 6px;
}

/* Action Buttons */
.hero-action-pills {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-nusantara-gold {
  background: var(--gold-primary);
  color: #051928;
  font-weight: 700;
  padding: 13px 26px;
  border-radius: 50px;
  font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(245, 166, 35, 0.4);
  transition: all 0.25s ease;
}
.btn-nusantara-gold:hover {
  background: #f8b446;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 166, 35, 0.55);
}

.btn-nusantara-glass {
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}
.btn-nusantara-glass:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-nusantara-wa {
  background: rgba(34, 197, 94, 0.18);
  border: 1.5px solid #22c55e;
  color: #4ade80;
  font-weight: 600;
  padding: 13px 22px;
  border-radius: 50px;
  backdrop-filter: blur(10px);
  transition: all 0.25s ease;
}
.btn-nusantara-wa:hover {
  background: #22c55e;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==========================================================================
   Right Column: Nusantara Glassmorphic Feature Card
   ========================================================================== */
.glass-feature-card {
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 24px;
  padding: 32px 28px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.glass-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  padding: 18px 20px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}
.glass-item:hover {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.14);
}

.glass-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(245, 166, 35, 0.2);
  border: 1.5px solid var(--gold-primary);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.glass-body h5 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.glass-body p {
  font-size: 0.84rem;
  color: #cbd5e1;
  line-height: 1.45;
  margin: 0;
}

.glass-card-bottom {
  margin-top: 6px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.glass-sub-note {
  display: block;
  font-size: 0.72rem;
  color: var(--gold-primary);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
}
.glass-card-bottom strong {
  font-size: 0.95rem;
  color: #ffffff;
}

/* ==========================================================================
   Metrics Banner
   ========================================================================== */
.metrics-banner {
  background: var(--navy-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 35px 0;
  color: #ffffff;
}
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.metric-item {
  padding: 10px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}
.metric-item:last-child {
  border-right: none;
}
.metric-num {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--gold-glow);
  line-height: 1;
  margin-bottom: 6px;
}
.metric-label {
  font-size: 0.85rem;
  color: #cbd5e1;
  font-weight: 500;
}

/* ==========================================================================
   Section: About Apollo Apex
   ========================================================================== */
.section {
  padding: 80px 0;
}
.about-section {
  background: #ffffff;
}
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}
.about-visuals {
  position: relative;
}
.visual-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.visual-card-main img {
  width: 100%;
  height: 440px;
  object-fit: cover;
}
.visual-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(10, 30, 59, 0.9);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.badge-icon {
  font-size: 1.8rem;
}
.visual-badge strong {
  display: block;
  font-size: 0.95rem;
}
.visual-badge span {
  font-size: 0.78rem;
  color: var(--teal-light);
}

.visual-card-sub {
  position: absolute;
  top: -24px;
  right: -24px;
  width: 190px;
  border: 4px solid #ffffff;
}
.visual-card-sub img {
  width: 100%;
  height: 150px;
  object-fit: cover;
}

.about-content .lead-text {
  font-size: 1.15rem;
  color: var(--navy-primary);
  margin-bottom: 1rem;
}
.about-content .body-text {
  color: var(--slate-muted);
  margin-bottom: 1.8rem;
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 2rem;
}
.pillar-box {
  display: flex;
  gap: 12px;
  background: var(--bg-light);
  padding: 16px;
  border-radius: var(--radius-md);
}
.pillar-icon {
  font-size: 1.6rem;
}
.pillar-box h4 {
  font-size: 0.95rem;
  color: var(--navy-primary);
  margin-bottom: 4px;
}
.pillar-box p {
  font-size: 0.82rem;
  color: var(--slate-muted);
  line-height: 1.45;
}
.about-action-group {
  display: flex;
  gap: 14px;
}

/* ==========================================================================
   Section: Academic Programmes (6 Courses)
   ========================================================================== */
.courses-section {
  background: var(--bg-light);
}
.course-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 30px 0 40px;
}
.c-tab {
  padding: 9px 20px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  background: #ffffff;
  color: var(--slate-dark);
  border: 1px solid var(--slate-border);
  transition: all 0.2s ease;
}
.c-tab.active,
.c-tab:hover {
  background: var(--navy-primary);
  color: #ffffff;
  border-color: var(--navy-primary);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 28px;
}
.course-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--slate-border);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.course-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}
.course-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.course-card:hover .course-img-wrap img {
  transform: scale(1.06);
}
.course-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(10, 30, 59, 0.85);
  backdrop-filter: blur(4px);
  color: var(--gold-glow);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 50px;
}

.course-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.course-code {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--teal-accent);
  letter-spacing: 1px;
}
.course-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin: 4px 0 10px;
}
.course-summary {
  font-size: 0.88rem;
  color: var(--slate-muted);
  line-height: 1.5;
  margin-bottom: 16px;
}

.course-meta {
  background: var(--bg-light);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.course-meta strong {
  color: var(--navy-primary);
}

.course-footer {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-details {
  flex-grow: 1;
  background: var(--navy-primary);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  transition: background 0.2s ease;
}
.btn-details:hover {
  background: var(--navy-surface);
}
.btn-icon-wa {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: transform 0.2s ease;
}
.btn-icon-wa:hover {
  transform: scale(1.1);
}

/* ==========================================================================
   Campus Facilities Section
   ========================================================================== */
.facilities-section {
  background: #ffffff;
}
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 40px;
}
.facility-card {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--slate-border);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.facility-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal-accent);
}
.f-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}
.facility-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-primary);
  margin-bottom: 8px;
}
.facility-card p {
  font-size: 0.88rem;
  color: var(--slate-muted);
  line-height: 1.55;
}

/* ==========================================================================
   Admissions Section
   ========================================================================== */
.admissions-section {
  background: radial-gradient(circle at 10% 50%, #0a192f 0%, #020617 100%);
  color: #ffffff;
}
.admissions-card-banner {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.tag-gold {
  color: var(--gold-glow);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.82rem;
  letter-spacing: 1.5px;
}
.admissions-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  margin: 8px 0 16px;
  color: #ffffff;
}
.admissions-copy p {
  color: #cbd5e1;
  font-size: 1rem;
  margin-bottom: 24px;
}

.adm-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}
.step-box {
  background: rgba(255, 255, 255, 0.06);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.step-num {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--teal-light);
  display: block;
}
.step-box h4 {
  font-size: 0.92rem;
  margin: 4px 0 6px;
}
.step-box p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin-bottom: 0;
}
.adm-cta-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-outline-white {
  border: 1.5px solid #ffffff;
  color: #ffffff;
}
.btn-outline-white:hover {
  background: #ffffff;
  color: var(--navy-primary);
}

.required-docs-box {
  background: #ffffff;
  color: var(--slate-dark);
  padding: 32px 28px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.3);
}
.required-docs-box h3 {
  font-size: 1.15rem;
  color: var(--navy-primary);
  margin-bottom: 16px;
  font-weight: 700;
}
.docs-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
}
.docs-list li {
  color: var(--slate-dark);
  font-weight: 500;
}
.doc-note {
  margin-top: 18px;
  font-size: 0.78rem;
  color: var(--slate-muted);
  border-top: 1px dashed var(--slate-border);
  padding-top: 10px;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
  background: #ffffff;
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-details-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.c-item {
  display: flex;
  gap: 14px;
}
.c-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-light);
  display: grid;
  place-items: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}
.c-item strong {
  font-size: 0.95rem;
  color: var(--navy-primary);
}
.c-item p,
.c-item a {
  font-size: 0.88rem;
  color: var(--slate-muted);
}
.c-item a:hover {
  color: var(--teal-accent);
}

.contact-map-box {
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.map-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
}
.map-overlay-info {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}
.map-overlay-info h4 {
  font-size: 0.92rem;
  color: var(--navy-primary);
}
.map-overlay-info p {
  font-size: 0.78rem;
  color: var(--slate-muted);
  margin-bottom: 6px;
}
.btn-sm {
  padding: 6px 14px;
  font-size: 0.78rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--navy-dark);
  color: #94a3b8;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 36px;
  padding-bottom: 40px;
}
.f-col-brand h3 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-top: 10px;
}
.f-tagline {
  color: var(--gold-glow);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
}
.f-about {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.f-wa-badge a {
  display: inline-block;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
}
.f-col h4 {
  color: #ffffff;
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 700;
}
.f-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.f-col a {
  font-size: 0.85rem;
  color: #94a3b8;
}
.f-col a:hover {
  color: var(--teal-light);
}
.f-col p {
  font-size: 0.85rem;
  margin-bottom: 8px;
}
.f-ai-pill {
  margin-top: 14px;
  display: inline-block;
  background: rgba(2, 132, 199, 0.15);
  color: var(--teal-light);
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 20px 0;
  font-size: 0.8rem;
}
.f-bot-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.f-bot-links span {
  margin: 0 4px;
}

/* ==========================================================================
   Floating Action Bar (WhatsApp & AI Assistant)
   ========================================================================== */
.floating-dock {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 99;
}
.dock-wa {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #22c55e;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 16px rgba(34, 197, 94, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dock-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.45);
}

.dock-counsellor {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--navy-primary) 0%, #007c9d 100%);
  color: #ffffff;
  padding: 6px 14px 6px 8px;
  border-radius: 50px;
  box-shadow: 0 4px 16px rgba(0, 77, 107, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}
.dock-counsellor:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 77, 107, 0.5);
}
.dock-counsellor-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  font-size: 0.95rem;
}
.dock-counsellor-text {
  text-align: left;
}
.dock-counsellor-title {
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.1;
}
.dock-counsellor-status {
  font-size: 0.65rem;
  color: #a7f3d0;
}
.counsellor-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}

/* ==========================================================================
   Apollo AI Modal Assistant
   ========================================================================== */
.ai-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  place-items: center;
  padding: 16px;
}
.ai-modal-overlay.open {
  display: grid;
}
.ai-modal-window {
  width: min(520px, 100%);
  height: min(650px, 92vh);
  background: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.ai-header {
  background: linear-gradient(135deg, var(--navy-primary) 0%, #0369a1 100%);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.ai-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ai-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
}
.ai-header h4 {
  font-size: 0.98rem;
  font-weight: 700;
}
.ai-active-indicator {
  font-size: 0.72rem;
  color: #4ade80;
}

.ai-header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.ai-lang-pill {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 4px 10px;
  border-radius: 50px;
  font-weight: 600;
}
.ai-close-btn {
  font-size: 1.8rem;
  color: #ffffff;
  line-height: 1;
  padding: 0 4px;
}

.ai-quick-topics {
  display: flex;
  gap: 6px;
  padding: 10px 16px;
  background: var(--bg-light);
  border-bottom: 1px solid var(--slate-border);
  overflow-x: auto;
  white-space: nowrap;
}
.ai-chip {
  font-size: 0.75rem;
  padding: 5px 12px;
  background: #ffffff;
  border: 1px solid var(--slate-border);
  border-radius: 50px;
  color: var(--navy-primary);
  font-weight: 600;
  transition: all 0.2s ease;
  flex-shrink: 0;
}
.ai-chip:hover {
  background: var(--navy-primary);
  color: #ffffff;
}

.ai-chat-body {
  flex-grow: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #fdfdfd;
}

.chat-bubble {
  max-width: 86%;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  position: relative;
  word-break: break-word;
}
.bot-bubble {
  align-self: flex-start;
  background: var(--bg-light);
  border: 1px solid var(--slate-border);
  color: var(--slate-dark);
}
.bot-name {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--teal-accent);
  margin-bottom: 4px;
}
.user-bubble {
  align-self: flex-end;
  background: var(--navy-primary);
  color: #ffffff;
}
.bubble-time {
  display: block;
  font-size: 0.65rem;
  color: #94a3b8;
  margin-top: 4px;
  text-align: right;
}

.ai-input-bar {
  padding: 12px 16px;
  border-top: 1px solid var(--slate-border);
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
}
.ai-input-bar input {
  flex-grow: 1;
  border: 1px solid var(--slate-border);
  padding: 10px 14px;
  border-radius: 50px;
  font-family: inherit;
  font-size: 0.88rem;
  outline: none;
}
.ai-input-bar input:focus {
  border-color: var(--teal-accent);
}
.btn-voice-mic {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-light);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  transition: all 0.2s ease;
}
.btn-voice-mic.listening {
  background: #ef4444;
  color: #ffffff;
  animation: pulseAnim 1s infinite;
}
.btn-ai-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--navy-primary);
  color: #ffffff;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.ai-disclaimer {
  font-size: 0.68rem;
  color: var(--slate-muted);
  text-align: center;
  padding: 4px 12px 10px;
  background: #ffffff;
}

/* ==========================================================================
   Course Details Modal
   ========================================================================== */
.course-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 25, 47, 0.7);
  backdrop-filter: blur(4px);
  z-index: 1000;
  place-items: center;
  padding: 16px;
}
.course-modal-overlay.open {
  display: grid;
}
.course-modal-window {
  width: min(700px, 100%);
  max-height: 85vh;
  background: #ffffff;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  position: relative;
  padding: 36px 32px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}
.modal-close-x {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 1.8rem;
  color: var(--slate-muted);
  line-height: 1;
}
.modal-close-x:hover {
  color: var(--navy-primary);
}

.modal-header-tag {
  color: var(--teal-accent);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
}
.modal-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin: 4px 0 16px;
}
.modal-block {
  margin-bottom: 20px;
}
.modal-block h4 {
  font-size: 0.95rem;
  color: var(--navy-primary);
  margin-bottom: 6px;
}
.modal-block p,
.modal-block ul {
  font-size: 0.88rem;
  color: var(--slate-muted);
  line-height: 1.6;
}
.modal-block ul {
  padding-left: 20px;
}
.modal-cta-row {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 992px) {
  .hero-container-nusantara {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-grid {
    grid-template-columns: 1fr;
  }
  .visual-card-sub {
    display: none;
  }
  .admissions-card-banner {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .adm-steps {
    grid-template-columns: 1fr;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .metric-item:nth-child(2) {
    border-right: none;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    display: none;
    max-height: 80vh;
    overflow-y: auto;
  }
  .nav-menu.open {
    display: flex;
  }
  
  .brand-logo-img {
    width: 52px;
    height: 52px;
  }
  .brand-title {
    font-size: 1.2rem;
  }
  .brand-subtitle {
    font-size: 0.6rem;
  }

  .nav-item-dropdown:hover .dropdown-content {
    display: none;
  }
  .nav-item-dropdown.active .dropdown-content {
    display: block;
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 10px;
  }

  .topbar {
    padding: 8px 0;
  }
  .topbar-info {
    font-size: 0.72rem;
    gap: 8px;
    justify-content: center;
    width: 100%;
  }
  .topbar-actions {
    display: none;
  }

  /* Hero Section Mobile Polish */
  .hero-section {
    padding: 40px 0 60px;
    min-height: auto;
  }
  .hero-container-nusantara {
    gap: 32px;
  }
  .hero-kicker-bar {
    margin-bottom: 12px;
  }
  .kicker-line {
    width: 24px;
  }
  .kicker-text {
    font-size: 0.72rem;
    letter-spacing: 1.2px;
  }
  .hero-main-title {
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .hero-tagline-text {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 14px;
  }
  .hero-narrative {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 22px;
  }

  .hero-stats-row {
    flex-wrap: wrap;
    gap: 18px 24px;
    padding: 14px 0;
    margin-bottom: 24px;
  }
  .h-stat-num {
    font-size: 1.6rem;
  }
  .h-stat-lbl {
    font-size: 0.75rem;
  }

  .hero-action-pills {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }
  .btn-nusantara-gold,
  .btn-nusantara-glass,
  .btn-nusantara-wa {
    width: 100%;
    text-align: center;
    padding: 12px 18px;
    font-size: 0.9rem;
  }

  .glass-feature-card {
    padding: 22px 18px;
    border-radius: 18px;
  }
  .glass-item {
    padding: 14px 14px;
    gap: 12px;
  }
  .glass-avatar {
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
  .glass-body h5 {
    font-size: 0.95rem;
  }
  .glass-body p {
    font-size: 0.8rem;
  }

  /* Courses Grid on Mobile */
  .courses-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .course-img-wrap {
    height: 175px;
  }
  .course-body {
    padding: 18px;
  }

  /* Facilities Grid on Mobile */
  .facilities-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .facility-card {
    padding: 20px;
  }

  /* Admissions Card on Mobile */
  .admissions-card-banner {
    gap: 30px;
  }
  .required-docs-box {
    padding: 22px 18px;
  }

  /* Contact Grid on Mobile */
  .contact-map-box {
    height: 300px;
  }

  /* Footer on Mobile */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  /* Floating Dock on Mobile - Compact & Neat */
  .floating-dock {
    bottom: 14px;
    right: 14px;
    gap: 8px;
  }
  .dock-wa {
    padding: 8px 12px;
    font-size: 0.75rem;
  }
  .dock-counsellor {
    padding: 5px 12px 5px 6px;
  }
  .dock-counsellor-title {
    font-size: 0.74rem;
  }
  .dock-counsellor-status {
    font-size: 0.6rem;
  }

  /* Modal on Mobile */
  .ai-modal-window {
    width: 96%;
    height: 85vh;
  }
  .course-modal-window {
    padding: 24px 18px;
    max-height: 90vh;
  }
  .modal-title {
    font-size: 1.3rem;
  }
  .modal-cta-row {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero-main-title {
    font-size: 1.75rem;
  }
  .dock-counsellor-status {
    display: none;
  }
  .dock-counsellor {
    padding: 7px 10px;
  }
}
