/* =========================================================
   HEPHZIBAH MODERN COLLEGE OF HEALTH SCIENCE AND TECHNOLOGY
   Main Stylesheet — Premium Design System v1.0
   ========================================================= */

/* === 1. GOOGLE FONTS IMPORT === */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* === 2. CSS CUSTOM PROPERTIES === */
:root {
  /* Brand Colors */
  --primary:        #1A6B3A;
  --primary-light:  #22873F;
  --primary-dark:   #145530;
  --primary-50:     rgba(26, 107, 58, 0.08);
  --primary-100:    rgba(26, 107, 58, 0.15);

  --blue:           #0B4F8A;
  --blue-light:     #1565C0;
  --blue-dark:      #083A66;
  --blue-50:        rgba(11, 79, 138, 0.08);

  --gold:           #C9A227;
  --gold-light:     #E8B830;
  --gold-dark:      #A68520;
  --gold-50:        rgba(201, 162, 39, 0.12);

  /* Neutral Scale */
  --white:          #FFFFFF;
  --grey-50:        #F8FAFC;
  --grey-100:       #F1F5F9;
  --grey-200:       #E2E8F0;
  --grey-300:       #CBD5E1;
  --grey-400:       #94A3B8;
  --grey-500:       #64748B;
  --grey-600:       #475569;
  --grey-700:       #334155;
  --grey-800:       #1E293B;
  --grey-900:       #0F172A;

  /* Semantic Colors */
  --bg:             #FFFFFF;
  --bg-alt:         #F8FAFC;
  --bg-card:        #FFFFFF;
  --surface:        #F1F5F9;
  --text-primary:   #0F172A;
  --text-secondary: #475569;
  --text-muted:     #94A3B8;
  --border:         #E2E8F0;
  --border-light:   rgba(255,255,255,0.12);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1A6B3A 0%, #0B4F8A 100%);
  --gradient-primary-reverse: linear-gradient(135deg, #0B4F8A 0%, #1A6B3A 100%);
  --gradient-hero: linear-gradient(135deg, rgba(11,79,138,0.88) 0%, rgba(26,107,58,0.88) 100%);
  --gradient-gold: linear-gradient(135deg, #C9A227 0%, #E8B830 100%);
  --gradient-card: linear-gradient(135deg, rgba(26,107,58,0.05) 0%, rgba(11,79,138,0.05) 100%);
  --gradient-dark: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  --gradient-overlay: linear-gradient(to top, rgba(11,60,110,0.95) 0%, rgba(26,107,58,0.6) 60%, transparent 100%);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Font Sizes (fluid) */
  --text-xs:   0.75rem;
  --text-sm:   0.875rem;
  --text-base: 1rem;
  --text-lg:   1.125rem;
  --text-xl:   1.25rem;
  --text-2xl:  1.5rem;
  --text-3xl:  1.875rem;
  --text-4xl:  2.25rem;
  --text-5xl:  3rem;
  --text-6xl:  3.75rem;
  --text-7xl:  4.5rem;

  /* Spacing */
  --section-py:     5rem;
  --section-py-sm:  3rem;
  --container-px:   1.5rem;

  /* Border Radius */
  --radius-xs:  0.25rem;
  --radius-sm:  0.5rem;
  --radius-md:  0.75rem;
  --radius-lg:  1rem;
  --radius-xl:  1.5rem;
  --radius-2xl: 2rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-xs:    0 1px 2px rgba(0,0,0,0.05);
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md:    0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg:    0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --shadow-xl:    0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04);
  --shadow-2xl:   0 25px 50px rgba(0,0,0,0.25);
  --shadow-green: 0 8px 30px rgba(26,107,58,0.25);
  --shadow-blue:  0 8px 30px rgba(11,79,138,0.25);
  --shadow-gold:  0 8px 30px rgba(201,162,39,0.3);
  --shadow-card:  0 4px 24px rgba(15,23,42,0.08);

  /* Transitions */
  --ease-out:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --transition:   all 0.3s var(--ease-out);
  --transition-fast: all 0.15s var(--ease-out);
  --transition-slow: all 0.6s var(--ease-out);

  /* Z-Index Scale */
  --z-below:  -1;
  --z-base:    0;
  --z-raised:  10;
  --z-nav:     100;
  --z-overlay: 200;
  --z-modal:   300;
  --z-toast:   400;

  /* Navbar Height */
  --nav-height: 80px;
  --topbar-height: 40px;
}

/* === DARK MODE === */
[data-theme="dark"] {
  --bg:             #0D1117;
  --bg-alt:         #161B22;
  --bg-card:        #1C2128;
  --surface:        #21262D;
  --text-primary:   #F0F6FC;
  --text-secondary: #C9D1D9;
  --text-muted:     #8B949E;
  --border:         rgba(255,255,255,0.1);
  --border-light:   rgba(255,255,255,0.06);
  --shadow-card:    0 4px 24px rgba(0,0,0,0.4);
  --gradient-card:  linear-gradient(135deg, rgba(26,107,58,0.1) 0%, rgba(11,79,138,0.1) 100%);
}

/* === 3. RESET & BASE === */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-height) + var(--topbar-height));
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg);
  transition: background-color 0.4s var(--ease-out), color 0.4s var(--ease-out);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

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

