/* ===== CSS RESET & BASE STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Dark Theme Variables (Default) */
    --bg: #0A0A0A;
    --surface: #111111;
    --surface-elevated: #1A1A1A;
    --text: #FFFFFF;
    --text-muted: #A0A0A0;
    --text-dim: #707070;
    --accent-primary: #FF6B35;
    --accent-secondary: #c59a0e;
    --accent-success: #00C896;
    --accent-warning: #FF8C42;
    --accent-danger: #FF5757;
    --border: #2A2A2A;
    --border-light: #3A3A3A;
    --glass: rgba(17, 17, 17, 0.8);
    --gradient-primary: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    --gradient-accent: linear-gradient(135deg, #FFD23F 0%, #FFA726 100%);
    --gradient-surface: linear-gradient(180deg, #111111 0%, #0F0F0F 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 107, 53, 0.3);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

/* ===== LIGHT THEME VARIABLES ===== */
.theme-light {
    --bg: #FAFAFA;
    --surface: #FFFFFF;
    --surface-elevated: #F8F8F8;
    --text: #1A1A1A;
    --text-muted: #4A4A4A;
    --text-dim: #6A6A6A;
    --accent-primary: #E8581C;
    --accent-secondary: #D4AF37;
    --accent-success: #059669;
    --accent-warning: #EA580C;
    --accent-danger: #DC2626;
    --border: #E5E7EB;
    --border-light: #D1D5DB;
    --glass: rgba(255, 255, 255, 0.9);
    --gradient-primary: linear-gradient(135deg, #E8581C 0%, #EA580C 100%);
    --gradient-accent: linear-gradient(135deg, #D4AF37 0%, #B8860B 100%);
    --gradient-surface: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.05), 0 2px 4px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.08), 0 4px 6px rgba(0, 0, 0, 0.05);
    --shadow-glow: 0 0 20px rgba(232, 88, 28, 0.15);
}

/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* ===== TYPOGRAPHY ===== */
.display {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.1;
    font-weight: 800;
    margin: 0.2em 0 0.4em;
    background: linear-gradient(135deg, var(--text) 0%, var(--text-muted) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--text);
}

.kicker {
    color: var(--accent-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: inline-block;
}

.lead {
    color: var(--text-muted);
    font-size: 1.125rem;
    max-width: 65ch;
    line-height: 1.7;
}

.small {
    font-size: 0.875rem;
    color: var(--text-dim);
}

/* ===== LAYOUT & CONTAINERS ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 80px 0;
    position: relative;
}

.section--flush {
    padding: 0;
}

.section--tinted {
    background: var(--gradient-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

/* ===== ACCESSIBILITY ===== */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    background: var(--surface-elevated);
    color: var(--text);
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    z-index: 9999;
}

.skip-link:focus {
    position: fixed;
    top: 20px;
    left: 20px;
    width: auto;
    height: auto;
    z-index: 9999;
    box-shadow: var(--shadow-lg);
    outline: 2px solid var(--accent-primary);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
/* ===== HEADER & NAVIGATION ===== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: white !important;
    color: rgb(179, 179, 179);
    border-bottom: 1px solid #e2e8f0;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.site-header[data-shrink="true"] {
    padding: 12px 0;
    box-shadow: 0 2px 10px rgba(152, 152, 152, 0.1);
}

/* Remove these dark theme overrides completely */
/* body[data-theme="dark"] .site-header,
.theme-dark .site-header,
.site-header {
    background-color: white;
    color: rgb(137, 137, 137);
} */

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1002;
}

/* ===== LOGO STYLES ===== */
.logo {
    background: white !important;
    border-radius: var(--radius-sm);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: translateY(-2px);
}

.logo-mark {
    height: 60px;
    width: auto;
    transition: height 0.3s ease;
}

.site-header[data-shrink="true"] .logo-mark {
    height: 48px;
}

.footer-brand .logo {
    background: #FFFFFF !important;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-bottom: 16px;
}

.footer-brand .logo-text {
    display: none;
}
/* ===== BUTTON SYSTEM ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    gap: 8px;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

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

/* Button Sizes */
.btn--lg {
    padding: 16px 28px;
    font-size: 1.1rem;
}

.btn--sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* Button Variants */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), var(--shadow-glow);
}

.btn-secondary {
    background: var(--surface-elevated);
    color: var(--text);
    border-color: var(--border-light);
}

.btn-secondary:hover {
    background: var(--surface);
    border-color: var(--accent-primary);
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-light);
}

.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--accent-secondary);
    color: var(--accent-secondary);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

/* ===== NAVIGATION BUTTONS ===== */
.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FF6B35 0%, #E53935 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.25);
    white-space: nowrap;
    border: none;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 57, 53, 0.35);
    background: linear-gradient(135deg, #FF8C42 0%, #dc2626 100%);
}

