﻿/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #8b5cf6;
    --accent-color: #ec4899;
    --success-color: #10b981;
    --dark-color: #0f172a;
    --dark-800: #1e293b;
    --dark-700: #334155;
    --light-color: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

body {
    line-height: 1.7;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--white);
    overflow-x: hidden;
    width: 100%;
}

/* Accessibility */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    color: var(--dark-color);
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.8rem 5%;
    box-shadow: var(--shadow-lg);
}

.logo {
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.02);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: 'Playfair Display', serif;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.for-all {
    color: var(--accent-color);
    -webkit-text-fill-color: var(--accent-color);
}

.logo img {
    height: 45px;
    width: auto;
    margin-right: 12px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background: var(--gradient-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav ul li a:hover::after,
nav ul li a.active::after {
    width: 60%;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

.nav-contact-btn {
    background: var(--gradient-primary);
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(102, 102, 255, 0.3);
    transition: all 0.3s ease;
}

.nav-contact-btn::after {
    display: none;
}

.nav-contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 102, 255, 0.4);
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Main Content */
main {
    flex: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(79, 70, 229, 0.85)), 
                url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    text-align: center;
    padding: 140px 20px 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(102, 102, 255, 0.2), transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.2), transparent 60%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 24px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    animation: fadeInUp 0.8s ease-out;
}

.highlight {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 50%, #ffd700 100%);
    background-size: 200% auto;
    color: #000;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    font-weight: 900;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
    animation: shine 3s linear infinite;
    padding: 0 8px;
}

@keyframes shine {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

.highlight::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 237, 78, 0.3));
    border-radius: 8px;
    z-index: -1;
    filter: blur(10px);
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 2px;
    animation: underline-pulse 2s ease-in-out infinite;
}

@keyframes underline-pulse {
    0%, 100% {
        opacity: 0.6;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.1);
    }
}

.hero p {
    font-size: 1.35rem;
    margin-bottom: 40px;
    opacity: 0.95;
    font-weight: 300;
    animation: fadeInUp 0.8s ease-out 0.2s backwards;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.4s backwards;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 16px 40px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(102, 102, 255, 0.4);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 102, 255, 0.5);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    backdrop-filter: blur(10px);
}

.cta-button.secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #fff;
    transform: translateY(-3px);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Stats Section */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding: 80px 5%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    text-align: center;
    position: relative;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.3;
}

.stat-item {
    position: relative;
    z-index: 1;
    padding: 20px;
}

.stat-item i {
    font-size: 3.5rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.stat-item h3 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.stat-item p {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    font-size: 1.1rem;
}

/* Features Section */
.features {
    padding: 100px 5%;
    background-color: var(--light-color);
}

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 16px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 20px auto 0;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: var(--white);
    padding: 45px 35px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(102, 102, 255, 0.15);
}

.icon-wrapper {
    width: 85px;
    height: 85px;
    background: linear-gradient(135deg, rgba(102, 102, 255, 0.1), rgba(139, 92, 246, 0.15));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.feature-card:hover .icon-wrapper {
    background: var(--gradient-primary);
    transform: rotateY(360deg);
}

.icon-wrapper i {
    font-size: 2.2rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s ease;
}

.feature-card:hover .icon-wrapper i {
    -webkit-text-fill-color: white;
}

.feature-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
}

/* Testimonials */
.testimonials {
    padding: 100px 5%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(102, 102, 255, 0.1), transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.1), transparent 50%);
    pointer-events: none;
}

.testimonials h2 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 60px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.testimonial-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 40px 35px;
    border-radius: 20px;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(102, 102, 255, 0.3);
    box-shadow: 0 20px 40px rgba(102, 102, 255, 0.2);
}

.testimonial-card::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: rgba(102, 102, 255, 0.2);
}

.testimonial-card p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 25px;
    position: relative;
}

