@import url('tokens.css');
/* :root removed */
/* :root variables removed */

/* --- BANNER --- */
.course-banner {
    margin: 128px auto 0 auto;
    width: 100%;
    height: 520px;
    max-width: 1400px;
    background: url("../images/plain-banner@2x.jpg");
    border-radius: var(--border-radius-3xl);
    box-sizing: border-box;
    display: flex;
    flex-direction: row;
    overflow: hidden;
    justify-content: space-between;
}

.course-banner-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
    justify-content: center;
    padding: 0 48px;
}

.course-banner-content h2 {
    font-size: var(--font-size-4xl);
    font-weight: 300;
    color: var(--color-gray-900);
    text-align: left;
    margin: 0;
}

.course-banner-content p {
    margin: 0;
    max-width: 560px;
    max-height: 100px;
    text-overflow: ellipsis;
    font-size: var(--font-size-md);
    color: var(--color-text-secondary-blue);
    line-height: 24px;
}

.course-banner-image {
    display: flex;
    align-items: end;
    justify-content: center;
}

.course-banner-image img {
    max-width: 600px;
    height: fit-content;
}


.team-intro {
    max-width: 1320px;
    margin: 0 auto;
    text-align: center;
}

.team-intro h1 {
    text-align: center;
    font-weight: 400;
    font-size: var(--font-size-3xl);
    padding-bottom: 24px;
}

.team-intro img {
    width: 100%;
    max-width: 1000px;
    border-radius: var(--border-radius-3xl);
}


.about-offer {
    max-width: none;
}

.about-offer-card {
    text-align: center;
    max-width: 270px;
    border: none;
}

.vision-mission-section {
    display: flex;
    flex-direction: row;
    gap: 64px;
    align-items: stretch;
    max-width: 1100px;
    justify-content: space-between;
    margin: 0 auto;
}

.vision-card,
.mission-card {
    flex: 1;
    height: auto;
    padding: 32px 48px;
    border-radius: var(--border-radius-2xl);
}

.vision-card h3,
.mission-card h3 {
    font-size: var(--font-size-2xl);
    font-weight: 400;
    margin: 0;
}

.vision-card p,
.mission-card p {
    font-size: var(--font-size-md);
    font-weight: 300;
    line-height: 1.8rem;
}

.vision-card img,
.mission-card img {
    width: 160px;
}

.vision-card {
    background: var(--color-bg-bento-blue);
}

.mission-card {
    background: var(--color-bg-bento-green);
}

/* Responsive */

/* Team member section */

.team-members-main {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.team-members-main h2 {
    font-size: var(--font-size-3xl);
    font-weight: 400;
    text-align: center;
    padding-bottom: 24px;
}

.team-members-section {
    /* Kept for backward compatibility if needed, but mostly unused now */
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 1320px;
    gap: 24px;
    align-items: flex-start;
    margin: 0 auto;
    justify-content: space-between;
}

/* --- Team Carousel Styles --- */

.team-carousel-container {
    max-width: 1250px;
    margin: 0 auto;
    position: relative;
    padding: 0 24px;
    /* Align with other containers */
}


.team-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.team-carousel-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 400;
    margin: 0 auto;
    text-align: center;
    /* Override center alignment of section h2 if needed */
}

.team-nav {
    display: flex;
    gap: 16px;
    position: absolute;
    top: 6px;
    right: 56px;
}

.team-nav .arrow {
    background: var(--color-primary);
    /* Using primary brand color */
    color: white;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s, opacity 0.3s;
}

.team-nav .arrow:hover {
    background: var(--color-primary-dark);
}

.team-nav .arrow img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1);
    /* Make sure black icons turn white if needed */
}

.team-carousel-mask {
    overflow: hidden;
    width: 100%;
    /* No padding here to allow full edge-to-edge swiping feel if desired, 
       but container has padding */
}

.team-carousel-track {
    display: flex;
    gap: 24px;
    /* Spacing between cards */
    transition: transform 0.5s ease-out;
    width: fit-content;
    /* Ensure track maps to content width */
}

/* Modify existing team-card to play nice with carousel */
.team-card {
    flex-shrink: 0;
    width: 224px;
}

.team-card img {
    width: 100%;
    /* Max width is controlled by the card container */
    border-radius: var(--border-radius-lg);
    display: block;
}

/* Ensure content stays within the card width */
.team-card-content {
    padding: 16px 0;
    width: 100%;
    text-align: left;
}

/* Responsive Adjustments */

