﻿
* {
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
}

body {
    background-color: #FFFFFF;
    padding-top: 0px;
}

.wrapper,
.wrapper > div,
.main-header {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

#kt_content{
    padding: 0 !important;
}

.hamburger-btn {
    display: none;
}

/* Hide mobile menu on desktop */
.mobile-menu {
    display: none;
}

.tabs-wrap {
    width: 85%;
    margin: 0 auto;
    padding: 30px;
}

.tab-list {
    display: flex;
    flex-direction: row;
    border-bottom: 0.5px solid #ddd;
    margin-bottom: 2rem;
    width: 71%;
}

.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab-line {
    width: 100%;
    height: 5px;
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    background: transparent;
    transition: background 0.2s;
}

.tab-line.active {
    background: #41B9CC;
}

/*.tab-btn {
    padding: 12px 24px;
    font-size: 2.5rem;
    font-weight: 500;
    font-family: 'poppins';
    color: black;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: color 0.15s, border-color 0.15s;
    margin-bottom: -1px;
}*/
.tab-btn {
    margin: 12px 0px;
    padding: 14px 43px;
    font-size: 1.3rem;
    font-family: 'Poppins';
    font-weight: 600;
    border: none;
    background: transparent;
}

    .tab-btn:hover {
        color: #111;
    }

    /*.tab-btn.active {
        color: #111;
        font-weight: 500;
        border-bottom: 10px solid #41B9CC;
        border-radius: 8px;
    }*/
    .tab-btn.active {
        color: #41B9CC;
        -webkit-box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(0, 0, 0, 0.075) !important;
        box-shadow: 0 0.5rem 1.5rem 0.5rem rgba(0, 0, 0, 0.075) !important;
        border-radius: 18px;
        background-color: white;
    }

.tab-about{
    margin-top: 5rem;
}

/* ── About Section ── */
.about-section {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    align-items: flex-start;
    /*overflow: hidden;*/
}

.about-content {
    flex: 0 0 57%;
    max-width: 57%;
}

.about-heading {
    font-size: 3.4rem;
    font-weight: 600;
    letter-spacing: 4px;
    line-height: 1.1;
    margin-bottom: 0.5rem;
    margin-top: 2rem;
}

.about-heading-dark { color: #14256d; }
.about-heading-teal { color: #1a8fa3; }

.about-accent-bar {
    width: 60px;
    height: 5px;
    background-color: #41B9CC;
    border-radius: 3px;
    margin-bottom: 1.5rem;
}

.about-body-text {
    font-size: 0.95rem;
    color: #444;
    line-height: 1.75;
    margin-bottom: 0.9rem;
}

.inception-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 16px;
    padding: 1.5rem;
    margin-top: 2.5rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.16);
}

.inception-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.inception-icon-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background-color: #14256d;
    display: flex;
    align-items: center;
    justify-content: center;
}

.inception-heading-text {
    font-weight: 600;
    font-size: 1rem;
    color: #14256d;
}

.phases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}

.phase-item {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.phase-number {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #90d4e8;
    color: #14256d;
    font-weight: 900;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.3rem;
}

.phase-title {
    color: #41B9CC;
    font-weight: 600;
    font-size: 0.95rem;
    margin: 0;
}

.phase-desc {
    color: #555;
    font-size: 0.85rem;
    line-height: 1.6;
    margin: 0;
}

.today-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background-color: #90d4e8;
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-top: 1rem;
    color: #14256d;
}

.today-icon-wrap {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background-color: #41B9CC;
    display: flex;
    align-items: center;
    justify-content: center;
}

.today-text {
    color: #14256d;
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.6;
    margin: 0;
}

/* ── Right image side ── */
.about-image-side {
    flex: 0 0 43%;
    max-width: 43%;
    position: relative;
    min-height: 480px;
}

.about-blob-bg {
    position: absolute;
    right: -51px;
    top: -56px;
    width: 100%;
    /* height: 126%; */
    z-index: 0;
    /* border-radius: 60% 30% 55% 45% / 50% 60% 40% 50%; */
    /* overflow: hidden;*/
    animation: iconFloat 3s ease-in-out infinite;
}

.about-blob-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

.about-teacher-img {
    position: absolute;
    right: -10px;
    bottom: 0;
    height: 92%;
    object-fit: contain;
    object-position: bottom;
    z-index: 1;
}

.float-icon {
    position: absolute;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 2;
}

.float-icon-1 { top: 75px; left: 24%; animation: iconFloat 3s ease-in-out infinite;}
.float-icon-2 { top: 42%; left: 13%; animation: iconFloat 3s ease-in-out infinite;}
.float-icon-3 { bottom: 88px; left: 14%; animation: iconFloat 3s ease-in-out infinite;}

