/* CSS Variables for Neon Colors and Design System */
:root {
    --neon-cyan: #00f0ff;
    --neon-purple: #8a00ff;
    --neon-magenta: #ff1f8f;
    --dark-bg: #0f172a;
    --glass-bg: rgba(15, 23, 42, 0.4);
    --glass-border: rgba(0, 240, 255, 0.3);
    --text-primary: #ffffff;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    background-attachment: fixed;
    line-height: 1.6;
    color: var(--text-primary);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

/* Neon Text Effects - Reduced Intensity */
.neon-text {
    color: var(--neon-cyan); 
    text-shadow: 0 0 5px var(--neon-cyan);

    /* background: linear-gradient(182deg, var(--neon-cyan), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3); */
}

.neon-text-gradient {
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple), var(--neon-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.neon-icon {
    color: var(--neon-cyan);
    transition: color 0.3s ease;
}

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

/* Glassmorphism Effects */
.glassmorphic-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    /* transition: all 0.3s ease; */
    position: relative;
    overflow: hidden;
}

.glassmorphic-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.5;
}

.glassmorphic-card:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.15);
    transform: translateY(-2px);
}

.glassmorphic-nav {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

/* Navigation Styles */
.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-purple));
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover,
.nav-link.active {
    color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    padding: 8px 0;
    margin-top: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(20px);
}

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

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.dropdown-item:hover {
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    border-left-color: var(--neon-cyan);
    text-shadow: 0 0 10px var(--neon-cyan);
}

/* Mobile Navigation */
.mobile-menu-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
}

.mobile-nav-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 12px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
}

.mobile-nav-link:hover {
    color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    border-left-color: var(--neon-cyan);
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(45deg, var(--neon-cyan), var(--neon-purple));
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::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.3s ease;
}

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

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--neon-cyan);
    padding: 12px 24px;
    border: 2px solid var(--neon-cyan);
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}

.btn-secondary:hover {
    background: var(--neon-cyan);
    color: var(--dark-bg);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0, 240, 255, 0.3);
}

.btn-outline {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.btn-outline:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
    background: rgba(0, 240, 255, 0.1);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-outline-sm {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 6px;
}

.btn-primary-sm {
    padding: 6px 12px;
    font-size: 14px;
    border-radius: 6px;
}

/* Floating Shapes Animation - Improved Variety */
.floating-shape {
    position: absolute;
    opacity: 0.08;
    animation: float 25s infinite linear;
}

.shape-1 {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--neon-cyan), transparent);
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.shape-2 {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--neon-purple), transparent);
    top: 60%;
    right: 20%;
    animation-delay: -7s;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.shape-3 {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, var(--neon-magenta), transparent);
    bottom: 30%;
    left: 30%;
    animation-delay: -14s;
    border-radius: 20px;
}

.shape-4 {
    width: 90px;
    height: 90px;
    background: linear-gradient(45deg, var(--neon-cyan), transparent);
    top: 10%;
    right: 40%;
    animation-delay: -3s;
    border-radius: 50% 10% 50% 10%;
}

.shape-5 {
    width: 110px;
    height: 110px;
    background: linear-gradient(45deg, var(--neon-purple), transparent);
    bottom: 10%;
    right: 10%;
    animation-delay: -10s;
    clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%);
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) rotate(240deg);
    }
    100% {
        transform: translateY(0) rotate(360deg);
    }
}

/* Hero Shapes Styles */
.hero-shapes {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-shape {
    position: absolute;
    opacity: 0.6;
    animation: heroFloat 8s infinite ease-in-out;
}

.shape-triangle {
    width: 80px;
    height: 80px;
    background: linear-gradient(45deg, var(--neon-cyan), transparent);
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    top: 10%;
    left: 20%;
    animation-delay: 0s;
}

.shape-square {
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, var(--neon-purple), transparent);
    border-radius: 10px;
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.shape-blob {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, var(--neon-magenta), transparent);
    border-radius: 50% 20% 50% 20%;
    bottom: 20%;
    left: 30%;
    animation-delay: 2s;
}

.shape-hexagon {
    width: 70px;
    height: 70px;
    background: linear-gradient(45deg, var(--neon-cyan), transparent);
    clip-path: polygon(20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%, 0% 50%);
    top: 35%;
    right: 40%;
    animation-delay: 3s;
}

