﻿/* --- Color Palette & Variables --- */
:root {
    --brand-navy: #0B132B;
    --brand-navy-light: #1C2541;
    --brand-pink: #E6004E;
    --brand-pink-hover: #C50043;
    --bg-light: #F4F6F9;
    --text-dark: #333333;
    --text-muted: #666666;
    --white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* --- Animations --- */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

    .animate-on-scroll.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

/* --- Buttons --- */
.btn-primary {
    display: inline-block;
    background-color: var(--brand-pink);
    color: var(--white);
    padding: 12px 28px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
}

    .btn-primary:hover {
        background-color: var(--brand-pink-hover);
        transform: translateY(-2px);
    }

/* --- Section Defaults --- */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 20px;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    color: var(--brand-navy);
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Hero Section --- */
.hero {
    background-color: var(--brand-navy);
    color: var(--white);
    padding: 80px 20px;
    text-align: center;
    position: relative;
}

    .hero::after {
        content: '';
        position: absolute;
        bottom: -20px;
        left: 0;
        right: 0;
        height: 40px;
        background-color: var(--brand-navy);
        transform: skewY(-2deg);
        z-index: 1;
    }

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.1rem;
    color: #d1d5db;
    margin-bottom: 30px;
}

/* --- Standard Grids --- */
.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

    .card:hover {
        transform: translateY(-5px);
    }

.benefit-card {
    border-top: 4px solid var(--brand-pink);
}

    .benefit-card h3 {
        color: var(--brand-navy);
        margin-bottom: 15px;
    }

/* --- NEW: Tech Stack Section --- */
.tech-stack-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.tech-pill {
    background-color: var(--brand-navy-light);
    color: var(--white);
    padding: 10px 25px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.95rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- NEW: Projects Section --- */
.projects-bg {
    background-color: var(--brand-navy-light);
    color: var(--white);
    padding: 80px 0;
}

    .projects-bg .section-title,
    .projects-bg .section-subtitle {
        color: var(--white);
    }

.project-card {
    background: var(--brand-navy);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

    .project-card:hover {
        transform: translateY(-5px);
        border-color: var(--brand-pink);
    }

.project-img-placeholder {
    height: 160px;
    background-color: #2A365C;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6C7A9C;
    font-weight: 600;
    letter-spacing: 1px;
}

.project-content {
    padding: 25px;
}

    .project-content h3 {
        color: var(--white);
        margin-bottom: 10px;
        font-size: 1.2rem;
    }

    .project-content p {
        color: #d1d5db;
        font-size: 0.95rem;
        margin-bottom: 15px;
    }

.project-tag {
    display: inline-block;
    background-color: rgba(230, 0, 78, 0.2);
    color: var(--brand-pink);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* --- Accordions (Syllabus & FAQ) --- */
.accordion-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.accordion-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.accordion-header {
    background-color: #fafafa;
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--brand-navy);
    transition: background-color 0.3s ease;
}

    .accordion-header:hover {
        background-color: #f3f4f6;
    }

    .accordion-header.active {
        background-color: var(--brand-navy);
        color: var(--white);
    }

.icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    background-color: var(--white);
}

/* Specific styles for syllabus inner content */
.module-block {
    padding: 20px;
    border-bottom: 1px solid #f3f4f6;
}

    .module-block:last-child {
        border-bottom: none;
    }

    .module-block h4 {
        color: var(--brand-pink);
        margin-bottom: 10px;
        font-size: 1.1rem;
    }

    .module-block ul {
        list-style-type: none;
    }

        .module-block ul li {
            position: relative;
            padding-left: 20px;
            margin-bottom: 8px;
            color: var(--text-muted);
            font-size: 0.95rem;
        }

            .module-block ul li::before {
                content: '•';
                color: var(--brand-pink);
                position: absolute;
                left: 0;
                font-weight: bold;
                font-size: 1.2rem;
            }

/* Specific styles for FAQ inner content */
.faq-answer {
    padding: 20px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Bottom CTA --- */
.bottom-cta {
    background-color: var(--brand-navy);
    text-align: center;
    padding: 80px 20px;
    color: var(--white);
}

    .bottom-cta h2 {
        margin-bottom: 20px;
        font-size: 2.5rem;
    }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .accordion-wrapper {
        padding: 20px;
    }

    .accordion-header {
        padding: 15px;
        font-size: 0.95rem;
    }
}
