/* =========================================
   EDUCATION & CAREER BANNER STYLES
   ========================================= */

/* Local Variables for this section */
.education-career-banner {
    --banner-bg: #0f172a;
    --banner-gradient: linear-gradient(135deg, #064e3b 0%, #065f46 100%); /* Dark Green Gradient */
    --text-light: #f8fafc;
    --text-dim: #94a3b8;
    --accent-color: #34d399; /* Emerald 400 */
    --glass-dark: rgba(6, 78, 59, 0.6);
    --border-light: rgba(255, 255, 255, 0.1);
}

.education-career-banner {
    background: var(--banner-gradient);
    color: var(--text-light);
    padding: 5rem 2rem;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
}

/* Background decorative glow */
.education-career-banner::before {
    content: '';
    position: absolute;
    top: -20%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(52, 211, 153, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    z-index: 0;
}

.banner-inner {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* --- LEFT SIDE: CONTENT --- */
.banner-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeInUp 0.8s ease-out forwards;
}

.banner-content h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin: 0;
    background: linear-gradient(to right, #fff, #a7f3d0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.banner-content p {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-dim);
    max-width: 500px;
}

/* Tech Stack Pills (Now Career Paths) */
.tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.tech-stack li {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: default;
}

.tech-stack li i { font-size: 1.1rem; }
.tech-stack li:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    border-color: var(--accent-color);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

/* Specific Brand Colors on Hover */
.tech-stack li:hover .fa-graduation-cap { color: #fbbf24; }
.tech-stack li:hover .fa-briefcase { color: #60a5fa; }
.tech-stack li:hover .fa-chalkboard-teacher { color: #f472b6; }
.tech-stack li:hover .fa-laptop-code { color: #34d399; }

/* Benefits List */
.banner-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.banner-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-light);
}

.banner-benefits i {
    color: #34d399; /* Green Check */
    font-size: 1.1rem;
}

/* CTAs */
.banner-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.banner-cta .btn-cta {
    background: var(--accent-color);
    color: #064e3b; /* Dark text for contrast */
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 4px 14px rgba(52, 211, 153, 0.4);
}
.banner-cta .btn-cta:hover {
    transform: translateY(-2px);
    background: #10b981;
    box-shadow: 0 6px 20px rgba(52, 211, 153, 0.6);
}

.banner-cta .link-secondary {
    padding: 12px 24px;
    color: var(--text-light);
    text-decoration: none;
    font-weight: 600;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: 0.3s;
}
.banner-cta .link-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: #fff;
}

/* --- RIGHT SIDE: VISUAL --- */
.banner-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: floatVisual 6s ease-in-out infinite;
}

/* Code Window Mockup */
.device-mockup {
    background: #064e3b;
    border: 1px solid #065f46;
    border-radius: 16px;
    padding: 10px;
    width: 100%;
    max-width: 480px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
}

/* Fake Window Dots */
.device-mockup::before {
    content: '';
    display: block;
    width: 12px; height: 12px;
    background: #ef4444;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 20px 0 0 #f59e0b, 40px 0 0 #10b981;
    margin-left: 8px;
}

.screen {
    background: #022c22;
    border-radius: 8px;
    padding: 20px;
    font-family: 'Fira Code', monospace;
    color: #e2e8f0;
    font-size: 0.9rem;
    overflow: hidden;
}

.screen code {
    display: block;
    line-height: 1.6;
}

/* Floating Stats Cards */
.banner-stats {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; /* Let clicks pass through to code if needed */
    z-index: 3;
}

.stat {
    position: absolute;
    background: rgba(6, 78, 59, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    animation: fadeInZoom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
}

.stat strong {
    font-size: 1.5rem;
    color: var(--accent-color);
    line-height: 1;
}
.stat span {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* Positioning Stats */
.stat:nth-child(1) {
    top: -20px; right: -20px;
    animation-delay: 0.6s;
}
.stat:nth-child(2) {
    bottom: -30px; left: -10px;
    animation-delay: 0.8s;
}

/* --- BOTTOM: FEATURES BAR --- */
.banner-features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-light);
    padding-top: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease 1s forwards;
}

.feature {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-dim);
    font-weight: 600;
    transition: 0.3s;
}

.feature i {
    font-size: 1.5rem;
    color: var(--accent-color);
    transition: 0.3s;
}

.feature:hover { color: #fff; }
.feature:hover i { transform: scale(1.2); text-shadow: 0 0 10px var(--accent-color); }

/* --- ANIMATIONS --- */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInZoom {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* =========================================
   COHORT SECTION STYLES
   ========================================= */
.cohort-section {
    background: #0f172a;
    padding: 6rem 2rem;
    color: #f8fafc;
    position: relative;
}

.cohort-container {
    max-width: 1100px;
    margin: 0 auto;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #34d399, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header .subtitle {
    font-size: 1.2rem;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Intro Text */
.intro-text {
    text-align: center;
    font-size: 1.1rem;
    color: #cbd5e1;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.03);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Highlights Grid */
.cohort-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 5rem;
}

.cohort-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.cohort-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.8);
    border-color: #34d399;
    box-shadow: 0 10px 30px rgba(52, 211, 153, 0.1);
}

.card-icon {
    font-size: 2rem;
    color: #34d399;
    margin-bottom: 1.5rem;
    background: rgba(52, 211, 153, 0.1);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.cohort-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cohort-card p {
    color: #94a3b8;
    line-height: 1.6;
}

/* Timeline / Schedule */
.schedule-container {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 5rem;
}

.schedule-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #fff;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
}

.timeline-item {
    position: relative;
    padding-left: 1.5rem;
    border-left: 2px solid #334155;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background: #34d399;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(52, 211, 153, 0.5);
}

.week-badge {
    display: inline-block;
    background: rgba(52, 211, 153, 0.1);
    color: #34d399;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
}

.timeline-item h4 {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin-bottom: 0.5rem;
}

/* CTA Section */
.cohort-cta {
    text-align: center;
    background: linear-gradient(135deg, #064e3b 0%, #065f46 100%);
    padding: 4rem 2rem;
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cohort-cta::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%2334d399' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cohort-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.cohort-cta p {
    color: #a7f3d0;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-primary-glow {
    background: #fff;
    color: #064e3b;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 700;
    transition: all 0.3s;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.btn-primary-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 12px 32px;
    border-radius: 100px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.contact-info {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: #a7f3d0;
}

.contact-info a {
    color: #fff;
    text-decoration: underline;
}

/* =========================================
   NEW SECTIONS: MISSION, PHILOSOPHY, ROADMAP
   ========================================= */

/* General Section Spacing */
.edu-section {
    margin-bottom: 6rem;
}

/* Mission & Philosophy Cards */
.mission-card {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(52, 211, 153, 0.2);
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(52, 211, 153, 0.15);
    border-color: #34d399;
}

.mission-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #34d399, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    animation: floatIcon 4s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Roadmap Grid */
.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.roadmap-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.4), rgba(15, 23, 42, 0.6));
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.roadmap-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: #34d399;
}

.roadmap-card h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.roadmap-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    color: #94a3b8;
}

