/* Outfit Font Family */
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/Outfit-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/Outfit-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/Outfit-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('assets/Outfit-ExtraBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('assets/Outfit-Black.ttf') format('truetype');
}

/* Inter Font Family */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('assets/Inter-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/Inter-Regular.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/Inter-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/Inter-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/Inter-Bold.ttf') format('truetype');
}

/* Cormorant Garamond Font Family */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('assets/CormorantGaramond-Medium.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('assets/CormorantGaramond-SemiBold.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/CormorantGaramond-Bold.ttf') format('truetype');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('assets/CormorantGaramond-MediumItalic.ttf') format('truetype');
}

:root {
  /* Premium Violet Palette */
  --bg-deep: #EDE9FF;
  --bg-card: #FFFFFF;
  --bg-accent: #E9E4FF;
  --bg-subtle: #EDE9FF;
  
  --primary: #7C3AED; /* Rich Violet */
  --primary-soft: #8B5CF6; /* Deeper Lavender */
  --primary-accent: #C4B5FD;
  --primary-bright: #6D28D9;
  --primary-glow: rgba(124, 58, 237, 0.15);
  
  --gradient-main: linear-gradient(135deg, #7C3AED, #A78BFA);
  
  /* High-Contrast Text */
  --text-bright: #0F172A; /* Midnight Slate */
  --text-main: #1E293B;
  --text-muted: #334155;
  
  --border-glass: rgba(124, 58, 237, 0.12);
  --border-glow: rgba(124, 58, 237, 0.2);
  
  --transition-lux: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --motion-bounce: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  /* Soft Lavender Shadows */
  --shadow-lux: 0 15px 35px -10px rgba(124, 58, 237, 0.15);
  --shadow-hover: 0 30px 60px -15px rgba(124, 58, 237, 0.25);
}

/* Custom Luxury Scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { 
    background: linear-gradient(to bottom, var(--primary), var(--primary-bright)); 
    border-radius: 10px;
    border: 3px solid var(--bg-deep);
}
::-webkit-scrollbar-thumb:hover { background: var(--primary-bright); }

/* ── RESET & BASE ───────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background-color: var(--bg-subtle); }

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-subtle);
  color: var(--text-main);
  line-height: 1.8;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle static background glow — no animation, no blur, no lag */
body::before {
    content: ''; position: fixed; top: -20%; right: -15%; width: 50%; height: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
    z-index: -1; pointer-events: none;
}
body::after {
    content: ''; position: fixed; bottom: -10%; left: -10%; width: 40%; height: 40%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    z-index: -1; pointer-events: none;
}

/* Static dot grid — no animation */
.bg-decoration {
    position: fixed; inset: 0; z-index: -1; pointer-events: none;
    opacity: 0.04;
    background-image: radial-gradient(var(--primary) 1px, transparent 1px);
    background-size: 50px 50px;
}

/* Static soft orbs — GPU-friendly, no animation */
.orb-container { position: fixed; inset: 0; z-index: -2; pointer-events: none; overflow: hidden; }
.orb {
    position: absolute; width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 70%);
    opacity: 1;
}
.orb-1 { top: -10%; left: -5%; }
.orb-2 { bottom: -10%; right: -5%; }

/* Decorative bubbles — static, no animation */
.bubble-container { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.bubble {
    position: absolute; border-radius: 50%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.05) 0%, transparent 70%);
    opacity: 1;
}
.b1 { width: 400px; height: 400px; top: 10%; left: -5%; }
.b2 { width: 300px; height: 300px; bottom: 20%; right: -5%; }
.b3 { width: 200px; height: 200px; top: 40%; left: 60%; }

::selection { background: var(--primary-bright); color: var(--bg-deep); }

h1, h2, h3 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-bright);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-bright);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-transform: uppercase;
}

.serif {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 500;
    font-style: italic;
    color: var(--primary-bright);
    letter-spacing: 0;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }

.premium-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(124, 58, 237, 0.08);
    color: var(--primary);
    border-radius: 100px;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

