/* ==========================================================================
   Base & Variables
   ========================================================================== */
    :root {
    /* Color Palette - Elite Light Theme */
    --bg-dark: #ffffff; 
    --bg-card: rgba(255, 255, 255, 0.75);
    --bg-card-hover: rgba(255, 255, 255, 0.98);
    
    --text-main: #0f172a; /* Sophisticated deep blue-black */
    --text-muted: #64748b; /* Slate-500 */
    
    --primary: #4f46e5; /* Modern Indigo */
    --primary-glow: rgba(79, 70, 229, 0.3);
    --secondary: #db2777; /* Modern Pink */
    --accent: #059669; /* Modern Emerald */
    
    --gradient-primary: linear-gradient(135deg, var(--primary), var(--secondary));
    --gradient-text: linear-gradient(to right, var(--primary), var(--secondary));
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Effects */
    --glass-border: 1px solid rgba(0, 0, 0, 0.04);
    --shadow-glow: 0 10px 30px rgba(79, 70, 229, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.04);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

/* ==========================================================================
   Typography & Utilities
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -1px; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }

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

.subtitle {
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.5rem;
}

.text-center { text-align: center; }
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.2rem;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    border: 1px solid rgba(99, 102, 241, 0.1);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    gap: 0.5rem;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.05);
    color: var(--text-main);
    border: 1px solid rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

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

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

/* ==========================================================================
   Glassmorphism
   ========================================================================== */
.glass-panel {
    background: rgba(255, 255, 255, 0.9); /* Increased opacity for better readability */
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 0;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: var(--glass-border);
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-shadow: 
        1px 1px 0px #e2e8f0,
        2px 2px 0px #cbd5e1,
        3px 3px 0px #94a3b8,
        4px 4px 5px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    display: inline-block;
}

.logo-text:hover {
    transform: translateY(-2px) rotateX(10deg);
}

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

.menu-toggle {
    display: none;
}

.nav-links {
    display: flex;
    gap: 1.5rem; /* Reduced gap */
    list-style: none;
    align-items: center;
    flex-wrap: nowrap; /* Prevent wrapping */
}

.nav-links li {
    position: relative;
    white-space: nowrap; /* Prevent text wrapping */
}

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

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

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

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 220px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
    list-style: none;
}

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

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}
.dropdown-menu li a.new-badge::after {
    content: 'NEW';
    font-size: 0.65rem;
    font-weight: 800;
    background: #ef4444;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 8px;
    vertical-align: middle;
}

.dropdown-menu li a:hover {
    background: rgba(99, 102, 241, 0.05);
    color: var(--primary);
    padding-left: 1.75rem;
}

/* Mega Dropdown and Submenus */
.courses-grid {
    width: 750px !important;
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem 1rem;
    padding: 1.5rem !important;
}

.courses-grid li a {
    white-space: nowrap;
    padding: 0.6rem 1rem !important;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu .submenu {
    position: absolute;
    top: 0;
    left: 100%;
    width: 250px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    padding: 1rem 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all 0.3s ease;
    list-style: none;
}

.dropdown-submenu:hover .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.dropdown-submenu .dropdown-toggle {
    justify-content: space-between;
}

.dropdown-submenu i {
    font-size: 0.65rem;
    transform: rotate(0);
}

.dropdown-submenu:hover > a {
    background: rgba(99, 102, 241, 0.05);
    color: var(--primary);
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Background Glow Orbs */
.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    animation: float 10s infinite ease-in-out alternate;
}

.orb-1 {
    top: 10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: rgba(99, 102, 241, 0.15);
}

.orb-2 {
    bottom: -10%;
    right: -10%;
    width: 40vw;
    height: 40vw;
    background: rgba(236, 72, 153, 0.1);
    animation-delay: -5s;
}

/* 3D Floating Social Logos */
.shape-3d {
    position: absolute;
    z-index: -1;
    animation: float3D 15s infinite linear;
    transform-style: preserve-3d;
    font-size: 6rem;
    opacity: 0.15;
    transition: var(--transition);
}

.shape-3d i {
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.2));
}

