﻿/* ==================== IODE PROFESSIONAL WEBSITE STYLES ==================== */
/* Premium & Professional Design System */

/* ===== CSS VARIABLES - PREMIUM PALETTE ===== */
:root {
  /* Premium Colors */
  --primary: #0f172a;           /* Deep Navy/Black */
  --primary-dark: #0a0f1a;
  --primary-light: #1e293b;
  --secondary: #2563eb;          /* Professional Blue */
  --secondary-light: #3b82f6;
  --accent: #f59e0b;             /* Premium Gold */
  --accent-dark: #d97706;
  --accent-light: #fbbf24;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --info: #0ea5e9;

  --bg-light: #ffffff;
  --bg-light-secondary: #f9fafb;
  --bg-light-tertiary: #f3f4f6;
  --bg-dark: #111827;
  --text-dark: #111827;
  --text-medium: #374151;
  --text-light: #6b7280;
  --text-lighter: #9ca3af;
  --border-light: #e5e7eb;
  --border-dark: #d1d5db;

  --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.08), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.08);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

  /* Typography - Premium */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Spacing */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Fallback for Inter font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== GLOBAL RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin-bottom: var(--space-4);
  color: #ffffff;
  letter-spacing: -0.5px;
}

h1 {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  letter-spacing: -1px;
}

h2 {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
}

h3 {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-semibold);
}

h4 {
  font-size: var(--font-size-lg);
}

p {
  margin-bottom: var(--space-4);
  color: var(--text-light);
  line-height: 1.7;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color var(--transition-base);
}

a:hover {
  color: var(--secondary-light);
}

ul, ol {
  margin-left: var(--space-6);
  margin-bottom: var(--space-4);
}

li {
  margin-bottom: var(--space-3);
  color: var(--text-light);
}

/* ===== BUTTONS - PREMIUM ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
  white-space: nowrap;
  vertical-align: middle;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:active::before {
  width: 300px;
  height: 300px;
}

.btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Primary Button */
.btn-primary {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-md);
}

/* Secondary Button */
.btn-secondary {
  background-color: transparent;
  color: var(--secondary);
  border-color: var(--secondary);
}

.btn-secondary:hover {
  background-color: rgba(37, 99, 235, 0.08);
  border-color: var(--secondary-light);
  color: var(--secondary-light);
}

/* Accent Button */
.btn-accent {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Size Variants */
.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
  border-radius: var(--radius-xl);
  letter-spacing: 0.6px;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
}

/* ===== CONTAINER & LAYOUT ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-small {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

section {
  padding: var(--space-20) 0;
}

section.light-bg {
  background: linear-gradient(180deg, var(--bg-light-secondary) 0%, var(--bg-light-tertiary) 100%);
}

section.dark-bg {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
}

section.dark-bg h2,
section.dark-bg h3 {
  color: white;
}

section.dark-bg p {
  color: rgba(255, 255, 255, 0.85);
}

/* ===== HEADER / NAVBAR - PREMIUM ===== */
header {
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  position: relative;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

header.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  box-shadow: var(--shadow-md);
  border-bottom-width: 1px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4) 0;
  margin: 0 auto;
  max-width: 1280px;
  padding-left: var(--space-6);
  padding-right: var(--space-6);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: all var(--transition-base);
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-image {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(14, 52, 131, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.8);
  background: #fff;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.brand-name {
  font-weight: var(--font-weight-bold);
  color: var(--primary);
  font-size: var(--font-size-lg);
  line-height: 1;
}

.logo-text {
  font-size: var(--font-size-xs);
  color: var(--text-light);
  font-weight: var(--font-weight-medium);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  list-style: none;
}

.nav-link {
  color: var(--text-dark);
  font-weight: var(--font-weight-medium);
  font-size: var(--font-size-sm);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  letter-spacing: 0.3px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--secondary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: var(--space-4);
  right: var(--space-4);
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-buttons {
  display: flex;
  gap: var(--space-3);
  align-items: center;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  color: var(--primary);
  transition: all var(--transition-base);
}

.mobile-menu-btn:hover {
  color: var(--secondary);
}

/* ===== HERO SECTION - PREMIUM ===== */
.hero {
  position: relative;
  overflow: hidden;
  color: white;
  text-align: center;
  padding: clamp(4.5rem, 7vw, 7rem) 0;
  background:
    radial-gradient(circle at top right, rgba(96, 165, 250, 0.35), transparent 28%),
    radial-gradient(circle at bottom left, rgba(59, 130, 246, 0.2), transparent 26%),
    linear-gradient(135deg, #061a35 0%, #0c2f6b 34%, #1d4ed8 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -8%;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  filter: blur(20px);
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -12%;
  left: -6%;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(245, 158, 11, 0.12);
  filter: blur(18px);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #dfeeff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 auto var(--space-6);
  max-width: 760px;
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  line-height: 1.05;
  color: white;
  letter-spacing: -1.5px;
  font-weight: var(--font-weight-extrabold);
  text-shadow: 0 10px 30px rgba(15, 23, 42, 0.28);
}

.hero p {
  max-width: 700px;
  margin: 0 auto var(--space-8);
  font-size: clamp(1.02rem, 2vw, 1.4rem);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.86);
  font-weight: var(--font-weight-light);
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

.trust-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-4);
  margin-top: var(--space-12);
  padding-top: var(--space-10);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.trust-point {
  padding: 1rem 0.9rem;
  text-align: center;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
  color: rgba(255, 255, 255, 0.82);
}

.trust-point strong {
  display: block;
  color: #f8d375;
  font-size: 0.95rem;
  margin-bottom: var(--space-2);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.5px;
}

/* ===== CARDS - PREMIUM ===== */
.card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  border-color: var(--secondary-light);
}

