/* ===========================
   INFINITE QUESTION BANK - MODERN VIBRANT DESIGN
   =========================== */

/* === CUSTOM PROPERTIES === */
:root {
    /* Primary Colors */
    --color-primary: #6366f1;
    --color-primary-dark: #4f46e5;
    --color-primary-light: #818cf8;
    
    /* Math Theme */
    --color-math: #ec4899;
    --color-math-light: #f9a8d4;
    --color-math-gradient: linear-gradient(135deg, #ec4899 0%, #f43f5e 100%);
    
    /* Science Theme */
    --color-science: #14b8a6;
    --color-science-light: #5eead4;
    --color-science-gradient: linear-gradient(135deg, #14b8a6 0%, #06b6d4 100%);
    
    /* Accent Colors */
    --color-accent-red: #ef4444;
    --color-accent-yellow: #f59e0b;
    --color-accent-blue: #3b82f6;
    
    /* Neutrals */
    --color-dark: #0f172a;
    --color-dark-2: #1e293b;
    --color-dark-3: #334155;
    --color-light: #f8fafc;
    --color-white: #ffffff;
    --color-text: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-hero: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    --gradient-dark: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 40px rgba(102, 126, 234, 0.4);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;
    
    /* Border Radius */
    --radius-sm: 0.5rem;
    --radius-md: 1rem;
    --radius-lg: 1.5rem;
    --radius-xl: 2rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--color-dark);
    background: var(--color-light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* === GEOMETRIC BACKGROUND PATTERN === */
.bg-pattern {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: linear-gradient(180deg, #f8fafc 0%, #e0e7ff 100%);
    overflow: hidden;
}

.bg-pattern::before,
.bg-pattern::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.bg-pattern::before {
    width: 600px;
    height: 600px;
    background: var(--gradient-primary);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.bg-pattern::after {
    width: 800px;
    height: 800px;
    background: var(--color-math-gradient);
    bottom: -300px;
    left: -200px;
    animation-delay: 5s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 30px) rotate(3deg); }
}

/* === CONTAINER === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* === HEADER === */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg) var(--spacing-lg);
    position: relative;
    z-index: 100;
}

.logo {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-dark);
    text-decoration: none;
    letter-spacing: -0.5px;
    transition: var(--transition-base);
}

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

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

.main-nav {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

.main-nav a {
    text-decoration: none;
    color: var(--color-dark-3);
    font-weight: 500;
    transition: var(--transition-base);
    font-size: 0.95rem;
}

.main-nav a:hover {
    color: var(--color-primary);
}

/* === BUTTONS === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 0.95rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-white);
    box-shadow: var(--shadow-md);
}

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

.btn-outline {
    background: var(--color-white);
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-login {
    background: transparent;
    color: var(--color-primary);
    padding: 0.625rem 1.5rem;
    border: 2px solid var(--color-primary);
}

.btn-login:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

/* === HERO SECTION === */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-3xl);
    align-items: center;
    padding: var(--spacing-3xl) 0;
    min-height: calc(100vh - 120px);
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--spacing-md);
    color: var(--color-dark);
    letter-spacing: -1.5px;
}

.text-math {
    background: var(--color-math-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.text-science {
    background: var(--color-science-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: var(--spacing-xl);
    line-height: 1.7;
    max-width: 90%;
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* === HERO IMAGE === */
.hero-image {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circle-bg {
    position: absolute;
    width: 400px;
    height: 400px;
    background: var(--gradient-primary);
    border-radius: 50%;
    opacity: 0.15;
    animation: pulse 4s infinite ease-in-out;
    z-index: 0;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.15; }
    50% { transform: scale(1.1); opacity: 0.25; }
}

.floating-card {
    position: absolute;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    animation: floatCard 6s infinite ease-in-out;
    z-index: 1;
    min-width: 280px;
}

.card-math {
    top: 50px;
    left: 0;
    animation-delay: 0s;
}

.card-science {
    bottom: 50px;
    right: 0;
    animation-delay: 3s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.icon-box {
    width: 70px;
    height: 70px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.card-math .icon-box {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    color: var(--color-math);
}

.card-science .icon-box {
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    color: var(--color-science);
}

.text-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-dark);
    margin-bottom: 0.25rem;
}

.text-box p {
    font-size: 0.9rem;
    color: var(--color-text);
}

/* === SECTION TITLES === */
.section-title {
    text-align: center;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: var(--spacing-2xl);
    color: var(--color-dark);
    letter-spacing: -1px;
}

/* === COURSES SECTION === */
.courses-section {
    padding: var(--spacing-3xl) 0;
}

.class-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl);
    max-width: 900px;
    margin: 0 auto;
}

.class-card {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-decoration: none;
    color: var(--color-dark);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border: 3px solid transparent;
}

.class-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: var(--transition-base);
    z-index: 0;
}

.class-card:hover::before {
    opacity: 0.05;
}

.class-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.card-10:hover {
    border-color: var(--color-math);
}

.card-9:hover {
    border-color: var(--color-science);
}

.card-badge {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: var(--gradient-primary);
    color: var(--color-white);
    padding: 0.375rem 0.875rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}

.icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    z-index: 1;
    position: relative;
}

