﻿
/*New AI BootCamp With Syllabus */


:root {
    /* Established Brand Colors */
    --bg-page: #080c13;
    --bg-section: #0d141e;
    --bg-card: #121a25;
    --bg-card-hover: #172230;
    --accent-cyan: #00b4d8;
    --accent-cyan-glow: rgba(0, 180, 216, 0.15);
    --accent-magenta: #e11d48;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-light: #1e293b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}

/* --- Global Elements --- */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
}

.btn-magenta {
    background-color: var(--accent-magenta);
    color: #fff;
    box-shadow: 0 4px 15px rgba(225, 29, 72, 0.3);
}

    .btn-magenta:hover {
        background-color: #be123c;
        transform: translateY(-3px);
        box-shadow: 0 8px 25px rgba(225, 29, 72, 0.5);
    }

.btn-outline {
    background-color: transparent;
    color: var(--accent-cyan);
    border: 1px solid var(--accent-cyan);
}

    .btn-outline:hover {
        background-color: rgba(0, 180, 216, 0.1);
    }

/* --- Floating Register Tab --- */
.floating-register {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(180deg);
    background-color: var(--accent-magenta);
    color: #fff;
    writing-mode: vertical-rl;
    text-align: center;
    padding: 25px 12px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 3px;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 4px 0 20px rgba(225, 29, 72, 0.4);
    transition: background-color 0.3s;
}

    .floating-register:hover {
        background-color: #be123c;
    }

/* --- Top Bar & Navbar --- */
.top-bar {
    background-color: #040609;
    color: var(--text-muted);
    padding: 10px 5%;
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    border-bottom: 1px solid var(--border-light);
}