a:hover { color: var(--primary-light); }

ul, ol { list-style: none; }

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}

input, textarea, select {
  font-family: var(--font-body);
}

/* === 4. ACCESSIBILITY === */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  z-index: var(--z-toast);
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 2.5px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}

/* === 5. TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, var(--text-6xl)); }
h2 { font-size: clamp(1.5rem, 3.5vw, var(--text-4xl)); }
h3 { font-size: clamp(1.2rem, 2.5vw, var(--text-2xl)); }
h4 { font-size: var(--text-xl); }
h5 { font-size: var(--text-lg); }
h6 { font-size: var(--text-base); }

p { color: var(--text-secondary); margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  font-weight: 400;
  line-height: 1.8;
}

/* === 6. LAYOUT === */
.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: var(--container-px);
}

.container-sm { max-width: 960px; margin-inline: auto; padding-inline: var(--container-px); }
.container-lg { max-width: 1400px; margin-inline: auto; padding-inline: var(--container-px); }

.section { padding-block: var(--section-py); }
.section-sm { padding-block: var(--section-py-sm); }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--gradient-primary);
  color: white;
}
.section-dark h2, .section-dark h3, .section-dark p,
.section-dark .section-label { color: rgba(255,255,255,0.95) !important; }

/* === 7. SECTION LABELS & HEADINGS === */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
}

.section-header { margin-bottom: 3.5rem; }
.section-header.text-center { text-align: center; }
.section-header.text-center .section-label { justify-content: center; }
.section-header.text-center .section-label::before { display: none; }

.section-title {
  font-size: clamp(1.6rem, 3vw, var(--text-4xl));
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  max-width: 640px;
}

.section-header.text-center .section-subtitle { margin-inline: auto; }

/* === 8. TOP BAR === */
.topbar {
  background: var(--gradient-primary);
  color: rgba(255,255,255,0.9);
  font-size: var(--text-xs);
  height: var(--topbar-height);
  display: flex;
  align-items: center;
  position: relative;
  z-index: var(--z-nav);
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.topbar-left { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar-right { display: flex; align-items: center; gap: 1rem; }

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.9);
  font-weight: 500;
  white-space: nowrap;
}
.topbar-item i { font-size: 0.75rem; color: var(--gold-light); }
.topbar-item a { color: rgba(255,255,255,0.9); }
.topbar-item a:hover { color: var(--gold-light); }

.topbar-social { display: flex; align-items: center; gap: 0.6rem; }
.topbar-social a {
  color: rgba(255,255,255,0.7);
  font-size: 0.75rem;
  transition: var(--transition);
}
.topbar-social a:hover { color: var(--gold-light); }