.team-card img {
    width: 100%;
    width: 180px;
    border-radius: var(--border-radius-lg);
    object-fit: cover;
    /* Ensure image covers even if aspect ratio changes slighty */
}

.team-card-content {
    padding: 16px 0;
    width: 100%;
}

.team-card-content h4 {
    font-size: var(--font-size-base);
    font-weight: 400;
    max-width: 280px;
    margin: 0;
}

.team-card-content p {
    font-weight: 300;
    font-size: var(--font-size-sm);
    max-width: 280px;
    margin: 0;
    padding: 8px 0;
    color: var(--color-text-slate);
}

/* Responsive */

/* Counter section */

.counter-container {
    max-width: 1100px;
    margin: 0 auto;
}

.impact-header {
    max-width: 1100px;
    text-align: center;
    margin-bottom: 48px;
}

.impact-header h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: 16px;
    font-weight: 400;
}

.impact-header p {
    font-size: var(--font-size-base);
    color: var(--color-gray-800);
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.5;
}

/* Card Layout (Flexbox) */
.counter-cards-wrapper {
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}

.counter-card {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: var(--border-radius-xl);
    padding: 32px 32px;
    flex: 1;
    min-width: 280px;
    /* Stacking on mobile */
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    gap: 32px;
    /* Space between the two stats in one card */
}

.counter-card h3 {
    margin-top: 0;
    margin-bottom: 8px;
    /* Adjusted to fit the image spacing better */
    font-size: var(--font-size-xl);
    font-weight: 400;
}

/* Statistic Item Styling */
.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.stat-number {
    font-size: var(--font-size-4xl);
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1;
    color: #111;
}

.stat-desc {
    margin-top: 8px;
    font-size: var(--font-size-sm);
    color: var(--color-gray-800);
    line-height: 1.4;
    height: 44px;
}

/* Progress Bar Styling */
.progress-container {
    width: 100%;
    height: 8px;
    background-color: var(--color-gray-300);
    border-radius: var(--border-radius-sm);
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0;
    /* Start at 0 for animation */
    border-radius: var(--border-radius-sm);
    transition: width 2s cubic-bezier(0.22, 1, 0.36, 1);
    /* Smooth easing */
}

/* Specific Colors based on class */
.blue-theme .progress-bar {
    background-color: var(--color-secondary-blue);
}

.teal-theme .progress-bar {
    background-color: var(--color-teal);
}

.yellow-theme .progress-bar {
    background-color: var(--color-yellow);
}

/* Responsive */

/* Learning Pyramid */

.learning-pyramid {
    background-color: var(--color-bg-stories);
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 auto;
    text-align: center;
}

.learning-pyramid h2 {
    font-size: var(--font-size-3xl);
    font-weight: 400;
    margin-bottom: 16px;
}

.learning-pyramid p {
    font-size: var(--font-size-base);
    color: var(--color-gray-800);
    max-width: 640px;
    line-height: 24px;
}

.pyramid-container {
    width: 100%;
    max-width: 800px;
}

svg {
    width: 100%;
    height: auto;
    overflow: visible;
}

.pyramid-section {
    cursor: pointer;
    text-decoration: none;
}

.pyramid-path {
    transition: filter 0.3s;
}

.pyramid-section:hover .pyramid-path {
    filter: brightness(1.15);
}

.label-text {
    fill: white;
    font-weight: 500;
    font-size: 18px;
    text-anchor: middle;
    pointer-events: none;
    dominant-baseline: middle;
}

.stage-pill-group {
    opacity: 0;
    pointer-events: none;
}

.pill-text {
    fill: white;
    font-weight: bold;
    font-size: 16px;
    text-anchor: middle;
}

.connector {
    stroke: #444;
    stroke-width: 1.5;
}

/* Modal Styles */

/* Modal Styles removed - moved to request-modal.css */

/* Tabs Styles */
.tabs-header {
    display: flex;
    background: #eee;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    cursor: pointer;
    font-weight: bold;
    color: #666;
    transition: 0.3s;
    font-size: 14px;
}

.tab-btn.active {
    color: white;
}

.tab-btn[data-target="1"].active {
    background: var(--stage1);
}

.tab-btn[data-target="2"].active {
    background: var(--stage2);
}

.tab-btn[data-target="3"].active {
    background: var(--stage3);
}

.tab-btn[data-target="4"].active {
    background: var(--stage4);
}

/* Content Styles */
.tab-content {
    padding: 30px;
    display: none;
    min-height: 250px;
    text-align: left;
}