/* ── LAYOUT ─────────────────────────────────── */
section { padding: 100px 10%; position: relative; }


/* ── COMPONENTS ─────────────────────────────── */

/* Logo Styling */
.nav-logo { display: flex; align-items: center; }
.nav-logo img { transition: var(--transition-lux); display: block; }

nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 10%;
  transition: var(--transition-lux);
  background: #F5F3FF; /* Soft Lavender */
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 4px 15px rgba(124, 58, 237, 0.08);
}

nav.scrolled {
  padding: 18px 10%;
  background: rgba(245, 243, 255, 0.9); /* Translucent Lavender */
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: 0 10px 40px rgba(124, 58, 237, 0.12);
}

.nav-links { display: flex; gap: 40px; }
.nav-links a { 
    font-size: 13px; font-weight: 800; color: #475569; 
    text-transform: uppercase; letter-spacing: 0.15em;
    padding-bottom: 4px;
    position: relative;
    transition: var(--transition-lux);
}
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--primary); transition: var(--transition-lux);
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

/* Mobile Menu Close Icon */
.mobile-menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-lux);
}
.mobile-menu-close:hover {
    background: var(--primary);
    color: white;
}

/* Home Page Header Override removed to allow hero to start below header */

/* Landing Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 10%;
  overflow: hidden;
  background: #000;
}

.hero-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: transform 10s ease-out;
  pointer-events: none;
  z-index: 0;
}
.hero:hover .hero-img { transform: scale(1.05); }

.hero-content { position: relative; z-index: 10; max-width: 1000px; color: white; }
.hero h1 { font-size: clamp(48px, 10vw, 100px); color: white; margin-bottom: 30px; text-shadow: 0 10px 40px rgba(0,0,0,0.5); }
.hero p { font-size: 24px; color: rgba(255, 255, 255, 0.9); margin-bottom: 50px; line-height: 1.6; max-width: 800px; margin-left: 0; margin-right: auto; }


/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 40px; border-radius: 100px;
  font-weight: 800; font-size: 14px;
  cursor: pointer; transition: var(--transition-lux);
  border: none; text-transform: uppercase; letter-spacing: 0.1em;
}

.btn-primary {
  background: var(--gradient-main);
  color: white;
  box-shadow: 0 10px 20px -5px rgba(124, 58, 237, 0.3);
}
.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  filter: brightness(1.1);
  box-shadow: 0 15px 30px -5px rgba(124, 58, 237, 0.4);
}

.btn-white {
    background: #FFFFFF;
    color: var(--text-bright);
    border: 1px solid var(--border-glass);
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.btn-white:hover {
    background: #F8FAFC;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Internal Page Header */
.page-header {
    padding: 80px 10% 60px;
    text-align: center;
    background: var(--bg-subtle);
    border-bottom: 1px solid var(--border-glass);
}
.page-header h1 { 
    font-size: clamp(40px, 7vw, 72px); 
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-bright) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.page-header p { font-size: 18px; color: var(--text-muted); max-width: 650px; margin: 0 auto; line-height: 1.8; }

/* Cards & Grids */
.cards-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 40px;
}

.card {
  background: #FFFFFF;
  border: 1px solid rgba(124, 58, 237, 0.12);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 4px 20px rgba(124, 58, 237, 0.06);
  transition: var(--transition-lux);
  position: relative;
  z-index: 2;
  color: var(--text-main);
}
.card h3 { color: var(--text-bright); }

.card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: 0 20px 40px -10px rgba(124, 58, 237, 0.15);
}

.card-title { font-size: 32px; margin-bottom: 20px; color: var(--text-bright); font-weight: 800; }
.card-desc { font-size: 17px; color: var(--text-main); line-height: 1.8; }

/* Shimmer removed — was causing GPU lag with continuous rotation */

/* Locations / Map Optimizer */
.map-card { padding: 0 !important; overflow: hidden; }
.map-frame { 
    height: 400px; background: #e2e8f0; position: relative; 
    filter: grayscale(0.2) contrast(1);
    transition: var(--transition-lux);
}
.map-card:hover .map-frame { filter: grayscale(0) contrast(1.1); }
.map-frame iframe { width: 100%; height: 100%; border: none; pointer-events: none; }
.map-card:hover .map-frame iframe { pointer-events: auto; }