/* === 9. NAVIGATION === */
.navbar {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--border);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: var(--transition-slow);
}

[data-theme="dark"] .navbar {
  background: rgba(13,17,23,0.97);
  box-shadow: 0 1px 0 rgba(255,255,255,0.08);
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-icon {
  width: 48px;
  height: 48px;
  /* border-radius: var(--radius-md); */
  /* background: var(--gradient-primary); */
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  /* color: white; */
  flex-shrink: 0;
  /* box-shadow: var(--shadow-green); */
  position: relative;
  overflow: hidden;
}
.nav-logo-icon::after {
  content: '';
  position: absolute;
  inset: 0;
  /* background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 60%); */
}

.nav-logo-text { line-height: 1.15; }
.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: -0.01em;
  display: block;
}
.nav-logo-sub {
  font-size: 0.6rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
  border-radius: var(--radius-md);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--primary);
  background: var(--primary-50);
}
.nav-link i { font-size: 0.65rem; transition: var(--transition); }
.nav-item:hover .nav-link i { transform: rotate(180deg); }

/* Dropdown — override Bootstrap 5 which sets display:none !important on .dropdown-menu */
.navbar .nav-item .dropdown-menu {
  /* Force display:block so Bootstrap's display:none !important is overridden by specificity */
  display: block !important;
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-2xl);
  min-width: 220px;
  padding: 0.5rem;
  /* Hidden via opacity + visibility — NOT display — so transition works */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  list-style: none;
  z-index: var(--z-overlay);
}

.navbar .nav-item:hover .dropdown-menu,
.navbar .nav-item:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.navbar .dropdown-item {
  padding: 0;
  background: transparent;
  border: none;
}
.navbar .dropdown-item a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
}
.navbar .dropdown-item a:hover,
.navbar .dropdown-item a:focus {
  background: var(--primary-50);
  color: var(--primary);
  padding-left: 1.25rem;
}

/* Nav Actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.theme-toggle {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: var(--surface);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
  cursor: pointer;
}
.theme-toggle:hover {
  background: var(--primary-50);
  color: var(--primary);
  border-color: var(--primary);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-md);
}
.mobile-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--radius-full);
  transition: var(--transition);
  display: block;
}
.mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === 10. BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::before { opacity: 1; }

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  box-shadow: var(--shadow-green);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(26,107,58,0.35);
  color: white;
}
.btn-primary:active { transform: translateY(0); }

.btn-blue {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  color: white;
  box-shadow: var(--shadow-blue);
}
.btn-blue:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(11,79,138,0.35); color: white; }

.btn-gold {
  background: var(--gradient-gold);
  color: #1a1a1a;
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(201,162,39,0.45); color: #1a1a1a; }

.btn-outline {
  background: transparent;
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline:hover { background: var(--primary); color: white; }

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.7);
  color: white;
}
.btn-outline-white:hover { background: white; color: var(--primary); }

.btn-white {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-xl); color: var(--primary); }

.btn-lg { padding: 1rem 2.25rem; font-size: var(--text-base); }
.btn-sm { padding: 0.5rem 1.25rem; font-size: var(--text-xs); }

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* === 11. HERO SECTION === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--gradient-primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1581091226825-a6a2a5aee158?w=1920&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero .container { position: relative; z-index: 2; }

.hero-content {
  max-width: 700px;
  padding-block: 8rem 4rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-badge i { color: var(--gold-light); }

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 800;
  color: white;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-stat {
  text-align: center;
}
.hero-stat-number {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: var(--gold-light);
  display: block;
  line-height: 1;
  margin-bottom: 0.25rem;
}
.hero-stat-label {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.6);
  font-size: var(--text-xs);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  animation: scrollLine 1.5s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { opacity: 0; transform: scaleY(0); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
  100% { opacity: 0; transform: scaleY(1); transform-origin: bottom; }
}

/* === 12. STATS COUNTER BAR === */
.stats-bar {
  background: var(--bg-card);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-2xl);
  padding: 2.5rem;
  margin-top: -4rem;
  position: relative;
  z-index: 10;
  border: 1px solid var(--border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  text-align: center;
}