.tab-content.active {
    display: block;
}

.tab-content h2 {
    margin-top: 0;
    font-size: 24px;
    padding-left: 15px;
}

.tab-content ul {
    margin-top: 20px;
    line-height: 1.8;
    color: #444;
    list-style-type: none;
    padding-left: 16px;
}

/* Dynamic border colors for headers */
#content-1 h2 {
    color: var(--stage1);
}

#content-2 h2 {
    color: var(--stage2);
}

#content-3 h2 {
    color: var(--stage3);
}

#content-4 h2 {
    color: var(--stage4);
}

/* steps section */


.course-steps-container {
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.group-steps-container {
    background: var(--color-white);
}

.course-steps-main-header {
    text-align: center;
    margin-bottom: 24px;
}

.group-steps-main-header,
.individual-steps-main-header {
    max-width: 760px;
    margin: 0 auto;
    padding-bottom: 32px;
}

.group-steps-main-header p,
.individual-steps-main-header p {
    padding: 12px 0;
    max-width: 560px;
    margin: 0 auto;
}

.course-steps-subhead {
    color: var(--color-primary);
    font-size: var(--font-size-md);
    font-weight: 400;
    margin-bottom: 16px;
    display: block;
}

.course-steps-main-header h2 {
    font-size: var(--font-size-3xl);
    font-weight: 400;
    margin: 0;
}

/* --- DESKTOP LAYOUT --- */
.course-steps-wrapper {
    max-width: 1200px;
    display: flex;
    align-items: flex-start;
    gap: 120px;
    justify-content: space-between;
    position: relative;
    padding-top: 32px;
}

/* LEFT: Steps List */
.course-steps-col-list {
    width: 70%;
    position: relative;
    padding-left: 32px;
    /* Space for the rail */
}

/* --- STATIC TRACK LINE (Desktop) --- */
.course-steps-progress-track {
    position: absolute;
    top: 24px;
    /* Starts at center of first dot */
    bottom: 24px;
    /* Ends at center of last dot */
    left: 19px;
    /* Aligned to center of dots */
    width: 2px;
    background-color: #e2e8f0;
    z-index: 0;
}

/* STEP ITEM */
.course-steps-item {
    position: relative;
    margin-bottom: 24px;
    padding: 16px 24px;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}



.course-steps-item.course-steps-active {
    background-color: var(--color-bg-stories);
    cursor: default;
}



.group-steps.course-steps-active {
    background-color: var(--color-white);
    cursor: default;
}

/* Header (Number + Title) */
.course-steps-header {
    position: relative;
    display: flex;
    align-items: center;
}

/* Step Number Indicator */
.course-steps-indicator {
    width: 32px;
    height: 32px;
    background-color: #e2e8f0;
    color: #718096;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.3s ease;

    /* Desktop Position: Absolute to the far left */
    position: absolute;
    left: -52px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    /* Sits on top of the line */
}

/* Active State for Indicator */
.course-steps-item.course-steps-active .course-steps-indicator {
    background-color: var(--color-primary);
    color: white;
}

.course-steps-title {
    font-size: var(--font-size-lg);
    font-weight: 500;
    margin: 0;
    transition: all 0.3s ease;
}

.course-steps-item:not(.course-steps-active):hover .course-steps-title {
    color: var(--color-primary);
    text-decoration: underline;
    text-decoration-color: var(--color-primary);
}

/* Content Section (Collapsible) */
.course-steps-content {
    height: 0;
    overflow: hidden;
    opacity: 0;
    padding-top: 0;
}

.course-steps-desc {
    font-size: 1.125rem;
    margin-top: 0;
    color: var(--color-text-main);
}

.course-steps-cta-group {
    display: flex;
    gap: 24px;
}

.course-steps-cta {
    display: inline-block;
    padding: 12px 0;
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.course-steps-cta:hover {
    color: #2c5282;
    text-decoration: underline;
}

.course-steps-cta i {
    vertical-align: middle;
    font-size: var(--font-size-xl);
    padding-right: 4px;
    margin-bottom: 2px;
}

.purchase-steps {
    margin-top: 32px;
}

.purchase-steps li {
    font-size: var(--font-size-md);
    padding-bottom: 12px;
}

/* RIGHT: Sticky Image Container */
.course-steps-col-img {
    width: 800px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
}

.course-steps-img-frame {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.course-steps-img-desktop {
    position: absolute;
    top: 0;
    left: 0;
    border-radius: 24px;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
}

.course-steps-img-desktop:first-child {
    opacity: 1;
}

/* Mobile Image Wrapper */
.course-steps-img-mobile-wrapper {
    display: none;
}

/* --- MOBILE RESPONSIVENESS --- */

/* enterprise solutions - GSAP scroll pinned */

.enterprise-solutions-section {
    max-width: 1320px;
    margin: 0 auto;
    padding-bottom: 64px;
}

.enterprise-solutions-section h1 {
    font-size: var(--font-size-3xl);
    font-weight: 400;
    text-align: center;
}

.enterprise-scroll-wrapper {
    display: flex;
    align-items: center;
    gap: 64px;
    position: relative;
    height: 100vh;
    padding: 0 24px;
    box-sizing: border-box;
}

.enterprise-img-col {
    width: 50%;
    flex-shrink: 0;
}

.enterprise-img-frame {
    width: 100%;
    aspect-ratio: 4 / 3;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    clip-path: inset(0 round 24px);
    background: #eef3f6;
    border: 1px solid #dbe4ea;
    isolation: isolate;
}

.enterprise-img-track {
    display: flex;
    width: 100%;
    height: 100%;
    will-change: transform;
}

.enterprise-img {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    opacity: 1;
    transform: none;
    will-change: transform;
}

.enterprise-content-col {
    width: 50%;
    position: relative;
    overflow: hidden;
}

.enterprise-panel-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    will-change: transform;
}

.enterprise-panel {
    height: 100%;
    overflow-y: auto;
    padding: 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 1;
    transition: none;
}

.enterprise-panel h3 {
    font-size: var(--font-size-xl);
    font-weight: 500;
    margin: 0;
    padding: 10px 0;
    transition: none;
}

.enterprise-panel-body {
    height: auto;
    overflow: visible;
}

.enterprise-panel p {
    line-height: 1.8;
    margin: 0;
}

.enterprise-panel ul {
    padding: 0 16px;
    margin: 0;
}

.enterprise-panel ul>li {
    padding-bottom: 12px;
    line-height: 1.6;
}

.enterprise-panel-img-mobile {
    display: none;
}

@media (max-width: 1024px) {
    .team-carousel-header {
        flex-direction: row;
        align-items: center;
    }

    .team-carousel-header h2 {
        font-size: var(--font-size-2xl);
    }

    /* Tablet/Small Laptop: Show 3 cards if possible, or 2 depending on width */
    /* Let's prioritize filling the space nicely */
}

@media (max-width: 900px) {

    /* Tablet Portrait / Small Tablet range */
    .team-card {
        /* Show 2 cards properly */
        width: calc(50% - 12px);
        /* (100% - 24px gap) / 2 */
        max-width: none;
        /* Reset any max-width if inherited */
    }
}

@media (max-width: 768px) {
    .team-intro {
        padding: 0 24px 32px 24px;
    }

    .team-intro img {
        border-radius: var(--border-radius-lg);
    }

    .counter-cards-wrapper {
        flex-direction: column;
    }

    .learning-pyramid {
        padding: 24px;
        margin-top: 48px;
    }

    .course-steps-container {
        padding: 64px 24px 0 24px;
    }

    .course-steps-main-header h2 {
        font-size: var(--font-size-xl);
    }

    .course-steps-wrapper {
        display: block;
    }

    /* Hide the line on mobile */
    .course-steps-progress-track {
        display: none;
    }

    .course-steps-col-list {
        width: 100%;
        padding-left: 0;
    }

    .course-steps-item {
        padding: 0;
        margin-bottom: 60px;
        background: none !important;
        cursor: default;
        pointer-events: none;
    }

    .course-steps-item a {
        pointer-events: auto;
        font-size: var(--font-size-lg);
        padding: 16px 0;
    }

    .course-steps-header {
        display: flex;
        align-items: center;
        position: static;
        padding-bottom: 12px;
    }

    .course-steps-indicator {
        position: static;
        transform: none;
        margin-right: 16px;
        background-color: var(--color-primary);
        color: var(--color-white);
        width: 28px;
        height: 28px;
        font-weight: 400;
        font-size: var(--font-size-base);
    }

    .course-steps-title {
        font-size: 1.35rem;
    }

    .course-steps-content {
        height: auto !important;
        opacity: 1 !important;
        padding-top: 8px;
        display: block !important;
    }

    .course-steps-col-img {
        display: none;
    }

    .course-steps-img-mobile-wrapper {
        display: block;
        width: 100%;
        height: 250px;
        margin-bottom: 20px;
        border-radius: 12px;
        overflow: hidden;
        background-color: #edf2f7;
    }

    .course-steps-img-mobile-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .enterprise-scroll-wrapper {
        flex-direction: column;
        gap: 0;
        height: auto;
        padding: 0;
    }

    .enterprise-img-col {
        display: none;
    }

    .enterprise-content-col {
        width: 100%;
        position: static;
        min-height: auto !important;
        height: auto !important;
        overflow: visible;
    }

    .enterprise-panel-track {
        transform: none !important;
        gap: 0;
        padding: 0;
    }

    .enterprise-panel {
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
        visibility: visible !important;
        height: auto !important;
        overflow: visible !important;
        padding: 24px 0;
    }

    .enterprise-panel-body {
        height: auto !important;
        overflow: visible !important;
    }

    .enterprise-panel-img-mobile {
        display: block;
        width: 100%;
        border-radius: 16px;
        overflow: hidden;
        margin-bottom: 16px;
    }

    .enterprise-panel-img-mobile img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 16px;
    }
}

@media (max-width: 600px) {

    .team-intro h1,
    .team-carousel-header h2,
    .enterprise-solutions-section h1 {
        font-size: var(--font-size-xl);
    }

    .about-offer-card {
        max-width: 100%;
        text-align: left;
        padding: 24px;
        border: 1px solid #E0E0E0;
        border-radius: var(--border-radius-lg);
    }

    .vision-mission-section {
        flex-direction: column;
        padding: 0 16px;
    }

    .vision-card,
    .mission-card {
        padding: 24px 32px;
    }

    .vision-card p,
    .mission-card p {
        font-size: var(--font-size-md);
        line-height: 1.5;
    }

    .team-carousel-header {
        margin-bottom: 24px;
    }

    .team-nav {
        position: static;
        margin-top: 16px;
        gap: 40px;
        justify-content: center;
        right: auto;
    }

    .team-nav .arrow {
        width: 40px;
        height: 40px;
    }



    /* Mobile Card Sizing */
    .team-card {
        width: calc(50vw - 20px);
        /* (100% - 24px gap) / 2 */
        max-width: none;
        flex-shrink: 0;
    }

    .team-card-content h4 {
        font-size: var(--font-size-base);
    }

    .team-members-section {
        flex-direction: column;
    }

    .counter-container {
        padding: 64px 16px;
    }

    .impact-header h2 {
        font-size: var(--font-size-xl);
    }

    .stat-number {
        font-size: var(--font-size-2xl);
    }

    .stat-desc {
        font-size: var(--font-size-base);
    }

    .learning-pyramid h2 {
        font-size: var(--font-size-xl);
        font-weight: 400;
        margin-bottom: 16px;
    }

    .course-steps-item a {
        font-size: var(--font-size-base);
        font-weight: 500;
    }


    .enterprise-solutions-section {
        padding: 0 24px;
        overflow: hidden;
    }

    .course-steps-cta-group {
        flex-direction: column;
        gap: 8px;
    }

    .course-steps-title {
        font-size: var(--font-size-lg);
    }

    .course-steps-desc {
        font-size: var(--font-size-base);
    }

    .purchase-steps li {
        font-size: var(--font-size-base);
    }



    /* Limit to 2 cards on mobile */
    .team-carousel-limit-2 {
        max-width: 100vw;
    }

    .team-card-content {
        max-width: 200px;
    }

}

@media (max-width: 992px) {
    .course-banner {
        width: 95%;
        border-radius: 0;
        margin: 128px auto 0 auto;
        flex-direction: column;
        height: auto;
        background: none;
    }

    .course-banner-image {
        order: -1;
        width: 100%;
    }

    .course-banner-image img {
        width: 100%;
        height: 300px !important;
        min-height: 300px;
        max-height: 300px;
        object-fit: cover;
        border-radius: var(--border-radius-xl);
    }

    .course-banner-content {
        width: 100%;
        padding: 24px 24px 48px 24px;
        margin-top: 36px;
        box-sizing: border-box;
        text-align: center;
    }

    .course-banner-content h2 {
        text-align: center;
        font-size: var(--font-size-2xl);
        margin: 0 auto;
    }

    .course-banner-content p {
        margin: 0 auto 24px auto;
    }
}

@media (max-width: 600px) {
    .course-banner-content h2 {
        font-size: var(--font-size-xl);
    }
}