/* =========================================
   PREMIUM COURSES SECTION
========================================= */

.premium-courses {
    background: #f8f9fb;
    padding: 90px 0;
}


/* =========================================
   SECTION HEADER
========================================= */

.premium-course-heading {
    max-width: 900px;
    margin: 0 auto 50px;
    text-align: center;
}

.course-eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #f36c01;
    margin-bottom: 12px;
}

.premium-course-heading h2 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
    color: #14213d;
    margin-bottom: 18px;
}

.premium-course-heading h2 span {
    color: #f36c01;
}

.premium-course-heading p {
    max-width: 720px;
    margin: 0 auto;
    color: #6c757d;
    font-size: 17px;
    line-height: 1.7;
}


/* =========================================
   TRUST POINTS
========================================= */

.course-trust-points {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 28px;
}

.course-trust-points div {
    color: #3d4652;
    font-size: 14px;
    font-weight: 600;
}

.course-trust-points i {
    color: #f36c01;
    margin-right: 6px;
}


/* =========================================
   CATEGORY BUTTONS
========================================= */

.course-category-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 38px;
}

.course-category {
    border: 1px solid #e1e5ea;
    background: #fff;
    color: #4c5561;
    padding: 11px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .3s ease;
}

.course-category:hover,
.course-category.active {
    background: #f36c01;
    border-color: #f36c01;
    color: #fff;
    box-shadow: 0 5px 15px rgba(243,108,1,.18);
}


/* =========================================
   COURSE CARD
========================================= */

.premium-course-card {
    height: 100%;
    background: #fff;
    border: 1px solid #edf0f3;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(20,33,61,.07);
    transition: .35s ease;
}

.premium-course-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 45px rgba(20,33,61,.13);
}


/* =========================================
   COURSE IMAGE
========================================= */

.premium-course-image {
    position: relative;
    height: 225px;
    overflow: hidden;
    background: #14213d;

    /* Center image */
    display: flex;
    align-items: center;
    justify-content: center;
}


/*
   IMPORTANT:
   contain keeps the COMPLETE image visible.
   No cropping.
*/

.premium-course-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    cursor: pointer;
    transition: transform .5s ease;
}


/*
   Small zoom effect without cutting
   the actual image.
*/

.premium-course-card:hover .premium-course-image img {
    transform: scale(1.03);
}


/* =========================================
   COURSE BADGE
========================================= */

.course-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 5;

    background: #fff;
    color: #14213d;

    padding: 7px 13px;

    border-radius: 20px;

    font-size: 12px;
    font-weight: 700;

    box-shadow: 0 4px 15px rgba(0,0,0,.12);
}


/* =========================================
   COURSE CONTENT
========================================= */

.premium-course-content {
    padding: 24px;
}

.premium-course-content h3 {
    color: #14213d;
    font-size: 21px;
    line-height: 1.35;
    font-weight: 750;
    margin-bottom: 10px;
}

.premium-course-content p {
    color: #6c757d;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 18px;
}


/* =========================================
   COURSE META
========================================= */

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;

    padding-bottom: 18px;

    border-bottom: 1px solid #edf0f3;
}

.course-meta span {
    font-size: 12px;
    color: #68717c;
    font-weight: 600;
}

.course-meta i {
    color: #f36c01;
    margin-right: 5px;
}


/* =========================================
   COURSE CARD FOOTER
========================================= */

.course-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding-top: 18px;
}

.course-view-link {
    color: #14213d;
    text-decoration: none;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;
}

.course-view-link i {
    margin-left: 5px;
    transition: .3s;
}

.course-view-link:hover {
    color: #f36c01;
}

.course-view-link:hover i {
    transform: translateX(4px);
}


/* =========================================
   APPLY BUTTON
========================================= */

.course-apply-btn {
    background: #f36c01;
    color: #fff;

    text-decoration: none;

    padding: 9px 15px;

    border-radius: 8px;

    font-size: 13px;
    font-weight: 700;

    transition: .3s;
}