.nav-cta:focus {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.35);
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.cta-text {
    font-weight: 600;
}

.cta-icon {
    transition: transform 0.3s ease;
}

.nav-cta:hover .cta-icon {
    transform: translateX(3px);
}

.desktop-only {
    display: inline-flex;
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    background: #f9fafb;
    cursor: pointer;
    color: #374151;
    transition: all 0.3s ease;
    border: none;
}

.theme-toggle:hover {
    background: #FF6B35;
    border-color: #FF6B35;
    transform: rotate(15deg);
    color: white;
}

.theme-toggle:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.theme-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.theme-icon {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.theme-icon--sun {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-icon--moon {
    opacity: 0;
    transform: rotate(90deg);
}

body[data-theme="dark"] .theme-icon--sun,
.theme-dark .theme-icon--sun {
    opacity: 0;
    transform: rotate(-90deg);
}

body[data-theme="dark"] .theme-icon--moon,
.theme-dark .theme-icon--moon {
    opacity: 1;
    transform: rotate(0deg);
}

/* ===== MOBILE NAVIGATION ===== */
.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f9fafb;
    border: 2px solid #d1d5db;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1003;
    border: none;
}

.nav-toggle:hover {
    background: #f3f4f6;
    border-color: #FF6B35;
}

.nav-toggle:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.nav-toggle[data-state="open"] {
    background: #E53935;
    border-color: #E53935;
    color: white;
}

.hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 100%;
    height: 100%;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle[data-state="open"] .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[data-state="open"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle[data-state="open"] .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Desktop Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    position: relative;
}

.nav-indicator {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(135deg, #FF6B35, #E53935);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.nav-link:hover .nav-indicator,
.nav-link.active .nav-indicator {
    width: 80%;
}

/* Mobile Overlay */
.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.nav-overlay[aria-hidden="false"] {
    display: block;
    opacity: 1;
}

/* ===== HERO SECTION ===== */
.hero-bg {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 600px;
    background-color: var(--bg);
    background-image: url("res/bg-evoinsparks-black.webp");
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    overflow: hidden;
}

/* Remove gradient overlay pseudo-element */
.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0.1;
    z-index: 1;
}

.theme-light .hero-bg {
    background-image: url("res/bg-evoinsparks-white.webp");
}

/* Remove light theme gradient overlay */
.theme-light .hero-bg::before {
    background: var(--gradient-accent);
    opacity: 0.05;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 120px 0 80px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.cta-row {
  display: flex;
  justify-content: center; /* Horizontally centers the button */
  align-items: center;    /* Vertically centers the button (optional but good practice) */
  padding: 20px 0;        /* Adds some space above and below the button */
}


.btn.btn-ghost:hover {
    background-color: var(--accent-primary);
    color: #fff;
}

/* ===== FEATURES BAND ===== */
.features-band {
    padding: 60px 0;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    position: relative;
}

.features-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

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

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 24px;
    background: var(--surface-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.feature-ico {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    color: var(--accent-primary);
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 8px 0;
}

.feature-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ===== TRUST STRIPE ===== */
.stripe {
    position: relative;
    padding: 60px 0;
    background: var(--gradient-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
}

.stripe::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 210, 63, 0.05) 0%, transparent 50%);
    animation: rotate 30s linear infinite;
}

.theme-light .stripe::before {
    background: 
        radial-gradient(circle at 25% 25%, rgba(232, 88, 28, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(212, 175, 55, 0.03) 0%, transparent 50%);
}

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

.stripe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    position: relative;
    z-index: 2;
}

.stripe-item {
    padding: 24px;
    background: rgba(17, 17, 17, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.theme-light .stripe-item {
    background: rgba(255, 255, 255, 0.8);
}

.stripe-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--border-light);
}

.stripe-item h3 {
    margin: 0 0 12px 0;
    font-weight: 600;
    color: var(--text);
    font-size: 1.25rem;
}

.stripe-item p {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ===== SERVICES SECTION ===== */
.services-section {
    position: relative;
    padding: 120px 0;
    background: 
        linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(10, 10, 10, 0.85) 100%),
        url('res/icons/home-4.svg') center/cover no-repeat;
    overflow: hidden;
}

.theme-light .services-section {
    background: 
        linear-gradient(135deg, rgba(255, 255, 255, 0.699) 0%, rgba(248, 248, 248, 0.92) 100%),
        url('res/icons/home-4.svg') center/cover no-repeat;
}

.services-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.services-header {
    text-align: center;
    margin-bottom: 80px;
}

.services-kicker {
    display: inline-block;
    color: var(--accent-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 16px;
    padding: 8px 16px;
    background: rgba(255, 210, 63, 0.1);
    border: 1px solid rgba(255, 210, 63, 0.3);
    border-radius: 999px;
}

.services-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    color: var(--text);
    margin: 0 0 24px 0;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 80px;
    align-items: stretch;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Service Cards */
.service-card {
    background: linear-gradient(145deg, rgba(17, 17, 17, 0.9) 0%, rgba(25, 25, 25, 0.95) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.4),
        0 10px 10px -5px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.theme-light .service-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(248, 248, 248, 0.95) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        0 10px 10px -5px rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: var(--gradient-primary);
    border-radius: 24px 24px 0 0;
}

.service-card--secondary::before {
    background: var(--gradient-accent);
}

.service-card--accent::before {
    background: linear-gradient(135deg, #00C896 0%, #059669 100%);
}

.service-card:hover,
.service-card:focus-within {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 32px 40px -12px rgba(0, 0, 0, 0.5),
        0 16px 20px -8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.theme-light .service-card:hover,
.theme-light .service-card:focus-within {
    box-shadow: 
        0 32px 40px -12px rgba(0, 0, 0, 0.15),
        0 16px 20px -8px rgba(0, 0, 0, 0.1);
}

/* Featured Forex Card */
.service-card--secondary {
    border: 2px solid var(--accent-secondary);
    transform: scale(1.02);
    position: relative;
}

.service-card--secondary::after {
    content: 'FEATURED';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.service-card--secondary:hover {
    transform: translateY(-8px) scale(1.03);
}

.service-card--secondary .service-icon {
    background: linear-gradient(145deg, var(--surface-elevated), var(--surface));
    box-shadow: 
        0 20px 30px rgba(255, 210, 63, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.service-card--secondary .service-content h3 {
    color: var(--accent-secondary);
}

.service-card--secondary .service-btn {
    background: var(--gradient-accent);
    color: #000;
    font-weight: 600;
}

.service-card--secondary .service-btn:hover {
    background: linear-gradient(145deg, #FFA726, #FF9800);
    color: #000;
}

/* Service Icon Design */
.service-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 0 32px 0;
}

.service-icon {
    position: relative;
    width: 100px;
    height: 100px;
    background: linear-gradient(145deg, #FF6B35, #FF8C42);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 20px 30px rgba(255, 107, 53, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    transform: rotate(-5deg);
}

.service-card--secondary .service-icon {
    background: linear-gradient(145deg, #FFD23F, #FFA726);
    box-shadow: 
        0 20px 30px rgba(255, 210, 63, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.service-card--accent .service-icon {
    background: linear-gradient(145deg, #00C896, #059669);
    box-shadow: 
        0 20px 30px rgba(0, 200, 150, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.service-icon svg {
    width: 48px;
    height: 48px;
    color: #FFFFFF;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

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

.icon-badge {
    position: absolute;
    top: 2px;
    right: -8px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 6px 10px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.service-card--secondary .icon-badge {
    background: var(--gradient-accent);
    color: #000;
}

.service-card--accent .icon-badge {
    background: linear-gradient(135deg, #00C896, #059669);
}

/* Service Content */
.service-content {
    padding: 0 32px 32px 32px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.service-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 16px 0;
    text-align: center;
}

.service-content p {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 32px 0;
    text-align: center;
}

/* Service Features */
.service-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    display: grid;
    gap: 12px;
    flex-grow: 1;
}

.service-features li {
    position: relative;
    padding-left: 32px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    display: flex;
    align-items: center;
}

.service-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: var(--gradient-primary);
    border-radius: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.service-features li::after {
    content: '✓';
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    color: #FFFFFF;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Service Footer */
.service-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.theme-light .service-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.service-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 24px;
    background: var(--gradient-primary);
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 16px rgba(255, 107, 53, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.service-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 107, 53, 0.4);
}

.service-btn:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    transform: translateY(-1px);
}

.service-btn svg {
    transition: transform 0.3s ease;
}

.service-btn:hover svg {
    transform: translate(2px, -2px);
}

/* ===== SERVICES CTA ===== */
.services-cta {
    text-align: center;
    padding: 48px 32px;
    max-width: 800px;
    margin: 60px auto 0 auto;
    background: linear-gradient(145deg, rgba(17, 17, 17, 0.8) 0%, rgba(25, 25, 25, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    backdrop-filter: blur(20px);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.services-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 24px 24px 0 0;
}

.theme-light .services-cta {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 248, 248, 0.9) 100%);
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 20px 25px -5px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.services-cta h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-cta p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin: 0 0 32px 0;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 36px;
    background: var(--gradient-accent);
    color: #000000;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 12px 20px rgba(255, 210, 63, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 28px rgba(255, 210, 63, 0.4);
}

.cta-button:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    transform: translateY(-2px);
}

.cta-button:active {
    transform: translateY(-1px);
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* ===== PRICING TEASER ===== */
.pricing-teaser {
    margin: 80px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: var(--gradient-surface);
    padding: 60px 0;
    position: relative;
}

.pricing-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-secondary), transparent);
}

.pricing-teaser .section-head {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px auto;
}

.pricing-teaser .section-head h2 {
    margin: 0 0 16px 0;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text);
}

.pricing-teaser .section-head p {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.pt-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin: 0 auto;
    max-width: 800px;
}

.pt-card {
    background: var(--gradient-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 32px 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
}

.pt-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.pt-card:hover::before {
    transform: translateX(0);
}

.pt-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.pt-featured {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 1px var(--accent-primary) inset, var(--shadow-md);
    transform: scale(1.05);
    position: relative;
}

.pt-featured::before {
    transform: translateX(0);
}

.pt-featured::after {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: var(--shadow-sm);
    z-index: 2;
}

.pt-header {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.pt-card h3 {
    margin: 0 0 12px 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text);
}

.pt-price {
    margin: 16px 0;
}

.price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text);
    line-height: 1;
}

.price-period {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: block;
    margin-top: 4px;
}

.pt-card .muted {
    color: var(--text-muted);
    margin: 0 0 20px 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.pt-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    text-align: left;
    flex-grow: 1;
}

.pt-list li {
    position: relative;
    padding: 8px 0 8px 24px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.pt-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--accent-success);
    font-weight: bold;
    font-size: 0.9rem;
}

.pt-footer {
    margin-top: auto;
}

.pt-note {
    color: var(--text-dim);
    margin-top: 24px;
    text-align: center;
    font-size: 0.85rem;
    line-height: 1.4;
}

/* ===== ABOUT SECTION ===== */
.about-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    align-items: center;
}

.about-copy .kicker {
    color: var(--accent-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.about-copy h2 {
    margin: 0.1em 0 0.4em 0;
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
}

.about-copy .muted {
    color: var(--text-muted);
    max-width: 60ch;
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0 0 24px 0;
}

.about-points {
    margin: 24px 0;
    list-style: none;
    padding: 0;
}

.about-points li {
    position: relative;
    padding: 12px 0 12px 24px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.about-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--accent-secondary);
    border-radius: 50%;
}

.about-note {
    color: var(--text-dim);
    margin-top: 24px;
    font-size: 0.85rem;
    line-height: 1.5;
    padding: 16px;
    background: rgba(255, 210, 63, 0.05);
    border: 1px solid rgba(255, 210, 63, 0.2);
    border-radius: var(--radius-md);
}

.about-media {
    min-height: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--gradient-surface);
    background-image: url("res/abstract-bg.webp");
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-light.about-media {
    min-height: 100%;
    border-radius: var(--radius-xl);
    border: 1px solid var(--border);
    background: var(--gradient-surface);
    background-image: url("res/abstract-bg.webp");
    background-size: cover;
    background-position: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

/* Remove gradient overlay effects */
.about-media::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 30%, rgba(255, 210, 63, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-light .about-media::before {
    background: radial-gradient(circle at center, transparent 30%, rgba(212, 175, 55, 0.08));
}

.about-media:hover::before {
    opacity: 1;
}

.about-media:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-lg);
}
/* ===== TESTIMONIALS SECTION ===== */
.section[aria-label="Student testimonials and reviews"] {
    padding: 80px 0;
    background: var(--bg);
    position: relative;
}

.section[aria-label="Student testimonials and reviews"] .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.testimonials-header {
    text-align: center;
    margin-bottom: 60px;
}

.testimonials-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text);
    margin: 0 0 16px 0;
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testimonials-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.cards.cards--3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
}

.card.quote {
    background: var(--surface);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card.quote::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.card.quote:hover::before {
    transform: translateX(0);
}

.card.quote:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border);
}

.card.quote blockquote {
    font-style: italic;
    font-size: 1.125rem;
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
    position: relative;
    padding-left: 24px;
    color: var(--text);
}

.card.quote blockquote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -8px;
    font-size: 3rem;
    color: var(--accent-primary);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

.card.quote figcaption {
    font-weight: 600;
    font-size: 1rem;
    text-align: right;
    color: var(--text-muted);
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
    margin-top: auto;
}

.card.quote figcaption::before {
    content: '— ';
    color: var(--accent-primary);
}

.theme-dark .card.quote,
body[data-theme="dark"] .card.quote {
    background: var(--surface-elevated);
    box-shadow: var(--shadow-lg);
}

.theme-dark .card.quote:hover,
body[data-theme="dark"] .card.quote:hover {
    box-shadow: var(--shadow-xl);
}

/* ===== CURRICULUM SECTION ===== */
.section.container[aria-labelledby="curriculum-heading"] {
    max-width: 1200px;
    margin: 60px auto;
    padding: 60px 24px;
    position: relative;
    z-index: 1;
}

.section-head {
    margin-bottom: 48px;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-head h2 {
    margin: 0 0 16px 0;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--text);
    background: linear-gradient(135deg, var(--text) 0%, var(--accent-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-head .muted {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 40px auto;
    max-width: 1000px;
    justify-content: center;
    align-items: stretch;
}

.curr-card {
    background: var(--gradient-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.curr-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-accent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.curr-card:hover::before,
.curr-card:focus-within::before {
    transform: translateX(0);
}

.curr-card:hover,
.curr-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.curr-content {
    flex-grow: 1;
    margin-bottom: 20px;
}

.curr-card h3 {
    margin: 0 0 16px 0;
    font-weight: 600;
    font-size: 1.25rem;
    color: var(--text);
    line-height: 1.3;
}

.meta li {
    padding: 0.75rem 0;
    display: block;
    border-bottom: 1px solid var(--border);
    line-height: 1.6;
}

.meta li:last-child {
    border-bottom: none;
}

.meta li span:first-child {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.meta li span[itemprop="description"] {
    display: block;
    color: var(--text-muted);
    font-size: 0.95rem;
    padding-left: 0;
}

.curr-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: auto;
}

.link {
    color: var(--accent-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width 0.3s ease;
}

.link:hover::after {
    width: 100%;
}

.link:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

.link:focus-visible {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
    border-radius: 2px;
}

/* ===== INSTRUCTORS SECTION ===== */
.instructors {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-top: 32px;
}

.inst-card {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 16px;
    background: var(--gradient-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.inst-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient-primary);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.inst-card:hover::before,
.inst-card:focus-within::before {
    transform: translateX(0);
}

.inst-card:hover,
.inst-card:focus-within {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-light);
}

.inst-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-light);
    transition: all 0.3s ease;
    margin: 0 auto;
}

.inst-card:hover .inst-photo {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.theme-light .inst-card:hover .inst-photo {
    box-shadow: 0 0 0 3px rgba(232, 88, 28, 0.2);
}

.inst-body {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.inst-body h3 {
    margin: 0 0 8px 0;
    font-weight: 600;
    font-size: 1.2rem;
    color: var(--text);
    line-height: 1.3;
}

.inst-cred {
    margin: 0 0 12px 0;
    color: var(--accent-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
}

.inst-bio {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    flex-grow: 1;
}

/* ===== CTA BAND ===== */
.cta-band {
    position: relative;
    margin: 80px 0 0 0;
    padding: 80px 0;
    background: 
        linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 140, 66, 0.1) 100%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6)),
        url("res/home-1.png");
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    text-align: center;
    overflow: hidden;
}

.theme-light .cta-band {
    background: 
        linear-gradient(135deg, rgba(232, 88, 28, 0.08) 0%, rgba(234, 88, 12, 0.08) 100%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.7), rgba(248, 248, 248, 0.8)),
        url("res/home-1.png");
}

.cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, transparent 20%, rgba(0, 0, 0, 0.3));
    animation: pulse 4s ease-in-out infinite;
}

.theme-light .cta-band::before {
    background: radial-gradient(circle at center, transparent 20%, rgba(255, 255, 255, 0.2));
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

.cta-band__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.cta-band h2 {
    margin: 0 0 24px 0;
    font-size: clamp(2rem, 5vw, 2.5rem);
    font-weight: 700;
    color: var(--text);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.theme-light .cta-band h2 {
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.cta-band p {
    font-size: 1.2rem;
    color: var(--text);
    margin: 0 0 40px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
    line-height: 1.6;
}

.theme-light .cta-band p {
    color: var(--text);
    opacity: 0.8;
}

.cta-band .cta-row {
    justify-content: center;
}

/* ===== FOOTER ===== */
.site-footer {
    margin-top: 80px;
    border-top: 1px solid var(--border);
    background: var(--gradient-surface);
    color: var(--text);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
}

.footer-content {
    padding: 60px 0;
}

.footer-content .container {
    display: grid;
    grid-template-columns: 2fr 1.5fr;
    gap: 48px;
    align-items: start;
}

.footer-brand {
    max-width: 500px;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 16px;
    transition: opacity 0.3s ease;
    background: white;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
}

.footer-logo:hover {
    opacity: 0.8;
}

body[data-theme="dark"] .footer-logo .logo-mark,
.theme-dark .footer-logo .logo-mark {
    filter: brightness(1.1);
}

.footer-brand .logo-mark {
    width: 180px;
    height: auto;
}

.footer-brand .tagline {
    margin: 12px 0;
    color: var(--text-muted);
    font-style: italic;
    font-size: 1rem;
    line-height: 1.5;
}

.footer-brand .disclaimer {
    margin: 16px 0 0 0;
    color: var(--accent-warning);
    font-size: 0.9rem;
    padding: 12px 16px;
    background: rgba(255, 87, 87, 0.1);
    border: 1px solid rgba(255, 87, 87, 0.2);
    border-radius: 8px;
    line-height: 1.5;
}

.theme-light .footer-brand .disclaimer {
    background: rgba(220, 38, 38, 0.08);
    border: 1px solid rgba(220, 38, 38, 0.15);
    color: #B91C1C;
}

.footer-quick-actions {
    margin-bottom: 2rem;
}

.footer-quick-actions .footer-head {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-cta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-cta {
    display: inline-block;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
    color: var(--text);
    background: transparent;
    border-left: 2px solid var(--accent-primary);
    border-radius: 0;
    transition: all 0.2s ease;
}

.footer-cta:hover {
    padding-left: 1.25rem;
    color: var(--accent-primary);
    border-left-width: 3px;
}

.footer-cta:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    align-items: center;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text);
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: white;
}

.social-link.whatsapp:hover {
    background: #25D366;
    color: white;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-contact {
    max-width: 400px;
}

.footer-heading {
    margin: 0 0 20px 0;
    font-size: 1.1rem;
    color: var(--text);
    font-weight: 600;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px 0;
    display: grid;
    gap: 14px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.contact-list svg {
    flex-shrink: 0;
    color: var(--accent-primary);
}

.contact-list a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-list a:hover {
    color: var(--accent-primary);
    text-decoration: underline;
}

.btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #FF6B35 0%, #E53935 100%);
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.25);
}

.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(229, 57, 53, 0.35);
}

.btn-contact:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.btn-contact svg {
    transition: transform 0.3s ease;
}

.btn-contact:hover svg {
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    background: var(--bg);
    padding: 24px 0;
}

.footer-bottom .container {
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ===== ANIMATIONS ===== */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

[data-reveal] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet and smaller laptops */
@media (max-width: 1024px) {
    .footer-content .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-brand,
    .footer-contact {
        max-width: 100%;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .services-grid {
        gap: 24px;
        max-width: 900px;
    }
    
    .curriculum-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
        max-width: 700px;
    }
    
    .cards.cards--3 {
        gap: 24px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Navigation */
    .nav-toggle {
        display: flex;
    }
    
    .desktop-only {
        display: none;
    }
    
    .nav-indicator {
        display: none;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: calc(100vh - 80px);
        background: white;
        border-left: 2px solid #e5e7eb;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        padding: 40px 20px 20px;
        gap: 8px;
        transition: right 0.3s ease;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        z-index: 1001;
    }
    
    .site-header[data-shrink="true"] ~ .nav-menu,
    .site-header[data-shrink="true"] + .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
    }
    
    .nav-menu[data-state="open"] {
        right: 0;
    }
    
    .nav-menu li {
        width: 100%;
    }
    
    .nav-menu a {
        padding: 16px 20px;
        text-align: center;
        border: 1px solid transparent;
        font-size: 16px;
        width: 100%;
        display: block;
        border-radius: 8px;
        transition: all 0.2s ease;
    }
    
    .nav-menu a:hover {
        border-color: #e5e7eb;
        background: #f8f9fa;
    }
    
    .nav-menu .nav-cta {
        display: flex;
        justify-content: center;
        margin-top: 20px;
        padding: 16px 20px;
        order: 999;
    }
    
    .nav-menu .nav-cta:hover {
        transform: translateY(-2px);
    }
    
    /* Sections */
    .section {
        padding: 60px 0;
    }
    
    .services-section {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 500px;
    }
    
    .services-header {
        margin-bottom: 60px;
    }
    
    .hero-bg {
        min-height: 500px;
        background-attachment: scroll;
    }
    
    .hero-content {
        padding: 80px 20px 60px;
        text-align: center;
    }
    
    .cta-row {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid,
    .stripe-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature {
        padding: 20px;
        text-align: center;
        flex-direction: column;
    }
    
    .feature-ico {
        margin-bottom: 12px;
    }
    
    .pricing-teaser {
        margin: 60px 0;
        padding: 40px 0;
    }
    
    .pt-cards {
        grid-template-columns: 1fr;
        max-width: 400px;
        gap: 24px;
    }
    
    .pt-featured {
        transform: none;
    }
    
    .pt-featured::after {
        top: -10px;
        font-size: 0.7rem;
        padding: 4px 12px;
    }
    
    .pt-card {
        padding: 24px 20px;
    }
    
    .price-amount {
        font-size: 2rem;
    }
    
    .about-wrap {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .about-media {
        min-height: 300px;
        order: -1;
    }
    
    .about-copy h2 {
        font-size: 1.75rem;
    }
    
    .testimonials-header {
        margin-bottom: 48px;
    }
    
    .testimonials-header h2 {
        font-size: 2rem;
    }
    
    .cards.cards--3 {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
    
    .section.container[aria-labelledby="curriculum-heading"] {
        margin: 40px 16px;
        padding: 40px 16px;
    }
    
    .curriculum-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
    }
    
    .section-head {
        margin-bottom: 32px;
    }
    
    .section-head h2 {
        font-size: 1.75rem;
    }
    
    .curr-card {
        padding: 20px;
    }
    
    .meta li {
        flex-direction: column;
        gap: 4px;
    }
    
    .meta span {
        min-width: auto;
    }
    
    .curr-actions {
        justify-content: center;
    }
    
    .instructors {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .inst-card {
        padding: 20px 16px;
    }
    
    .inst-photo {
        width: 70px;
        height: 70px;
    }
    
    .inst-body h3 {
        font-size: 1.1rem;
    }
    
    .cta-band {
        margin: 60px 0 0 0;
        padding: 60px 0;
    }
    
    .cta-band__content {
        padding: 0 20px;
    }
    
    .cta-band p {
        font-size: 1.1rem;
        margin-bottom: 32px;
    }
    
    .footer-content {
        padding: 40px 0;
    }
    
    .footer-brand .logo-mark {
        width: 150px;
    }
    
    .footer-heading {
        font-size: 1rem;
    }
    
    .contact-list li {
        font-size: 0.9rem;
    }
    
    .btn-contact {
        width: 100%;
        justify-content: center;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .features-band {
        padding: 40px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 16px;
    }
    
    .feature {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
    }
    
    .feature-ico {
        width: 48px;
        height: 48px;
        margin-bottom: 12px;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .feature-text {
        font-size: 0.95rem;
    }
    
    .service-content {
        padding: 0 24px 24px 24px;
    }
    
    .service-footer {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .service-btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-button {
        padding: 16px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 280px;
    }
    
    .service-card--secondary {
        transform: scale(1);
    }
    
    .service-card--secondary:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .service-icon {
        width: 80px;
        height: 80px;
    }
    
    .service-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .cards.cards--3 {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .section[aria-label="Student testimonials and reviews"] .container {
        padding: 0 20px;
    }
    
    .section.container[aria-labelledby="curriculum-heading"] {
        margin: 30px 12px;
        padding: 30px 12px;
    }
    
    .curriculum-grid {
        gap: 16px;
    }
    
    .curr-card {
        padding: 16px;
    }
    
    .curr-card h3 {
        font-size: 1.1rem;
    }
    
    .meta li {
        font-size: 0.85rem;
    }
    
    .cta-row {
        flex-direction: column;
        align-items: stretch;
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-bg {
        min-height: 450px;
    }
    
    .hero-content {
        padding: 60px 16px 40px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .pt-card {
        padding: 20px 16px;
    }
    
    .pt-list li {
        font-size: 0.85rem;
    }
    
    .about-media {
        min-height: 250px;
    }
    
    .testimonials-header h2 {
        font-size: 1.5rem;
    }
    
    .card.quote {
        padding: 20px 16px;
    }
    
    .card.quote blockquote {
        padding-left: 16px;
        margin-bottom: 20px;
    }
    
    .card.quote blockquote::before {
        font-size: 2rem;
        top: -4px;
    }
    
    .section-head h2 {
        font-size: 1.5rem;
    }
    
    .section-head .muted {
        font-size: 0.95rem;
    }
    
    .curr-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .link {
        justify-content: center;
        padding: 8px 0;
    }
    
    .inst-card {
        text-align: center;
        gap: 12px;
    }
    
    .inst-photo {
        width: 64px;
        height: 64px;
    }
    
    .inst-body h3 {
        font-size: 1rem;
    }
    
    .inst-cred,
    .inst-bio {
        font-size: 0.85rem;
    }
    
    .cta-band {
        padding: 40px 0;
    }
    
    .cta-band p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .services-cta {
        padding: 32px 20px;
        margin: 32px auto 0 auto;
    }
    
    .services-cta h3 {
        font-size: 1.25rem;
    }
    
    .services-cta p {
        font-size: 1rem;
        margin-bottom: 24px;
    }
    
    .cta-button {
        padding: 14px 24px;
        font-size: 0.95rem;
    }
    
    .service-content h3 {
        font-size: 1.5rem;
    }
    
    .feature {
        padding: 16px;
    }
    
    .feature-ico {
        width: 40px;
        height: 40px;
    }
    
    .feature-title {
        font-size: 1rem;
    }
    
    .feature-text {
        font-size: 0.9rem;
    }
    
    .footer-cta {
        font-size: 0.85rem;
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .container {
        padding: 0 12px;
    }
}

/* ===== DARK THEME SPECIFIC STYLES ===== */
body[data-theme="dark"] .nav-menu,
.theme-dark .nav-menu {
    background: #1a1a1a;
    border-left-color: #333;
}

body[data-theme="dark"] .nav-menu a,
.theme-dark .nav-menu a {
    color: #e5e7eb;
}

body[data-theme="dark"] .nav-menu a:hover,
.theme-dark .nav-menu a:hover {
    background: #2a2a2a;
    border-color: #444;
    color: #FFD23F;
}

body[data-theme="dark"] .nav-toggle,
.theme-dark .nav-toggle {
    background: #1a1a1a;
    border-color: #333;
    color: #e5e7eb;
}

body[data-theme="dark"] .nav-toggle:hover,
.theme-dark .nav-toggle:hover {
    background: #FF6B35;
    border-color: #FF6B35;
    color: white;
}

body[data-theme="dark"] .nav-overlay,
.theme-dark .nav-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.theme-dark .site-header {
    background: rgba(30, 30, 30, 0.95);
}

.theme-dark .site-header[data-shrink="true"] {
    background: rgba(20, 20, 20, 0.95);
}

.theme-dark .nav-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.theme-dark .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* ===== ACCESSIBILITY & PERFORMANCE ===== */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    [data-reveal] {
        transform: none !important;
    }
    
    .feature:hover,
    .card:hover,
    .curr-card:hover,
    .inst-card:hover,
    .pt-card:hover,
    .service-card:hover,
    .service-card:focus-within {
        transform: none !important;
    }
    
    .stripe::before {
        animation: none;
    }
    
    .cta-band::before {
        animation: none;
        opacity: 0.6;
    }
    
    .btn::before,
    .cta-button::before {
        display: none;
    }
    
    .service-card:hover .service-icon {
        transform: rotate(0deg) scale(1.05);
    }
    
    .service-card--secondary:hover {
        transform: translateY(-4px) scale(1.01);
    }
    
    .cta-button:hover {
        transform: translateY(-1px);
    }
    
    .cta-button:hover svg {
        transform: translateX(2px);
    }
    
    .pt-card::before,
    .curr-card::before,
    .inst-card::before,
    .card.quote::before,
    .feature::before {
        transition: none;
    }
    
    .link::after {
        transition: none;
    }
}

/* iOS Safari specific fixes */
@supports (-webkit-touch-callout: none) {
    .site-header {
        padding-top: env(safe-area-inset-top);
    }
}

/* Smooth theme transitions */
* {
    transition: background-color 0.3s ease, 
                border-color 0.3s ease, 
                color 0.3s ease;
}

/* Focus styles for accessibility */
.nav-toggle:focus-visible,
.theme-toggle:focus-visible {
    outline: 2px solid #E53935;
    outline-offset: 2px;
}

.nav-menu a:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Prevent body scroll when menu is open */
body.menu-open {
    overflow: hidden;
}

/* Smooth scrolling for mobile */
@media (max-width: 768px) {
    .nav-menu {
        -webkit-overflow-scrolling: touch;
    }
}

/* Background Image Fallback */
.cta-band {
    background-color: var(--bg);
}

/* Focus States */
.inst-card:focus-within {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .cta-band {
        background: none !important;
        border: 2px solid #ccc;
    }
    
    .cta-band::before {
        display: none;
    }
    
    .inst-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .inst-card:hover {
        transform: none;
    }
    
    .curr-card {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .curr-card:hover {
        transform: none;
    }
    
    .card.quote {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
    
    .card.quote:hover {
        transform: none;
    }
    
    .link::after {
        display: none;
    }
}

/* Backdrop filter fallback */
@supports not (backdrop-filter: blur(20px)) {
    .services-cta {
        background: linear-gradient(145deg, rgba(17, 17, 17, 0.95) 0%, rgba(25, 25, 25, 0.98) 100%);
    }
    
    .theme-light .services-cta {
        background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 248, 248, 0.98) 100%);
    }
}

/* Dark theme CTA button text contrast */
.theme-dark .cta-button,
body[data-theme="dark"] .cta-button {
    color: #000000;
}

.theme-light .cta-button {
    color: #000000;
}

/* Feature icon color fixes */
.theme-light .feature-ico {
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(346deg) brightness(104%) contrast(97%);
}