.stat-item { position: relative; }
.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 60%;
  background: var(--border);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
  margin: 0 auto 0.75rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat-suffix {
  color: var(--gold);
  font-size: 0.85em;
}
.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
}

/* === 13. CARDS === */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2xl);
  border-color: transparent;
}

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.card:hover .card-img { transform: scale(1.04); }

.card-img-wrapper {
  overflow: hidden;
  position: relative;
}

.card-body {
  padding: 1.5rem;
}

.card-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--primary-50);
  color: var(--primary);
  margin-bottom: 0.75rem;
}

.card-title {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.card-text {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

/* Course Card */
.course-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.course-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.course-card:hover::before { transform: scaleX(1); }
.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-100);
}

.course-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: 1.25rem;
  transition: var(--transition);
}

.course-card:hover .course-icon { transform: scale(1.1) rotate(-5deg); }

.course-title { font-size: var(--text-lg); font-weight: 700; margin-bottom: 0.5rem; color: var(--text-primary); }
.course-desc { font-size: var(--text-sm); color: var(--text-secondary); margin-bottom: 1.25rem; line-height: 1.65; }

.course-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.course-meta-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: var(--text-xs);
  color: var(--text-muted);
  font-weight: 500;
}
.course-meta-item i { color: var(--gold); }

/* Feature Card */
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: var(--transition);
  text-align: center;
}
.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-2xl);
  border-color: var(--primary-100);
}

.feature-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.25rem;
  position: relative;
}
.feature-icon::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: inherit;
  background: inherit;
  opacity: 0.15;
  z-index: -1;
}

/* Team Card */
.team-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-2xl); }

.team-card-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.team-card:hover .team-card-img { transform: scale(1.05); }

.team-card-body { padding: 1.5rem; }
.team-card-name { font-size: var(--text-lg); font-weight: 700; margin-bottom: 0.25rem; }
.team-card-role { font-size: var(--text-sm); color: var(--primary); font-weight: 500; margin-bottom: 0.75rem; }
.team-card-bio { font-size: var(--text-sm); color: var(--text-secondary); line-height: 1.6; }

/* Testimonial Card */
.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-2xl);
  padding: 2.5rem;
  position: relative;
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-2xl); transform: translateY(-4px); }

.testimonial-quote {
  font-size: 4rem;
  color: var(--primary-100);
  font-family: Georgia, serif;
  line-height: 1;
  margin-bottom: 1rem;
  display: block;
}

.testimonial-text {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  object-fit: cover;
  border: 2px solid var(--primary);
}

.testimonial-name { font-size: var(--text-sm); font-weight: 700; color: var(--text-primary); }
.testimonial-role { font-size: var(--text-xs); color: var(--text-muted); }

.stars { color: var(--gold); font-size: var(--text-sm); margin-bottom: 1rem; }

/* === 14. PROCESS STEPS === */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: white;
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-green);
}

.step-title { font-size: var(--text-lg); font-weight: 700; margin-bottom: 0.5rem; }
.step-desc { font-size: var(--text-sm); color: var(--text-secondary); }

/* === 15. HERO IMAGE SECTION (SPLIT) === */
.split-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.split-section.reverse { direction: rtl; }
.split-section.reverse > * { direction: ltr; }

.split-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.split-image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius-2xl);
  transition: transform 0.6s var(--ease-out);
}
.split-image-wrapper:hover .split-image { transform: scale(1.03); }

.split-image-badge {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-xl);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  box-shadow: var(--shadow-xl);
}
[data-theme="dark"] .split-image-badge { background: rgba(28,33,40,0.95); }