.course-apply-btn:hover {
    background: #d95d00;
    color: #fff;

    transform: translateY(-1px);
}


/* =========================================
   BOTTOM CTA
========================================= */

.course-bottom-cta {
    margin-top: 65px;

    padding: 35px 40px;

    border-radius: 18px;

    background: #14213d;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 30px;
}

.course-bottom-cta span {
    color: #f36c01;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.course-bottom-cta h3 {
    color: #fff;

    font-size: 25px;
    font-weight: 750;

    margin: 8px 0;
}

.course-bottom-cta p {
    color: #cbd1da;

    margin: 0;

    font-size: 14px;
}

.course-guidance-btn {
    flex-shrink: 0;

    background: #f36c01;
    color: #fff;

    text-decoration: none;

    padding: 14px 22px;

    border-radius: 9px;

    font-size: 14px;
    font-weight: 700;

    transition: .3s;
}

.course-guidance-btn:hover {
    background: #fff;
    color: #14213d;
}


/* =========================================
   COURSE DETAILS MODAL
========================================= */

.course-details-modal {
    border: 0;
    border-radius: 20px;
    overflow: hidden;

    box-shadow: 0 25px 70px rgba(0,0,0,.25);
}


/* Modal Header */

.course-details-header {
    position: absolute;

    top: 15px;
    right: 15px;

    z-index: 20;
}

.course-details-header .btn-close {
    background-color: #fff;

    border-radius: 50%;

    padding: 10px;

    opacity: 1;

    box-shadow: 0 4px 15px rgba(0,0,0,.15);
}


/* =========================================
   MODAL IMAGE
========================================= */

.course-details-image-wrapper {
    position: relative;

    height: 470px;
    min-height: 470px;

    background: #14213d;

    overflow: hidden;

    display: flex;
    align-items: center;
    justify-content: center;
}


/*
   IMPORTANT:
   contain = complete image visible
*/

.course-details-image {
    width: 100%;
    height: 100%;

    object-fit: contain;
    object-position: center;

    display: block;

    background: #14213d;
}


/* Modal Image Badge */

.course-details-image-badge {
    position: absolute;

    left: 20px;
    bottom: 20px;

    background: #f36c01;
    color: #fff;

    padding: 9px 15px;

    border-radius: 30px;

    font-size: 12px;
    font-weight: 700;

    box-shadow: 0 5px 20px rgba(0,0,0,.2);
}


/* =========================================
   MODAL CONTENT
========================================= */

.course-details-content {
    padding: 42px 38px;
}

.course-details-category {
    display: inline-block;

    background: rgba(243,108,1,.10);
    color: #f36c01;

    padding: 7px 13px;

    border-radius: 20px;

    font-size: 11px;
    font-weight: 800;

    text-transform: uppercase;

    letter-spacing: .7px;

    margin-bottom: 13px;
}

.course-details-content h2 {
    color: #14213d;

    font-size: 29px;
    line-height: 1.25;

    font-weight: 800;

    margin: 0 0 15px;
}

.course-details-description {
    color: #6c757d;

    font-size: 15px;
    line-height: 1.75;

    margin-bottom: 25px;
}


/* =========================================
   MODAL HIGHLIGHTS
========================================= */

.course-details-highlights {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 14px;

    margin-bottom: 28px;
}

.course-highlight {
    display: flex;

    align-items: center;

    gap: 11px;

    padding: 13px;

    border: 1px solid #edf0f3;

    border-radius: 10px;

    background: #fafbfc;
}

.course-highlight-icon {
    width: 38px;
    height: 38px;

    min-width: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    background: rgba(243,108,1,.10);

    color: #f36c01;

    border-radius: 9px;
}

.course-highlight strong {
    display: block;

    color: #14213d;

    font-size: 12px;

    line-height: 1.3;
}

.course-highlight span {
    display: block;

    color: #7b838c;

    font-size: 10px;

    margin-top: 3px;
}


