:root {
    --primary-color: #003366;
    --primary-dark: #002244;
    --accent-color: #fbbf24;
    --text-dark: #1e293b;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

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

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

.btn-accent {
    background: var(--accent-color);
    color: var(--text-dark);
    font-size: 18px;
    padding: 15px 30px;
}

.btn-accent:hover {
    background: #f59e0b;
    transform: translateY(-2px);
}

/* Local tweaks (using global hero styles from styles.css) */
.hero .btn-accent.btn-lg {
    margin-right: 12px;
}

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

.section:nth-child(even) {
    background: var(--bg-light);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    font-size: 18px;
    text-align: center;
    color: var(--text-light);
    margin-bottom: 50px;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    text-align: center;
}

.feature-icon {
    font-size: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.module-list {
    display: grid;
    gap: 20px;
}

.module {
    background: var(--white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--primary-color);
}

.module h4 {
    color: var(--primary-color);
    font-size: 18px;
    margin-bottom: 15px;
}

.module ul {
    list-style: none;
    padding-left: 0;
}

.module li {
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.module li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Fixed CTA Button */
.fixed-cta {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    animation: popIn 0.8s ease-out both, pulse 2s infinite, glow 3s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Entrance + glow animations for CTAs */
@keyframes popIn {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.96);
    }

    60% {
        opacity: 1;
        transform: translateY(-4px) scale(1.02);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes glow {
    0% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0.6);
    }

    70% {
        box-shadow: 0 0 0 16px rgba(251, 191, 36, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(251, 191, 36, 0);
    }
}

/* Apply entrance to header and hero CTA */
.header .btn-primary {
    animation: popIn 0.8s ease-out both;
}

.hero .btn-accent {
    animation: popIn 0.9s ease-out both;
    animation-delay: 0.2s;
}

.highlight-note {
    background: #fff7ed;
    border-left: 6px solid #f59e0b;
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    margin-top: 10px;
    animation: popIn 0.6s ease-out both, noteGlow 3s ease-in-out infinite;
}

@keyframes noteGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.35);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(245, 158, 11, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(245, 158, 11, 0);
    }
}

/* Mentors */
.mentors .mentor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.mentor-card {
    background: var(--white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow);
    text-align: center;
}

.mentor-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 auto 16px;
    object-fit: cover;
    border: 4px solid #fbbf24;
}

.mentor-name {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 4px;
}

.mentor-role {
    color: var(--text-light);
    margin-bottom: 12px;
}

.mentor-card ul {
    text-align: left;
    list-style: none;
    padding-left: 0;
}

.mentor-card li {
    position: relative;
    padding-left: 20px;
    margin: 6px 0;
}

.mentor-card li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Video Grid Section */
.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.video-item {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
    animation: fadeInUp 0.6s ease-out both;
}

.video-item:nth-child(1) {
    animation-delay: 0.1s;
}

.video-item:nth-child(2) {
    animation-delay: 0.2s;
}

.video-item:nth-child(3) {
    animation-delay: 0.3s;
}

.video-item:nth-child(4) {
    animation-delay: 0.4s;
}

.video-item:nth-child(5) {
    animation-delay: 0.5s;
}

.video-item:nth-child(6) {
    animation-delay: 0.6s;
}

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

.video-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Image wrapper for images */
.image-wrapper {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    background: #f8fafc;
}

.image-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: var(--transition);
}

.video-item:hover .image-wrapper img {
    transform: scale(1.05);
}

.video-title {
    padding: 16px 20px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

/* Footer override for this page */
.footer {
    background: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 40px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-buttons .btn-secondary {
        display: none;
    }

    /* Stats in one row to reduce banner height */
    .hero-stats {
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;
        align-items: center;
        gap: 16px;
        text-align: center;
    }

    .hero-stats .stat-item {
        width: auto;
        min-width: 90px;
    }

    .hero-stats .stat-item h3 {
        font-size: 24px;
    }

    .hero-stats .stat-item p {
        font-size: 14px;
    }

    .section-title {
        font-size: 28px;
    }

    .video-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .image-wrapper {
        padding-bottom: 75%;
        /* 4:3 Aspect Ratio for mobile */
    }
}