/* Team Card Premium */
.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 48px;
    padding: 70px 50px;
    text-align: center;
    backdrop-filter: blur(15px);
    transition: var(--transition-lux);
}
.team-avatar {
    width: 180px; height: 180px;
    border-radius: 50%;
    margin: 0 auto 40px;
    padding: 6px;
    background: linear-gradient(135deg, var(--primary), var(--primary-bright));
    box-shadow: 0 0 30px var(--primary-glow);
}
.team-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid var(--bg-deep); }
.team-role { font-size: 13px; color: var(--primary-bright); font-weight: 800; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 16px; display: block; }
.team-name { font-size: 32px; font-weight: 900; color: var(--text-bright); }

/* Course Card Premium */
.course-card {
    border-radius: 48px; overflow: hidden; position: relative;
    height: 520px; box-shadow: var(--shadow-lux); background: #000;
}
.course-overlay {
    background: linear-gradient(to bottom, transparent 20%, rgba(2, 6, 23, 0.95) 100%);
}

/* Animations */
.reveal { opacity: 0; transform: translateY(50px); transition: var(--transition-lux); }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.15s; }
.delay-2 { transition-delay: 0.3s; }
.delay-3 { transition-delay: 0.45s; }

/* Footer */
footer { padding: 100px 10% 60px; border-top: 1px solid rgba(124, 58, 237, 0.1); background: var(--bg-accent); }
.footer-grid { display: grid; grid-template-columns: 2.5fr 1fr 1fr; gap: 100px; margin-bottom: 100px; }
.footer-col h4 { font-size: 14px; color: var(--text-bright); text-transform: uppercase; letter-spacing: 3px; margin-bottom: 35px; }
.footer-col a { display: block; margin-bottom: 20px; color: var(--text-muted); font-size: 16px; }
.footer-col a:hover { color: var(--text-bright); transform: translateX(8px); }
.footer-bottom { border-top: 1px solid var(--border-glass); padding-top: 50px; display: flex; justify-content: space-between; font-size: 15px; color: var(--text-muted); }

/* ── RESPONSIVE DESIGN ──────────────────────── */
.mobile-menu { display: none; }

/* Base Nav Toggle */
.nav-mobile-toggle {
    display: none; width: 30px; height: 20px; position: relative; cursor: pointer; z-index: 2100;
}
.nav-mobile-toggle span {
    display: block; position: absolute; height: 2px; width: 100%; 
    background: #0F172A; border-radius: 9px; opacity: 1; left: 0; 
    transform: rotate(0deg); transition: .25s ease-in-out;
}
.nav-mobile-toggle span:nth-child(1) { top: 0px; }
.nav-mobile-toggle span:nth-child(2) { top: 9px; }
.nav-mobile-toggle span:nth-child(3) { top: 18px; }

.nav-mobile-toggle.active span:nth-child(1) { top: 9px; transform: rotate(135deg); }
.nav-mobile-toggle.active span:nth-child(2) { opacity: 0; left: -60px; }
.nav-mobile-toggle.active span:nth-child(3) { top: 9px; transform: rotate(-135deg); }


@media (max-width: 1200px) {
  section { padding: 80px 8%; }
  .hero { padding: 0 8%; }
  .footer-grid { gap: 60px; }
}

