:root {
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --primary-color: #2563eb; /* Educational Blue */
    --primary-variant: #1d4ed8;
    --secondary-color: #0ea5e9; /* Light Blue */
    --accent-color: #3b82f6;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    margin-bottom: 20px;
    font-weight: 700;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    line-height: 1.1;
    letter-spacing: -2px;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    color: var(--text-primary);
    position: relative;
    display: block;
    width: 100%;
}

p {
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

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

/* Header */
header {
    background: transparent;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 12px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

/* Fix Nav Logo GrayScale */
.nav-container .logo-item img {
    filter: none;
    opacity: 1;
}

.nav-container .logo-item img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 50px;
}

.logo-img {
    height: 50px;
    width: auto;
    transition: all 0.3s ease;
}

header.scrolled .logo-img {
    height: 40px;
}

/* Nav Links */
.nav-links {
    display: flex;
    gap: 10px;
    align-items: center;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--primary-color);
    color: white;
}

/* Hero Section */
.hero {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 100px;
    position: relative;
    background: radial-gradient(circle at 10% 20%, rgba(37, 99, 235, 0.03) 0%, transparent 40%),
                radial-gradient(circle at 90% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 40%);
}

.hero-content h1 span {
    color: var(--primary-color);
    display: block;
    margin-top: 10px;
}

.hero-content h3 {
    color: var(--text-secondary);
    font-weight: 500;
    margin-top: 15px;
}

.hero-content h3 span {
    color: var(--primary-color);
    font-weight: 700;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 30px;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

.btn:hover {
    transform: translateY(-2px);
    background: var(--primary-variant);
    box-shadow: 0 8px 15px rgba(37, 99, 235, 0.3);
}

.btn-outline {
    background: transparent !important;
    border: 1px solid var(--primary-color) !important;
    color: var(--primary-color) !important;
    box-shadow: none !important;
}

.btn-outline:hover {
    background: var(--primary-color) !important;
    color: white !important;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

/* Canvas Background */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.1;
}

/* Videos Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.video-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    padding: 15px;
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.video-card iframe {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
}

.video-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-top: 15px;
}

/* Logo Grid & Hover Fix */
.logo-grid {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    align-items: center;
}

.logo-item img {
    height: 60px;
    width: auto;
    transition: transform 0.4s ease;
    filter: grayscale(100%) opacity(0.5);
}

.logo-item img:hover {
    transform: scale(1.1);
    filter: grayscale(0%) opacity(1) drop-shadow(0 10px 15px rgba(0, 0, 0, 0.1));
}

/* Cards */
.about-feature-card {
    padding: 40px;
    text-align: center;
    background: var(--surface-color);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
}

.about-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 20px;
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.05);
    color: var(--primary-color);
    margin: 0 auto 20px;
}

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

/* Course Combo */
.course-combo-wrapper {
    text-align: center;
    padding: 50px 30px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 24px;
    box-shadow: var(--card-shadow);
}

.combo-badge {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.combo-timeline {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    align-items: center;
    gap: 20px;
}

.combo-step {
    padding: 24px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    background: #fafafa;
    transition: all 0.3s ease;
}

.combo-step:hover {
    background: #fff;
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--card-shadow);
}

.step-icon img {
    max-height: 60px;
    width: auto;
    margin-bottom: 15px;
}

.combo-step h4 {
    color: var(--primary-color);
}

.step-connector {
    color: var(--border-color);
    font-size: 1.5rem;
}

@media (max-width: 768px) {
    .combo-timeline {
        grid-template-columns: 1fr;
    }
    .step-connector {
        transform: rotate(90deg);
    }
}

/* Team Section */
.marquee-container {
    overflow: hidden;
    width: 100%;
}

.marquee-content {
    display: flex;
    gap: 30px;
    animation: scroll 40s linear infinite;
    width: max-content;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.team-card {
    background: #fff;
    min-width: 260px;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.team-image-box {
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.team-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-content {
    padding: 20px;
    text-align: center;
}

.team-content h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-content p {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.accent-line {
    width: 24px;
    height: 3px;
    background: var(--primary-color);
    margin: 0 auto;
    border-radius: 2px;
}

/* Blogs */
.updates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.blog-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--card-shadow-hover);
}

.blog-img-box {
    height: 200px;
    overflow: hidden;
}

.blog-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
    flex: 1;
}

.blog-date {
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
}

.read-more {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-top: 15px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.9), transparent);
    color: #fff;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Contact Form */
.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: #fff;
    font-family: var(--font-body);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Footer */
.main-footer {
    background: #fff;
    border-top: 1px solid var(--border-color);
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.footer-col h4 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 25px;
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Mobile Toggle */
.hamburger span {
    background-color: var(--text-primary);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        min-height: 60vh;
    }
}

/* Success Stories (Testimonials) */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.testimonial-card {
    background: #fff;
    padding: 35px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--card-shadow-hover);
    border-color: var(--primary-color);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 4rem;
    color: rgba(37, 99, 235, 0.05);
    font-family: serif;
    line-height: 1;
}

.testimonial-card .quote {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 25px;
    font-style: italic;
    position: relative;
    z-index: 1;
}

.testimonial-card .author {
    display: flex;
    flex-direction: column;
}

.testimonial-card .author h5 {
    color: var(--text-primary);
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 700;
}

.testimonial-card .author small {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}