.split-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-lg);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.25rem;
}

.split-badge-text strong { display: block; font-size: var(--text-sm); font-weight: 700; color: var(--text-primary); }
.split-badge-text span { font-size: var(--text-xs); color: var(--text-muted); }

/* === 16. GALLERY === */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.gallery-item:hover img { transform: scale(1.08); }

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,79,138,0.9) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-overlay-text {
  color: white;
  font-weight: 600;
  font-size: var(--text-sm);
}

/* Gallery Filter */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 600;
  border: 2px solid var(--border);
  color: var(--text-secondary);
  background: var(--bg-card);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover, .filter-btn.active {
  border-color: var(--primary);
  color: white;
  background: var(--primary);
}

/* === 17. FORMS === */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  padding: 0.875rem 1.125rem;
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
  color: var(--text-primary);
  font-size: var(--text-base);
  font-family: var(--font-body);
  transition: var(--transition);
  appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px var(--primary-50);
}

.form-control::placeholder { color: var(--text-muted); }

textarea.form-control { resize: vertical; min-height: 140px; }

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%2394A3B8'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.1rem;
  padding-right: 2.75rem;
}

/* Multi-step form */
.form-steps {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-bottom: 2.5rem;
  position: relative;
}

.form-steps::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 15%;
  right: 15%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.form-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  flex: 1;
  position: relative;
  z-index: 1;
}

.step-dot {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  border: 2px solid var(--border);
  background: var(--bg-card);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--text-muted);
  transition: var(--transition);
}

.form-step-indicator.active .step-dot {
  background: var(--gradient-primary);
  border-color: var(--primary);
  color: white;
  box-shadow: var(--shadow-green);
}

.form-step-indicator.completed .step-dot {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.step-label { font-size: var(--text-xs); color: var(--text-muted); font-weight: 500; }
.form-step-indicator.active .step-label { color: var(--primary); font-weight: 600; }

/* === 18. ALERTS & NOTICES === */
.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-lg);
  border-left: 4px solid;
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  font-size: var(--text-sm);
}
.alert i { margin-top: 0.125rem; flex-shrink: 0; }
.alert-success { background: rgba(26,107,58,0.08); border-color: var(--primary); color: var(--primary-dark); }
.alert-info { background: rgba(11,79,138,0.08); border-color: var(--blue); color: var(--blue-dark); }
.alert-warning { background: rgba(201,162,39,0.1); border-color: var(--gold); color: var(--gold-dark); }
[data-theme="dark"] .alert-success { color: #6ee7a6; }
[data-theme="dark"] .alert-info { color: #93c5fd; }
[data-theme="dark"] .alert-warning { color: #fcd34d; }

/* === 19. BADGE & TAGS === */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.03em;
}
.badge-green { background: var(--primary-50); color: var(--primary); }
.badge-blue { background: var(--blue-50); color: var(--blue); }
.badge-gold { background: var(--gold-50); color: var(--gold-dark); }
.badge-govt {
  background: var(--gradient-gold);
  color: #1a1a1a;
}

/* === 20. TABLE === */
.table-wrapper { overflow-x: auto; border-radius: var(--radius-xl); border: 1px solid var(--border); }
.table { width: 100%; border-collapse: collapse; }
.table th {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 1.25rem;
  text-align: left;
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: 0.04em;
}
.table td {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  font-size: var(--text-sm);
  color: var(--text-secondary);
  vertical-align: top;
}
.table tr:last-child td { border-bottom: none; }
.table tbody tr:hover { background: var(--primary-50); }

/* === 21. ACCORDION / FAQ === */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--transition);
}
.accordion-item:hover { border-color: var(--primary); }

.accordion-header {
  width: 100%;
  background: var(--bg-card);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--text-primary);
  text-align: left;
  border: none;
}

.accordion-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: var(--text-sm);
  flex-shrink: 0;
  transition: var(--transition);
}