.student-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.student-info::before {
    content: '';
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.student-info strong {
    display: block;
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.student-info span {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.newsletter::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="40" fill="none" stroke="white" stroke-opacity="0.05" stroke-width="2"/></svg>');
    opacity: 0.5;
}

.newsletter h2 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.newsletter p {
    margin-bottom: 40px;
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 650px;
    margin: 0 auto;
    gap: 15px;
    position: relative;
    z-index: 1;
}

.newsletter-form input {
    padding: 18px 30px;
    border: none;
    border-radius: 50px;
    flex: 1;
    font-size: 1rem;
    outline: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.newsletter-form input:focus {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.newsletter-form button {
    padding: 18px 40px;
    background-color: var(--dark-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.newsletter-form button:hover {
    background-color: #0a0f1f;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Page Content Common */
.page-content {
    padding: 80px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 3rem;
    color: var(--dark-color);
    margin-bottom: 25px;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.page-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.page-content h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 700;
}

.page-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 20px;
}

/* Courses Grid */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.course-card {
    border: none;
    border-radius: 20px;
    padding: 0;
    background-color: var(--white);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.course-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 40px rgba(102, 102, 255, 0.2);
}

.course-image {
    height: 200px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.course-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 102, 255, 0.7), rgba(139, 92, 246, 0.7));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.course-card:hover .course-image::before {
    opacity: 1;
}

.course-content {
    padding: 30px;
}

.course-card h3 {
    margin-bottom: 15px;
    color: var(--dark-color);
    font-size: 1.4rem;
    font-weight: 700;
}

.course-card p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.course-meta {
    display: flex;
    gap: 20px;
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--text-light);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.enroll-btn {
    display: inline-block;
    width: 100%;
    margin-top: 20px;
    padding: 14px 30px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(102, 102, 255, 0.3);
}

.enroll-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 102, 255, 0.4);
}

/* Footer */
footer {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #94a3b8;
    padding-top: 40px;
    position: relative;
    width: 100%;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 25px;
    padding: 0 5% 30px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.15rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.footer-section p {
    line-height: 1.6;
    font-size: 0.9rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.footer-section ul li a::before {
    content: '\2192';
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
}

.footer-section ul li a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 36px;
    height: 36px;
    font-size: 0.85rem;
    background: rgba(255,255,255,0.05);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(102, 102, 255, 0.3);
}

.footer-bottom {
    background-color: rgba(0, 0, 0, 0.2);
    text-align: center;
    padding: 15px;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
    }
}

@media (max-width: 900px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input, .newsletter-form button {
        width: 100%;
        border-radius: 50px;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 4%;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(0, 0, 0, 0.05);
        display: none;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
    
    nav.active {
        display: flex;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    nav ul li {
        margin: 0;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 15px;
        text-align: center;
    }

    .hero {
        padding: 100px 20px 80px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .testimonials h2 {
        font-size: 2.2rem;
    }
    
    .courses-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }

    .footer-section ul li a::before {
        display: none;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

:root {
    --primary-color: #3498db;
    --secondary-color: #2ecc71;
    --dark-color: #2c3e50;
    --light-color: #ecf0f1;
    --text-color: #333;
    --bg-light: #f9f9f9;
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
}

body {
    line-height: 1.6;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
header {
    background-color: #fff;
    color: var(--dark-color);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    color: var(--primary-color);
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-size: 1rem;
}

nav ul li a:hover,
nav ul li a.active {
    color: var(--primary-color);
}

.nav-contact-btn {
    background-color: var(--primary-color);
    color: #fff !important;
    padding: 8px 20px;
    border-radius: 20px;
    transition: background-color 0.3s;
}

.nav-contact-btn:hover {
    background-color: #2980b9;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    flex: 1;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
    padding: 150px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: 700;
}

.highlight {
    color: var(--primary-color);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    display: inline-block;
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button.primary {
    background-color: var(--primary-color);
    color: #fff;
}

.cta-button.primary:hover {
    background-color: #2980b9;
    transform: translateY(-3px);
}

.cta-button.secondary {
    background-color: transparent;
    border: 2px solid #fff;
    color: #fff;
}

.cta-button.secondary:hover {
    background-color: #fff;
    color: var(--dark-color);
    transform: translateY(-3px);
}

/* Stats Section */
.stats-section {
    display: flex;
    justify-content: space-around;
    padding: 60px 10%;
    background-color: #fff;
    flex-wrap: wrap;
    text-align: center;
}

.stat-item {
    margin: 20px;
    flex: 1;
    min-width: 200px;
}

.stat-item i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.stat-item h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: #777;
    font-weight: 500;
}

/* Features Section */
.features {
    padding: 80px 5%;
    background-color: var(--bg-light);
    text-align: center;
}

.section-header {
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 10px;
}

.features-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: transform 0.3s;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: rgba(52, 152, 219, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.icon-wrapper i {
    font-size: 1.8rem;
    color: var(--primary-color);
}

.feature-card h3 {
    color: var(--dark-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

/* Testimonials */
.testimonials {
    padding: 80px 5%;
    background-color: #fff;
    text-align: center;
}

.testimonials h2 {
    font-size: 2.5rem;
    color: var(--dark-color);
    margin-bottom: 50px;
}

.testimonial-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.testimonial-card {
    background-color: var(--bg-light);
    padding: 30px;
    border-radius: 12px;
    flex-basis: 300px;
    max-width: 350px;
    text-align: left;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    position: relative;
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: serif;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.student-info strong {
    display: block;
    color: var(--dark-color);
    font-size: 1.1rem;
}

.student-info span {
    font-size: 0.9rem;
    color: #888;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    text-align: center;
    padding: 80px 20px;
}

.newsletter h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.newsletter p {
    margin-bottom: 30px;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    justify-content: center;
    max-width: 600px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    padding: 15px 25px;
    border: none;
    border-radius: 30px;
    flex: 1;
    font-size: 1rem;
    outline: none;
}

.newsletter-form button {
    padding: 15px 30px;
    background-color: var(--dark-color);
    color: #fff;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: #1a252f;
}

/* Page Content Common */
.page-content {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: #bdc3c7;
    padding-top: 60px;
    width: 100%;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 40px;
    padding: 0 5% 40px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 50%;
    margin-right: 10px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: var(--primary-color);
}

.footer-bottom {
    background-color: #1a252f;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input, .newsletter-form button {
        width: 100%;
        border-radius: 10px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 1rem;
    }

    .mobile-menu-btn {
        display: block;
    }
    
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #fff;
        border-top: 1px solid #eee;
        display: none; /* Hide for now, requires JS to toggle */
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    nav.active {
        display: flex;
    }
    
    nav ul {
        flex-direction: column;
        width: 100%;
    }
    
    nav ul li {
        margin: 0;
        margin-bottom: 20px;
        width: 100%;
    }
    
    nav ul li a {
        display: block;
        padding: 10px 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .cta-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }

    .footer-section h3::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .social-links {
        justify-content: center;
    }
}

/* ============================================
   COMPETITIVE EXAM SPECIFIC STYLES
   ============================================ */

/* Hero Exam Section */
.hero-exam {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(79, 70, 229, 0.85)), 
                url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 120px 20px 100px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    text-align: left;
    z-index: 2;
}

.hero-exam::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(102, 102, 255, 0.2), transparent 60%),
                radial-gradient(circle at 70% 80%, rgba(139, 92, 246, 0.2), transparent 60%);
    pointer-events: none;
}

.hindi-tagline {
    font-size: 2rem;
    font-weight: 700;
    color: #00ff88;
    text-align: center;
    margin: 20px 0 15px;
    text-shadow: 
        0 0 10px #00ff88,
        0 0 20px #00ff88,
        0 0 30px #00ff88,
        0 0 40px #00ff88,
        0 0 70px #00ff88,
        0 0 80px #00ff88,
        0 0 100px #00ff88,
        0 0 150px #00ff88;
    animation: neon-flicker 3s infinite alternate;
    letter-spacing: 2px;
}

@keyframes neon-flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 
            0 0 10px #00ff88,
            0 0 20px #00ff88,
            0 0 30px #00ff88,
            0 0 40px #00ff88,
            0 0 70px #00ff88,
            0 0 80px #00ff88,
            0 0 100px #00ff88,
            0 0 150px #00ff88;
    }
    20%, 24%, 55% {
        text-shadow: 
            0 0 5px #00ff88,
            0 0 10px #00ff88;
    }
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    font-weight: 300;
}

.exam-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 30px 0 40px;
}

.badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

/* Founder Card */
.founder-card {
    flex: 0 0 320px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 30px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    text-align: center;
    transition: all 0.4s ease;
    z-index: 2;
    animation: floatIn 1s ease-out;
}

@keyframes floatIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.founder-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 80px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 215, 0, 0.5);
}

.founder-image-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
}

.founder-image-wrapper img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    transition: all 0.4s ease;
}

.founder-card:hover .founder-image-wrapper img {
    border-color: #ffd700;
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.4);
    transform: scale(1.05);
}