/* =========================================
   MODAL FOOTER
========================================= */

.course-details-footer {
    border-top: 1px solid #edf0f3;

    padding-top: 22px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;
}

.course-details-footer small {
    display: block;

    color: #8a929c;

    font-size: 11px;

    margin-bottom: 3px;
}

.course-details-footer strong {
    display: block;

    color: #14213d;

    font-size: 13px;
}

.course-details-apply {
    background: #f36c01;

    color: #fff;

    text-decoration: none;

    padding: 12px 19px;

    border-radius: 8px;

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

    transition: .3s;
}

.course-details-apply:hover {
    background: #d95d00;

    color: #fff;

    transform: translateY(-2px);
}


/* =========================================
   MOBILE
========================================= */

@media(max-width: 768px) {

    .premium-courses {
        padding: 65px 0;
    }


    .premium-course-heading h2 {
        font-size: 32px;
    }


    .premium-course-heading p {
        font-size: 15px;
    }


    .course-trust-points {
        gap: 12px 20px;
    }


    /* Course Card Image */

    .premium-course-image {
        height: 210px;
    }


    .premium-course-image img {
        object-fit: contain;
    }


    /* CTA */

    .course-bottom-cta {
        padding: 28px 22px;

        flex-direction: column;

        align-items: flex-start;
    }


    .course-bottom-cta h3 {
        font-size: 22px;
    }


    .course-guidance-btn {
        width: 100%;

        text-align: center;
    }


    /* Modal Image */

    .course-details-image-wrapper {
        height: 260px;
        min-height: 260px;
    }


    .course-details-image {
        height: 260px;
        min-height: 260px;

        object-fit: contain;
    }


    /* Modal Content */

    .course-details-content {
        padding: 28px 22px;
    }


    .course-details-content h2 {
        font-size: 24px;
    }


    .course-details-highlights {
        grid-template-columns: 1fr;
    }


    .course-details-footer {
        flex-direction: column;

        align-items: flex-start;
    }


    .course-details-apply {
        width: 100%;

        text-align: center;
    }

}


/* =========================================
   VERY SMALL DEVICES
========================================= */

@media(max-width: 480px) {

    .premium-course-heading h2 {
        font-size: 28px;
    }


    .course-category-wrapper {
        gap: 7px;
    }


    .course-category {
        padding: 9px 14px;

        font-size: 12px;
    }


    .premium-course-image {
        height: 200px;
    }


    .premium-course-content {
        padding: 20px;
    }


    .premium-course-content h3 {
        font-size: 19px;
    }


    .course-card-footer {
        align-items: stretch;
        flex-direction: column;
    }


    .course-apply-btn {
        text-align: center;
    }


    .course-details-image-wrapper {
        height: 230px;
        min-height: 230px;
    }


    .course-details-image {
        height: 230px;
        min-height: 230px;
    }

}


/*<!-- =========================*/
     /*PREMIUM HERO CSS*/