.accordion-item.open .accordion-icon { background: var(--primary); color: white; transform: rotate(45deg); }

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out), padding 0.3s;
  padding: 0 1.5rem;
}
.accordion-item.open .accordion-body { max-height: 400px; padding: 0 1.5rem 1.25rem; }
.accordion-body p { color: var(--text-secondary); font-size: var(--text-sm); line-height: 1.7; }

/* === 22. TABS === */
.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
}
.tab-btn {
  padding: 0.75rem 1.5rem;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  cursor: pointer;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* === 23. FOOTER === */
.footer {
  background: var(--gradient-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .nav-logo { margin-bottom: 1.25rem; }
.footer-brand .nav-logo-name { color: white; }
.footer-desc {
  font-size: var(--text-sm);
  line-height: 1.75;
  color: rgba(255,255,255,0.6);
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  font-size: 0.875rem;
  transition: var(--transition);
}
.footer-social a:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

.footer-col-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: var(--text-base);
  color: white;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}
.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: var(--radius-full);
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.footer-links a::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.footer-links a:hover { color: var(--gold-light); padding-left: 0.25rem; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  margin-bottom: 1rem;
}
.footer-contact-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-light);
  font-size: 0.875rem;
  flex-shrink: 0;
}
.footer-contact-text strong { display: block; font-size: var(--text-xs); text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.5); margin-bottom: 0.1rem; }
.footer-contact-text span, .footer-contact-text a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
}
.footer-contact-text a:hover { color: var(--gold-light); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 1.5rem;
  flex-wrap: wrap;
}
.footer-copyright {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}
.footer-copyright span { color: var(--gold); }
.footer-legal {
  display: flex;
  gap: 1.5rem;
}
.footer-legal a {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.4);
}
.footer-legal a:hover { color: rgba(255,255,255,0.7); }

/* === 24. PAGE HERO (INNER PAGES) === */
.page-hero {
  position: relative;
  padding: 8rem 0 4rem;
  background: var(--gradient-primary);
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,255,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--bg);
  clip-path: ellipse(55% 60px at 50% 100%);
}

.page-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(255,255,255,0.2);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 3rem);
  color: white;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
}

.page-hero p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.8);
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 0;
}

.breadcrumb {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.6);
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb i { font-size: 0.65rem; }

/* === 25. ANNOUNCEMENT BANNER === */
.announcement-bar {
  background: var(--gradient-gold);
  color: #1a1a1a;
  padding: 0.65rem;
  text-align: center;
  font-size: var(--text-sm);
  font-weight: 600;
  position: relative;
}
.announcement-bar a { color: var(--blue-dark); font-weight: 700; text-decoration: underline; }

/* === 26. WHATSAPP FLOATING BUTTON === */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: var(--z-overlay);
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 12px 40px rgba(37,211,102,0.5); color: white; }
@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 8px 30px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 8px 30px rgba(37,211,102,0.7), 0 0 0 12px rgba(37,211,102,0.08); }
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 6.5rem;
  right: 2rem;
  z-index: var(--z-overlay);
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.875rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition);
  pointer-events: none;
}
.scroll-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.scroll-top:hover { background: var(--primary); color: white; border-color: var(--primary); }

/* === 27. ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeLeft {
  from { opacity: 0; transform: translateX(-30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes fadeRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}
@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-fade-up { animation: fadeUp 0.7s var(--ease-out) both; }
.animate-fade-in { animation: fadeIn 0.7s var(--ease-out) both; }
.animate-float { animation: float 3s ease-in-out infinite; }

/* AOS animations — only apply when JS has loaded, so content is never hidden if JS fails */
.js-ready [data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.7s;
  transition-timing-function: var(--ease-out);
}
.js-ready [data-aos="fade-up"] { transform: translateY(30px); }
.js-ready [data-aos="fade-left"] { transform: translateX(-30px); }
.js-ready [data-aos="fade-right"] { transform: translateX(30px); }
.js-ready [data-aos="zoom-in"] { transform: scale(0.9); }
[data-aos].aos-animate { opacity: 1 !important; transform: none !important; }