.navbar {
    background-color: rgba(8, 12, 19, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

.logo {
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

    .logo span {
        color: var(--accent-cyan);
        font-size: 32px;
    }

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

    .nav-links li {
        color: var(--text-muted);
        font-weight: 500;
        font-size: 15px;
        cursor: pointer;
        transition: color 0.3s;
    }

        .nav-links li:hover {
            color: var(--text-main);
        }

/* --- Course Details Hero --- */
.course-hero {
    padding: 80px 5% 60px;
    background: radial-gradient(circle at center bottom, var(--bg-section) 0%, var(--bg-page) 100%);
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}

.hero-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.breadcrumbs {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 25px;
    display: flex;
    gap: 10px;
}

    .breadcrumbs span {
        color: var(--accent-cyan);
        cursor: pointer;
    }

.course-hero-badge {
    display: inline-block;
    background: var(--accent-cyan-glow);
    color: var(--accent-cyan);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 25px;
    border: 1px solid rgba(0, 180, 216, 0.3);
}

.course-hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.course-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 800px;
    margin-bottom: 40px;
}

.course-meta-bar {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    background: var(--bg-card);
    padding: 25px 40px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.meta-icon {
    width: 45px;
    height: 45px;
    background: rgba(0, 180, 216, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-cyan);
    font-size: 20px;
}

.meta-text span {
    display: block;
}

    .meta-text span:first-child {
        font-size: 12px;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .meta-text span:last-child {
        font-size: 15px;
        font-weight: 600;
        color: var(--text-main);
    }

/* --- Centered Content Layout --- */
.content-wrapper {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.section-heading {
    font-size: 2.2rem;
    margin-bottom: 30px;
    padding-bottom: 15px;
    position: relative;
    color: var(--text-main);
    text-align: center;
}

    .section-heading::after {
        content: '';
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        bottom: 0;
        width: 80px;
        height: 4px;
        background-color: var(--accent-cyan);
        border-radius: 2px;
    }

/* About Text */
.about-text {
    color: var(--text-muted);
    font-size: 1.15rem;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

/* Tools We Cover */
.tools-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.tool-card {
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    width: 280px;
    transition: all 0.3s ease;
}

    .tool-card:hover {
        border-color: var(--accent-cyan);
        transform: translateY(-5px);
        box-shadow: 0 10px 25px var(--accent-cyan-glow);
    }

    .tool-card h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: #fff;
    }

    .tool-card p {
        font-size: 0.95rem;
        color: var(--text-muted);
    }

/* What You'll Learn Grid */
.learn-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.learn-item {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 30px;
    border-radius: 12px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: background 0.3s;
}

    .learn-item:hover {
        background: var(--bg-card-hover);
    }

.learn-item-icon {
    color: var(--accent-cyan);
    font-size: 24px;
    margin-top: -2px;
}

.learn-item div {
    font-size: 1.05rem;
    color: var(--text-main);
}

/* Target Audience */
.audience-grid {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.audience-tag {
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    color: var(--text-muted);
}

/* --- Section Layout for Syllabus --- */
/* --- Section Layout for Syllabus --- */
.course-journey {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-bottom: 80px;
}

.course-section1 {
    background: var(--bg-section);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 50px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.course-header {
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 20px;
}

.course-badge {
    display: inline-block;
    background: var(--accent-cyan-glow);
    color: var(--accent-cyan);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 15px;
    border: 1px solid rgba(0, 180, 216, 0.3);
}

.course-title {
    font-size: 2rem;
    color: var(--text-main);
    line-height: 1.3;
}

/* Critical Fix: align-items: start */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    align-items: start;
}

/* --- The Split Accent Card & Hover Logic --- */
.module-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-left: 4px solid var(--accent-cyan);
    border-radius: 8px;
    padding: 25px 30px;
    position: relative;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

    .module-card::after {
        content: '';
        position: absolute;
        left: -4px;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--accent-magenta);
        border-radius: 8px 0 0 8px;
        transform: scaleY(0);
        transform-origin: bottom;
        transition: transform 0.4s ease;
    }

    .module-card:hover {
        background: var(--bg-card-hover);
        transform: translateX(8px);
        box-shadow: 0 10px 25px rgba(0,0,0,0.4);
        border-color: rgba(0, 180, 216, 0.3);
    }

        .module-card:hover::after {
            transform: scaleY(1);
        }

.module-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.module-card h3 {
    font-size: 18px;
    color: var(--text-main);
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.module-number {
    font-size: 38px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.04);
    line-height: 1;
    transition: color 0.4s ease;
}

.module-card:hover .module-number {
    color: rgba(0, 180, 216, 0.15);
}

/* Auto Open/Close Accordion Logic */
.module-card ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.4s ease, margin-top 0.4s ease;
}

.module-card:hover ul {
    max-height: 600px;
    opacity: 1;
    margin-top: 25px;
}

.module-card ul li {
    color: var(--text-muted);
    font-size: 14.5px;
    position: relative;
    padding-left: 22px;
    margin-bottom: 12px;
    line-height: 1.6;
}

    .module-card ul li:last-child {
        margin-bottom: 0;
    }

    .module-card ul li::before {
        content: '—';
        position: absolute;
        left: 0;
        color: var(--accent-cyan);
        font-weight: bold;
    }

/* --- Bottom CTA --- */
.bottom-cta {
    background: linear-gradient(135deg, var(--bg-card) 0%, rgba(225, 29, 72, 0.1) 100%);
    border: 1px solid rgba(225, 29, 72, 0.3);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    max-width: 1000px;
    margin: 0 auto 80px;
}

    .bottom-cta h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
        color: #fff;
    }

    .bottom-cta p {
        font-size: 1.1rem;
        color: var(--text-muted);
        margin-bottom: 35px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Responsive */
@media (max-width: 992px) {
    .course-section1 {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .nav-links, .top-bar {
        display: none;
    }

    .course-hero h1 {
        font-size: 2.5rem;
    }

    .learn-grid {
        grid-template-columns: 1fr;
    }

    .floating-register {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .course-section1 {
        padding: 35px 20px;
    }

    .course-journey {
        gap: 40px;
    }

    /* On mobile, keep accordion expanded for better UX */
    .module-card ul {
        max-height: 600px;
        opacity: 1;
        margin-top: 20px;
    }
}








/* ==========================
   OVERVIEW
========================== */

.overview {
    background: rgba(255,255,255,0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    padding: 60px;
    margin-bottom: 100px;
}

    .overview p {
        margin-bottom: 25px;
        color: #dbefff;
        transition: .4s;
    }

        .overview p:hover {
            color: #fff;
            transform: translateX(10px);
        }




body {
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}


.site-wrapper {
    background-color: var(--bg-page);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
}



/*Course Overview Section */
/* --- Course Overview Section --- */
.overview {
    background-color: var(--bg-card); /* Matches your #121a25 dark card background */
    border: 1px solid var(--border-light); /* Matches your #1e293b subtle border */
    border-radius: 16px;
    padding: 50px 60px;
    max-width: 1200px; /* Constrains the width nicely on large screens */
    margin: 60px auto; /* Centers the card and adds vertical space */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3); /* Adds depth */
}

    .overview h2 {
        color: var(--text-main);
        font-size: 2.2rem;
        font-weight: 600;
        margin-bottom: 30px;
        letter-spacing: -0.5px;
    }

    .overview p {
        color: var(--text-muted);
        font-size: 1.05rem;
        line-height: 1.8;
        margin-bottom: 25px;
    }

        /* Removes the extra margin at the bottom of the very last paragraph inside the card */
        .overview p:last-child {
            margin-bottom: 0;
        }

/* --- Mobile Responsiveness --- */
@media (max-width: 768px) {
    .overview {
        padding: 35px 25px;
        margin: 40px auto;
        border-radius: 12px;
    }

        .overview h2 {
            font-size: 1.8rem;
            margin-bottom: 20px;
        }

        .overview p {
            font-size: 1rem;
            line-height: 1.6;
            margin-bottom: 20px;
        }
}


/* --- Left-Aligned Hero Section --- */
/* --- Base Hero Styles (Shared) --- */
.course-hero {
    padding: 80px 5% 60px;
    background: radial-gradient(circle at center bottom, var(--bg-section) 0%, var(--bg-page) 100%);
    border-bottom: 1px solid var(--border-light);
}

.hero-container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.course-hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
    color: var(--text-main);
}

.course-hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
}

/* =========================================
   VARIATION 1: Centered Hero (For the main landing page)
   ========================================= */
.hero-centered {
    text-align: center;
}

    .hero-centered .hero-container {
        align-items: center;
        max-width: 900px;
    }

    .hero-centered p {
        max-width: 800px;
        margin-left: auto;
        margin-right: auto;
    }

/* =========================================
   VARIATION 2: Left-Aligned Hero (For the specific course page)
   ========================================= */
.hero-left {
    text-align: left;
    padding-top: 60px; /* Slightly tighter top padding for inner pages */
}

    .hero-left .hero-container {
        align-items: flex-start;
        max-width: 1200px;
    }

    .hero-left p {
        max-width: 850px;
    }

/* Mobile adjustments */
@media (max-width: 768px) {
    .course-hero h1 {
        font-size: 2.5rem;
    }

    .hero-left {
        text-align: left;
    }
}