:root {
    --brain-cyan: #00e3f8;
    --brain-orange: #ff5e29;
    --botsfuture-blue: #26b7ff;
    --educationsol-cyan: #00e3f8;
    --dark: #0a0e17;
    --darker: #050811;
    --light: #f0f5ff;
    --gray: #8a94a6;
    --gradient-primary: linear-gradient(135deg, var(--brain-cyan) 0%, var(--botsfuture-blue) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--brain-orange) 0%, #ff8a5c 100%);
    --gradient-dark: linear-gradient(135deg, var(--darker) 0%, #121a2d 100%);
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --shadow-neuro: 0 10px 40px rgba(0, 227, 248, 0.15);
    --shadow-orange: 0 10px 40px rgba(255, 94, 41, 0.15);
    --shadow-xl: 0 25px 80px rgba(0, 0, 0, 0.25);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, .logo {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.1;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-spacing {
    padding: 120px 0;
}
.neural-path,
.neuro-bg {
    pointer-events: none;
}
.mobile-menu-backdrop {
    pointer-events: none;
}

.mobile-menu-backdrop.active {
    pointer-events: auto;
}

/* Neuro-inspired background patterns */
.neuro-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    opacity: 0.05;
    background-image: 
        radial-gradient(circle at 20% 30%, var(--brain-cyan) 1px, transparent 1px),
        radial-gradient(circle at 80% 70%, var(--brain-orange) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* Neural connection animations */
.neural-path {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.neuron {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--brain-cyan);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--brain-cyan);
    animation: pulseNeuron 3s infinite ease-in-out;
}

.synapse {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--brain-cyan), transparent);
    transform-origin: top;
    animation: synapsePulse 4s infinite linear;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 24px 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 227, 248, 0.15);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

header.scrolled {
    padding: 16px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    background: rgba(5, 8, 17, 0.98);
}

.nav-container {
    display: flex;
    justify-content: space-between!important;
    align-items: center;
}

.logo {
    font-size: 32px;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    position: relative;
    overflow: hidden;
}

.logo-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.2) 50%, transparent 70%);
    animation: logoShine 3s infinite linear;
}

.logo-text {
    background: linear-gradient(135deg, var(--light) 0%, var(--brain-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--light);
    font-weight: 600;
    font-size: 15px;
    position: relative;
    padding: 8px 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-links a:hover {
    color: var(--brain-cyan);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Dropdown Menu */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-toggle i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: rgba(10, 14, 23, 0.98);
    backdrop-filter: blur(25px);
    border-radius: 12px;
    padding: 15px 0;
    border: 1px solid rgba(0, 227, 248, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    overflow: hidden;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
}

.dropdown-column {
    padding: 0;
}

.dropdown-column-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--brain-cyan);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0 20px 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid rgba(0, 227, 248, 0.2);
}

.dropdown-links {
    list-style: none;
}

.dropdown-links li {
    margin-bottom: 2px;
}

.dropdown-links a {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    color: var(--light);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.dropdown-links a:hover {
    background: rgba(0, 227, 248, 0.1);
    color: var(--brain-cyan);
    padding-left: 25px;
}

.dropdown-links a i {
    margin-right: 10px;
    font-size: 12px;
    color: var(--brain-cyan);
    width: 16px;
    text-align: center;
}

.dropdown-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    padding: 16px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    border: none;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--darker);
    box-shadow: var(--shadow-neuro);
    font-weight: 800;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 227, 248, 0.3);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: white;
    box-shadow: var(--shadow-orange);
    font-weight: 800;
}

.btn-secondary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 94, 41, 0.3);
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--light);
    background: rgba(0, 227, 248, 0.1);
    width: 48px;
    height: 48px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.menu-toggle:hover {
    background: rgba(0, 227, 248, 0.2);
    transform: rotate(90deg);
}

/* Mobile Menu */
.mobile-menu-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-backdrop.active {
    opacity: 1;
}

/* Hero Section */
.hero {
    padding: 180px 0 100px;
    position: relative;
    overflow: hidden;
    background: var(--gradient-dark);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-text h1 {
    font-size: 64px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--light) 0%, var(--brain-cyan) 40%, var(--botsfuture-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}

.hero-text p {
    font-size: 20px;
    color: var(--gray);
    margin-bottom: 40px;
    max-width: 90%;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.brain-visual {
    width: 480px;
    height: 480px;
    position: relative;
    filter: drop-shadow(0 0 40px rgba(0, 227, 248, 0.3));
}

.brain-orb {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--brain-cyan), transparent 60%),
                radial-gradient(circle at 70% 70%, var(--brain-orange), transparent 60%);
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0.5;
    animation: brainPulse 8s infinite ease-in-out;
}