/* Loading skeleton */
.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--surface) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-md);
}

/* === 28. UTILITIES === */
.text-primary-color { color: var(--primary) !important; }
.text-blue { color: var(--blue) !important; }
.text-gold { color: var(--gold) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-white { color: white !important; }
.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-gold {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.bg-primary { background: var(--gradient-primary); }
.bg-gold { background: var(--gradient-gold); }

.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }
.flex-wrap { flex-wrap: wrap; }

.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }

.w-100 { width: 100%; }
.overflow-hidden { overflow: hidden; }
.position-relative { position: relative; }

/* Custom list */
.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: var(--text-sm);
  color: var(--text-secondary);
}
.check-list li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* Icon list */
.icon-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}
.icon-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
}
.icon-list .icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Divider */
.divider {
  height: 1px;
  background: var(--border);
  margin-block: 2rem;
}

.divider-or {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text-muted);
  font-size: var(--text-sm);
  margin-block: 1.5rem;
}
.divider-or::before, .divider-or::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* === 29. SWIPER OVERRIDES === */
.swiper-pagination-bullet { background: var(--grey-300); opacity: 1; }
.swiper-pagination-bullet-active { background: var(--primary); transform: scale(1.3); }
.swiper-button-next, .swiper-button-prev {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background: white;
  box-shadow: var(--shadow-md);
  color: var(--primary);
}
.swiper-button-next::after, .swiper-button-prev::after { font-size: 0.875rem; font-weight: 800; }
[data-theme="dark"] .swiper-button-next, [data-theme="dark"] .swiper-button-prev {
  background: var(--bg-card);
  color: var(--primary-light);
}

/* === 30. MEDIA QUERIES === */
@media (max-width: 1199px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split-section { gap: 3rem; }
}

@media (max-width: 991px) {
  :root {
    --section-py: 3.5rem;
    --nav-height: 70px;
  }
  .nav-menu { display: none; }
  .mobile-toggle { display: flex; }
  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    padding: 2rem;
    overflow-y: auto;
    z-index: var(--z-nav);
    animation: fadeIn 0.25s;
    gap: 0.25rem;
  }
  .nav-menu.open .nav-link { font-size: var(--text-base); padding: 0.875rem 1rem; border-radius: var(--radius-lg); }
  .navbar .nav-item .dropdown-menu {
    position: static;
    transform: none !important;
    box-shadow: none;
    opacity: 1 !important;
    visibility: hidden;
    pointer-events: none;
    border: none;
    background: var(--surface);
    padding: 0 0.5rem;
    border-radius: var(--radius-lg);
    margin-top: 0.25rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
  }
  .navbar .nav-item.open .dropdown-menu {
    visibility: visible !important;
    pointer-events: auto !important;
    max-height: 400px !important;
    padding: 0.5rem !important;
  }
  .split-section { grid-template-columns: 1fr; }
  .split-section.reverse { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .topbar .container { flex-direction: column; align-items: flex-start; height: auto; padding-block: 0.5rem; }
  .topbar { height: auto; }
  :root { --topbar-height: 0px; }
}

@media (max-width: 767px) {
  :root { --section-py: 3rem; }
  .hero-content { padding-block: 6rem 3rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2n)::after { display: none; }
  .hero-stats { gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .page-hero { padding: 6rem 0 3.5rem; }
  .topbar { display: none; }
}

@media (max-width: 480px) {
  :root { --nav-height: 64px; }
  .nav-logo-name { font-size: 0.7rem; }
  .hero-title { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .process-steps { grid-template-columns: 1fr; }
}

/* Print styles */
@media print {
  .navbar, .footer, .whatsapp-float, .scroll-top, .topbar { display: none; }
  body { color: black; }
}

ol, ul {
  padding-left: 0px !important;
}