:root {
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #0284c7;
    --accent: #f43f5e;
    --bg-dark: #0f172a;
    --bg-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass: rgba(30, 41, 59, 0.7);
    --border: rgba(255, 255, 255, 0.1);
    --font-main: 'Outfit', sans-serif;
    --header-bg: rgba(30, 41, 59, 0.7);
    --header-scroll-bg: rgba(15, 23, 42, 0.9);
}

[data-theme="light"] {
    --bg-dark: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #475569;
    --glass: rgba(255, 255, 255, 0.7);
    --border: rgba(0, 0, 0, 0.1);
    --header-bg: rgba(255, 255, 255, 0.7);
    --header-scroll-bg: rgba(248, 250, 252, 0.9);
}

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

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Global Image Reset */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

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

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo img {
    height: 50px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-main);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.nav-dropdown-toggle i {
    font-size: 0.75rem;
    transition: transform 0.3s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1rem;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-radius: 10px;
    transition: all 0.2s ease;
    color: var(--text-muted);
}

.nav-dropdown-menu a:hover {
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-main);
}

.nav-dropdown-menu a i {
    width: 24px;
    text-align: center;
    color: var(--primary);
}

.nav-dropdown-menu a span {
    font-size: 0.9rem;
}

/* CTA Button in Nav */
.nav-cta {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white !important;
    padding: 0.6rem 1.25rem !important;
    border-radius: 50px;
    font-weight: 600 !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 1rem;
}

.theme-toggle:hover {
    color: var(--primary);
    transform: scale(1.1);
}

[data-theme="light"] .theme-toggle .fa-sun {
    display: none;
}

html:not([data-theme="light"]) .theme-toggle .fa-moon {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.15), transparent),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.15), transparent);
    padding-top: 100px;
}

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

.hero-content {
    flex: 1;
    max-width: 650px;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-tagline {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    display: block;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: block;
    color: inherit;
    text-decoration: none;
}

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

.card i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    display: block;
}

/* Footer */
footer {
    background: #0a0f1e;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
}

[data-theme="light"] footer {
    background: #f1f5f9;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Stretched Link */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* TOC Accordion Styles */
.toc-container {
    max-width: 900px;
    margin: 0 auto;
}

.toc-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.toc-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.toc-section:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.toc-section-header {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    transition: 0.3s;
    user-select: none;
}

.toc-section-header:hover {
    background: rgba(255, 255, 255, 0.05);
}

.toc-section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.section-number {
    width: 32px;
    height: 32px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.section-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-main);
}

.section-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 400;
    margin: 0;
    padding-left: 2.75rem;
    line-height: 1.5;
}

.section-count {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-right: 1rem;
}

.toggle-icon {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}

.toc-section.active .toggle-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.toc-section-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toc-section.active .toc-section-content {
    max-height: 5000px;
}

.chapter-list {
    padding: 0 1.5rem 1.5rem;
}

.chapter-item {
    padding: 1.25rem;
    border-left: 3px solid transparent;
    transition: 0.3s;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    border-radius: 0 8px 8px 0;
}

.chapter-item:hover {
    border-left-color: var(--primary);
    background: rgba(99, 102, 241, 0.05);
}

.chapter-details {
    flex: 1;
}

.chapter-name {
    font-weight: 600;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.chapter-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
}

.toc-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.toc-intro h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--primary);
}

.cta-box {
    margin-top: 4rem;
    padding: 4rem;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid var(--border);
    text-align: center;
}

.cta-box h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Course Hero & Meta Styles */
.course-hero {
    padding: 120px 0 40px;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent),
        radial-gradient(circle at bottom left, rgba(14, 165, 233, 0.1), transparent);
    text-align: center;
}

.course-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.course-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.course-meta-row {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.course-meta-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.course-meta-item i {
    color: var(--secondary);
    font-size: 1.25rem;
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

/* Adjust section padding for reduced gap */
.section {
    padding: 3rem 0;
}

.page-header {
    padding: 120px 0 40px !important;
}

/* Contact Page Styles */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Founder Section */
.founder-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-image {
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--header-scroll-bg);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid var(--border);
        backdrop-filter: blur(12px);
        text-align: center;
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }

    .theme-toggle {
        margin-left: 0;
    }

    h1 {
        font-size: 2.5rem;
    }

    /* Founder Grid Responsive */
    .founder-grid {
        grid-template-columns: 1fr !important;
        text-align: center;
    }

    .founder-image-container {
        margin-bottom: 2rem;
    }

    /* Contact Grid Responsive */
    .contact-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }

    .form-row {
        grid-template-columns: 1fr !important;
    }

    /* Hero Buttons Mobile Fix */
    .hero-btns {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }

    .hero-btns a {
        margin-left: 0 !important;
        width: 100%;
        text-align: center;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

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

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

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.mb-1 {
    margin-bottom: 0.5rem;
}

.mb-2 {
    margin-bottom: 1rem;
}

.mb-3 {
    margin-bottom: 1.5rem;
}

.mb-4 {
    margin-bottom: 2rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.gap-1 {
    gap: 0.5rem;
}

.gap-2 {
    gap: 1rem;
}

.gap-4 {
    gap: 2rem;
}

.d-block {
    display: block;
}

/* Stats Grid for centered alignment */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: left;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 200px;
    /* Ensure consistency */
}

.stat-number {
    color: var(--secondary);
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
}

.stat-label {
    margin: 0;
    color: var(--text-muted);
    line-height: 1.2;
}

/* Journey Section */
.journey-section {
    padding: 2rem 0;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.05), transparent);
    position: relative;
    overflow: hidden;
}