.brain-lobes {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.lobe {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
    animation: lobeFloat 20s infinite linear;
}

.lobe-1 {
    width: 120px;
    height: 120px;
    top: 20%;
    left: 20%;
    border-color: var(--brain-cyan);
    box-shadow: 0 0 30px var(--brain-cyan);
    animation-delay: 0s;
}

.lobe-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    left: 10%;
    border-color: var(--botsfuture-blue);
    box-shadow: 0 0 20px var(--botsfuture-blue);
    animation-delay: -5s;
}

.lobe-3 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 20%;
    border-color: var(--brain-orange);
    box-shadow: 0 0 25px var(--brain-orange);
    animation-delay: -10s;
}

/* Floating Cards */
.floating-cards {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
}

.float-card {
    position: absolute;
    width: 160px;
    height: 180px;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: floatCard 25s infinite ease-in-out;
    border: 1px solid rgba(0, 227, 248, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.3s ease;
}

.float-card:hover {
    transform: scale(1.1) !important;
    border-color: var(--brain-cyan);
    box-shadow: 0 15px 40px rgba(0, 227, 248, 0.3);
}

.float-card:nth-child(1) {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.float-card:nth-child(2) {
    top: 60%;
    right: 10%;
    animation-delay: -8s;
}

.float-card:nth-child(3) {
    bottom: 15%;
    left: 15%;
    animation-delay: -16s;
}

.float-card i {
    font-size: 36px;
    margin-bottom: 15px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 52px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--light) 0%, var(--brain-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto;
}

/* AI & Robotics Platform Section */
.ai-platform-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.ai-platform-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.ai-platform-text h2 {
    font-size: 48px;
    margin-bottom: 24px;
    background: linear-gradient(135deg, var(--light) 0%, var(--brain-cyan) 60%, var(--botsfuture-blue) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.1;
}

.ai-platform-text p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 30px;
    line-height: 1.8;
}

.ai-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.ai-feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(0, 227, 248, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(0, 227, 248, 0.1);
    transition: all 0.3s ease;
}

.ai-feature:hover {
    background: rgba(0, 227, 248, 0.1);
    transform: translateY(-5px);
    border-color: var(--brain-cyan);
}

.ai-feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 227, 248, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--brain-cyan);
    flex-shrink: 0;
}

.ai-feature-text h4 {
    font-size: 18px;
    color: var(--light);
    margin-bottom: 5px;
}

.ai-feature-text p {
    font-size: 14px;
    color: var(--gray);
    margin: 0;
    line-height: 1.5;
}

.ai-platform-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* STEM Programs Section */
.programs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.program-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 40px 30px;
    border: 1px solid rgba(0, 227, 248, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--gradient-primary);
}

.program-card:hover {
    transform: translateY(-15px);
    border-color: var(--brain-cyan);
    box-shadow: var(--shadow-neuro);
}

.program-icon {
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    font-size: 36px;
    background: var(--gradient-primary);
    color: var(--darker);
    transform: rotate(45deg);
    transition: transform 0.5s ease;
}

.program-card:hover .program-icon {
    transform: rotate(0deg);
}

.program-icon i {
    transform: rotate(-45deg);
}

.program-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--light);
}

.program-features {
    list-style: none;
    margin-top: 25px;
}

.program-features li {
    padding: 10px 0;
    color: var(--gray);
    position: relative;
    padding-left: 30px;
}

.program-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--brain-cyan);
    font-weight: bold;
}

/* Statistics Section */
.stats-section {
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    border: 1px solid rgba(0, 227, 248, 0.1);
    transition: all 0.3s ease;
}

.stat-card:hover {
    border-color: var(--brain-cyan);
    transform: translateY(-5px);
    box-shadow: var(--shadow-neuro);
}

.stat-number {
    font-size: 56px;
    font-weight: 900;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 10px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 16px;
    color: var(--gray);
    font-weight: 500;
}

/* Partners Section */
.partners-section {
    position: relative;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: center;
    justify-items: center;
}

.partner-logo {
    width: 220px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    padding: 50px;
    border: 1px solid rgba(0, 227, 248, 0.1);
    transition: all 0.4s ease;
}

.partner-logo:hover {
    transform: translateY(-8px);
    border-color: var(--brain-cyan);
    background: rgba(0, 227, 248, 0.05);
    box-shadow: var(--shadow-neuro);
}

.partner-logo img {
    width: 200px;
    height: auto;
}

/* Testimonials */
.testimonials-section {
    background: var(--gradient-dark);
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(15px);
    border-radius: 24px;
    padding: 40px;
    border: 1px solid rgba(0, 227, 248, 0.1);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 80px;
    font-family: serif;
    color: var(--brain-cyan);
    opacity: 0.3;
}

.testimonial-text {
    color: var(--gray);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 25px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--darker);
    font-weight: bold;
}