.card-10 .icon-wrapper {
    background: linear-gradient(135deg, #fce7f3 0%, #fbcfe8 100%);
    color: var(--color-math);
}

.card-9 .icon-wrapper {
    background: linear-gradient(135deg, #ccfbf1 0%, #99f6e4 100%);
    color: var(--color-science);
}

.class-card h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: var(--spacing-md);
    z-index: 1;
    position: relative;
}

.subject-list {
    list-style: none;
    margin-bottom: var(--spacing-lg);
    z-index: 1;
    position: relative;
}

.subject-list li {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.5rem 0;
    color: var(--color-text);
    font-weight: 500;
}

.subject-list i {
    color: var(--color-primary);
    font-size: 0.875rem;
}

.btn-card {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    background: var(--gradient-primary);
    color: var(--color-white);
    border-radius: var(--radius-full);
    font-weight: 600;
    transition: var(--transition-base);
    z-index: 1;
    position: relative;
}

.class-card:hover .btn-card {
    transform: translateX(5px);
}

/* === FEATURES SECTION === */
.features-section {
    padding: var(--spacing-3xl) 0;
    background: var(--color-white);
    margin: var(--spacing-3xl) 0;
    border-radius: var(--radius-xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
}

.feature-item {
    text-align: center;
    padding: var(--spacing-lg);
    transition: var(--transition-base);
}

.feature-item:hover {
    transform: translateY(-8px);
}

.feature-icon {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto var(--spacing-lg);
    transition: var(--transition-base);
}

.icon-red {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: var(--color-accent-red);
}

.icon-yellow {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--color-accent-yellow);
}

.icon-blue {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: var(--color-accent-blue);
}

.feature-item:hover .feature-icon {
    transform: rotateY(360deg);
}

.feature-item h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    color: var(--color-dark);
}

.feature-item p {
    color: var(--color-text);
    line-height: 1.7;
}

/* === FOOTER === */
.main-footer {
    text-align: center;
    padding: var(--spacing-xl) 0;
    color: var(--color-text);
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
    margin-top: var(--spacing-3xl);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .hero-content p {
        max-width: 100%;
    }
    
    .hero-cta {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
        height: 400px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .main-nav {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .class-grid {
        grid-template-columns: 1fr;
    }
    
    .floating-card {
        min-width: 240px;
        padding: var(--spacing-md);
    }
    
    .card-math {
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .card-science {
        bottom: 20px;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 1.875rem;
    }
    
    .hero-cta {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-image {
        height: 350px;
    }
    
    .circle-bg {
        width: 300px;
        height: 300px;
    }
}
/* === MISSION JEET FOOTER === */
        .site-footer {
            width: 100%;
            background-color: #000000;
            color: #f3f4f6;
            padding: 4rem 5% 2rem;
            font-family: 'Inter', sans-serif;
            position: relative;
            z-index: 10;
        }

        .footer-top {
            max-width: 1400px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr;
            gap: 2rem;
            margin-bottom: 3rem;
        }

        .footer-logo {
            font-size: 1.5rem;
            font-weight: 900;
            margin-bottom: 1.25rem;
            letter-spacing: -0.5px;
        }
        .footer-logo .mission { color: #ffffff; }
        .footer-logo .jeet {
            background-color: #ef4444;
            color: #ffffff;
            padding: 2px 6px;
            border-radius: 4px;
            margin-left: 2px;
            font-style: italic;
            font-weight: 800;
        }

        .brand-col .brand-desc {
            font-size: 0.9rem;
            color: #d1d5db;
            margin-bottom: 1.5rem;
            line-height: 1.6;
        }

        .contact-info p {
            font-size: 0.9rem;
            color: #d1d5db;
            margin-bottom: 1rem;
            line-height: 1.5;
        }
        .contact-info strong { color: #ffffff; font-weight: 600; }
        .contact-info em { font-style: italic; color: #9ca3af; }

        .footer-col h4 {
            color: #ffffff;
            font-size: 1.05rem;
            font-weight: 700;
            margin-bottom: 1.5rem;
            letter-spacing: 0.5px;
        }

        .footer-col ul { list-style: none; }
        .footer-col ul li { margin-bottom: 0.85rem; }
        .footer-col ul li a {
            color: #d1d5db;
            text-decoration: none;
            font-size: 0.9rem;
            transition: color 0.3s ease;
        }
        .footer-col ul li a:hover { color: #ffffff; }

        .app-links { display: flex; flex-direction: column; gap: 0.75rem; }
        .app-links img { height: 40px; width: auto; border-radius: 6px; }

        .footer-bottom {
            max-width: 1400px;
            margin: 0 auto;
            padding-top: 2rem;
            border-top: 1px solid #1f2937;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .footer-bottom p { color: #9ca3af; font-size: 0.85rem; }

        .social-links { display: flex; gap: 1rem; }
        .social-links a {
            display: flex; align-items: center; justify-content: center;
            width: 36px; height: 36px;
            background-color: #334155; color: #ffffff;
            border-radius: 50%; text-decoration: none; font-size: 1.1rem;
            transition: all 0.3s ease;
        }
        .social-links a:hover { background-color: #ef4444; transform: translateY(-2px); }