.shape-diamond {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, var(--neon-purple), transparent);
    transform: rotate(45deg);
    top: 80%;
    right: 30%;
    animation-delay: 4s;
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-15px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(0) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(15px) rotate(270deg);
        opacity: 0.8;
    }
}

/* Card Hover Effects - Reduced */
.glassmorphic-card,
.course-card,
.service-card,
.stats-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.course-card:hover,
.service-card:hover,
.stats-card:hover {
    transform: translateY(-4px);
    border-color: var(--neon-cyan);
    box-shadow: 0 8px 25px rgba(0, 240, 255, 0.2);
}

.course-card:hover .neon-icon,
.service-card:hover .neon-icon {
    color: var(--neon-magenta);
}

.glassmorphic-card,
.course-card,
.service-card {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}




/* Course Plan Styles */
.course-plan {
    position: relative;
    transition: all 0.3s ease;
}

.popular-plan {
    border-color: var(--neon-purple);
    box-shadow: 0 12px 40px rgba(138, 0, 255, 0.3);
}

.course-plan:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 240, 255, 0.4);
}

/* Contact Form Styles */
.contact-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 16px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.contact-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
    background: rgba(15, 23, 42, 0.7);
}

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

/* Floating Contact Button */
.floating-contact-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.contact-btn-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(45deg, #25d366, #128c7e);
    border-radius: 50%;
    color: white;
    font-size: 24px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    animation: bounce 2s infinite;
}

.contact-btn-link:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Filter Buttons */
.filter-btn {
    padding: 8px 16px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--neon-cyan);
    color: var(--dark-bg);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

/* Tech Tags */
.tech-tag {
    display: inline-block;
    padding: 4px 8px;
    background: rgba(0, 240, 255, 0.2);
    color: var(--neon-cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

/* Project Card */
.project-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    transform: translateY(-8px);
    border-color: var(--neon-cyan);
    box-shadow: 0 15px 40px rgba(0, 240, 255, 0.3);
}

/* Smooth scroll offset for fixed navbar */
html {
    scroll-padding-top: 80px;
}

/* Responsive Design */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* Large screen optimizations */
@media (min-width: 1536px) {
    
.dropdown-menu {
    min-width: 350px;
}
    .glassmorphic-card {
        padding: 2rem;
    }
    
    .hero-section {
        min-height: 90vh;
    }
    
    .floating-shape {
        opacity: 0.1;
    }
}

@media (min-width: 1280px) {
    .grid-responsive {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .floating-contact-btn {
        bottom: 20px;
        right: 20px;
    }
    
    .contact-btn-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .glassmorphic-card {
        margin: 0 4px;
    }
    
    .neon-illustration {
        height: 300px;
    }
    
    .tech-brain {
        width: 150px;
        height: 150px;
    }
    
    .tech-circuit {
        width: 120px;
        height: 120px;
    }
    
    .tech-hologram {
        width: 80px;
        height: 80px;
    }
}

@media (max-width: 480px) {
    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .floating-shape {
        opacity: 0.05;
    }
    
    .neon-text-gradient {
        font-size: 2rem;
    }

    
}

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Success/Error states */
.form-success {
    border-left: 4px solid #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.form-error {
    border-left: 4px solid #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for keyboard navigation */
.nav-link:focus-visible,
.btn-primary:focus-visible,
.btn-secondary:focus-visible,
.btn-outline:focus-visible {
    outline: 2px solid var(--neon-cyan);
    outline-offset: 2px;
}

.contact-input:focus {
    outline: none;
}

/* Remove click outlines */
.nav-link:focus:not(:focus-visible),
.btn-primary:focus:not(:focus-visible),
.btn-secondary:focus:not(:focus-visible),
.btn-outline:focus:not(:focus-visible) {
    outline: none;
}

/* Main container for better responsive design */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .main-container {
        max-width: 750px;
    }
}

@media (min-width: 1024px) {
    .main-container {
        max-width: 1000px;
    }
}

@media (min-width: 1200px) {
    .main-container {
        max-width: 1200px;
    }
}

@media (min-width: 1400px) {
    .main-container {
        max-width: 1300px;
    }
}

/* Print styles */
@media print {
    .floating-contact-btn,
    .floating-shape,
    nav {
        display: none !important;
    }
    
    .glassmorphic-card {
        border: 1px solid #333;
        background: white;
        color: black;
    }
}