.roadmap-card ul li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.roadmap-card ul li i {
    color: #34d399;
    font-size: 0.8rem;
}

/* Certificate Section */
.certificate-section {
    background: linear-gradient(to right, rgba(6, 78, 59, 0.8), rgba(15, 23, 42, 0.9));
    border-radius: 24px;
    padding: 4rem;
    text-align: center;
    border: 1px solid rgba(52, 211, 153, 0.3);
    position: relative;
    overflow: hidden;
}

.certificate-section::after {
    content: '\f573'; /* FontAwesome Certificate Icon */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.03);
    transform: rotate(-15deg);
}

.req-list {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.req-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #e2e8f0;
    font-weight: 600;
    transition: 0.3s;
}

.req-item:hover {
    background: rgba(52, 211, 153, 0.1);
    border-color: #34d399;
    transform: scale(1.05);
}

.req-item i {
    color: #34d399;
    font-size: 1.2rem;
}

/* =========================================
   NEW SECTIONS: TOOLS & FAQ
   ========================================= */

/* Tools Grid */
.tools-section {
    text-align: center;
    margin-bottom: 6rem;
}

.tools-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 3rem;
}

.tool-card {
    background: rgba(30, 41, 59, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 16px;
    width: 140px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.tool-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.8);
    border-color: #34d399;
    box-shadow: 0 10px 20px rgba(52, 211, 153, 0.1);
}

.tool-card i {
    font-size: 2.5rem;
    color: #cbd5e1;
    transition: 0.3s;
}

.tool-card:hover i {
    color: #34d399;
    transform: scale(1.1);
}

.tool-card span {
    font-weight: 600;
    color: #e2e8f0;
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    margin: 0 auto 6rem auto;
}

.faq-item {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(52, 211, 153, 0.3);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #f1f5f9;
}

.faq-question i {
    color: #34d399;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #94a3b8;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
    max-height: 200px; /* Adjust based on content */
}

/* =========================================
   RESPONSIVE STYLES
   ========================================= */

@media (max-width: 1024px) {
    .banner-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }

    .banner-content {
        align-items: center;
    }
    
    .banner-content p {
        margin-left: auto;
        margin-right: auto;
    }

    .tech-stack {
        justify-content: center;
    }

    .banner-benefits {
        align-items: center;
    }

    .banner-cta {
        justify-content: center;
    }

    .banner-visual {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .banner-features {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .education-career-banner {
        padding: 3rem 1.5rem;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-features {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .schedule-container {
        padding: 2rem 1.5rem;
    }

    .timeline {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .timeline-item {
        padding-left: 1.5rem;
    }

    .certificate-section {
        padding: 3rem 1.5rem;
    }

    .certificate-section::after {
        font-size: 10rem;
        right: -10px;
        bottom: -10px;
        opacity: 0.05;
    }

    .req-list {
        flex-direction: column;
        align-items: stretch;
    }
    
    .req-item {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .banner-content h1 {
        font-size: 2rem;
    }

    .banner-cta {
        flex-direction: column;
        width: 100%;
    }

    .banner-cta .btn-cta, 
    .banner-cta .link-secondary {
        width: 100%;
        text-align: center;
        display: block;
    }

    .tools-grid {
        gap: 1rem;
    }

    .tool-card {
        width: 100%;
        flex: 1 1 100%;
    }
    
    .cohort-card, .mission-card, .roadmap-card {
        padding: 1.5rem;
    }
}