.shape-1 { top: 15%; left: 8%; animation-duration: 25s; color: #1877F2; } /* Meta */
.shape-2 { top: 60%; right: 10%; animation-duration: 20s; animation-direction: reverse; color: #EA4335; } /* Google */
.shape-3 { top: 75%; left: 15%; animation-duration: 22s; color: #111827; } /* TikTok */
.shape-4 { top: 25%; right: 15%; animation-duration: 18s; animation-direction: reverse; color: #E1306C; } /* Insta */
.shape-5 { top: 45%; left: 45%; animation-duration: 28s; color: #0A66C2; } /* LinkedIn */
.shape-6 { top: 65%; left: 35%; animation-duration: 24s; color: #6366F1; } /* Robot */
.shape-7 { top: 10%; right: 40%; animation-duration: 30s; animation-direction: reverse; color: #EC4899; } /* Brain */
.shape-8 { top: 80%; right: 30%; animation-duration: 26s; color: #10B981; } /* Microchip */

@keyframes float3D {
    0% { transform: translateY(0) rotateX(0) rotateY(0); }
    50% { transform: translateY(-40px) rotateX(180deg) rotateY(180deg); }
    100% { transform: translateY(0) rotateX(360deg) rotateY(360deg); }
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding-bottom: 2rem;
}

/* Standalone Stats Ribbon Section */
.stats-ribbon {
    padding: 4rem 0;
    background: #fff;
    border-bottom: 1px solid #f1f5f9;
    position: relative;
    z-index: 5;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.stats-ribbon .stat-item {
    padding: 1rem;
}

.stats-ribbon .stat-num {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-heading);
}

.stats-ribbon .stat-num span {
    color: var(--primary);
}

.stats-ribbon .stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

/* Hero Visual (Refined Centering) */
.hero-visual {
    perspective: 2000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.app-links {
    display: flex;
    gap: 1rem;
}

.app-btn {
    background: #000;
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-align: left;
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.app-btn:hover {
    transform: translateY(-3px);
    background: #111;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.app-btn i {
    font-size: 1.8rem;
}

.app-btn span {
    font-size: 0.7rem;
    line-height: 1.2;
    display: block;
}

.app-btn b {
    font-size: 0.95rem;
    display: block;
}

.visual-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 500px;
}

.standalone-magnet {
    position: relative;
    width: 300px; 
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 4000px;
    transform-style: preserve-3d;
}

.main-magnet {
    font-size: 14rem; /* Balanced Giant size */
    color: #ef4444;
    filter: drop-shadow(0 40px 100px rgba(239, 68, 68, 0.7));
    transform: rotate(-45deg) translateZ(100px);
    animation: magnetPulse 2s infinite ease-in-out;
    z-index: 10;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding-top: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: var(--transition);
}

.stat-item:hover {
    transform: translateY(-5px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    transition: var(--transition);
}

.stat-item:hover .stat-icon {
    background: var(--primary);
    color: white;
    transform: rotate(-10deg);
}

.stat-text h3 {
    display: inline;
    font-size: 2.25rem;
    color: var(--text-main);
    margin: 0;
    font-weight: 800;
}

.stat-text span {
    font-size: 1.75rem;
    color: var(--primary);
    font-weight: 700;
}

.stat-text p {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
}

/* Hero Visual (Standalone 3D Magnet) */
.hero-visual {
    perspective: 1500px;
}

.visual-wrapper {
    position: relative;
    padding: 100px; /* More space for the orbit */
    display: flex;
    justify-content: center;
    align-items: center;
}

.standalone-magnet {
    transform-style: preserve-3d;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.1));
}

.card-header {
    display: none;
}

.dots { display: flex; gap: 8px; }
.dots span { width: 12px; height: 12px; border-radius: 50%; }
.dots span:nth-child(1) { background: #ff5f56; }
.dots span:nth-child(2) { background: #ffbd2e; }
.dots span:nth-child(3) { background: #27c93f; }

.card-header p { margin: 0; font-size: 0.9rem; color: #64748b; font-weight: 600; font-family: var(--font-heading); }

.hero-visual {
    perspective: 2000px;
}

.visual-wrapper {
    position: relative;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 600px;
    width: 100%;
}

.standalone-magnet {
    position: relative;
    width: 400px; 
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 4000px;
    transform-style: preserve-3d;
    margin-right: -100px; /* Let it bleed out of the right edge slightly */
}

.main-magnet {
    font-size: 15rem; /* Slightly adjusted for better fit */
    color: #ef4444;
    filter: drop-shadow(0 40px 100px rgba(239, 68, 68, 0.7));
    transform: rotate(-45deg) translateZ(150px);
    animation: magnetPulse 2s infinite ease-in-out;
    z-index: 10;
}

@keyframes magnetPulse {
    0%, 100% { transform: rotate(-45deg) scale(1); }
    50% { transform: rotate(-45deg) scale(1.1); filter: drop-shadow(0 0 35px rgba(239, 68, 68, 0.7)); }
}

.magnet-glow {
    position: absolute;
    width: 120px; height: 120px;
    background: radial-gradient(circle, rgba(239, 68, 68, 0.3) 0%, transparent 70%);
    animation: glowMove 4s infinite alternate;
}

@keyframes glowMove {
    from { transform: scale(1); opacity: 0.5; }
    to { transform: scale(1.5); opacity: 0.8; }
}

/* Orbiting Icons - Balanced Ultra Orbit */
.orbit {
    position: absolute;
    width: 550px; height: 550px; /* Slightly adjusted to fit top-right */
    border: 2px dashed rgba(99, 102, 241, 0.05);
    border-radius: 50%;
    animation: rotateOrbit 20s infinite linear;
    z-index: 1;
}

.orbit-icon {
    position: absolute;
    width: 60px; height: 60px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    padding: 0;
    animation: counterRotate 20s infinite linear;
    /* overflow: hidden; removed to let sparks fly out */
}

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

/* Updated 10-Icon Orbit Positioning (36-degree intervals) */
.orbit-icon.meta { top: 0; left: 50%; margin-left: -30px; margin-top: -30px; } /* 0 deg */
.orbit-icon.shopify { top: 9.5%; left: 79.4%; margin-left: -30px; margin-top: -30px; } /* 36 deg */
.orbit-icon.google { top: 34.5%; left: 97.6%; margin-left: -30px; margin-top: -30px; } /* 72 deg */
.orbit-icon.youtube { top: 65.5%; left: 97.6%; margin-left: -30px; margin-top: -30px; } /* 108 deg */
.orbit-icon.playstore { top: 90.5%; left: 79.4%; margin-left: -30px; margin-top: -30px; } /* 144 deg */
.orbit-icon.whatsapp { top: 100%; left: 50%; margin-left: -30px; margin-top: -30px; } /* 180 deg */
.orbit-icon.appstore { top: 90.5%; left: 20.6%; margin-left: -30px; margin-top: -30px; } /* 216 deg */
.orbit-icon.linkedin { top: 65.5%; left: 2.4%; margin-left: -30px; margin-top: -30px; } /* 252 deg */
.orbit-icon.insta { top: 34.5%; left: 2.4%; margin-left: -30px; margin-top: -30px; } /* 288 deg */
.orbit-icon.chatgpt { top: 9.5%; left: 20.6%; margin-left: -30px; margin-top: -30px; } /* 324 deg */

/* Attraction Sparks Effect (Common) */
.attraction-sparks {
    position: absolute;
    width: 100%; height: 100%;
    pointer-events: none;
}

.spark {
    position: absolute;
    font-weight: 800;
    font-size: 1rem;
    opacity: 0;
    color: #10b981;
}

.spark.follower { color: #6366f1; font-size: 0.8rem; }

/* Positional Pull Animations */
.meta .money { animation: pull0 2s infinite 0s; }
.meta .follower { animation: pull0 2s infinite 1s; }
@keyframes pull0 { 0% { transform: translate(0,0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(180px); opacity: 0; } }

.whatsapp .money { animation: pull180 2s infinite 0.9s; }
.whatsapp .follower { animation: pull180 2s infinite 1.9s; }
@keyframes pull180 { 0% { transform: translate(0,0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-180px); opacity: 0; } }

/* Store Specific Pulls */
.playstore .money { animation: pullPlay 2s infinite 0.1s; }
.playstore .follower { animation: pullPlay 2s infinite 1.1s; }
@keyframes pullPlay { 0% { transform: translate(0,0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(-150px, -150px); opacity: 0; } }

.appstore .money { animation: pullApp 2s infinite 0.6s; }
.appstore .follower { animation: pullApp 2s infinite 1.6s; }
@keyframes pullApp { 0% { transform: translate(0,0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translate(150px, -150px); opacity: 0; } }

/* Generic Pulls for others */
.google .money, .youtube .money { animation: pullLeft 2s infinite; }
@keyframes pullLeft { 0% { transform: translate(0,0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(-180px); opacity: 0; } }

.insta .money, .linkedin .money { animation: pullRight 2s infinite; }
@keyframes pullRight { 0% { transform: translate(0,0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateX(180px); opacity: 0; } }


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

/* Conversion Sparks */
.sparks {
    position: absolute;
    bottom: -20px;
}

.sparks span {
    position: absolute;
    font-weight: 800;
    color: #10b981;
    font-size: 1.25rem;
    opacity: 0;
    animation: flyOut 2s infinite ease-out;
}

.sparks span:nth-child(1) { left: -20px; animation-delay: 0s; }
.sparks span:nth-child(2) { left: 10px; animation-delay: 0.7s; }
.sparks span:nth-child(3) { left: 40px; animation-delay: 1.4s; }

@keyframes flyOut {
    0% { transform: translateY(0) scale(0.5); opacity: 0; }
    20% { opacity: 1; }
    100% { transform: translateY(60px) translateX(20px) rotate(45deg); opacity: 0; }
}

/* Magnet Stats */
.magnet-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.m-stat { display: flex; flex-direction: column; gap: 0.5rem; }
.m-label { font-size: 0.8rem; font-weight: 600; color: #64748b; }
.m-bar { width: 100%; height: 8px; background: #f1f5f9; border-radius: 10px; overflow: hidden; }
.m-fill { 
    height: 100%; 
    background: var(--gradient-primary); 
    border-radius: 10px;
    animation: fillBar 2s ease-out forwards;
}

@keyframes fillBar { from { width: 0; } }

.metric-row {
    display: flex;
    justify-content: space-between;
    background: #f1f5f9;
    padding: 1.5rem 2.5rem;
    border-radius: 24px;
    border: 1px solid #e2e8f0;
}

.metric { display: flex; flex-direction: column; gap: 0.5rem; }
.metric .label { font-size: 0.8rem; color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; }
.metric .value { font-size: 2rem; font-weight: 800; font-family: var(--font-heading); color: #0f172a; display: flex; align-items: center; gap: 0.75rem; }
.metric .value.success { color: #059669; }

.pulse-icon {
    animation: iconPulse 2s infinite ease-in-out;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.section-header {
    margin-bottom: 4rem;
}

.section-header p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    padding: 2.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.service-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
    border-color: rgba(99, 102, 241, 0.3);
    background: var(--bg-card-hover);
    box-shadow: 10px 20px 30px rgba(99, 102, 241, 0.15);
}

.service-card h3, .service-card p, .service-card .icon-box, .service-card .learn-more {
    transition: transform 0.4s ease;
}

.service-card:hover h3 { transform: translateZ(30px); }
.service-card:hover p { transform: translateZ(20px); }
.service-card:hover .icon-box { transform: translateZ(40px); }
.service-card:hover .learn-more { transform: translateZ(35px); }

.icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.service-card h3 { margin-bottom: 1rem; }
.service-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.learn-more {
    color: var(--text-main);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.learn-more:hover { color: var(--primary); }
.learn-more i { transition: transform 0.3s; }
.service-card:hover .learn-more i { transform: translateX(5px); }

/* ==========================================================================
   Ecosystem Section
   ========================================================================== */
.ecosystem {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #ffffff 100%);
    position: relative;
}

.ecosystem-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.eco-content p { color: var(--text-muted); font-size: 1.125rem; }

.eco-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.eco-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: var(--bg-card);
    padding: 1.5rem 2rem;
    border-radius: 20px;
    border: var(--glass-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    transition: var(--transition);
    position: relative;
}

.eco-card:hover {
    background: var(--bg-card-hover);
    transform: translateX(10px);
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: var(--shadow-glow);
}

.eco-icon {
    width: 50px;
    height: 50px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--secondary);
}

.eco-text h4 { margin: 0 0 0.25rem 0; font-size: 1.125rem; }
.eco-text p { margin: 0; color: var(--text-muted); font-size: 0.875rem; }

.link-icon {
    position: absolute;
    right: 2rem;
    color: var(--text-muted);
    opacity: 0;
    transition: var(--transition);
}

.eco-card:hover .link-icon {
    opacity: 1;
    color: var(--text-main);
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-box {
    padding: 5rem 2rem;
    background: linear-gradient(145deg, #ffffff, #f4f5f7);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 4px;
    background: var(--gradient-primary);
}

.cta-box h2 { font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 1.5rem; }
.cta-box p { color: var(--text-muted); font-size: 1.25rem; margin-bottom: 2.5rem; max-width: 600px; margin-inline: auto; }

/* ==========================================================================
   Footer
   ========================================================================== */
.mb-5 { margin-bottom: 5rem !important; }
.mt-5 { margin-top: 5rem !important; }
.mt-4 { margin-top: 3rem !important; }

.footer {
    background: #ffffff;
    padding: 5rem 0 2rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    position: relative;
    z-index: 10;
}

.bg-light { background-color: #ffffff !important; }
.section { padding: 6rem 0; position: relative; z-index: 5; background-color: #ffffff; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    max-width: 300px;
}

/* 3D Animated Social Icons */
.social-links { 
    display: flex; 
    gap: 1rem; 
    perspective: 1000px; /* Essential for 3D effect */
    padding: 10px 0;
}
.social-links a {
    width: 45px; height: 45px;
    border-radius: 12px;
    background: white;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
    transform-style: preserve-3d;
    position: relative;
}
.social-links a::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
    transform: translateZ(-10px);
}
.social-links a:hover { 
    background: var(--gradient-primary); 
    color: white; 
    transform: translateY(-8px) rotateX(15deg) rotateY(15deg) scale(1.1);
    box-shadow: 15px 25px 30px -5px rgba(99, 102, 241, 0.4), -15px 25px 30px -5px rgba(236, 72, 153, 0.3);
}
.social-links a:hover::after {
    opacity: 1;
}
.social-links a i {
    transform: translateZ(20px);
    font-size: 1.25rem;
    transition: transform 0.4s ease;
}
.social-links a:hover i {
    transform: translateZ(30px) scale(1.2);
}

.footer-links h4 { margin-bottom: 1.5rem; color: var(--text-main); }
.footer-links ul { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-links a { color: var(--text-muted); }
.footer-links a:hover { color: var(--primary); padding-left: 5px; }

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

/* ==========================================================================
   Animations
   ========================================================================== */
@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-20px) scale(1.05); }
}

@keyframes growBar {
    to { transform: scaleY(1); }
}

/* Scroll Reveal Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }

/* ==========================================================================
   Dark Mode Toggle
   ========================================================================== */
.dark-mode-toggle {
    width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1);
    background: rgba(0,0,0,0.03); cursor: pointer; display: flex; align-items: center;
    justify-content: center; font-size: 1.1rem; color: var(--text-main); transition: var(--transition);
}
.dark-mode-toggle:hover { background: var(--primary); color: white; transform: rotate(20deg); }

/* Dark Theme */
[data-theme="dark"] { --bg-dark: #0f172a; --bg-card: rgba(30, 41, 59, 0.8); --bg-card-hover: rgba(30, 41, 59, 0.95);
    --text-main: #f1f5f9; --text-muted: #94a3b8; --glass-border: 1px solid rgba(255,255,255,0.08); }
[data-theme="dark"] .navbar { background: rgba(15, 23, 42, 0.95); }
[data-theme="dark"] .navbar.scrolled { background: rgba(15, 23, 42, 0.98); border-bottom-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .section { background-color: #0f172a; }
[data-theme="dark"] .stats-ribbon { background: #1e293b; border-bottom-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .footer { background: #0f172a; border-top-color: rgba(255,255,255,0.05); }
[data-theme="dark"] .glass-panel { background: rgba(30, 41, 59, 0.9); box-shadow: 0 10px 30px rgba(0,0,0,0.3); }
[data-theme="dark"] .dropdown-menu, [data-theme="dark"] .submenu { background: #1e293b; }
[data-theme="dark"] .dropdown-menu li a:hover { background: rgba(99, 102, 241, 0.15); }
[data-theme="dark"] .logo-text { color: #f1f5f9; text-shadow: none; }
[data-theme="dark"] .dark-mode-toggle { border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); color: #fbbf24; }
[data-theme="dark"] .cta-box { background: linear-gradient(145deg, #1e293b, #0f172a); }
[data-theme="dark"] .faq-question { background: #1e293b; color: #f1f5f9; }
[data-theme="dark"] .faq-answer { background: #1a2332; }
[data-theme="dark"] .faq-item { border-color: rgba(255,255,255,0.08); }
[data-theme="dark"] .ecosystem { background: linear-gradient(180deg, #0f172a, #1e293b); }
[data-theme="dark"] .btn-outline { border-color: rgba(255,255,255,0.2); color: #f1f5f9; }
[data-theme="dark"] .orbit-icon { background: #1e293b; }
[data-theme="dark"] .founder-img-placeholder { background: #1e293b; }

/* ==========================================================================
   Client Logo Bar (Marquee)
   ========================================================================== */
.logo-bar { padding: 3rem 0; background: #fff; border-bottom: 1px solid #f1f5f9; position: relative; z-index: 10; }
[data-theme="dark"] .logo-bar { background: #0f172a; border-bottom-color: rgba(255,255,255,0.05); }
.logo-bar-label { text-align: center; text-transform: uppercase; letter-spacing: 3px; font-size: 0.75rem; font-weight: 800; color: #94a3b8; margin-bottom: 2rem; }
.marquee { overflow: hidden; position: relative; white-space: nowrap; }
.marquee::before, .marquee::after { content: ''; position: absolute; top: 0; width: 150px; height: 100%; z-index: 2; pointer-events: none; }
.marquee::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.marquee::after { right: 0; background: linear-gradient(to left, #fff, transparent); }
[data-theme="dark"] .marquee::before { background: linear-gradient(to right, #0f172a, transparent); }
[data-theme="dark"] .marquee::after { background: linear-gradient(to left, #0f172a, transparent); }
.marquee-track { display: flex; gap: 4rem; animation: marqueeScroll 40s linear infinite; width: max-content; align-items: center; }
.marquee-track img { height: 45px; width: auto; opacity: 0.4; filter: grayscale(100%); transition: all 0.4s ease; }
.marquee-track img:hover { opacity: 1; filter: grayscale(0%); transform: scale(1.1); }
@keyframes marqueeScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ==========================================================================
   Case Studies
   ========================================================================== */
.cases-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.case-card { padding: 2.5rem; position: relative; overflow: hidden; transition: all 0.4s ease; }
.case-card:hover { transform: translateY(-8px); }
.case-accent { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-primary); }
.case-accent.accent-green { background: linear-gradient(135deg, #10b981, #34d399); }
.case-accent.accent-pink { background: linear-gradient(135deg, #ec4899, #f472b6); }
.case-badge { display: inline-block; padding: 0.3rem 0.8rem; border-radius: 6px; font-size: 0.75rem; font-weight: 700; background: rgba(99,102,241,0.1); color: var(--primary); margin-bottom: 1rem; }
.case-badge.badge-green { background: rgba(16,185,129,0.1); color: #10b981; }
.case-badge.badge-pink { background: rgba(236,72,153,0.1); color: #ec4899; }
.case-card h3 { margin-bottom: 0.75rem; }
.case-card p { color: var(--text-muted); margin-bottom: 1.5rem; font-size: 0.95rem; }
.case-metrics { display: flex; gap: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(0,0,0,0.05); }
[data-theme="dark"] .case-metrics { border-top-color: rgba(255,255,255,0.08); }
.case-metric { display: flex; flex-direction: column; }
.metric-value { font-size: 2rem; font-weight: 800; font-family: var(--font-heading); background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.metric-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; }

/* ==========================================================================
   Course Preview Cards
   ========================================================================== */
.course-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.course-preview-card { padding: 2.5rem; text-align: center; position: relative; overflow: hidden; transition: all 0.4s ease; }
.course-preview-card:hover { transform: translateY(-8px); border-color: rgba(99,102,241,0.3); }
.course-tag { display: inline-block; padding: 0.35rem 1rem; border-radius: 50px; font-size: 0.8rem; font-weight: 700; background: rgba(0,0,0,0.04); color: var(--text-muted); margin-bottom: 1.5rem; }
.course-tag.popular { background: rgba(239,68,68,0.1); color: #ef4444; }
.course-tag.new { background: rgba(99,102,241,0.1); color: var(--primary); }
.course-card-icon { width: 70px; height: 70px; border-radius: 20px; background: rgba(99,102,241,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.75rem; margin: 0 auto 1.5rem; }
.course-card-icon.icon-ai { background: rgba(236,72,153,0.1); color: var(--secondary); }
.course-card-icon.icon-seo { background: rgba(16,185,129,0.1); color: var(--accent); }
.course-preview-card h3 { margin-bottom: 0.75rem; }
.course-preview-card > p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1.25rem; min-height: 48px; }
.course-rating { color: #f59e0b; font-size: 0.9rem; margin-bottom: 1rem; display: flex; align-items: center; justify-content: center; gap: 0.3rem; }
.course-rating span { color: var(--text-muted); font-size: 0.8rem; margin-left: 0.3rem; }
.course-price { margin-bottom: 1.5rem; }
.price-current { font-size: 1.75rem; font-weight: 800; font-family: var(--font-heading); color: var(--text-main); }
.price-old { font-size: 1rem; text-decoration: line-through; color: var(--text-muted); margin-left: 0.75rem; }
.course-preview-card .btn { width: 100%; }

/* ==========================================================================
   Testimonials Slider
   ========================================================================== */
.testimonials-section { background: linear-gradient(180deg, #fff, #f8fafc); }
[data-theme="dark"] .testimonials-section { background: linear-gradient(180deg, #0f172a, #1e293b); }
.testimonial-slider { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.testimonial-slide-card { padding: 2.5rem; transition: all 0.4s ease; }
.testimonial-slide-card:hover { transform: translateY(-5px); }
.testimonial-slide-card .stars { color: #f59e0b; font-size: 1.25rem; margin-bottom: 1rem; }
.testimonial-slide-card > p { font-size: 1.05rem; font-style: italic; color: var(--text-main); margin-bottom: 1.5rem; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 1rem; }
.testimonial-author .avatar { width: 48px; height: 48px; border-radius: 50%; background: rgba(99,102,241,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.25rem; }
.testimonial-author .student-info h4 { margin: 0; font-size: 1rem; }
.testimonial-author .student-info p { margin: 0; font-size: 0.85rem; color: var(--text-muted); }
.slider-dots { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.slider-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,0.15); cursor: pointer; transition: all 0.3s; border: none; }
.slider-dot.active { background: var(--primary); width: 28px; border-radius: 10px; }

/* ==========================================================================
   Google Reviews Widget
   ========================================================================== */
.google-reviews-widget { padding: 3rem 0; }
.google-review-card { display: inline-flex; flex-direction: column; align-items: center; gap: 0.75rem; padding: 2.5rem 4rem; transition: all 0.3s ease; }
.google-review-card:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(99,102,241,0.12); }
.google-logo-row { display: flex; align-items: center; gap: 0.75rem; font-weight: 600; font-size: 1rem; color: var(--text-muted); }
.google-rating { display: flex; align-items: center; gap: 1rem; }
.big-rating { font-size: 3.5rem; font-weight: 800; font-family: var(--font-heading); color: var(--text-main); }
.stars-row { color: #f59e0b; font-size: 1.5rem; }
.google-review-card > p { color: var(--text-muted); margin: 0; }
.review-link { color: var(--primary); font-weight: 600; font-size: 0.9rem; }

/* ==========================================================================
   Founder Section
   ========================================================================== */
.founder-layout { display: grid; grid-template-columns: 1fr 1.2fr; gap: 4rem; align-items: center; }
.founder-image { position: relative; text-align: center; }
.founder-img-placeholder { width: 300px; height: 350px; border-radius: 24px; background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(236,72,153,0.08)); display: flex; align-items: center; justify-content: center; font-size: 6rem; color: var(--primary); margin: 0 auto; box-shadow: 0 20px 50px rgba(99,102,241,0.1); }
.founder-badge-card { display: inline-flex; align-items: center; gap: 0.5rem; background: #fff; padding: 0.75rem 1.5rem; border-radius: 12px; box-shadow: 0 10px 25px rgba(0,0,0,0.08); font-weight: 700; font-size: 0.9rem; margin-top: -30px; position: relative; z-index: 2; color: var(--primary); }
[data-theme="dark"] .founder-badge-card { background: #1e293b; }
.founder-content p { color: var(--text-muted); font-size: 1.05rem; margin-bottom: 1rem; line-height: 1.7; }
.founder-highlights { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin: 1.5rem 0; }
.fh-item { display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.9rem; color: var(--text-main); }
.fh-item i { color: var(--accent); }
.founder-socials { display: flex; gap: 1rem; margin-top: 1.5rem; }
.founder-socials a { width: 44px; height: 44px; border-radius: 12px; background: rgba(99,102,241,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; transition: all 0.3s ease; }
.founder-socials a:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }

/* ==========================================================================
   FAQ Home
   ========================================================================== */
.faq-home-section .faq-container { max-width: 800px; margin: 0 auto; }

/* ==========================================================================
   WhatsApp Float
   ========================================================================== */
.whatsapp-float { position: fixed; bottom: 90px; right: 25px; width: 60px; height: 60px; background: #25D366; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; box-shadow: 0 8px 25px rgba(37,211,102,0.4); z-index: 999; transition: all 0.3s ease; animation: whatsappPulse 2s infinite; }
.whatsapp-float:hover { transform: scale(1.1); color: #fff; box-shadow: 0 12px 35px rgba(37,211,102,0.5); }
@keyframes whatsappPulse { 0%, 100% { box-shadow: 0 8px 25px rgba(37,211,102,0.4); } 50% { box-shadow: 0 8px 25px rgba(37,211,102,0.4), 0 0 0 15px rgba(37,211,102,0.1); } }

/* ==========================================================================
   Sticky Mobile CTA
   ========================================================================== */
.sticky-cta-mobile { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; padding: 0.75rem 1rem; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); z-index: 998; text-align: center; display: none; transform: translateY(100%); transition: transform 0.4s ease; border-top: 1px solid rgba(0,0,0,0.05); }
[data-theme="dark"] .sticky-cta-mobile { background: #1e293b; border-top-color: rgba(255,255,255,0.05); }
.sticky-cta-mobile.visible { transform: translateY(0); }
.sticky-cta-mobile .btn { width: 100%; max-width: 400px; padding: 0.9rem 1.5rem; font-size: 1rem; animation: ctaPulse 2s infinite; }
@keyframes ctaPulse { 0%, 100% { box-shadow: 0 4px 15px var(--primary-glow); } 50% { box-shadow: 0 4px 15px var(--primary-glow), 0 0 0 8px rgba(99,102,241,0.1); } }

/* ==========================================================================
   Lead Capture Popup
   ========================================================================== */
.popup-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.6); backdrop-filter: blur(8px); z-index: 10000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: all 0.4s ease; padding: 1rem; }
.popup-overlay.active { opacity: 1; visibility: visible; }
.popup-box { background: #fff; border-radius: 24px; padding: 3rem; max-width: 440px; width: 100%; text-align: center; position: relative; animation: popIn 0.5s ease; box-shadow: 0 30px 60px rgba(0,0,0,0.2); }
[data-theme="dark"] .popup-box { background: #1e293b; }
@keyframes popIn { from { transform: scale(0.8) translateY(30px); opacity: 0; } to { transform: scale(1) translateY(0); opacity: 1; } }
.popup-close { position: absolute; top: 1rem; right: 1rem; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(0,0,0,0.1); background: transparent; cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--text-muted); transition: all 0.3s; font-size: 0.9rem; }
.popup-close:hover { background: #ef4444; color: white; border-color: #ef4444; }
.popup-icon { font-size: 3rem; margin-bottom: 1rem; }
.popup-box h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
.popup-box > p { color: var(--text-muted); margin-bottom: 1.5rem; }
.popup-form { display: flex; flex-direction: column; gap: 0.75rem; }
.popup-form input { padding: 0.85rem 1.25rem; border-radius: 12px; border: 1px solid rgba(0,0,0,0.1); font-size: 1rem; font-family: inherit; width: 100%; transition: all 0.3s; }
.popup-form input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99,102,241,0.1); }
[data-theme="dark"] .popup-form input { background: #0f172a; border-color: rgba(255,255,255,0.1); color: #f1f5f9; }
.popup-note { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.75rem; }

/* Outline button style */
.btn-outline { padding: 0.75rem 1.5rem; border-radius: 50px; font-weight: 600; border: 2px solid rgba(0,0,0,0.15); color: var(--text-main); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }


/* ==========================================================================
   Feature 1: Tools Mastery
   ========================================================================== */
.tools-logo-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.tool-item { padding: 2rem; text-align: center; transition: var(--transition); border: 1px solid rgba(0,0,0,0.05); }
.tool-item:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: 0 15px 35px rgba(99,102,241,0.1); }
.tool-item img { height: 50px; margin-bottom: 1rem; filter: grayscale(100%); transition: var(--transition); }
.tool-item:hover img { filter: grayscale(0%); }
.tool-item p { font-weight: 700; font-size: 0.9rem; margin: 0; color: var(--text-main); }

/* ==========================================================================
   Course Ambala Page Styles
   ========================================================================== */
.course-hero { min-height: 80vh; }
.course-hero-content h1 { font-size: clamp(3rem, 6vw, 5rem); }
.hero-subtitle { font-size: 1.25rem; max-width: 800px; margin-inline: auto; color: var(--text-muted); margin-bottom: 2.5rem; }
.justify-center { justify-content: center; }
.mb-4 { margin-bottom: 1.5rem; }
.text-primary { color: var(--primary); }

/* Features Section */
.features-section { background: var(--bg-dark); }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}
.feature-card { padding: 2rem; text-align: center; }
.feature-icon { font-size: 2.5rem; color: var(--primary); margin-bottom: 1rem; }
.feature-card h4 { margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; }

/* Syllabus Section */
.syllabus-container { padding: 3rem; }
.syllabus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.milestone-header {
    grid-column: 1 / -1;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 3rem 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.milestone-info-grid {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.milestone-col {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.milestone-col .label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.milestone-col .value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.milestone-col .value i {
    color: #6366f1;
    font-size: 0.9rem;
    opacity: 0.7;
}

.milestone-badge-wrap {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-left: 1.5rem;
    border-left: 1px solid #e2e8f0;
}

.support-badge {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 700;
    color: #0f172a;
    font-size: 1.1rem;
    white-space: nowrap;
}

.support-badge i {
    background: #4f46e5;
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8rem;
}

.milestone-header::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 150px;
    background: radial-gradient(circle at center, rgba(255, 107, 107, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

@media (max-width: 992px) {
    .milestone-header { flex-direction: column; align-items: flex-start; gap: 1.5rem; }
    .milestone-badge-wrap { border-left: none; padding-left: 0; border-top: 1px solid #e2e8f0; padding-top: 1.5rem; width: 100%; }
}

.extended-grid { margin-top: 2rem; }
.module-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    padding: 1.25rem;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}
.module-item:hover { 
    background: #fff; 
    box-shadow: 0 10px 20px rgba(0,0,0,0.05); 
    border-color: rgba(99, 102, 241, 0.2); 
    transform: translateY(-5px) translateX(5px);
}
.mod-num { font-family: var(--font-heading); font-size: 2rem; font-weight: 800; color: rgba(99, 102, 241, 0.2); line-height: 1; transition: var(--transition); }
.module-item:hover .mod-num { color: var(--primary); transform: scale(1.1); }
.mod-info h4 { margin-bottom: 0.25rem; font-size: 1.1rem; }
.mod-info p { margin: 0; color: var(--text-muted); font-size: 0.85rem; }

/* Accordion */
.accordion-wrapper { text-align: center; margin: 3rem 0; }
.accordion-btn { 
    width: auto; 
    min-width: 300px; 
    display: inline-flex; 
    justify-content: center; 
    gap: 1.5rem; 
    background: #fff;
    border: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1.2s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.8s ease;
    opacity: 0;
    text-align: left;
}
.accordion-content.active {
    max-height: 15000px; /* Increased to accommodate full 1-column mobile view */
    opacity: 1;
    margin-top: 2rem;
}

/* Info Section */
.info-section { background: var(--bg-dark); }
.info-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.info-item { display: flex; gap: 1.5rem; margin-bottom: 2rem; }
.info-icon { font-size: 2rem; color: var(--primary); background: rgba(99, 102, 241, 0.1); width: 60px; height: 60px; display: flex; align-items: center; justify-content: center; border-radius: 12px; }
.info-item h4 { margin-bottom: 0.25rem; }
.info-item p { color: var(--text-muted); margin: 0; }

/* Batch Grid */
.batch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.batch-card { padding: 1.5rem; background: #fff; border-radius: 16px; border: var(--glass-border); box-shadow: 0 4px 15px rgba(0,0,0,0.03); transition: var(--transition); border-left: 4px solid var(--primary); }
.batch-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(99, 102, 241, 0.1); }
.batch-card h4 { margin-bottom: 0.5rem; color: var(--primary); }
.batch-card p { margin: 0; color: var(--text-muted); font-size: 0.9rem; }

/* Tools Section */
.tools-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 3rem; font-size: 3rem; color: var(--text-muted); opacity: 0.7; }
.tools-grid i:hover { color: var(--primary); transform: scale(1.1); transition: var(--transition); }

/* Advanced Learning (AI & Projects) */
.advanced-section { background: linear-gradient(to bottom, #ffffff, var(--bg-dark)); }
.advanced-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.advanced-card { padding: 3rem; border-top: 4px solid var(--primary); }
.icon-wrap { font-size: 2.5rem; color: var(--primary); margin-bottom: 1.5rem; background: rgba(99, 102, 241, 0.1); width: 70px; height: 70px; display: flex; align-items: center; justify-content: center; border-radius: 16px; }
.check-list { list-style: none; padding: 0; margin-top: 1.5rem; }
.check-list li { margin-bottom: 1rem; display: flex; align-items: center; gap: 0.75rem; }
.check-list i { color: #10B981; }

/* Placement Support */
.placement-section { background: var(--bg-dark); }
.placement-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; position: relative; }
.placement-step { padding: 2.5rem 2rem; text-align: center; position: relative; z-index: 1; }
.step-num { font-family: var(--font-heading); font-size: 4rem; font-weight: 800; color: rgba(99, 102, 241, 0.1); line-height: 1; position: absolute; top: 1rem; right: 1.5rem; z-index: -1; }

/* Testimonials */
.testimonials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.testimonial-card { padding: 3rem; border-radius: 20px; }
.stars { color: #F59E0B; margin-bottom: 1.5rem; font-size: 1.25rem; }
.testimonial-card p { font-size: 1.125rem; font-style: italic; margin-bottom: 2rem; }
.avatar { width: 50px; height: 50px; background: rgba(99, 102, 241, 0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; border-radius: 50%; font-size: 1.5rem; }
.student-info h4 { margin: 0; }
.student-info p { margin: 0; font-size: 0.85rem; }

/* ==========================================================================
   Student Portal & Forms
   ========================================================================== */
.portal-hero { min-height: 40vh; padding-top: 120px; }
.registration-section { padding-bottom: 5rem; }

.form-container { max-width: 800px; margin: 0 auto; padding: 3rem; border-radius: 24px; }
.form-section { margin-bottom: 2.5rem; }
.section-title { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.5rem; color: var(--primary); }
.section-title i { font-size: 1.25rem; }
.section-title h3 { margin: 0; font-size: 1.25rem; font-family: var(--font-heading); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 500; font-size: 0.9rem; color: var(--text-main); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%; padding: 0.75rem 1rem; border-radius: 10px; border: 1px solid rgba(0,0,0,0.1);
    background: #fff; font-family: inherit; font-size: 1rem; transition: var(--transition);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-footer { border-top: 1px solid rgba(0,0,0,0.05); padding-top: 2rem; text-align: center; }
.success-message { padding: 2rem 0; }
.success-icon { font-size: 4rem; color: #10B981; margin-bottom: 1.5rem; animation: scaleIn 0.5s ease-out; }

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container, .ecosystem-layout, .info-layout, .advanced-grid, .placement-grid, .testimonials-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content { order: 1; }
    .hero-content p { max-width: 100%; margin-inline: auto; }
    .hero-btns, .hero-stats { justify-content: center; }
    .hero-visual { order: 2; margin-top: 2rem; }
    
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-btn { display: none; }
    .hamburger { display: block; }
    
    .hero-btns { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 1.5rem; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand p { margin-inline: auto; }
    .social-links { justify-content: center; }
    .eco-card { flex-direction: column; text-align: center; }
    .link-icon { display: none; }
}
.seo-content-section {
    line-height: 1.8;
    color: #475569;
}

.seo-content-section h2 {
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.seo-content-section h3 {
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #1e293b;
    font-size: 1.5rem;
}

.seo-content-section p {
    margin-bottom: 1.2rem;
}

.seo-content-section ul {
    margin-bottom: 1.5rem;
    list-style: none;
    padding-left: 0;
}

.seo-content-section ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.seo-content-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 700;
}

.comparison-table-wrap {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 600px;
}

.comparison-table th, .comparison-table td {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.comparison-table th {
    background: #f8fafc;
    color: #0f172a;
    font-weight: 700;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table td:first-child {
    font-weight: 600;
    color: #1e293b;
    background: #f8fafc;
    width: 25%;
}

.highlight-text {
    color: var(--primary);
    font-weight: 600;
}

/* FAQ Section */
/* Course Page V2 (Balanced & Rich) */
.course-hero-v2 {
    padding: 12rem 0 8rem;
    background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
}

.grid-2-v2 {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.badge-v2 {
    background: var(--primary);
    color: #fff;
    display: inline-block;
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Proper Badges for Navigation */
.nav-badge-popular, .nav-badge-new {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.nav-badge-popular::after {
    content: 'MOST POPULAR';
    background: #FFD700;
    color: #000;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    margin-left: 10px;
    line-height: 1;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.4);
}

.nav-badge-new::after {
    content: 'NEW';
    background: #ff4757;
    color: #fff;
    font-size: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 800;
    margin-left: 10px;
    line-height: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.course-hero-content h1 {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin: 1.5rem 0;
    color: var(--text-dark);
}

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

.course-quick-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.q-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.q-stat i { color: var(--primary); }

.cta-price-group {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.p-current { font-size: 3.5rem; font-weight: 900; color: var(--text-dark); }
.p-old { font-size: 1.5rem; text-decoration: line-through; color: var(--text-muted); }

.btn-xl { padding: 1.2rem 2.5rem; font-size: 1.1rem; font-weight: 800; }

.course-hero-visual .visual-container {
    position: relative;
    width: 100%;
}

.course-hero-visual img {
    width: 100%;
    max-width: 450px; /* Reduced image size */
    border-radius: 40px;
    box-shadow: 0 50px 100px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    font-weight: 700;
    border: 1px solid rgba(255,255,255,0.5);
}

.c-1 { top: 10%; right: -20px; }
.c-2 { bottom: 15%; left: -30px; }

/* Features & Curriculum V2 */
.section-header-centered { text-align: center; margin-bottom: 5rem; }
.section-header-centered h2 { font-size: 3.5rem; font-weight: 800; }

/* Featured Services Grid */
.services-grid-main {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.service-card-featured {
    position: relative;
    padding: 3rem 2rem;
    background: #fff;
    border-radius: 32px;
    border: 1px solid #f1f5f9;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.service-card-featured:hover {
    transform: translateY(-15px);
    border-color: var(--primary);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.s-tag {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.service-card-featured .icon-box {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.service-card-featured h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.3;
    color: var(--text-dark);
}

.s-features {
    list-style: none;
    margin: 1.5rem 0 2rem;
}

.s-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.s-features i { color: #10b981; font-size: 0.8rem; }

.dropdown-header {
    padding: 0.5rem 1.5rem;
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 2px;
    grid-column: span 1;
    margin-bottom: -0.5rem;
}

@media (max-width: 1200px) {
    .services-grid-main { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .services-grid-main { grid-template-columns: 1fr; }
}

.faq-section { background: #fff; }
.faq-container { max-width: 900px; margin: 0 auto; }
.faq-item { 
    margin-bottom: 1rem; 
    border: 1px solid #e2e8f0; 
    border-radius: 12px; 
    overflow: hidden;
}
.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    border: none;
    cursor: pointer;
    text-align: left;
    font-weight: 600;
    font-family: var(--font-heading);
    color: #0f172a;
    transition: var(--transition);
}
.faq-question:hover { background: #f8fafc; }
.faq-question i { 
    font-size: 0.8rem; 
    transition: transform 0.3s ease; 
}
.faq-question.active i { transform: rotate(180deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out, padding 0.5s ease;
    background: #f8fafc;
}
.faq-answer-content { padding: 1.5rem; border-top: 1px solid #e2e8f0; }
.faq-item.active .faq-answer { max-height: 500px; }

/* Course & Service Detail Pages (Refined) */
.course-header-detail {
    padding: 12rem 0 8rem;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent);
    overflow: hidden;
}

.course-info-box {
    max-width: 600px;
}

.course-info-box h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1;
    margin: 1rem 0 2rem;
}

.course-stats {
    display: flex;
    gap: 2rem;
    margin: 2.5rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
}

.course-stats .stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.course-stats .stat i {
    color: var(--primary);
    font-size: 1.2rem;
}

.price-box {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

.current-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-dark);
}

.old-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: var(--text-muted);
}

.course-preview-visual img {
    width: 100%;
    border-radius: 32px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.1);
}

/* Curriculum & Modules */
.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}

.module-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid #f1f5f9;
    transition: all 0.3s ease;
    position: relative;
}

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

.module-num {
    font-size: 3rem;
    font-weight: 800;
    color: rgba(99, 102, 241, 0.1);
    position: absolute;
    top: 1rem;
    right: 2rem;
}

@media (max-width: 992px) {
    .course-info-box h1 { font-size: 3.5rem; }
    .curriculum-grid { grid-template-columns: 1fr; }
    .course-stats { flex-wrap: wrap; gap: 1rem; }
}

/* ==========================================================================
   Consolidated Mobile Responsiveness
   ========================================================================== */
@media (max-width: 991px) {
    html, body { overflow-x: hidden; width: 100%; position: relative; }
    .container { padding: 0 1rem; width: 100%; }
    
    .navbar { padding: 0.5rem 0; background: #fff; border-bottom: 1px solid rgba(0,0,0,0.05); }
    .nav-links {
        position: fixed;
        top: 0; right: -100%;
        width: 80%; height: 100vh;
        background: #fff;
        flex-direction: column;
        padding: 8rem 2rem;
        transition: 0.4s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        z-index: 1000;
        overflow-y: auto;
    }
    .nav-links.active { right: 0; }
    .menu-toggle { display: block; font-size: 1.5rem; color: var(--text-dark); z-index: 1001; }
    .nav-btn { display: none; }
    
    .hero { padding-top: 70px; padding-bottom: 0.5rem; min-height: auto; text-align: center; }
    .hero-container { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; text-align: center; width: 100%; padding-bottom: 0; }
    
    .badge { 
        display: inline-flex !important; 
        align-items: center; 
        gap: 0.5rem; 
        padding: 0.5rem 1.2rem; 
        background: rgba(99, 102, 241, 0.15) !important; 
        color: #1e1b4b !important;
        border: 1px solid rgba(99, 102, 241, 0.3);
        border-radius: 50px; 
        font-size: 0.85rem; 
        font-weight: 800; 
        margin: 0 auto 1rem !important;
        visibility: visible !important;
    }
    
    .hero-content { width: 100%; margin-bottom: 1rem; }
    .hero-content h1 { font-size: 1.9rem; line-height: 1.15; margin-bottom: 0.5rem; }
    .hero-content p { font-size: 0.9rem; margin-bottom: 1rem; padding: 0 0.5rem; }
    .hero-cta { display: flex; flex-direction: column; gap: 0.6rem; width: 100%; max-width: 280px; margin: 0 auto; }
    .hero-cta .btn { width: 100%; justify-content: center; padding: 0.8rem 1.5rem; }
    
    /* === CORRECT mobile overrides for magnet orbit === */
    .hero-visual { width: 100%; display: flex; justify-content: center; align-items: center; margin: 0 auto !important; padding: 0; order: 2; }
    .visual-wrapper { min-height: auto !important; padding: 20px 0 !important; width: 100%; display: flex; justify-content: center; align-items: center; }
    .standalone-magnet { width: 280px !important; height: 280px !important; margin-right: 0 !important; margin: 0 auto !important; }
    .main-magnet { font-size: 7rem !important; filter: drop-shadow(0 20px 50px rgba(239, 68, 68, 0.4)) !important; }
    .orbit { width: 280px !important; height: 280px !important; }
    .orbit-icon { width: 36px !important; height: 36px !important; }
    .orbit-icon img { width: 24px !important; height: 24px !important; }
    
    .shape-3d { display: none !important; }
    .glow-orb { display: none !important; }
    
    .stats-ribbon { padding: 1.5rem 0; }
    .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .services-grid { grid-template-columns: 1fr; gap: 1rem; }
    
    
    /* New section mobile overrides */
    .cases-grid { grid-template-columns: 1fr; }
    .course-cards-grid { grid-template-columns: 1fr; }
    .testimonial-slider { grid-template-columns: 1fr; }
    .founder-layout { grid-template-columns: 1fr; text-align: center; }
    .founder-image { order: 1; }
    .founder-content { order: 2; }
    .founder-highlights { grid-template-columns: 1fr; text-align: left; }
    .founder-socials { justify-content: center; }
    .founder-img-placeholder { width: 220px; height: 260px; font-size: 4rem; }
    .google-review-card { padding: 2rem; width: 100%; }
    .big-rating { font-size: 2.5rem; }
    .ecosystem-layout { grid-template-columns: 1fr; text-align: center; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .sticky-cta-mobile { display: block; }
    .whatsapp-float { bottom: 80px; right: 15px; width: 52px; height: 52px; font-size: 1.6rem; }
    .logo-bar { padding: 1.5rem 0; }
    .marquee-track img { height: 25px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.6rem; }
    .stats-grid { grid-template-columns: 1fr; }
    .standalone-magnet { width: 250px !important; height: 250px !important; }
    .orbit { width: 250px !important; height: 250px !important; }
    .main-magnet { font-size: 6rem !important; }
    .orbit-icon { width: 32px !important; height: 32px !important; }
    .course-preview-card { padding: 1.5rem; }
    .case-card { padding: 1.5rem; }
}

/* ==========================================================================
   Courses Page V2 Styles
   ========================================================================== */
.courses-page { background: #f8fafc; }
[data-theme="dark"] .courses-page { background: #0f172a; }

.courses-hero {
    padding: 10rem 0 6rem;
    background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.05), transparent);
    text-align: center;
}
.courses-hero h1 { font-size: 4rem; margin-bottom: 1rem; font-weight: 800; }
.courses-hero p { font-size: 1.25rem; color: var(--text-muted); max-width: 700px; margin: 0 auto; }

.courses-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(0,0,0,0.05);
    background: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-muted);
}
.filter-btn.active, .filter-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.courses-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.course-card {
    position: relative;
    padding: 2.5rem 2rem;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.course-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

[data-theme="dark"] .course-card { background: rgba(30, 41, 59, 0.5); border-color: rgba(255,255,255,0.05); }

.course-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.course-badge.popular { background: #FFD700; color: #000; box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3); }
.course-badge.new { background: #ff4757; color: #fff; box-shadow: 0 4px 10px rgba(255, 71, 87, 0.3); }

.course-icon {
    width: 60px;
    height: 60px;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.course-card h3 { font-size: 1.4rem; margin-bottom: 1rem; color: var(--text-dark); }
.course-card p { font-size: 0.95rem; color: var(--text-muted); margin-bottom: 2rem; flex-grow: 1; line-height: 1.6; }

.course-info {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0,0,0,0.05);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-dark);
}

.course-info i { color: var(--primary); margin-right: 0.4rem; }

.btn-text {
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}
.btn-text:hover { gap: 0.75rem; }

@media (max-width: 768px) {
    .courses-hero h1 { font-size: 2.5rem; }
    .courses-grid-layout { grid-template-columns: 1fr; }
}





/* ==========================================================================
   ELITE LANDING PAGE UPGRADES (MESH GRADIENTS, STICKY CTAs, ANIMATIONS)
   ========================================================================== */

:root {
    --mesh-color-1: rgba(99, 102, 241, 0.15);
    --mesh-color-2: rgba(168, 85, 247, 0.15);
    --mesh-color-3: rgba(236, 72, 153, 0.1);
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
}

/* Animated Mesh Background */
.course-detail-page {
    background: #ffffff;
    position: relative;
    overflow-x: hidden;
}

.course-detail-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, var(--mesh-color-1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, var(--mesh-color-2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, var(--mesh-color-3) 0%, transparent 50%);
    filter: blur(80px);
    z-index: -1;
    animation: meshFlow 20s ease-in-out infinite alternate;
}

@keyframes meshFlow {
    0% { transform: scale(1) translate(0, 0); }
    100% { transform: scale(1.1) translate(5%, 5%); }
}

/* Gold Seal Badge */
.gold-seal {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-gradient);
    padding: 6px 16px;
    border-radius: 100px;
    color: #000;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    margin-bottom: 20px;
}

/* Sticky Conversion Bar */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 15px 0;
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.sticky-price {
    display: flex;
    flex-direction: column;
}

.sticky-price .label {
    font-size: 0.7rem;
    color: #888;
    text-transform: uppercase;
}

.sticky-price .value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-main);
}

/* Success Roadmap */
.roadmap-container {
    position: relative;
    padding: 40px 0;
}

.roadmap-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.roadmap-step::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 40px;
    width: 2px;
    height: calc(100% + 20px);
    background: rgba(0, 0, 0, 0.05);
}

.roadmap-step:last-child::before {
    display: none;
}

.step-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    box-shadow: 0 0 20px var(--primary-glow);
}

.step-content h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--text-main);
}

.step-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Scroll Reveal Utility */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Refined Hero Visuals */
.course-header-detail .visual-container {
    perspective: 1000px;
}

.course-header-detail img {
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
    box-shadow: -20px 20px 50px rgba(0, 0, 0, 0.5);
}

.course-header-detail .visual-container:hover img {
    transform: rotateY(0) rotateX(0);
}

/* Tool Tooltips (Simulated with hover) */
.tool-item {
    cursor: help;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.tool-item:hover {
    transform: scale(1.1) translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
}







/* ==========================================================================
   3D VISUAL SCENE SYSTEM
   ========================================================================== */
.visual-3d-scene {
    position: relative;
    width: 100%;
    max-width: 450px;
    height: 450px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 2000px;
    transform-style: preserve-3d;
    transition: transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Smooth interaction */
}

/* Floating Particles (New) */
.visual-3d-scene::after {
    content: '• • • • • •';
    position: absolute;
    font-size: 2rem;
    color: var(--primary);
    opacity: 0.2;
    letter-spacing: 40px;
    z-index: 0;
    transform: translateZ(-100px);
    animation: particlesFloat 15s infinite linear;
    pointer-events: none;
}

@keyframes particlesFloat {
    0% { transform: translateZ(-100px) translateY(0) rotate(0deg); }
    100% { transform: translateZ(-100px) translateY(-50px) rotate(360deg); }
}

.scene-bg-glow {
    position: absolute;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 1;
    animation: pulseGlow 4s infinite alternate;
    transition: transform 0.3s ease;
}

.scene-core {
    position: relative;
    z-index: 10;
    font-size: 9rem; /* Slightly larger */
    color: var(--text-main);
    transform: translateZ(80px); /* Deeper depth */
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.15));
    animation: floatCore 6s infinite ease-in-out;
    transition: transform 0.2s ease;
}

/* Specular Shine Effect (New) */
.scene-core::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 45%,
        rgba(255, 255, 255, 0.6) 50%,
        transparent 55%
    );
    z-index: 11;
    animation: iconShine 4s infinite;
    pointer-events: none;
}

@keyframes iconShine {
    0% { transform: translateX(-100%) translateY(-100%); }
    20%, 100% { transform: translateX(100%) translateY(100%); }
}

.scene-core i {
    background: var(--gradient-text);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    z-index: 20;
    transition: all 0.3s ease;
}

.floating-element i {
    font-size: 1.1rem;
}

.element-1 {
    top: 15%;
    right: 5%;
    transform: translateZ(120px);
    animation: floatElement 5s infinite ease-in-out;
}

.element-2 {
    bottom: 20%;
    left: 0%;
    transform: translateZ(80px);
    animation: floatElement 7s infinite ease-in-out reverse;
}

.element-3 {
    bottom: 10%;
    right: 15%;
    transform: translateZ(150px);
    animation: floatElement 6s infinite ease-in-out 1s;
}

@keyframes floatCore {
    0%, 100% { transform: translateZ(50px) translateY(0) rotateY(-10deg); }
    50% { transform: translateZ(80px) translateY(-20px) rotateY(10deg); }
}

@keyframes floatElement {
    0%, 100% { transform: translateZ(100px) translateY(0); }
    50% { transform: translateZ(150px) translateY(-30px); }
}

@keyframes pulseGlow {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.2); }
}

/* Responsive Fixes for 3D Scenes */
@media (max-width: 768px) {
    .visual-3d-scene {
        height: 300px;
        max-width: 300px;
    }
    .scene-core {
        font-size: 5rem;
    }
    .floating-element {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }
}