@media (max-width: 1100px) {
  .nav-links { display: none; } 
  .nav-mobile-toggle { display: block; }
  
  .footer-grid { grid-template-columns: 1.5fr 1fr; gap: 40px; }
  .footer-brand { grid-column: span 2; margin-bottom: 20px; }
  
  .cards-grid { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  nav { padding: 15px 5%; }
  
  .hero h1 { font-size: clamp(48px, 8vw, 80px); }
}

@media (max-width: 768px) {
  section { padding: 60px 24px; }
  .hero { height: auto; padding: 120px 24px 80px; text-align: center; align-items: center; justify-content: center; min-height: 80vh; }
  .hero-content { display: flex; flex-direction: column; align-items: center; text-align: center; width: 100%; }
  .hero-content div[style*="display: flex"] { flex-direction: column; width: 100%; gap: 16px; align-items: center; }
  .hero-content .btn { width: 100%; max-width: 320px; justify-content: center; }
  .hero p { margin-left: auto; margin-right: auto; }
  
  .accreditation-bar { gap: 30px !important; flex-wrap: wrap; justify-content: center; }
  .accreditation-bar img { height: 40px !important; }
  
  h2 { font-size: 32px !important; }
  .page-header { padding: 100px 24px 50px; }
  .page-header h1 { font-size: 36px; }
  
  .cards-grid { grid-template-columns: 1fr; gap: 24px; }
  
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .footer-brand { grid-column: span 1; display: flex; flex-direction: column; align-items: center; }
  .footer-col { align-items: center; }
  .footer-col a:hover { transform: translateY(-3px); }
  
  .footer-bottom { flex-direction: column-reverse; gap: 20px; text-align: center; padding-top: 40px; }
  .footer-bottom div[style*="display: flex"] { justify-content: center; gap: 20px !important; }

  /* Mobile Nav Overlay */
  .mobile-menu {
      position: fixed; top: 0; right: -100%; width: 100%; height: 100vh;
      background: #FFFFFF; z-index: 2000;
      display: flex; flex-direction: column; align-items: center; justify-content: center;
      gap: 20px; transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
      padding: 40px;
  }
  .mobile-menu.active { right: 0; display: flex; }
  .mobile-menu a { font-size: 20px; font-weight: 800; text-transform: uppercase; letter-spacing: 2px; color: #1E293B; }
  .mobile-menu a:hover, .mobile-menu a.active { color: var(--primary); }
  .mobile-menu-close { display: flex; color: var(--primary); background: rgba(124, 58, 237, 0.05); }

  /* Universal Hero Fixes */
  .hero, .page-header, .l-hero, .c-hero, .policy-hero, [style*="min-height: 45vh"], [style*="min-height: 50vh"] {
      padding: 100px 24px 60px !important;
      min-height: auto !important;
  }
  
  /* Form responsiveness */
  .c-form .field-row { grid-template-columns: 1fr; }
  .c-form input, .c-form select, .c-form textarea { padding: 12px 15px; border-radius: 12px; }
  
  /* Modal responsive padding */
  .modal-content { padding: 40px 20px !important; border-radius: 20px !important; width: 92% !important; max-height: 90vh; }
  .modal-content h2 { font-size: 26px !important; margin: 15px 0 20px !important; }
}

/* ── GLOBAL CTA SECTION ── */
.l-cta {
  background: linear-gradient(135deg, #0F172A 0%, #1E1B4B 100%);
  text-align: center;
  padding: 80px 10%;
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  margin: 0 5% 60px;
  border: 1px solid rgba(255,255,255,0.05);
  box-shadow: 0 30px 80px -20px rgba(15, 23, 42, 0.4);
}

.l-cta::before {
  content: '';
  position: absolute;
  top: -50%; left: -20%;
  width: 100%; height: 200%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.l-cta h2 {
  font-size: clamp(28px, 5vw, 52px);
  background: linear-gradient(to right, #FFFFFF 30%, #C4B5FD 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 900;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  display: inline-block;
}

.l-cta p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.l-cta a {
  display: inline-block;
  padding: 18px 50px;
  background: var(--gradient-main);
  color: white;
  border-radius: 100px;
  font-weight: 800;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.3s;
  letter-spacing: 0.1em;
  box-shadow: 0 15px 35px rgba(124, 58, 237, 0.4);
  position: relative;
  z-index: 1;
}

@media (max-width: 768px) {
  .l-cta { padding: 60px 24px; margin: 0 15px 40px; border-radius: 24px; }
  .l-cta p { font-size: 16px; }
  .l-cta a { width: 100%; padding: 18px 30px; }
}