.founder-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
    animation: spin 20s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.founder-badge i {
    color: #000;
    font-size: 1.2rem;
    animation: pulse 2s ease-in-out infinite;
}

.founder-info h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.founder-title {
    font-size: 1.1rem;
    color: #ffd700;
    font-weight: 600;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.founder-degree {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    margin-top: 5px;
}

/* Welcome Message Section */
.hero-exam .typing-container {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 0;
    position: relative;
    z-index: 1;
}

.hero-exam .typing-text {
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.3px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease-out 0.6s backwards;
    font-style: italic;
}

.hero-exam .typing-text::after {
    content: '|';
    animation: blink 0.7s infinite;
    margin-left: 4px;
    color: #ffd700;
    font-weight: 300;
    font-style: normal;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

/* Exam Categories */
.exam-categories {
    padding: 100px 5%;
    background-color: var(--light-color);
}

.quiz-cards-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    padding: 40px 20px;
}

.quiz-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    width: 350px;
}

.quiz-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.quiz-main-container {
    text-align: center;
    padding: 40px 20px;
}
.quiz-main-container h1 {
    font-size: 2rem;
    margin-bottom: 15px;
}
.quiz-main-container p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 30px;
}
.start-quiz-btn-main {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 102, 255, 0.3);
}
.start-quiz-btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 102, 255, 0.4);
}