.about-dots {
    position: absolute;
    top: -57px;
    right: 18px;
    width: 189px;
    height: 100px;
    background-image: radial-gradient(circle, #41B9CC 2px, transparent 2px);
    background-size: 14px 14px;
    opacity: 0.35;
    z-index: 0;
}

.about-wave-blob {
    position: absolute;
    bottom: -149px;
    right: 10px;
    width: 350px;
    height: 180px;
    background-color: #1a8fa3;
    border-radius: 80% 15% 80% 30%;
    opacity: 0.65;
    z-index: 0;
}

/* ── Goals Grid ── */
    .goals-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 1.25rem;
        padding-top: 0.5rem;
    }

    .goal-card {
        background: #fff;
        border: 1px solid #e8e8e8;
        border-radius: 16px;
        padding: 1.5rem;
        box-shadow: 0 2px 12px rgba(0,0,0,0.06);
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        transition: box-shadow 0.2s, transform 0.2s;
    }

        .goal-card:hover {
            box-shadow: 0 6px 24px rgba(65,185,204,0.18);
            transform: translateY(-3px);
        }

    .goal-icon-wrap {
        width: 46px;
        height: 46px;
        min-width: 46px;
        border-radius: 50%;
        background-color: #41B9CC;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .goal-title {
        color: #14256d;
        font-weight: 600;
        font-size: 0.95rem;
        margin: 0;
        line-height: 1.3;
    }

    .goal-desc {
        color: #555;
        font-size: 0.875rem;
        line-height: 1.65;
        margin: 0;
    }

    @media (max-width: 900px) {
        .about-section {
            flex-direction: column;
        }

        .about-content,
        .about-image-side {
            flex: 0 0 100%;
            max-width: 100%;
        }

        .about-image-side {
            min-height: 320px;
        }

        .phases-grid {
            grid-template-columns: 1fr;
        }

        .goals-grid {
            grid-template-columns: 1fr;
        }
    }

    .tab-panel {
        display: none;
    }

        .tab-panel.active {
            display: block;
        }

    .main-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        background-color: white;
        padding-bottom: 0px;
        height: 12vh;
        padding: 1vh;
    }

    .header-center {
        flex-grow: 1;
        display: flex;
        justify-content: center;
        gap: 10px;
    }

    .header-left,
    .header-right {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .header-left {
        padding-left: 20px;
    }

    .header-right {
        padding-right: 20px;
    }

    .main-header img {
        max-height: 15vh;
        width: auto;
        height: auto;
    }

    .header-center img {
        max-height: 50px;
    }



    .main-image img {
        display: block;
        width: 100%;
        height: auto;
    }

    .overlay-button,
    .overlay-text {
        position: absolute;
        top: 52%;
        left: 50%;
        transform: translate(-50%, -50%);
        color: white;
    }

    .overlay-text {
        font-size: 48px;
        font-family: 'Poppins';
        font-weight: bold;
    }


    .overlay-button {
        /*top: 72%;*/
        left: 50%;
        transform: translate(-50%, -0%);
        border-radius: 999px; /* makes it fully rounded */
    }

    .video-container {
        position: relative;
        width: 100%;
        height: 40vh;
    }
    /* ── Card & Slide Base ── */
    .main-image-card {
        position: relative;
        height: 65vh;
        overflow: hidden;
        border-radius: 7vh;
        margin-left: 2vh;
        margin-right: 2vh;
    }

    .main-carousel-track {
        display: flex;
        width: 100%;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }
    /* Each slide takes full card width */
    .main-carousel-slide {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
        box-sizing: border-box;
        position: relative;
        height: 65vh;
        overflow: hidden; /* keeps slide-bg & overlay contained */
    }

    .news-body {
        flex-direction: row;
        gap: 2vh;
    }

    .microlearnings {
        display: flex;
        background-color: #ecf7f9;
        width: 100%;
        align-content: center;
        justify-content: center;
        padding-bottom: 40px;
    }

    .microlearning-section {
        position: relative;
        padding: 40px;
        width: 75%;
    }

    .microlearning-track-wrapper {
        position: relative;
        overflow: hidden;
    }

    .microlearning-track {
        display: flex;
        flex-direction: row;
        overflow: visible;
        gap: 30px;
        transition: transform 0.4s ease;
    }

    .microlearning-card {
        border-radius: 30px;
        width: clamp(220px, 20vw, 300px); /* grows with screen but caps at 320px */
        height: clamp(280px, 26vw, 360px);
        background-color: white;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        padding: 10px;
        padding-top: 20px;
    }

    .microlearning-section .carousel-arrow {
        top: 50%; /* this centers on the full section height */
        /* replace with a fixed offset that aligns to the card midpoint */
        top: calc(40px + 13vw); /* 40px section padding + half of 26vw card height */
    }

    .microlearning-images {
        width: 100%;
        height: 150px;
        object-fit: cover;
        border-radius: 15px;
        display: block;
    }

    .microlearning-images-placeholder {
        background-color: #41B9CC;
        color: white;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2.5rem;
        font-weight: 500;
        border-radius: 15px;
        height: 150px;
    }

    .microlearning-card-text {
        padding: 20px;
        display: flex;
        flex-direction: column;
        flex: 1;
        gap: 10px;
    }

    .microlearning-card-text-title {
        font-weight: 600;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .microlearning-card-text-category-tag {
        opacity: 190%;
        color: white;
        border-radius: 80px;
        padding: 4px 12px;
        width: fit-content;
        max-width: 100%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .microlearning-card-redirect-button {
        margin-top: auto;
        background-color: #0091A7;
        border-color: transparent;
        border-radius: 10px;
        padding: 10px;
        color: white;
        font-weight: 500;
    }

    /* Separate classes from .microlearning-track/-card so this carousel's JS
       doesn't also select the Trending Microlearning Modules carousel. */
    .course-carousel-track {
        display: flex;
        flex-direction: row;
        overflow: visible;
        gap: 30px;
        transition: transform 0.4s ease;
    }

    .course-carousel-card {
        border-radius: 30px;
        width: clamp(220px, 20vw, 300px);
        height: clamp(280px, 26vw, 360px);
        background-color: white;
        flex-shrink: 0;
        display: flex;
        flex-direction: column;
        padding: 10px;
        padding-top: 20px;
    }

    .public-course-summary {
        font-size: 0.85rem;
        color: #6c757d;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    /* Dots — mirrors .results-dots / .results-dot */
    .main-carousel-dots {
        position: absolute;
        bottom: 1.4rem;
        left: 50%;
        transform: translateX(-50%);
        gap: 0.5rem;
        z-index: 10;
    }

    .main-carousel-dot {
        width: 0.7rem;
        height: 0.7rem;
        border-radius: 50%;
        background-color: rgba(255,255,255,0.5);
        cursor: pointer;
        transition: background-color 0.3s ease, width 0.3s ease;
    }

        .main-carousel-dot.active {
            background-color: #ffffff;
            width: 1.5rem;
            border-radius: 999px;
        }
    /* Remove the old display:none toggle — slides are now always in the flex track */
    .main-image-slide {
        display: none !important;
    }

    .main-image-slide {
        display: none;
        position: relative;
        width: 100%;
        height: 65vh;
    }

        .main-image-slide.active {
            display: flex;
        }

    .slide-bg {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    /* ── Shared Content Container ── */
    .slide-content {
        position: relative;
        z-index: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 1.2rem;
        height: 100%;
        padding: 0 3rem;
    }
    /* ── Shared Title & Description ── */
    .main-image-card-title {
        font-size: 2.5rem;
        font-weight: 600;
        line-height: 1.2;
        margin: 0;
    }

    .main-image-card-description {
        font-size: 0.9rem;
        line-height: 1.6;
        margin: 0;
    }
    /* ── Arrows ── */
    .carousel-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        background: none;
        border: none;
        cursor: pointer;
        padding: 0;
    }

    .carousel-arrow-left {
        left: 0.75rem;
    }

    .carousel-arrow-right {
        right: 0.75rem;
    }

    .microlearning-carousel-arrow-left {
        left: -4rem;
    }

    .microlearning-carousel-arrow-right {
        right: -4rem;
    }

    .arrow-img {
        width: 3.5rem;
    }

    .arrow-flip {
        transform: rotate(180deg);
    }
    /* ── Slide 1 ── */
    .slide1-fade {
        position: absolute;
        inset: 0;
        background: linear-gradient(to right, white 45%, transparent 75%);
        pointer-events: none;
        z-index: 1;
    }

    .slide1-content {
        max-width: 45%;
        padding-left: 5%;
    }

    .slide1-badge {
        background-color: #e0f7fa;
        color: #0091A7;
        font-size: 0.9rem;
        font-weight: 100;
        padding: 0.6rem 0.9rem;
        border-radius: 999px;
        width: fit-content;
    }

    .slide1-title {
        color: #0091A7;
        font-size: 3rem;
    }

    .slide1-description {
        max-width: 70%;
        color: #333;
        font-size: 0.9rem;
    }

    .slide1-btn {
        width: 10rem;
        background-color: #41B9CC;
        border: 2px solid #41B9CC;
        color: white;
        font-size: 1rem;
        padding: 0.6rem 0rem
    }

    .slide2-content {
        max-width: 50%;
        margin-left: auto; /* pushes block to the right */
        padding-right: 5%;
        align-items: flex-end; /* right-aligns children */
    }

    .slide2-badge {
        background-color: #91550026;
        color: #915500;
        font-size: 1rem;
        font-weight: 400;
        padding: 0.4rem 0.9rem;
        border-radius: 999px;
        width: fit-content;
        backdrop-filter: blur(4px);
    }

    .slide2-title {
        color: #000000;
        text-align: right;
        font-size: 3rem;
    }

    .slide2-description {
        max-width: 90%;
        color: #000000;
        text-align: right;
        font-size: 0.9rem;
    }

    .slide2-btn {
        width: 10rem;
        background: linear-gradient(90deg, #DB9430 0%, #915500 100%);
        border: none;
        color: white;
        font-size: 1rem;
        padding: 0.6rem 0rem
    }
    /* ── Slide 3 — content pinned to right column ── */
    .slide3-content {
        position: absolute;
        right: 0;
        top: 0;
        width: 50%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center; /* left-align children within the right column */
        gap: 1.2rem;
        padding-left: 5%;
        padding-right: 5%;
        padding-top: 0;
        padding-bottom: 0;
    }

    .slide3-badge {
        background-color: #06853A26;
        color: #06853A;
        font-size: 1rem;
        font-weight: 400;
        padding: 0.4rem 0.9rem;
        border-radius: 999px;
        width: fit-content;
        backdrop-filter: blur(4px);
        border: none
    }

    .slide3-title {
        color: #106636;
        font-size: 3rem;
        font-weight: 500;
        text-align: left;
        margin: 0;
        line-height: 1.2;
        text-align: center;
    }

    .slide3-btn {
        width: 10rem;
        background: linear-gradient(90deg, #0A9B4A 0%, #106636 100%);
        border: none;
        color: white;
        font-size: 1rem;
        padding: 0.6rem 0rem
    }
    /* Ensure old overlay is gone */
    .slide3-overlay {
        display: none;
    }

    video {
        width: 100%;
        height: 40vh;
        object-fit: cover;
    }

    .info-card-header-rectangle {
        width: 100%;
        height: 2vh;
    }

    .info-cards {
        display: flex;
        justify-content: center;
        margin-top: 9vh;
    }

    .campaign-cards {
        display: flex;
        justify-content: center;
        margin-top: 9vh;
        margin-bottom: 20vh;
    }

    .news-cards {
        display: flex;
        justify-content: center;
    }

    .info-card-rectangle {
        position: relative;
        width: 34%;
        height: 26vh;
    }

    .info-card-title-background-capsule {
        display: inline-block;
        color: white;
        padding: 6px 30px;
        border-radius: 999px; /* makes it fully rounded */
        font-family: Poppins;
        font-size: 16px;
        transform: translate(13%, 50%);
        font-weight: bold;
    }

    .info-card-body {
        width: 85%;
        font-size: 12px;
        margin: 30px auto;
        line-height: 1.5;
    }

    .info-card-contact-symbol {
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 999px;
        background-color: #41B9CC;
        width: 24px;
        height: 24px;
    }

    .info-card-contact-row {
        display: flex;
        align-items: center;
        gap: 10px;
        margin-top: 30px;
    }

    .info-card-contact-text {
        font-family: Poppins;
        font-size: 14px;
        font-weight: bold;
    }

    .about-us-card {
        padding: 20px;
        width: 90%;
    }

    .about-us-card-main-title,
    .about-us-card-sub-title,
    .about-us-card-body {
        font-family: 'poppins';
        color: black;
    }

    .about-us-card-main-title {
        font-size: 2.5rem;
        font-weight: 500;
        padding-bottom: 3vh;
        margin-bottom: 0;
        padding-top: 0px;
        border-bottom: 3px solid #F4F4F4;
    }

    .about-us-card-sub-title {
        padding-top: 4vh;
        font-size: 2rem;
        font-weight: 500;
        color: #0091A7;
    }

    .about-us-card-body {
        font-size: 1.1rem;
        font-weight: 300;
        padding-bottom: 30px;
    }

    .latest-updates {
        background-color: #F4F7F8;
        border-radius: 50px;
    }

    .latest-updates-title {
        padding-top: 2%;
        padding-left: 5%;
        font-size: 38px;
        font-weight: 500;
        color: #0091A7;
    }

    .stats-cards-row {
        display: flex;
        gap: 1vw;
        padding: 30px;
    }

    .stats-card {
        position: relative;
        width: 32%;
        min-height: 30vh;
        background-color: white;
        padding-bottom: 24px;
        border-radius: 20px;
        margin: 0;
        border: 1px solid #E8E8E8;
    }

    .news-card-clickable {
        cursor: pointer;
        transition: box-shadow 0.2s ease, transform 0.2s ease;
    }

        .news-card-clickable:hover {
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
            transform: translateY(-2px);
        }

    .news-modal-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.55);
        z-index: 1050;
        align-items: center;
        justify-content: center;
        padding: 2rem 1rem;
    }

        .news-modal-overlay.show {
            display: flex;
        }

    .news-modal-content {
        position: relative;
        background: white;
        border-radius: 16px;
        max-width: 700px;
        width: 100%;
        max-height: 85vh;
        overflow-y: auto;
        padding: 2rem;
    }

    .news-modal-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: none;
        border: none;
        font-size: 1.75rem;
        line-height: 1;
        color: #6c757d;
        cursor: pointer;
    }

    .news-modal-image-wrap {
        width: 100%;
        max-height: 320px;
        overflow: hidden;
        border-radius: 12px;
        margin-bottom: 1rem;
    }

        .news-modal-image-wrap img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

    .news-modal-date {
        color: #6c757d;
        font-size: 0.85rem;
        margin-bottom: 0.5rem;
    }

    .news-modal-title {
        font-weight: 700;
        margin-bottom: 1rem;
    }

    .news-modal-body {
        line-height: 1.6;
        word-wrap: break-word;
    }

    .stats-card-header {
        padding-top: 20px;
        display: flex;
        align-items: center;
        justify-content: left;
        font-size: 16px;
        font-weight: 500;
        color: #0091A7;
        gap: 10px;
        flex-direction: column;
    }

    .stats-card-icon-block {
        width: 90%;
        aspect-ratio: 10 / 9;
        overflow: hidden;
        border-radius: 10px;
    }

        .stats-card-icon-block img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: center;
            display: block;
            border-radius: 10px;
        }

    .info-header {
        justify-content: space-between;
    }

    .stats-card-body-row {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .stats-card-body-stat-redirect,
    .stats-card-body-stat-points,
    .stats-card-body-stat {
        display: flex;
        align-items: center;
        justify-content: left;
        font-family: Poppins;
        font-size: 1rem;
        transform: translate(0%, 25%);
    }

    .stats-card-body-stat-redirect {
        justify-content: right;
    }


    .main-footer-bar {
        width: 100%;
        height: 10vh;
        background-color: #F4F7F8;
        display: flex;
        justify-content: space-between;
        align-items: center;
        transform: translate(0%, 100%);
        padding: 10px 30px;
    }

    .news-header {
        padding: 30px 30px;
        display: flex;
        justify-content: center;
        font-weight: bold;
    }

    .news-card-body {
        justify-content: space-between;
        display: flex;
        flex-direction: column;
        gap: 2vh;
    }

    .news-created-date {
        position: relative;
        color: #009AB2;
        display: flex;
        justify-content: center;
        gap: 1%;
    }


    .campaigns-row {
        padding-top: 60px;
        display: flex;
        justify-content: center;
        gap: 15%;
    }

        .campaigns-row button {
            border-color: transparent;
            background-color: white;
        }


        .campaigns-row img {
            width: 90%;
        }

    .partners-carousel {
        position: relative;
        padding-top: 50px;
        padding-bottom: 10px;
    }

    .partners-carousel-viewport {
        overflow: hidden;
        width: 100%;
        -webkit-mask-image: linear-gradient(to right, transparent 0, black 60px, black calc(100% - 90px), transparent 100%);
        mask-image: linear-gradient(to right, transparent 0, black 60px, black calc(100% - 90px), transparent 100%);
    }

    .partners-carousel-track {
        display: flex;
        align-items: center;
        gap: 70px;
        width: max-content;
        animation: partnersCarouselScroll 34s linear infinite;
    }

    .partners-carousel-viewport:hover .partners-carousel-track,
    .partners-carousel-track.is-paused {
        animation-play-state: paused;
    }

    .partners-carousel-item {
        flex: 0 0 auto;
    }

        .partners-carousel-item button {
            border-color: transparent;
            background-color: transparent;
            padding: 0;
            display: block;
        }

        .partners-carousel-item img {
            width: 110px;
            height: 110px;
            border-radius: 50%;
            object-fit: cover;
            display: block;
        }

    .partners-carousel-toggle {
        position: absolute;
        right: 6px;
        top: 58px;
        width: 34px;
        height: 34px;
        border-radius: 50%;
        border: none;
        background-color: #F2F2F2;
        color: #5E6278;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        font-size: 13px;
        z-index: 2;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    }

    @keyframes partnersCarouselScroll {
        from {
            transform: translateX(0);
        }

        to {
            transform: translateX(-50%);
        }
    }

    @media (prefers-reduced-motion: reduce) {
        .partners-carousel-track {
            animation: none;
        }
    }

    .latest-results {
        background-image: url('../../../assets/media/tdp/landingpage/info-background-image1.png');
        background-size: cover;
        height: 75vh;
        margin-left: 2vh;
        margin-right: 2vh;
        border-radius: 10vh;
        padding-left: 5vh;
        padding-right: 5vh;
        gap: 8vh;
    }

    .latest-results-main-container h3 {
        color: #FFFFFF;
        font-size: 3rem;
        margin-left: 8vh;
        margin-bottom: 2vh;
    }

    .latest-results-main-container {
        width: 60%;
        height: 60vh;
    }

    .latest-results-secondary-container {
        background-color: #FFFFFF;
        height: 50vh;
        border-radius: 4vh;
        padding-top: 3vh;
        padding-bottom: 3vh;
    }

    .latest-results-image-container {
        background-image: url('../../../assets/media/tdp/landingpage/info-background-image2.png');
        height: 75vh;
        background-size: cover;
        background-repeat: no-repeat;
        width: 37%;
        display: flex;
        align-items: end;
    }

    .category-tag {
        background-color: #009AB20F;
        padding: 0.4rem 1.5rem;
        color: #009AB2;
        font-size: 1rem;
        width: 15vh;
        border-radius: 5vh;
        margin-left: 8vh;
    }

    .latest-results-secondary-container h3 {
        color: #009FB8;
        margin-top: 1vh;
        margin-bottom: 2vh;
        margin-left: 8vh;
        font-size: 1.4rem;
    }

    .info-header {
        background-color: #F4F7F880;
        padding: 1vh;
    }

        .info-header h3 {
            color: black;
            font-size: 1.3rem;
            margin: 0;
            margin-left: 7vh;
            margin-right: 8vh;
            padding: 0;
        }

    .stats-card-body {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-left: 8vh;
        margin-right: 8vh;
    }

    .stats-card-body-stat-points {
        width: 15vh;
        color: #41B9CC;
        background-color: #E0F4F7;
        display: flex;
        justify-content: center;
        align-items: center;
        font-size: 1rem;
        border-radius: 1vh;
        padding: 0.4rem 1.5rem;
        font-weight: 600;
    }
    /* ── Carousel Wrapper ── */
    .results-carousel {
        position: relative;
        width: 100%;
        overflow: hidden;
    }
    /* ── Slides ── */
    .results-carousel-track {
        display: flex;
        width: 100%;
        gap: 4rem;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        will-change: transform;
    }

    .results-slide {
        min-width: 100%;
        width: 100%;
        flex-shrink: 0;
        box-sizing: border-box;
    }
    /* ── Top School Badge ── */
    .top-badge {
        background-color: #d4f5e2;
        color: #0A9B4A;
        font-size: 0.75rem;
        font-weight: 500;
        padding: 0.25rem 0.75rem;
        border-radius: 999px;
        margin-left: 0.75rem;
    }
    /* ── Dots ── */
    .results-dots {
        gap: 0.5rem;
        margin-top: 1.2rem;
    }

    .results-dot {
        width: 0.7rem;
        height: 0.7rem;
        border-radius: 50%;
        background-color: #b0dce6;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

        .results-dot.active {
            background-color: #ffffff;
            width: 1.5rem;
            border-radius: 999px;
        }

    .main-page-footer {
        height: 60vh;
        background-color: #005B69;
    }

    .footer-top-container {
        border-bottom: 1px solid rgba(216, 216, 216, 0.4);
        padding: 1vh 10vh;
        flex-direction: row;
    }

        .footer-top-container p {
            color: #ffffff;
            font-size: 2.2rem;
            font-style: italic;
            font-weight: 100;
            margin: 0;
        }

    .footer-body-container {
        flex-direction: row;
    }

    .footer-dbe-logo {
        height: 80%;
    }

    .footer-body-container {
        padding: 5vh 10vh;
        border-bottom: 1px solid rgba(216, 216, 216, 0.4);
    }

    .footer-bottom-container {
        padding-left: 10vh;
        padding-right: 10vh;
        height: 100%;
    }

        .footer-bottom-container p {
            color: rgba(255, 255, 255, 0.5);
            font-size: 1.1rem;
        }

        .footer-bottom-container a {
            color: rgba(255, 255, 255, 0.5);
            font-size: 1.1rem;
        }

    .footer-body-info-column h3 {
        color: #FFFFFF;
        font-weight: 500;
        font-size: 1.3rem;
        margin-bottom: 1vh;
    }

    .footer-body-info-column p {
        color: rgba(255, 255, 255, 0.7);
        font-weight: 100;
        font-size: 1rem;
        margin-bottom: 0.5vh;
    }

    .footer-body-info-column svg {
        margin-right: 1vh;
    }


    .latest-results-image-container {
        position: relative;
    }

    .icon-popup {
        background: #fff;
        border-radius: 16px;
        padding: 18px 20px;
        box-shadow: 0 8px 32px rgba(0,0,0,0.10);
        pointer-events: none;
        width: 400px;
        flex-shrink: 0;
        position: static;
        align-self: center;
        /* Hidden by default */
        opacity: 0;
        transform: translateY(8px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

        .icon-popup.popup-visible {
            opacity: 1;
            transform: translateY(0);
        }

    .mountain-container:hover .icon-popup,
    .school-container:hover .icon-popup,
    .headphones-container:hover .icon-popup {
        opacity: 1;
        transform: translateY(0);
    }
    /* Small teal tag — matches "About Us" pill */
    .icon-popup .popup-tag {
        display: inline-block;
        font-size: 11px;
        font-weight: 500;
        color: #0091A7;
        background-color: #e0f7fa;
        padding: 3px 10px;
        border-radius: 999px;
        margin-bottom: 8px;
    }
    /* Bold teal heading — matches "What is TDP?" */
    .icon-popup .popup-heading {
        font-size: 15px;
        font-weight: 700;
        color: #0091A7;
        margin: 0 0 8px;
        line-height: 1.3;
    }
    /* Grey body text */
    .icon-popup .popup-body {
        font-size: 12px;
        color: #444;
        line-height: 1.6;
        margin: 0;
        font-weight: 400;
    }
    /* Left-side icons */
    .popup-anchor-left {
        order: -1;
        margin-right: -40px;
        z-index: 10;
        margin-bottom: 20vh;
    }
    /* Right-side icon */
    .popup-anchor-right {
        order: 1;
        margin-left: -40px;
        z-index: 10;
        margin-bottom: 20vh;
    }
    /* ── Icon containers ── */
    .mountain-container,
    .school-container,
    .headphones-container {
        height: 17vh;
        display: flex;
        align-items: center;
        position: relative;
        cursor: pointer;
    }

    .mountain-container {
        justify-content: flex-end;
        animation: iconFloat 3s ease-in-out 1s infinite;
    }

    .school-container {
        justify-content: flex-start;
        animation: iconFloat 3s ease-in-out infinite;
    }

    .headphones-container {
        justify-content: flex-end;
        animation: iconFloat 3s ease-in-out 2s infinite;
    }

    .mountain-container img {
        height: 100%;
        margin-right: 10vh;
    }

    .school-container img {
        height: 100%;
    }

    .headphones-container img {
        height: 100%;
    }

    @keyframes iconFloat {
        0%, 100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(-6px);
        }
    }

    @media (max-width: 1024px) {
        .icon-popup {
            width: 160px;
            padding: 14px 16px;
        }

            .icon-popup .popup-heading {
                font-size: 13px;
            }

            .icon-popup .popup-body {
                font-size: 11px;
            }
    }



    .mountain-container, .school-container, .headphones-container {
        height: 17vh;
    }

        .mountain-container img {
            height: 100%;
            margin-right: 10vh;
        }

        .school-container img {
            height: 100%;
        }

        .headphones-container img {
            height: 100%;
        }

    .popup-courses .popup-tag {
        color: #0FAD00;
        background-color: #06853A26;
    }

    .popup-courses .popup-heading {
        color: #0FAD00;
    }

    .popup-schools .popup-tag {
        color: #E87E00;
        background-color: #91550026;
    }

    .popup-schools .popup-heading {
        color: #E87E00;
    }

    .popup-headphones .popup-tag {
        color: #9558AA;
        background-color: #9558AA26;
    }

    .popup-headphones .popup-heading {
        color: #9558AA;
    }

    @media (max-width: 768px) {
        /* Header row */
        .main-header {
            flex-direction: row !important;
            align-items: center !important;
            justify-content: space-between !important;
            padding: 0 2.5vw !important;
            height: 11vh !important;
            min-height: 56px !important;
            gap: 0 !important;
            position: fixed;
            z-index: 200;
        }
        /* Logo */
        .header-left {
            display: flex !important;
            align-items: center;
            padding-left: 0;
        }

        .main-header img {
            max-height: 10vh !important;
            min-height: 36px !important;
        }
        /* Hide desktop nav */
        .desktop-nav {
            display: none !important;
        }
        /* ── Hamburger button ── */
        .hamburger-btn {
            display: flex;
            flex-direction: column;
            justify-content: center;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 8px;
            z-index: 201;
        }

            .hamburger-btn span {
                display: block;
                width: 26px;
                height: 2.5px;
                background-color: #41B9CC;
                border-radius: 999px;
                transition: transform 0.3s ease, opacity 0.3s ease;
                transform-origin: center;
            }
            /* Animate to X when open */
            .hamburger-btn.open span:nth-child(1) {
                transform: translateY(7.5px) rotate(45deg);
            }

            .hamburger-btn.open span:nth-child(2) {
                opacity: 0;
            }

            .hamburger-btn.open span:nth-child(3) {
                transform: translateY(-7.5px) rotate(-45deg);
            }
        /* ── Mobile slide-down menu ── */
        .mobile-menu {
            display: block;
            position: fixed;
            top: 8vh;
            left: 0;
            width: 100%;
            background: white;
            box-shadow: 0 8px 24px rgba(0,0,0,0.12);
            z-index: 199;
            /* Hidden state */
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        }

            .mobile-menu.open {
                max-height: 400px;
            }

        .mobile-nav {
            display: flex;
            flex-direction: column;
            padding: 2vh 4vw 3vh;
            gap: 1.5vh;
        }

        .mobile-nav-item {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.2rem;
            color: #333;
            text-decoration: none;
            padding: 1.2vh 0;
            cursor: pointer;
        }

        .mobile-nav-icon {
            width: 36px;
            height: 36px;
            background-color: #E0F4F7;
            color: #41B9CC;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.1rem;
            font-weight: bold;
            flex-shrink: 0;
        }

        .mobile-nav-divider {
            height: 1px;
            background-color: #F0F0F0;
            margin: 0.5vh 0;
        }

        .mobile-nav-btn {
            width: 100%;
            height: 48px;
            border-radius: 999px;
            font-size: 1.1rem;
            cursor: pointer;
            font-weight: 500;
        }

        .mobile-nav-btn-login {
            background-color: #41B9CC;
            border: 2px solid #41B9CC;
            color: white;
            font-size: 1.7rem;
        }

        .mobile-nav-btn-register {
            background-color: white;
            border: 2px solid #41B9CC;
            color: #41B9CC;
            font-size: 1.7rem;
        }

        .slide-content {
            align-items: center;
            justify-content: center;
            max-width: 100% !important;
            width: 100% !important;
            height: 100%;
        }

        .slide1-content {
            max-width: 100% !important;
            align-items: center;
            width: 100% !important;
            height: 100%;
        }

        .slide2-content {
            max-width: 100% !important;
            align-items: center;
            width: 100% !important;
            height: 100%;
        }

        .slide3-content {
            max-width: 100% !important;
            align-items: center;
            width: 100% !important;
            height: 100%;
        }

        .slide1-btn {
            width: 12rem;
            font-size: 1.5rem;
            padding: 0.8rem 0rem
        }

        .slide2-btn {
            width: 12rem;
            font-size: 1.5rem;
            padding: 0.8rem 0rem
        }

        .slide3-btn {
            width: 12rem;
            font-size: 1.5rem;
            padding: 0.8rem 0rem
        }

        .slide1-badge {
            font-size: 1.3rem;
            padding: 0.6rem 0.9rem;
        }

        .slide2-badge {
            font-size: 1.3rem;
            padding: 0.6rem 0.9rem;
        }

        .slide3-badge {
            font-size: 1.3rem;
            padding: 0.6rem 0.9rem;
        }

        .header-right button div {
            font-size: 1.5rem;
        }

        .main-carousel-slide {
            width: 100%;
        }

        .carousel-arrow {
            display: none;
        }

        .main-image-card button {
            position: center;
        }
        /*    .header-center {
        gap: 5px;
    }
*/
        .header-left {
            display: none;
        }
        /*    .header-left,
    .header-right {
        justify-content: center;
        gap: 5px;
    }

    .header-right {
        padding-right: 0;
    }*/
        /*    .main-header img {
        max-height: 30px;
    }*/

        .overlay-text {
            font-size: 28px;
            text-align: center;
            padding: 0 20px;
        }

        .overlay-button {
            width: 160px;
            height: 45px;
            font-size: 12px;
        }

        .main-image-card {
            position: relative;
            width: 100%;
            min-height: 80vh;
            background-color: white;
            border-radius: 40px;
            margin: 0 auto;
            display: flex;
            flex-direction: row;
            overflow: hidden;
            margin-top: 2vh;
        }

        .main-image-slide {
            position: relative;
            width: 100%;
            height: 300px;
            background-color: white;
            border-radius: 40px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            flex-shrink: 0;
        }

            .main-image-slide img.slide-bg {
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                object-position: 35% center;
                z-index: 0;
            }

        .main-image-card-title {
            font-size: 2.3rem;
            font-weight: 600;
            /*        max-width: 45%;*/
            font-family: 'poppins';
            transform: translate(0, -25%);
            margin-top: 3vh;
            text-align: center;
        }

        .main-image-card-description {
            max-width: 41%;
            font-size: 0vw;
            color: black;
        }

        .main-image-card button {
            border-color: transparent;
        }

            .main-image-card button.button-overide-slide1 {
                transform: translate(-90%, 70%)
            }

            .main-image-card button.button-overide-slide3 {
                transform: translate(-40%, 100%)
            }

        .tabs-wrap {
            width: 75%;
            margin: 0 auto;
            padding: 0px;
        }

        .tab-list {
            display: flex;
            border-bottom: 0.5px solid #ddd;
            margin-bottom: 2rem;
            width: 100%;
        }

        .tab-btn {
            padding: 7px 17px;
            font-size: 1.2rem;
            font-weight: 500;
            font-family: 'poppins';
            color: black;
            background: none;
            border: none;
            border-bottom: 3px solid transparent;
            cursor: pointer;
            transition: color 0.15s, border-color 0.15s;
            margin-bottom: 7px;
        }

            .tab-btn:hover {
                color: #111;
            }

            .tab-btn.active {
                color: #41B9CC;
                border-radius: 11px;
                background-color: white;
            }

        .tab-panel {
            display: none;
        }

            .tab-panel.active {
                display: block;
            }


        .info-cards {
            flex-direction: column;
            align-items: center;
            gap: 20px;
        }

        .info-card-rectangle {
            width: 90%;
            height: auto;
            padding-bottom: 60px;
        }

        .stats-card {
            width: 100%;
            margin: 0 auto;
        }

        .stats-cards-row {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
        }

        .icon-popup {
            display: none;
        }

        .news-body {
            flex-direction: column;
        }

        .about-us-card-sub-title {
            font-size: 2.5rem;
        }

        .about-us-card-body {
            font-size: 1.2rem;
        }

        .campaigns-row button {
            border-color: transparent;
            background-color: white;
            width: 90%;
            margin: 0 auto;
        }

        .campaigns-row {
            display: flex;
            gap: 20px;
            flex-wrap: wrap;
            justify-content: center;
        }

        .partners-carousel-track {
            gap: 35px;
            animation-duration: 22s;
        }

        .partners-carousel-item img {
            width: 70px;
            height: 70px;
        }

        .partners-carousel-toggle {
            width: 28px;
            height: 28px;
            top: 46px;
        }

        .main-footer-bar {
            flex-direction: column;
            gap: 10px;
            text-align: center;
            height: auto;
            background-color: #F4F7F8;
        }

        .news-header {
            padding: 2vh;
            display: flex;
            justify-content: center;
            font-weight: bold;
            font-size: 1.5rem
        }

        .news-created-date {
            font-size: 1.4rem
        }

        .latest-results-image-container {
            display: none;
        }

        .latest-results {
            height: 100vh !important;
            padding-left: 2vh;
            padding-right: 2vh;
            border-radius: 8vh;
        }

        .latest-results-main-container h3 {
            margin-left: 0;
            margin-bottom: 0;
            text-align: center;
            margin-bottom: 2vh;
        }

        .latest-results-main-container {
            width: 100%;
            height: 80vh;
        }

        .latest-results-secondary-container {
            height: 70vh;
        }

        .category-tag {
            display: none;
        }
        /*
    .latest-results-secondary-container h3 {
        font-size: 1.7rem;
        margin: 0;
    }*/

        .info-category-header {
            padding-left: 2vh;
        }

        .stats-card-body {
            margin: 2vh;
        }

        .stats-card-body-stat {
            font-size: 1.3rem;
        }

        .top-badge {
            display: none;
        }

        .stats-card-body-stat-points {
            width: 10vh;
            font-size: 1.5rem;
            margin-left: 1vh
        }

        .stats-card-body {
            margin-top: 0
        }

        .about-us-card {
            padding: 0;
        }

        .main-carousel-track {
            min-height: 80vh;
        }

        .main-carousel-slide {
            min-height: 80vh;
        }

        .info-header {
            text-align: center;
            justify-content: space-evenly;
        }


            .info-header h3 {
                margin: 0vh;
                text-align: center;
            }

        .footer-top-container {
            flex-direction: column;
            padding-left: 1vh;
            padding-right: 1vh;
        }

            .footer-top-container p {
                font-size: 1.6rem
            }

        .main-page-footer {
            min-height: 130vh;
        }

        .footer-body-container {
            flex-direction: column;
            padding-left: 5vh;
            padding-right: 5vh;
        }

        .footer-body-info-column {
            margin-top: 2vh;
        }

            .footer-body-info-column div {
                margin-top: 2vh;
            }

            .footer-body-info-column h3 {
                font-size: 2rem
            }

            .footer-body-info-column p {
                font-size: 1.5rem;
            }

        .footer-bottom-container {
            padding-left: 5vh;
            padding-right: 5vh;
            gap: 2vh
        }

            .footer-bottom-container p {
                margin: 0;
            }

        .microlearnings {
            display: flex;
            background-color: #ecf7f9;
            width: 100%;
            align-content: center;
            justify-content: center;
            padding-bottom: 40px;
        }

        .microlearning-section {
            position: relative;
            width: 100%;
        }

        .microlearning-track-wrapper {
            position: relative;
            overflow: visible;
        }

        .microlearning-track {
            display: grid;
            grid-template-columns: repeat(2, 1fr); /* creates to columns of the cards stacked vertically */
            gap: 16px;
            width: 100%;
            overflow: visible;
            transition: none;
        }

        .microlearning-card {
            border-radius: 30px;
            /*width: clamp(140px, 10vw, 150px); */
            width: clamp(173px, 10vw, 150px);
            height: clamp(280px, 26vw, 360px);
            background-color: white;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            padding: 0px;
            padding-top: 10px;
        }

        .microlearning-section .carousel-arrow {
            top: 50%;
            top: calc(40px + 13vw);
        }

        .microlearning-card-text {
            padding: 20px;
            display: flex;
            flex-direction: column;
            flex: 1;
            gap: 10px;
        }

        .microlearning-card-text-title {
            font-weight: 600;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .microlearning-card-text-category-tag {
            opacity: 190%;
            color: white;
            border-radius: 80px;
            padding: 4px 12px;
            width: fit-content;
            max-width: 100%;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .microlearning-card-redirect-button {
            margin-top: auto;
            background-color: #0091A7;
            border-color: transparent;
            border-radius: 10px;
            padding: 10px;
            color: white;
            font-weight: 500;
        }

        .microlearning-images {
            width: 100%;
            height: 100px;
            object-fit: cover;
            border-radius: 15px;
            display: block;
        }

        .microlearning-images-placeholder {
            background-color: #41B9CC;
            color: white;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 500;
            border-radius: 15px;
            height: 100px;
        }
        /* On mobile: only 10 cards ust be shown */
        .microlearning-card-hidden {
            display: none !important;
        }

        .course-carousel-track {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            width: 100%;
            overflow: visible;
            transition: none;
        }

        .course-carousel-card {
            border-radius: 30px;
            width: clamp(173px, 10vw, 150px);
            height: clamp(280px, 26vw, 360px);
            background-color: white;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            padding: 0px;
            padding-top: 10px;
        }
    }