.author-info h4 {
    color: var(--light);
    font-size: 18px;
    margin-bottom: 5px;
}

.author-info p {
    color: var(--gray);
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: var(--gradient-dark);
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--light) 0%, var(--brain-cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.cta-content p {
    font-size: 18px;
    color: var(--gray);
    margin-bottom: 40px;
}

/* Footer */
footer {
    background: #050811;
    padding: 80px 0 40px;
    border-top: 1px solid rgba(0, 227, 248, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px;
    margin-bottom: 60px;
}

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 25px;
    color: var(--light);
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-links a:hover {
    color: var(--brain-cyan);
}

.social-links {
    display: flex;
    gap: 20px;
    margin-top: 25px;
}

.social-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(0, 227, 248, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brain-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--brain-cyan);
    color: var(--dark);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
    font-size: 14px;
}

/* Animations */
@keyframes brainPulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.05);
    }
}

@keyframes lobeFloat {
    0% {
        transform: rotate(0deg) translateX(20px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(20px) rotate(-360deg);
    }
}

@keyframes pulseNeuron {
    0%, 100% {
        transform: scale(1);
        opacity: 0.7;
    }
    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

@keyframes synapsePulse {
    0% {
        height: 0;
        opacity: 0;
    }
    50% {
        height: 100px;
        opacity: 1;
    }
    100% {
        height: 0;
        opacity: 0;
    }
}

@keyframes floatCard {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(3deg);
    }
    66% {
        transform: translateY(15px) rotate(-3deg);
    }
}

@keyframes logoShine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-content, .ai-platform-content {
        gap: 60px;
    }
    
    .hero-text h1 {
        font-size: 56px;
    }
    
    .ai-platform-text h2 {
        font-size: 42px;
    }
    
    .brain-visual {
        width: 420px;
        height: 420px;
    }
    
    .programs-grid,
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .partners-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .nav-links {
        gap: 30px;
    }
}