.card:hover::before {
  transform: scaleX(1);
}

.card-header {
  margin-bottom: var(--space-4);
}

.card-title {
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
  color: var(--primary);
}

.card-body {
  margin-bottom: var(--space-4);
  color: var(--text-light);
}

/* ===== COURSE CARDS - PREMIUM ===== */
.course-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  position: relative;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
}

.course-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-xl);
  transform: translateY(-8px);
}

.course-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-light);
}

.course-name {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  color: var(--primary);
  margin: 0;
}

.course-level {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: white;
  padding: var(--space-2) var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  white-space: nowrap;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-sm);
}

.course-description {
  color: var(--text-light);
  margin-bottom: var(--space-6);
  flex-grow: 1;
  font-size: var(--font-size-sm);
  line-height: 1.6;
}

.course-info {
  display: grid;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-light);
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-label {
  font-weight: var(--font-weight-semibold);
  color: var(--text-dark);
  font-size: var(--font-size-sm);
}

.info-value {
  color: var(--secondary);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
}

.course-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2);
}

.course-actions .btn {
  width: 100%;
  font-size: var(--font-size-sm);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -100%;
  left: 50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
  transform: translateX(-50%);
  transition: all var(--transition-base);
}

.feature-card:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.feature-card:hover::before {
  top: 0;
}

.feature-icon {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
  color: var(--secondary);
  transition: transform var(--transition-base);
  position: relative;
  z-index: 1;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotateZ(-5deg);
}

.feature-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
  color: var(--primary);
  position: relative;
  z-index: 1;
}

.feature-description {
  color: var(--text-light);
  font-size: var(--font-size-sm);
  position: relative;
  z-index: 1;
  line-height: 1.6;
}

/* ===== STAT CARDS ===== */
.stat-card {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: white;
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-base);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.stat-card:hover::before {
  top: -10%;
  right: -10%;
}

.stat-number {
  font-size: var(--font-size-5xl);
  font-weight: var(--font-weight-extrabold);
  margin-bottom: var(--space-2);
  position: relative;
  z-index: 1;
}

.stat-label {
  font-size: var(--font-size-base);
  opacity: 0.95;
  position: relative;
  z-index: 1;
  font-weight: var(--font-weight-medium);
}

/* ===== FORMS ===== */
.form-group {
  margin-bottom: var(--space-6);
}

.form-group label {
  display: block;
  margin-bottom: var(--space-2);
  font-weight: var(--font-weight-semibold);
  color: var(--text-dark);
  font-size: var(--font-size-sm);
  letter-spacing: 0.3px;
}

.form-group label .required {
  color: var(--error);
  margin-left: var(--space-1);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  font-size: var(--font-size-base);
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  font-family: var(--font-sans);
  transition: all var(--transition-base);
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1), inset 0 0 0 1px rgba(37, 99, 235, 0.1);
  background-color: rgba(37, 99, 235, 0.02);
}

.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: var(--error);
}

.error-message {
  color: var(--error);
  font-size: var(--font-size-sm);
  margin-top: var(--space-2);
  display: block;
  font-weight: var(--font-weight-medium);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: var(--space-4) 0;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--secondary);
}

.form-checkbox label {
  margin: 0;
  cursor: pointer;
  font-weight: var(--font-weight-normal);
}

/* ===== MODALS - PREMIUM ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  animation: fadeIn var(--transition-base);
}

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: var(--radius-2xl);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideUp var(--transition-base);
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--space-6);
  border-bottom: 1px solid var(--border-light);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.02) 0%, transparent 100%);
}

.modal-title {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin: 0;
  color: var(--primary);
}

.modal-close {
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  color: var(--text-light);
  transition: all var(--transition-base);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
}

.modal-close:hover {
  background-color: var(--bg-light-secondary);
  color: var(--text-dark);
}

.modal-body {
  padding: var(--space-6);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    transform: translateY(40px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.fade-up {
  animation: fadeUp var(--transition-slow) ease-out forwards;
}

/* ===== GRID LAYOUTS ===== */
.grid {
  display: grid;
  gap: var(--space-8);
}

.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-header h2 {
  color: var(--primary);
  margin-bottom: var(--space-4);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--secondary) 0%, var(--accent) 100%);
  border-radius: 2px;
}