.journey-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-top: 3rem;
}

.journey-item {
    flex: 1;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.journey-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.journey-icon {
    width: 70px;
    height: 70px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    transition: 0.3s;
}

.journey-item:hover .journey-icon {
    background: var(--primary);
    color: white;
    transform: rotateY(360deg);
}

.journey-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.journey-item p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.journey-item.active {
    border-color: var(--primary);
    background: linear-gradient(135deg, var(--bg-card), rgba(99, 102, 241, 0.15));
}

.highlight-bg {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.4);
}

.journey-arrow {
    font-size: 1.5rem;
    color: var(--primary);
    opacity: 0.5;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 0.3;
    }
}

@media (max-width: 992px) {
    .journey-grid {
        flex-direction: column;
        gap: 2rem;
    }

    .journey-arrow {
        transform: rotate(90deg) !important;
        margin: 1rem 0;
    }
}

/* ========================================
   FLOATING WHATSAPP BUTTON
   ======================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 999;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #25D366;
    color: white;
    padding: 0.875rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
}

.floating-whatsapp i {
    font-size: 1.5rem;
}

.floating-whatsapp span {
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .floating-whatsapp {
        padding: 1rem;
        border-radius: 50%;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .floating-whatsapp span {
        display: none;
    }
}

/* ========================================
   CARD COLOR ACCENTS
   ======================================== */
.card-genai {
    border-top: 4px solid #3B82F6;
}

.card-genai:hover {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.card-genai i {
    color: #3B82F6;
}

.card-playwright {
    border-top: 4px solid #10B981;
}

.card-playwright:hover {
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.card-playwright i {
    color: #10B981;
}

.card-selenium {
    border-top: 4px solid #F59E0B;
}

.card-selenium:hover {
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2);
}

.card-selenium i {
    color: #F59E0B;
}

.card-cypress {
    border-top: 4px solid #8B5CF6;
}

.card-cypress:hover {
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
}

.card-cypress i {
    color: #8B5CF6;
}

.card-mentor {
    border-top: 4px solid #EC4899;
}

.card-mentor:hover {
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2);
}

.card-mentor i {
    color: #EC4899;
}

/* Card arrow indicator */
.card::after {
    content: '→';
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    font-size: 1.25rem;
    color: var(--text-muted);
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.scale-in.visible {
    opacity: 1;
    transform: scale(1);
}

/* Staggered animation for card grids */
.card-grid .card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card-grid .card.visible {
    opacity: 1;
    transform: translateY(0);
}

.card-grid .card:nth-child(1) { transition-delay: 0.1s; }
.card-grid .card:nth-child(2) { transition-delay: 0.2s; }
.card-grid .card:nth-child(3) { transition-delay: 0.3s; }
.card-grid .card:nth-child(4) { transition-delay: 0.4s; }
.card-grid .card:nth-child(5) { transition-delay: 0.5s; }
.card-grid .card:nth-child(6) { transition-delay: 0.6s; }

/* ========================================
   ENHANCED BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: inherit;
    position: relative;
    overflow: hidden;
}

.btn i {
    transition: transform 0.3s ease;
}

.btn:hover i {
    transform: translateX(3px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: translateY(-2px);
}

/* Button ripple effect */
.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.btn:active::before {
    width: 300px;
    height: 300px;
}

/* ========================================
   EYEBROW TEXT & SECTION HEADINGS
   ======================================== */
.eyebrow {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 1rem;
}

.section-heading {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-heading .highlight {
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   IMPROVED STATS WITH ANIMATION
   ======================================== */
.stat-number {
    color: var(--secondary);
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   SECTION DIVIDERS
   ======================================== */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
    margin: 0 auto;
    max-width: 600px;
}

/* ========================================
   FOOTER IMPROVEMENTS
   ======================================== */
footer {
    background: linear-gradient(180deg, #0a0f1e 0%, #050810 100%);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--border);
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(180deg, var(--bg-dark), transparent);
    pointer-events: none;
}

[data-theme="light"] footer {
    background: linear-gradient(180deg, #f1f5f9 0%, #e2e8f0 100%);
}

[data-theme="light"] footer::before {
    background: linear-gradient(180deg, var(--bg-dark), transparent);
}

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

.footer-social a {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* Back to top button */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    transform: translateY(-3px);
}

/* ========================================
   GLASSMORPHISM ENHANCEMENTS
   ======================================== */
.glass-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ========================================
   MOBILE DROPDOWN
   ======================================== */
@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        min-width: 100%;
        box-shadow: none;
        background: transparent;
        border: none;
        padding: 0.5rem 0 0;
        display: none;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
    }

    .nav-dropdown-menu a {
        padding: 0.75rem 1rem;
        justify-content: center;
    }

    .back-to-top {
        left: 1.5rem;
        bottom: 1.5rem;
        width: 40px;
        height: 40px;
    }
}