@media (max-width: 992px) {
    .hero-content, .ai-platform-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 80px;
    }
    
    .hero-text p, .ai-platform-text p {
        max-width: 100%;
    }
    
    /* Mobile Navigation */
    .mobile-menu-backdrop {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        height: 100vh;
        background: rgba(5, 8, 17, 0.98);
        backdrop-filter: blur(25px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0;
        padding: 100px 0 40px;
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        overflow-y: auto;
        box-shadow: -20px 0 60px rgba(0, 0, 0, 0.5);
        border-left: 1px solid rgba(0, 227, 248, 0.1);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-links a {
        padding: 18px 30px;
        font-size: 16px;
        justify-content: space-between;
    }
    
    .nav-links a::after {
        display: none;
    }
    
    /* Mobile dropdown styles */
    .dropdown-menu {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        background: rgba(0, 0, 0, 0.2);
        border: none;
        box-shadow: none;
        padding: 0;
        margin: 0;
        display: none;
        border-radius: 0;
    }
    
    .dropdown.active .dropdown-menu {
        display: block;
    }
    
    .dropdown-content {
        flex-direction: column;
        gap: 0;
    }
    
    .dropdown-column {
        padding: 0;
    }
    
    .dropdown-column-title {
        padding: 15px 30px 10px;
        margin: 0;
        font-size: 14px;
        color: var(--light);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .dropdown-links a {
        padding: 12px 45px;
        font-size: 14px;
        border-left: 3px solid transparent;
    }
    
    .dropdown-links a:hover {
        border-left-color: var(--brain-cyan);
        padding-left: 45px;
    }
    
    .dropdown-toggle {
        justify-content: space-between;
    }
    
    .dropdown-toggle i {
        transform: rotate(0deg);
        transition: transform 0.3s ease;
    }
    
    .dropdown.active .dropdown-toggle i {
        transform: rotate(180deg);
    }
    
    .ai-features {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 30px auto 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .section-spacing {
        padding: 80px 0;
    }
    
    .hero-text h1 {
        font-size: 42px;
    }
    
    .ai-platform-text h2 {
        font-size: 36px;
    }
    
    .hero-text p, .ai-platform-text p {
        font-size: 18px;
    }
    .hero-visual{
        flex-direction:column;
    }
    
    .section-header h2 {
        font-size: 38px;
    }
    
    .programs-grid,
    .testimonials-slider,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(1, 1fr);
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .nav-links {
        width: 100%;
        right: -100%;
    }
    
    /* Mobile Optimizations */
    .btn, .btn-primary, .btn-secondary {
        padding: 18px 32px !important;
        font-size: 16px !important;
        min-height: 56px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-links a {
        padding: 20px 30px !important;
        min-height: 60px;
    }
    .nav-links.active{
        z-index:-1;
    }
    .dropdown-links a {
        padding: 16px 45px !important;
    }
    
    .hero-text h1,
    .section-header h2,
    .ai-platform-text h2 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }
    
    .floating-cards {
        position: relative !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 20px !important;
        margin-top: 40px !important;
        height: auto !important;
        pointer-events: auto !important;
    }
    
    .float-card {
        position: static !important;
        animation: none !important;
        transform: none !important;
        width: 100% !important;
        max-width: 300px !important;
        height: auto !important;
        min-height: 140px !important;
        margin: 0 auto !important;
    }
    
    .neural-path {
        display: none;
    }
    
  
    
    .program-features li {
        padding: 12px 0 12px 35px;
        font-size: 14px;
    }
    
    .ai-platform-content {
        gap: 40px !important;
    }
    
    .ai-platform-visual img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    .testimonial-card {
        padding: 30px 25px !important;
    }
    
    .partners-grid {
        gap: 20px !important;
    }
    
    .partner-logo {
        width: 130px !important;
        height: 80px !important;
        padding: 20px !important;
    }
    
    .stats-grid {
        gap: 15px !important;
    }
    
    .stat-card {
        padding: 25px 15px !important;
    }
    
    .stat-number {
        font-size: 42px !important;
    }
    
    .nav-links.active {
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8);
    }
    
    .hero-cta {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    .hero-cta .btn {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Performance optimization */
    * {
        animation-duration: 0.3s !important;
    }
    
    .neuro-bg {
        background-size: 80px 80px !important;
        opacity: 0.03 !important;
    }
    
    .brain-orb {
        animation: none !important;
    }
    
    .lobe {
        animation-duration: 10s !important;
    }
    
    /* Accessibility improvements */
    :root {
        --light: #ffffff;
        --gray: #a0aec0;
    }
    
    a, button, .clickable {
        min-height: 44px;
        min-width: 44px;
    }
    
    *:focus {
        outline: 2px solid var(--brain-cyan);
        outline-offset: 2px;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 140px 0 60px;
    }
    .hero-text{
        padding-left:20px;
        padding-right:20px;
    }
    .brain-visual{
        width:350px;
        height:350px;
    }
    
    .about-hero{
        padding-bottom:50px;
    }
    .footer-column h4 {
        text-align: left;
    }
    
    .stat-number {
        font-size: 42px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta, .ai-platform-text .btn {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-cta .btn, .ai-platform-text .btn {
        width: 100%;
        justify-content: center;
    }
    
    /* Hero section optimization */
    .hero-text h1 {
        font-size: 32px !important;
        line-height: 1.2 !important;
    }
    
    .hero-text p {
        font-size: 16px !important;
        line-height: 1.6 !important;
    }
    
    .section-spacing {
        padding: 30px 0 !important;
    }
    
    .section-header {
        margin-bottom: 50px !important;
    }
    
    .section-header h2 {
        font-size: 28px !important;
    }
    
    .section-header p {
        font-size: 16px !important;
    }
    
    .container {
        padding: 0 20px !important;
        justify-content:center;
    }
    .cta-content h2{
        font-size:28px;
    }
    .program-card {
        padding: 30px 20px !important;
    }
    
    .ai-features {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    .ai-feature {
        padding: 15px !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .stat-number {
        font-size: 36px !important;
    }
    
    .social-links {
        justify-content: left;
    }
    
    .menu-toggle {
        width: 44px !important;
        height: 44px !important;
        font-size: 22px !important;
    }
    
    body {
        overflow-x: hidden;
        position: relative;
        width: 100%;
    }
    
    img {
        max-width: 100%;
        height: auto;
    }
}

/* Tablet specific optimizations */
@media (min-width: 577px) and (max-width: 768px) {
    .hero-text h1 {
        font-size: 42px !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    .programs-grid {
        grid-template-columns: 1fr !important;
        gap: 30px !important;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr !important;
        gap: 25px !important;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Fix for landscape orientation */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto !important;
        padding: 120px 0 60px !important;
    }
    
    .hero-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }
    
    
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .program-card,
    .stat-card,
    .partner-logo,
    .testimonial-card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .nav-links a:hover::after {
        width: 0 !important;
    }
    
    .btn::before {
        display: none !important;
    }
}

/* Safe area for notch phones */
@supports (padding: max(0px)) {
    .container {
        padding-left: max(20px, env(safe-area-inset-left)) !important;
        padding-right: max(20px, env(safe-area-inset-right)) !important;
    }
    
    .nav-links {
        padding-right: env(safe-area-inset-right) !important;
    }
    
    footer {
        padding-bottom: max(40px, env(safe-area-inset-bottom)) !important;
    }
}

/* Print styles */
@media print {
    .menu-toggle,
    .floating-cards,
    .ai-floating-icons,
    .neuro-bg,
    .neural-path {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    a {
        color: black !important;
        text-decoration: underline !important;
    }
}