.section-header p {
  font-size: var(--font-size-lg);
  color: var(--text-light);
  margin-top: var(--space-6);
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: var(--space-16) 0 var(--space-6);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer-section h4 {
  color: var(--accent-light);
  margin-bottom: var(--space-4);
  font-weight: var(--font-weight-semibold);
  letter-spacing: 0.5px;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-sm);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: var(--space-3);
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all var(--transition-base);
  font-size: var(--font-size-sm);
}

.footer-links a:hover {
  color: var(--accent-light);
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: var(--space-8);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-sm);
}

/* ===== SCROLL TO TOP ===== */
#scrollToTopBtn {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: white;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-lg);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-lg);
  font-weight: var(--font-weight-bold);
}

#scrollToTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollToTopBtn:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
  background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
}

/* ===== FLOATING CTA ===== */
.floating-cta {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  z-index: 998;
}

.floating-cta .btn {
  border-radius: 50px;
  padding: var(--space-3) var(--space-6);
  box-shadow: var(--shadow-lg);
  font-size: var(--font-size-sm);
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 110px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366 0%, #1ebc5e 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(37, 211, 102, 0.32);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 16px 28px rgba(37, 211, 102, 0.38);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
  display: block;
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  text-align: center;
  display: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.testimonial-card.active {
  display: block;
  animation: fadeIn var(--transition-base);
}

.testimonial-rating {
  color: var(--accent);
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
  letter-spacing: 2px;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: var(--space-4);
  color: var(--text-light);
  font-size: var(--font-size-base);
  line-height: 1.8;
}

.testimonial-author {
  font-weight: var(--font-weight-bold);
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.testimonial-course {
  font-size: var(--font-size-sm);
  color: var(--text-light);
}

.testimonial-slider-controls {
  display: flex;
  justify-content: center;
  gap: var(--space-4);
  margin-top: var(--space-8);
}

.slider-btn {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%);
  color: white;
  border: none;
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-base);
  font-weight: var(--font-weight-semibold);
  box-shadow: var(--shadow-md);
}

.slider-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* ===== FAQ ACCORDION ===== */
.faq-item {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  overflow: hidden;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.faq-item:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.faq-header {
  padding: var(--space-5);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: var(--font-weight-semibold);
  color: var(--primary);
  transition: all var(--transition-base);
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.02) 0%, transparent 100%);
  user-select: none;
}

.faq-header:hover {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.05) 0%, transparent 100%);
  color: var(--secondary);
}

.faq-icon {
  font-size: var(--font-size-lg);
  transition: transform var(--transition-base);
  color: var(--secondary);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
  padding: 0 var(--space-5);
  color: var(--text-light);
}

.faq-item.open .faq-content {
  max-height: 500px;
  padding: var(--space-5);
  background: var(--bg-light-secondary);
}

/* ===== UTILITY CLASSES ===== */
.text-center {
  text-align: center;
}

.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

/* ===== MISC ===== */
hr {
  border: none;
  border-top: 1px solid var(--border-light);
  margin: var(--space-8) 0;
}

.no-results {
  text-align: center;
  padding: var(--space-16) var(--space-4);
  color: var(--text-light);
}

.course-details-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  padding: var(--space-16) 0;
  text-align: center;
}

.course-details-hero h1 {
  color: white;
  margin-bottom: 0;
}

.course-info-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--space-8) 0;
}

.course-info-table tr {
  border-bottom: 1px solid var(--border-light);
}

.course-info-table tr:hover {
  background-color: var(--bg-light-secondary);
}

.course-info-table td {
  padding: var(--space-4);
  font-size: var(--font-size-sm);
}

.course-info-table strong {
  color: var(--secondary);
}

.subject-year {
  margin-bottom: var(--space-8);
  background: var(--bg-light-secondary);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--secondary);
}

.subject-year h4 {
  color: var(--secondary);
  margin-bottom: var(--space-4);
  font-weight: var(--font-weight-bold);
}

.subject-year ul {
  column-count: 2;
  column-gap: var(--space-8);
}

.step {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  margin-bottom: var(--space-8);
  text-align: left;
}

.step-number {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-2xl);
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.step-title {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  color: var(--primary);
  margin: 0;
}

/* Mobile Menu Styles */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100%;
  background: white;
  padding-top: 80px;
  transition: right var(--transition-base);
  z-index: 999;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mobile-menu.active {
  right: 0;
}

.close-menu-btn {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: none;
  border: none;
  font-size: var(--font-size-2xl);
  cursor: pointer;
  color: var(--primary);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
}

.close-menu-btn:hover {
  background-color: var(--bg-light-secondary);
}

.mobile-menu-content {
  padding: var(--space-4);
}

.mobile-nav-link {
  display: block;
  padding: var(--space-4);
  color: var(--text-dark);
  font-weight: var(--font-weight-medium);
  border-bottom: 1px solid var(--border-light);
  transition: all var(--transition-base);
  font-size: var(--font-size-base);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--secondary);
  background-color: var(--bg-light-secondary);
  padding-left: var(--space-6);
}