.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    max-width: 1400px;
    margin: 0 auto;
}

.category-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-top: 4px solid var(--primary-color);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(102, 102, 255, 0.2);
}

.category-card.upsc {
    border-top-color: #3b82f6;
}

.category-card.psc {
    border-top-color: #8b5cf6;
}

.category-card.ssc {
    border-top-color: #10b981;
}

.category-card.banking {
    border-top-color: #f59e0b;
}

.category-card.railway {
    border-top-color: #ef4444;
}

.category-card.defense {
    border-top-color: #ec4899;
}

.category-icon {
    width: 80px;
    height: 80px;
    margin: 30px auto 20px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.category-card h3 {
    font-size: 1.8rem;
    color: var(--dark-color);
    margin-bottom: 10px;
    text-align: center;
    font-weight: 700;
}

.category-card > p {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 25px;
    padding: 0 30px;
}

.category-card ul {
    list-style: none;
    padding: 0 30px;
    margin-bottom: 30px;
}

.category-card ul li {
    padding: 10px 0;
    color: var(--text-color);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
}

.category-card ul li::before {
    content: '\2713';
    margin-right: 12px;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.category-btn {
    display: block;
    text-align: center;
    padding: 15px;
    background: var(--gradient-primary);
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: var(--primary-dark);
}

.category-btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.category-btn:hover i {
    transform: translateX(5px);
}

/* YouTube Section */
.youtube-section {
    padding: 100px 5%;
    background: var(--white);
}

.youtube-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto 40px;
}

.video-card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.1);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.video-card:hover .play-btn {
    transform: translate(-50%, -50%) scale(1.1);
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    color: var(--dark-color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.video-info p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.youtube-subscribe {
    text-align: center;
    margin-top: 40px;
}

.subscribe-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: #ff0000;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.subscribe-btn:hover {
    background: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 0, 0, 0.4);
}

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: white;
    text-align: center;
    padding: 80px 20px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"><g fill="none" fill-rule="evenodd"><g fill="%23ffffff" fill-opacity="0.05"><path d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/></g></g></svg>');
    opacity: 0.3;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
    font-weight: 800;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Study Material Styles */
.filter-section {
    margin-bottom: 40px;
}

.filter-section h3 {
    color: var(--dark-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-btn {
    padding: 10px 25px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-2px);
}

.study-materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.material-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.material-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(102, 102, 255, 0.15);
}

.material-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.2));
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 2rem;
    color: #ef4444;
}

.material-card h3 {
    color: var(--dark-color);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.material-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: var(--text-light);
}

.material-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.material-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0;
}

.tag {
    padding: 5px 12px;
    background: rgba(102, 102, 255, 0.1);
    color: var(--primary-color);
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.download-btn {
    width: 100%;
    padding: 12px 20px;
    background: var(--gradient-success);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 192, 254, 0.4);
}

/* Language Button Group in Material Cards */
.lang-btn-group {
    display: flex;
    gap: 10px;
}

.lang-btn-group .lang-btn {
    flex: 1;
    font-size: 13px;
    padding: 10px 10px;
}

/* Quiz Styles */
.quiz-categories {
    margin-bottom: 60px;
}

.quiz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.quiz-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.quiz-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.quiz-header {
    padding: 30px;
    color: white;
    text-align: center;
}