/*========================= -->*/


    /* Main Hero */
    .premium-hero {
        position: relative;
        width: 100%;
        overflow: hidden;
        background: #14213d;
    }

    /* Slide */
    .premium-slide {
        position: relative;
        width: 100%;
        height: 650px;
        overflow: hidden;
    }

    /* Image */
    .premium-slide-img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transform: scale(1.04);
        transition: transform 6s ease;
    }

    /* Zoom animation */
    .carousel-item.active .premium-slide-img {
        transform: scale(1.10);
    }

    /* Dark premium overlay */
    .premium-overlay {
        position: absolute;
        inset: 0;
        z-index: 1;

        background:
            linear-gradient(
                90deg,
                rgba(20, 33, 61, 0.96) 0%,
                rgba(20, 33, 61, 0.82) 28%,
                rgba(20, 33, 61, 0.42) 58%,
                rgba(20, 33, 61, 0.10) 100%
            );
    }

    /* Subtle bottom gradient */
    .premium-overlay::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: 0;
        height: 180px;

        background: linear-gradient(
            to top,
            rgba(20, 33, 61, 0.65),
            transparent
        );
    }


    /* Content wrapper */
    .premium-content {
        position: relative;
        z-index: 3;
        height: 100%;

        display: flex;
        align-items: center;
    }


    /* Glass content box */
    .hero-content-box {
        width: 650px;
        max-width: 100%;

        /*padding: 42px 45px;*/

        border-left: 4px solid #f36c01;

        background: rgba(20, 33, 61, 0.42);

        border-radius: 0 22px 22px 0;

        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);

        box-shadow:
            0 25px 60px rgba(0, 0, 0, 0.22);

        animation: heroContentIn 1s ease both;
    }


    /* Small tag */
    .hero-tag {
        display: inline-flex;
        align-items: center;
        gap: 9px;

        padding: 9px 16px;

        margin-bottom: 20px;

        color: #fff;

        font-size: 13px;
        font-weight: 600;
        letter-spacing: 0.5px;

        border: 1px solid rgba(255,255,255,0.25);

        background: rgba(255,255,255,0.10);

        border-radius: 50px;

        backdrop-filter: blur(8px);
    }

    .hero-tag i {
        color: #f36c01;
        font-size: 15px;
    }


    /* Heading */
    .hero-content-box h1 {
        margin: 0 0 18px;

        color: #fff;

        font-size: clamp(42px, 5vw, 68px);

        line-height: 1.05;

        font-weight: 800;

        letter-spacing: -1.5px;
    }

    .hero-content-box h1 span {
        color: #f36c01;
    }


    /* Paragraph */
    .hero-content-box p {
        max-width: 570px;

        margin: 0 0 30px;

        color: rgba(255,255,255,0.88);

        font-size: 17px;
        line-height: 1.75;
    }


    /* Buttons */
    .hero-buttons {
        display: flex;
        align-items: center;
        gap: 13px;
        flex-wrap: wrap;
    }

    .hero-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;

        min-height: 52px;
        padding: 0 23px;

        border-radius: 10px;

        text-decoration: none;

        font-size: 14px;
        font-weight: 700;

        transition: all 0.3s ease;
    }


    /* Primary */
    .hero-btn-primary {
        color: #fff;
        background: #f36c01;

        box-shadow: 0 10px 25px rgba(243,108,1,0.25);
    }

    .hero-btn-primary:hover {
        color: #fff;

        background: #d95d00;

        transform: translateY(-3px);

        box-shadow: 0 15px 30px rgba(243,108,1,0.35);
    }


    /* Outline */
    .hero-btn-outline {
        color: #fff;

        border: 1px solid rgba(255,255,255,0.45);

        background: rgba(255,255,255,0.08);

        backdrop-filter: blur(5px);
    }

    .hero-btn-outline:hover {
        color: #14213d;

        background: #fff;

        border-color: #fff;

        transform: translateY(-3px);
    }


    /* Arrows */
    .premium-carousel-control {
        position: absolute;

        top: 50%;
        transform: translateY(-50%);

        z-index: 5;

        width: 54px;
        height: 54px;

        padding: 0;

        border: 1px solid rgba(255,255,255,0.30);

        border-radius: 50%;

        background: rgba(20,33,61,0.35);

        backdrop-filter: blur(8px);

        opacity: 0;

        transition: all 0.3s ease;
    }

    .premium-hero:hover .premium-carousel-control {
        opacity: 1;
    }

    .premium-prev {
        left: 25px;
    }

    .premium-next {
        right: 25px;
    }

    .premium-arrow {
        display: flex;

        align-items: center;
        justify-content: center;

        width: 100%;
        height: 100%;

        color: #fff;

        font-size: 19px;
    }

    .premium-carousel-control:hover {
        background: #f36c01;

        border-color: #f36c01;

        transform: translateY(-50%) scale(1.08);
    }


    /* Indicators */
    .premium-indicators {
        position: absolute;

        z-index: 5;

        left: 50%;
        bottom: 32px;

        transform: translateX(-50%);

        display: flex;
        align-items: center;
        gap: 8px;

        width: auto;

        margin: 0;
    }

    .premium-indicators button {
        width: 26px;
        height: 4px;

        padding: 0;
        margin: 0;

        border: 0;

        border-radius: 10px;

        background: rgba(255,255,255,0.45);

        opacity: 1;

        transition: all 0.35s ease;
    }

    .premium-indicators button.active {
        width: 55px;

        background: #f36c01;
    }


    /* Scroll indicator */
    .hero-scroll {
        position: absolute;

        right: 35px;
        bottom: 28px;

        z-index: 5;

        display: flex;
        align-items: center;
        gap: 8px;

        color: rgba(255,255,255,0.70);

        font-size: 11px;
        letter-spacing: 1px;
        text-transform: uppercase;

        writing-mode: vertical-rl;
    }

    .hero-scroll i {
        color: #f36c01;
        font-size: 15px;

        animation: scrollBounce 1.5s infinite;
    }


    /* Content animation */
    @keyframes heroContentIn {

        from {
            opacity: 0;
            transform: translateX(-35px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }

    }


    /* Scroll animation */
    @keyframes scrollBounce {

        0%, 100% {
            transform: translateY(0);
        }

        50% {
            transform: translateY(5px);
        }

    }


    /* =========================
       TABLET
    ========================= */
    @media (max-width: 991px) {

        .premium-slide {
            height: 580px;
        }

        .hero-content-box {
            width: 580px;
            padding: 35px;
        }

        .hero-content-box h1 {
            font-size: 48px;
        }

        .premium-carousel-control {
            opacity: 1;
        }

        .hero-scroll {
            display: none;
        }

    }


    /* =========================
       MOBILE
    ========================= */
    @media (max-width: 767px) {

        .premium-slide {
            height: 590px;
        }

        .premium-slide-img {
            object-position: center;
        }

        .premium-overlay {
            background:
                linear-gradient(
                    180deg,
                    rgba(20,33,61,0.48) 0%,
                    rgba(20,33,61,0.72) 45%,
                    rgba(20,33,61,0.96) 100%
                );
        }

        .premium-content {
            align-items: flex-end;

            padding-bottom: 80px;
        }

        .hero-content-box {
            width: 100%;

            padding: 25px 22px;

            border-left: 3px solid #f36c01;

            border-radius: 0 16px 16px 0;

            background: rgba(20,33,61,0.52);
        }

        .hero-tag {
            font-size: 11px;

            padding: 7px 12px;

            margin-bottom: 14px;
        }

        .hero-content-box h1 {
            font-size: 38px;

            line-height: 1.08;

            letter-spacing: -0.7px;

            margin-bottom: 14px;
        }

        .hero-content-box p {
            font-size: 14px;

            line-height: 1.6;

            margin-bottom: 22px;
        }

        .hero-buttons {
            gap: 8px;
        }

        .hero-btn {
            min-height: 46px;

            padding: 0 16px;

            font-size: 12px;
        }

        .premium-prev,
        .premium-next {
            width: 42px;
            height: 42px;
        }

        .premium-prev {
            left: 12px;
        }

        .premium-next {
            right: 12px;
        }

        .premium-indicators {
            bottom: 25px;
        }

        .premium-indicators button {
            width: 18px;
            height: 3px;
        }

        .premium-indicators button.active {
            width: 38px;
        }

    }


    /* Small phones */
    @media (max-width: 480px) {

        .premium-slide {
            height: 570px;
        }

        .hero-content-box {
            padding: 22px 18px;
        }

        .hero-content-box h1 {
            font-size: 33px;
        }

        .hero-content-box p {
            font-size: 13px;
        }

        .hero-btn {
            flex: 1;

            min-width: 125px;
        }

    }




