:root {
    --primary-color: #4f46e5;
    --primary-dark: #4338ca;
    --secondary-color: #e5446f;
    --text-primary: #1D1E2C;
    --text-secondary: #4b5563;
    --text-highlight: #1e094b;
    --bg-light: #f9fafb;
    --bg-white: #f8f8f8;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.03);
    --shadow: 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    --font-sans: 'Inter', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-serif: 'Noto Serif', Georgia, Cambria, "Times New Roman", Times, serif;
    --border-radius: 1.5rem;
}

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

html {
    font-family: var(--font-sans);
    color: var(--text-primary);
    scroll-behavior: smooth;
    line-height: 1.5;
}

body {
    font-size: 16px;
    overflow-x: hidden;
    background: linear-gradient(130deg, #e0e8ff 0%, #f5e7ff 100%);
    min-height: 100vh;
}

p {
    font-family: var(--font-sans);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-dark);
    color: var(--bg-white);
}

.btn-primary:hover {
    background-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--gray-100);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--gray-200);
}

.btn-outline {
    border: 1px solid var(--gray-300);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--gray-100);
}

.btn-large {
    padding: 0.75rem 1.75rem;
    font-size: 1.1rem;
}

/* Header and Navigation */
header {
    position: sticky;
    top: 0;
    background-color: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(1rem);
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

nav {
    padding: 0.2rem 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
}

.logo {
    font-size: 1.0rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
}

.logo-img {
    max-height: 30px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 0.4rem;
    margin: 0 2rem;
    background-color: var(--bg-white);
    padding: 0rem 2rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-sm);
}

.nav-links a {
    position: relative;
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.2s ease;
    padding: 0.3rem 0.8rem;
    border-radius: 1.5rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
    background-color: var(--bg-white);
    text-decoration: none;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    margin: 5px 0;
    background-color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    padding: 7rem 0 5rem;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/heading_bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    z-index: -1;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 2rem;
    color: var(--text-highlight);
    font-style: italic;
}

.hero .lead {
    font-family: var(--font-sans);
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-image {
    max-width: 900px;
    margin: 0 auto;
    box-shadow: var(--shadow-lg);
    border-radius: var(--border-radius);
    overflow: hidden;
}

/* Partners */
.partners {
    padding: 4rem 0;
    text-align: center;
}

.partners h2 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    align-items: center;
}

.logo-item {
    font-weight: bold;
    color: var(--gray-400);
    font-size: 1.2rem;
}

/* Features */
.features {
    padding: 6rem 0;
    background-color: transparent;
}

.features h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    color: var(--text-highlight);
}

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

.feature-card {
    position: relative;
    background-color: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: var(--shadow);
}

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

.feature-icon {
    width: 60px;
    height: 60px;
}

.feature-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-highlight);
}

.feature-card p {
    font-family: var(--font-sans);
    color: var(--text-secondary);
    line-height: 1.6;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.how-it-works h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 auto 1.5rem;
    background-color: var(--primary-color);
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    border-radius: 50%;
}

.step h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.step p {
    font-family: var(--font-sans);
    color: var(--text-secondary);
}

/* Pricing */
.pricing {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.pricing h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.pricing-card {
    background-color: var(--bg-white);
    border: 1px solid var(--gray-200);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.pricing-card.featured {
    border-color: var(--primary-color);
    box-shadow: var(--shadow);
}

.pricing-header {
    padding: 2rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-200);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
}

.price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.features-list {
    padding: 2rem;
}

.features-list li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.pricing-card .btn {
    display: block;
    margin: 1rem 2rem 2rem;
}

/* Testimonials */
.testimonials {
    padding: 5rem 0;
    background-color: var(--bg-light);
}

.testimonials h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
}

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

.testimonial-card {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.testimonial-card p {
    font-family: var(--font-sans);
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

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

.author-name {
    font-weight: 600;
}

.author-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* CTA */
.cta {
    padding: 6rem 0;
    text-align: center;
    background-color: white;
    border-radius: var(--border-radius);
    margin: 2rem 0;
    box-shadow: var(--shadow);
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-highlight);
}

.cta p {
    font-family: var(--font-sans);
    margin-bottom: 2.5rem;
    font-size: 1.2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-secondary);
}

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

.cta .btn-primary:hover {
    background-color: var(--gray-100);
}

/* Footer */
footer {
    background-color: white;
    padding: 5rem 0 2rem;
    color: var(--text-secondary);
    margin-top: 6rem;
    border-top: 1px solid var(--gray-200);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

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

.footer-logo .logo-img {
    max-width: 180px;
    height: auto;
}

.footer-column h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-200);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Mobile Menu */
@media (max-width: 768px) {
    .nav-links.active, .nav-actions.active {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--bg-white);
        box-shadow: var(--shadow);
        padding: 1.5rem;
        text-align: center;
        z-index: 99;
    }
    
    .nav-links.active {
        gap: 1.5rem;
        margin: 0;
    }
    
    .nav-actions.active {
        gap: 1rem;
        top: calc(100% + 210px); /* Approximate height of nav-links */
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero .lead {
        color: var(--text-secondary);
        font-size: 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }

    .pricing-grid, .feature-grid, .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

/* Text highlight */
.highlight-gradient {
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent; /* Standard fallback */
    display: inline-block;
    position: relative;
    z-index: 1;
}

/* Curriculum Section */
.curriculum {
    padding: 6rem 0;
    background-color: transparent;
}

.curriculum h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-highlight);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.curriculum-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2.5rem;
}

.curriculum-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

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

.curriculum-card h3 {
    margin-top: 0;
    font-size: 1.5rem;
    color: var(--text-highlight);
    margin-bottom: 1rem;
}

.curriculum-card p {
    flex-grow: 1;
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.curriculum-card .status {
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 4px;
    display: inline-block;
    text-align: center;
    margin-top: auto;
}

.in-progress .status {
    background-color: #dbeafe;
    color: #1e40af;
}

.coming-soon .status {
    background-color: var(--gray-100);
    color: var(--gray-500);
}

@media (max-width: 768px) {
    .curriculum-grid {
        grid-template-columns: 1fr;
    }
}

/* 404 Error Page */
.error-page-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 100px); /* Adjust 100px if header height changes */
    padding: 2rem;
}

.error-container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 3rem 4rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 600px;
    width: 100%;
}

.error-container h1 {
    font-family: var(--font-serif);
    color: var(--text-highlight);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.error-container p {
    font-family: var(--font-sans);
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.error-container a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.5rem;
    font-weight: 500;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.error-container a:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
}