.quiz-header i {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.quiz-header h3 {
    font-size: 1.6rem;
    font-weight: 700;
}

.upsc-bg {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
}

.psc-bg {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.ssc-bg {
    background: linear-gradient(135deg, #10b981, #059669);
}

.banking-bg {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.railway-bg {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.defense-bg {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.quiz-body {
    padding: 30px;
}

.quiz-info {
    display: flex;
    justify-content: space-around;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    color: var(--text-light);
}

.quiz-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.start-quiz-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.start-quiz-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 102, 255, 0.4);
}

/* Mock Test Section */
.mock-test-section {
    margin-top: 80px;
}

.mock-tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.mock-test-card {
    background: white;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.mock-test-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.mock-test-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 15px;
    background: var(--gradient-secondary);
    color: white;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.mock-test-card h3 {
    color: var(--dark-color);
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.mock-meta {
    display: flex;
    gap: 25px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.mock-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.attempt-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--gradient-success);
    color: white;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.attempt-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 192, 254, 0.4);
}

/* Previous Papers Styles */
.papers-section {
    margin-bottom: 60px;
}

.papers-section h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.papers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.paper-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    position: relative;
    transition: all 0.3s ease;
}

.paper-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.12);
}

.paper-year {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.paper-card h3 {
    color: var(--dark-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
    padding-right: 70px;
    font-weight: 700;
}

.paper-card > p {
    color: var(--text-light);
    margin-bottom: 20px;
}

.paper-actions {
    display: flex;
    gap: 10px;
}

.paper-btn {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.paper-btn.view {
    background: rgba(102, 102, 255, 0.1);
    color: var(--primary-color);
}

.paper-btn.view:hover {
    background: var(--gradient-primary);
    color: white;
}

.paper-btn.download {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.paper-btn.download:hover {
    background: var(--gradient-success);
    color: white;
}

/* Success Stories Enhancement */
.section-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-top: 10px;
}

.rank-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.student-details {
    flex: 1;
}

/* Contact Info in Footer */
.contact-info {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.contact-info i {
    color: var(--primary-color);
}

/* Responsive for new sections */
@media (max-width: 768px) {
    .hero-exam {
        flex-direction: column;
        text-align: center;
        padding: 80px 20px 60px;
        gap: 40px;
    }
    
    .hero-content {
        text-align: center;
    }
    
    .hindi-tagline {
        font-size: 1.5rem;
        letter-spacing: 1px;
    }
    
    .founder-card {
        flex: 1 1 auto;
        max-width: 100%;
    }
    
    .exam-badges {
        gap: 8px;
        justify-content: center;
    }
    
    .badge {
        font-size: 0.8rem;
        padding: 6px 15px;
    }
    
    .categories-grid,
    .quiz-grid,
    .study-materials-grid,
    .papers-grid {
        grid-template-columns: 1fr;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .filter-buttons {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
}

/* Course Icon Header Styles */
.course-icon-header {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 15px 15px 0 0;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.course-icon-header i {
    font-size: 5rem;
    color: white;
    opacity: 0.9;
}

.coming-soon-tag {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    padding: 8px 20px;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.course-card .enroll-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.course-card .enroll-btn:disabled:hover {
    background: #ccc;
    transform: none;
}

/* Disabled button styles for all pages */
button:disabled,
.download-btn:disabled,
.start-quiz-btn:disabled,
.attempt-btn:disabled,
.paper-btn:disabled {
    background: #ccc !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
}

button:disabled:hover,
.download-btn:disabled:hover,
.start-quiz-btn:disabled:hover,
.attempt-btn:disabled:hover,
.paper-btn:disabled:hover {
    background: #ccc !important;
    transform: none !important;
}

/* ===== Current Affairs Page Styles ===== */
.current-affairs-section {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

/* Language Toggle */
.ca-lang-toggle {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 30px;
}

.ca-lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 36px;
    font-size: 1.05rem;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    cursor: pointer;
    background: transparent;
    color: var(--primary-color);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.ca-lang-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
}

.ca-lang-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.ca-info-banner {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 18px 28px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 40px;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.35);
    animation: fadeInUp 0.6s ease-out;
}

.ca-info-banner i {
    font-size: 1.5rem;
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(10deg); }
    40% { transform: rotate(-5deg); }
    50% { transform: rotate(0deg); }
}

.ca-timeline {
    display: flex;
    flex-direction: column;
    gap: 35px;
}

.ca-card {
    background: var(--white);
    border-radius: 18px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-left: 5px solid var(--primary-color);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease-out;
}

.ca-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-3px);
}

.ca-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.ca-title {
    font-size: 1.5rem;
    color: var(--dark-color);
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
    font-weight: 700;
}

.ca-item {
    margin-bottom: 22px;
    padding: 18px;
    background: #f8fafc;
    border-radius: 12px;
    transition: background 0.3s ease;
}

.ca-item:hover {
    background: #f1f5f9;
}

.ca-item:last-child {
    margin-bottom: 0;
}

.ca-item h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.ca-item h3 i {
    font-size: 1.15rem;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border-radius: 8px;
    flex-shrink: 0;
}

.ca-item ul {
    list-style: none;
    padding: 0;
}

.ca-item ul li {
    padding: 8px 0 8px 22px;
    position: relative;
    font-size: 0.98rem;
    line-height: 1.7;
    color: var(--text-color);
    border-bottom: 1px dashed #e2e8f0;
}

.ca-item ul li:last-child {
    border-bottom: none;
}

.ca-item ul li::before {
    content: '\25B8';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Current Affairs Responsive */
@media (max-width: 768px) {
    .current-affairs-section {
        padding: 25px 15px 60px;
    }

    .ca-info-banner {
        flex-direction: column;
        text-align: center;
        padding: 16px 20px;
        gap: 8px;
    }

    .ca-card {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .ca-title {
        font-size: 1.25rem;
    }

    .ca-item {
        padding: 14px;
    }

    .ca-item h3 {
        font-size: 1rem;
    }

    .ca-lang-btn {
        padding: 10px 24px;
        font-size: 0.95rem;
    }
}
/* ===== Scheme Notes Design ===== */
.scheme-block { margin-top: 16px; }
.scheme-header { display: flex; align-items: center; gap: 16px; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 16px 20px; border-radius: 14px; margin-bottom: 18px; color: #fff; }
.scheme-icon-wrap { width: 52px; height: 52px; background: rgba(255,255,255,0.2); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; flex-shrink: 0; }
.scheme-name { font-size: 1.3rem; font-weight: 800; color: #fff; margin-bottom: 5px; }
.scheme-tag { background: rgba(255,255,255,0.25); color: #fff; font-size: 0.78rem; padding: 3px 12px; border-radius: 20px; font-weight: 600; display: inline-block; }
.scheme-intro { background: #f0f7ff; border-left: 4px solid #667eea; padding: 14px 18px; border-radius: 0 12px 12px 0; margin-bottom: 22px; font-size: 0.93rem; line-height: 1.75; color: #334155; }
.scheme-sub-heading { font-size: 0.98rem; font-weight: 700; color: #1e293b; margin: 22px 0 12px; display: flex; align-items: center; gap: 8px; padding-bottom: 8px; border-bottom: 2px solid #e2e8f0; }
.scheme-sub-heading i { color: var(--primary-color); }
.scheme-features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 22px; }
.scheme-feature-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 12px; font-size: 0.88rem; }
.scheme-feature-item i { font-size: 1.25rem; margin-top: 2px; flex-shrink: 0; }
.scheme-feature-item strong { display: block; margin-bottom: 4px; font-size: 0.9rem; }
.scheme-feature-item p { margin: 0; font-size: 0.83rem; line-height: 1.5; opacity: 0.85; }
.feat-blue   { background: #eff6ff; color: #1e40af; } .feat-blue   i { color: #3b82f6; }
.feat-green  { background: #f0fdf4; color: #14532d; } .feat-green  i { color: #16a34a; }
.feat-orange { background: #fff7ed; color: #7c2d12; } .feat-orange i { color: #ea580c; }
.feat-purple { background: #faf5ff; color: #4c1d95; } .feat-purple i { color: #9333ea; }
.scheme-table-wrap { overflow-x: auto; margin-bottom: 22px; border-radius: 12px; box-shadow: 0 2px 10px rgba(0,0,0,0.07); }
.scheme-table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.scheme-table thead tr { background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; }
.scheme-table th { padding: 11px 16px; text-align: left; font-weight: 600; }
.scheme-table tbody tr:nth-child(even) { background: #f8fafc; }
.scheme-table tbody tr:hover { background: #eff6ff; transition: background 0.2s ease; }
.scheme-table td { padding: 11px 16px; border-bottom: 1px solid #e2e8f0; line-height: 1.6; vertical-align: top; }
.scheme-table td:first-child { font-weight: 600; color: #4f46e5; white-space: nowrap; min-width: 160px; }
.scheme-table td i { margin-right: 5px; }
.scheme-steps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.scheme-step { display: flex; align-items: flex-start; gap: 14px; background: #f8fafc; padding: 13px 16px; border-radius: 12px; font-size: 0.9rem; line-height: 1.6; border-left: 3px solid #667eea; }
.step-num { width: 30px; height: 30px; min-width: 30px; background: linear-gradient(135deg, #667eea, #764ba2); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }
.scheme-highlight-box { background: linear-gradient(135deg, #fef9c3, #fef3c7); border: 1px solid #fbbf24; border-radius: 14px; padding: 18px 20px; margin-top: 6px; }
.scheme-highlight-box h5 { font-size: 0.98rem; font-weight: 700; color: #92400e; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
.scheme-highlight-box h5 i { color: #f59e0b; }
.scheme-highlight-box p { font-size: 0.9rem; color: #78350f; line-height: 1.75; }
.scheme-state-note { display: flex; align-items: flex-start; gap: 10px; background: rgba(255,255,255,0.65); padding: 10px 14px; border-radius: 10px; margin-top: 12px; }
.scheme-state-note i { color: #f59e0b; margin-top: 2px; flex-shrink: 0; }
.scheme-state-note p { margin: 0; font-size: 0.87rem; color: #78350f; line-height: 1.6; }
@media (max-width: 600px) {
    .scheme-features-grid { grid-template-columns: 1fr; }
    .scheme-table td:first-child { white-space: normal; min-width: unset; }
    .scheme-name { font-size: 1.1rem; }
    .scheme-header { gap: 12px; padding: 14px 16px; }
}

/* =====================================================
   CA TOPIC LINK — clickable topic cards in current-affairs.html
   ===================================================== */
.ca-topic-link {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    border-left: 4px solid var(--primary-color, #6366f1);
    border-radius: 14px;
    padding: 16px 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
    box-shadow: 0 2px 8px rgba(99,102,241,0.06);
    margin-bottom: 12px;
}
.ca-topic-link:hover {
    border-left-color: var(--secondary-color, #8b5cf6);
    box-shadow: 0 6px 20px rgba(99,102,241,0.15);
    transform: translateX(4px);
    background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
}
.ca-topic-icon {
    width: 48px; height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    color: #fff; font-size: 1.3rem;
}
.ca-topic-text {
    flex: 1;
    display: flex; flex-direction: column; gap: 4px;
}
.ca-topic-title {
    font-size: 1rem; font-weight: 700;
    color: #1e1b4b;
    line-height: 1.3;
}
.ca-topic-sub {
    font-size: 0.82rem; color: #64748b;
    line-height: 1.4;
}
.ca-topic-arrow {
    color: var(--primary-color, #6366f1);
    font-size: 1rem; flex-shrink: 0;
    transition: transform 0.25s ease;
}
.ca-topic-link:hover .ca-topic-arrow {
    transform: translateX(5px);
}

/* =====================================================
   GOVERNMENT SCHEMES PAGE — gs-* styles
   ===================================================== */
.gs-section {
    padding: 30px 5%;
    max-width: 1000px;
    margin: 0 auto;
}

/* Back button */
.gs-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--primary-color, #6366f1);
    font-weight: 600;
    font-size: 0.92rem;
    margin-bottom: 24px;
    padding: 8px 16px;
    border: 1.5px solid #c7d2fe;
    border-radius: 8px;
    background: #f5f3ff;
    transition: all 0.2s;
}
.gs-back-btn:hover {
    background: var(--primary-color, #6366f1);
    color: #fff;
    border-color: var(--primary-color, #6366f1);
}

/* Accordion wrapper */
.gs-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Accordion item card */
.gs-accordion-item {
    border: 1.5px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: box-shadow 0.25s;
}
.gs-accordion-item.open {
    box-shadow: 0 8px 24px rgba(99,102,241,0.14);
    border-color: #a5b4fc;
}

/* Accordion header button */
.gs-accordion-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Poppins', sans-serif;
    transition: background 0.2s;
}
.gs-accordion-header:hover {
    background: #f5f3ff;
}
.gs-accordion-item.open .gs-accordion-header {
    background: linear-gradient(135deg, #eef2ff 0%, #ede9fe 100%);
    border-bottom: 1.5px solid #c7d2fe;
}

.gs-acc-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}
.gs-acc-icon {
    width: 44px; height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.2rem;
    flex-shrink: 0;
}
.gs-acc-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e1b4b;
    line-height: 1.3;
}
.gs-acc-title small {
    display: block;
    font-size: 0.78rem;
    font-weight: 400;
    color: #64748b;
    margin-top: 2px;
}
.gs-acc-arrow {
    color: #6366f1;
    font-size: 1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.gs-accordion-item.open .gs-acc-arrow {
    transform: rotate(180deg);
}

/* Accordion body */
.gs-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.gs-accordion-body .scheme-block {
    margin: 0;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: 22px 24px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
    .gs-section { padding: 20px 4%; }
    .gs-accordion-header { padding: 14px 16px; }
    .gs-acc-title { font-size: 0.95rem; }
    .gs-accordion-body .scheme-block { padding: 16px; }
    .ca-topic-link { padding: 13px 14px; gap: 12px; }
    .ca-topic-icon { width: 40px; height: 40px; font-size: 1.1rem; }
}

/* ===================================================
   STATIC GK — Section on Study Material Page
   =================================================== */
.static-gk-wrapper {
    margin-top: 60px;
    padding-top: 50px;
    border-top: 3px solid #e8f5e9;
}

.sgk-card-grid {
    display: flex;
    justify-content: flex-start;
}

.sgk-card-grid .material-card {
    width: 100%;
    max-width: 360px;
}
.static-gk-section-header {
    margin-bottom: 30px;
}
.static-gk-section-header h2 {
    font-size: 1.9rem;
    font-weight: 800;
    color: #1b5e20;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.static-gk-section-header p {
    color: var(--text-light);
    font-size: 1rem;
    margin-left: 4px;
}
.static-gk-card {
    display: inline-flex;
    align-items: center;
    gap: 25px;
    background: linear-gradient(135deg, #0a3d1f 0%, #1b5e20 50%, #2e7d32 100%);
    color: white;
    padding: 30px 38px;
    border-radius: 20px;
    text-decoration: none;
    max-width: 560px;
    box-shadow: 0 8px 32px rgba(27, 94, 32, 0.35);
    transition: all 0.35s ease;
    position: relative;
    overflow: hidden;
}
.static-gk-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -40px;
    width: 200px;
    height: 200px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    pointer-events: none;
}
.static-gk-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 50px rgba(27, 94, 32, 0.48);
}
.static-gk-card .sgk-icon {
    font-size: 3rem;
    min-width: 62px;
    text-align: center;
    line-height: 1;
}
.sgk-title {
    font-size: 1.55rem;
    font-weight: 800;
    margin-bottom: 6px;
    font-family: 'Playfair Display', serif;
}
.sgk-desc {
    font-size: 0.9rem;
    opacity: 0.87;
    margin-bottom: 14px;
    line-height: 1.55;
}
.sgk-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.18);
    border: 1.5px solid rgba(255,255,255,0.4);
    border-radius: 30px;
    padding: 7px 20px;
    font-size: 0.88rem;
    font-weight: 600;
    color: white;
    transition: background 0.3s;
}
.static-gk-card:hover .sgk-cta {
    background: rgba(255,255,255,0.3);
}

/* ===================================================
   STATIC GK HUB PAGE (static-gk.html)
   =================================================== */
.sgk-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.87rem;
    color: var(--text-light);
    margin-bottom: 30px;
    flex-wrap: wrap;
}
.sgk-breadcrumb a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}
.sgk-breadcrumb a:hover { text-decoration: underline; }
.sgk-breadcrumb .bc-sep { color: #ccc; }

.sgk-page-intro {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 16px;
    padding: 22px 28px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 18px;
    border-left: 5px solid #2e7d32;
}
.sgk-page-intro i {
    font-size: 2.4rem;
    color: #1b5e20;
    min-width: 48px;
    text-align: center;
}
.sgk-page-intro h2 {
    font-size: 1.3rem;
    color: #1b5e20;
    margin-bottom: 4px;
    font-weight: 700;
}
.sgk-page-intro p {
    color: #444;
    font-size: 0.92rem;
    margin: 0;
}

.sgk-category-label {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--text-light);
    margin-bottom: 16px;
    margin-top: 36px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8e8e8;
}
.sgk-category-label:first-of-type { margin-top: 0; }

.sgk-topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 22px;
}
.sgk-topic-card {
    background: white;
    border-radius: 16px;
    padding: 26px 22px;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
    position: relative;
    overflow: hidden;
    display: block;
}
.sgk-topic-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
a.sgk-topic-card {
    border-color: #a5d6a7;
    background: linear-gradient(145deg, #fff 50%, #e8f5e9 100%);
}
a.sgk-topic-card:hover { border-color: #2e7d32; }
div.sgk-topic-card.coming-card {
    border-color: #ebebeb;
    opacity: 0.78;
    cursor: default;
}
.sgk-topic-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.7rem;
    color: white;
    margin-bottom: 14px;
}
.sgk-topic-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 7px;
    color: #1b5e20;
}
div.sgk-topic-card.coming-card h3 { color: var(--dark-color); }
.sgk-topic-card p {
    font-size: 0.87rem;
    color: var(--text-light);
    line-height: 1.55;
    margin-bottom: 14px;
}
.sgk-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #1b5e20, #2e7d32);
    color: white;
    border-radius: 25px;
    padding: 7px 18px;
    font-size: 0.84rem;
    font-weight: 600;
    transition: box-shadow 0.3s;
}
a.sgk-topic-card:hover .sgk-read-btn {
    box-shadow: 0 4px 14px rgba(46, 125, 50, 0.42);
}

@media (max-width: 768px) {
    .static-gk-card { padding: 22px 20px; gap: 16px; max-width: 100%; }
    .static-gk-card .sgk-icon { font-size: 2.2rem; min-width: 44px; }
    .sgk-title { font-size: 1.3rem; }
    .sgk-topics-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .sgk-topics-grid { grid-template-columns: 1fr; }
    .sgk-page-intro { flex-direction: column; text-align: center; }
}
