@import url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Poppins:wght@400;500;600;700&display=swap");

:root {
    --primary: #2e5e88;
    --text-black: #000000;
    --text-white: #ffffff;
    --page-color: #fafaf7;
    --Faded-text: #bbbbbb;
    --primary-Dark: #304874;
    --secondary-text: #6f6f6f;
    --complimentary: #d4a017;
    --warning-amber: #e6af50;
    --Error-red: #d9534f;
    --Nav-bar-hover: #ffffffcc;
    --Nav-fill-color: #ffffff;
    --success-green: #4caf50;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background: var(--page-color);
}

main {
    margin-top: var(--navbar-total-height, auto);
}

/* Put this in your main stylesheet (e.g. app.css or style.css) */

header {
    position: fixed; /* or use sticky if you prefer */
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition:
        background-color 0.3s ease,
        box-shadow 0.3s ease;
}

/* Optional: add shadow when scrolled (looks modern) */
header.scrolled {
    background-color: #ffffffcc;
    box-shadow: 0px 4px 8.9px 0px #00000040;
    backdrop-filter: blur(20px);
}

/* VERY IMPORTANT – prevent content from being hidden under the fixed header */
/* body {
    padding-top: 70px; 
} */

/* If your header height changes on mobile, use media query */
/* @media (max-width: 768px) {
    body {
        padding-top: 60px; smaller height on mobile 
    }
} */

/* NAVBAR */
.navbar {
    z-index: 1000;
}

.logo-img {
    width: 48px;
    height: auto;
}

.logo-text h6 {
    margin: 0;
    font-size: 0.5rem;
    font-weight: 400;
}

.logo-text .radiant {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 8px;
}

.logo-text .elite {
    font-size: 13px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 2px;
}

.logo-text hr {
    height: 1.5px;
    width: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(80, 80, 80, 0.6) 20%,
        rgba(80, 80, 80, 1) 50%,
        rgba(80, 80, 80, 0.6) 80%,
        transparent 100%
    );
}

.tagline {
    margin: 0;
    font-size: 8px;
    font-weight: 400;
    color: var(--complimentary);
    letter-spacing: 1px;
}

/*FORM / BUTTONS */
.form-control {
    border: 1px solid #bbbbbb;
    border-radius: 10px;
    height: 44px;
    width: 370px;
}

.form-control:focus,
.btn:focus {
    box-shadow: none !important;
    outline: none !important;
    color: var(--primary) !important;
}

.btn-submit {
    border: 2px solid var(--primary);
    border-radius: 10px;
    color: var(--primary);
}

.btn-submit:hover {
    background-color: var(--primary);
    box-shadow: 0px 4px 4px 0px #00000040;
    color: var(--text-white);
}

.btn-login {
    border-radius: 10px;
    text-decoration: none;
    background-color: var(--primary);
    color: var(--text-white);
    padding: 10px 20px;
    width: 77px;
    height: 44px;
    border: none;
}

.btn-login:hover {
    box-shadow: 0px 4px 4px 0px #00000040;
}

.btn-signup {
    border-radius: 10px;
    text-decoration: none;
    color: var(--primary);
    border: 2px solid var(--primary);
    width: 93px;
    padding: 10px 20px;
    height: 44px;
}

.btn-signup:hover {
    background-color: var(--primary);
    box-shadow: 0px 4px 4px 0px #00000040;
    color: var(--text-white);
}
.btn-primary {
    background-color: var(--primary) !important;
    color: var(--text-white) !important;
    border: 2px solid var(--primary) !important;
}

.btn-primary:hover {
    background-color: var(--primary) !important;
    color: var(--text-white) !important;
    box-shadow: 0px 4px 4px 0px #00000040;
}
.btn-outline-primary {
    background-color: transparent !important;
    color: var(--primary) !important;
    border: 2px solid var(--primary) !important;
}
.text-primary {
    color: var(--primary) !important;
}

/* HERO SECTION */
.hero-section {
    padding: 40px 0;
    position: relative;
}

.hero-title {
    font-size: clamp(24px, 5vw, 48px);
    font-weight: 700;
    line-height: 1.3;
}

.hero-text {
    color: var(--Faded-text);
    max-width: 500px;
}

.text-highlight {
    color: var(--primary);
}

.get-btn {
    border-radius: 12px;
    padding: 12px 24px;
    font-weight: 500;
    box-shadow: 0px 4px 18.6px 0px #0000004d;
    background-color: var(--Nav-fill-color);
}

.arrow-icon {
    background-color: var(--primary);
    border-radius: 10px;
    height: 28px;
    width: 28px;
}

/* Big Circle */
.big-circle1 {
    width: clamp(160px, 80vw, 420px);
    height: clamp(160px, 80vw, 420px);
    border: 1px solid var(--text-black);
    border-radius: 50%;
    position: relative;
    margin: auto;
}

.big-circle {
    width: 95%;
    height: 95%;
    background-color: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 55%;
    left: 48%;
    transform: translate(-40%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.student-img {
    width: 90%;
    height: auto;
    border-radius: 50%;
}

/* Floating dots */
.dot {
    position: absolute;
    background-color: var(--primary);
    border-radius: 50%;
    opacity: 0.8;
}

.dot1 {
    width: 25px;
    height: 25px;
    top: 8%;
    left: 20%;
    filter: blur(2px);
}

.dot2 {
    background: #f0fffc33;
    width: 50px;
    height: 50px;
    bottom: 15%;
    left: 10%;
}

.dot3 {
    width: 25px;
    height: 25px;
    top: 20%;
    right: 10%;
}

.dot4 {
    width: 30px;
    height: 30px;
    bottom: 10%;
    right: 5%;
}

.dot5 {
    width: 30px;
    height: 30px;
    bottom: 60%;
    left: 0%;
}

.dot6 {
    width: 45px;
    height: 45px;
    top: 100px;
    left: 50px;
    filter: blur(2px);
}

.dot7 {
    width: 25px;
    height: 25px;
    bottom: 18%;
    left: 19%;
    filter: blur(2px);
}

.dot8 {
    width: 50px;
    height: 50px;
    bottom: 30%;
    right: 50%;
    filter: blur(2px);
}

.dot9 {
    width: 35px;
    height: 35px;
    bottom: 15%;
    right: 45%;
}

.dot10 {
    width: 60px;
    height: 60px;
    bottom: 40%;
    right: -5%;
    filter: blur(2px);
}

.course-description {
    font-weight: 400;
    font-size: 10px;
    line-height: 140% !important;
    letter-spacing: 0%;
    color: #bbbbbb;
}

.course-btn,
.liveclass-btn {
    border-radius: 10px;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.course-btn:hover,
.course-btn.active,
.liveclass-btn:hover,
.liveclass-btn.active {
    background-color: var(--primary) !important;
    color: var(--text-white) !important;
    outline: none;
    box-shadow: none;
}

.course-line svg {
    margin-left: 700px;
    margin-top: -30px;
}

.buttons .btn {
    margin-top: -5px !important;
}

.course-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0px 4px 34.8px 2px #00000040;
    transition: 0.3s ease;
    background-color: var(--Nav-fill-color);
}

.course-card img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: auto;
    object-fit: cover;
}

.date-text {
    color: var(--Faded-text);
    font-weight: 400;
    font-size: 10px;
}

.courses h5 {
    color: var(--primary-Dark);
    font-weight: 700;
    font-size: 16px;
}

.courses p {
    color: var(--Faded-text);
    font-size: 10px;
    font-weight: 400;
}

.price {
    font-weight: 700;
    font-size: 16px;

    color: var(--primary-Dark);
}

.old-price {
    text-decoration: line-through;
    color: var(--Faded-text);

    font-weight: 700;
    font-size: 10px;
    margin-left: 8px;
}

.enroll-btn {
    border-radius: 7px;
    border: 1px solid var(--primary);
    color: var(--primary);
}

.enroll-btn:hover {
    background-color: var(--primary) !important;
    color: var(--text-white) !important;
    box-shadow: 0px 4px 4px 0px #00000040;
}

/*  TUTOR SECTION */

.tutor-section {
    padding: 80px 0;
}

.tutor-small-text {
    color: var(--primary-Dark);
    font-weight: 700;
    font-size: 16px;
}

.tutor-heading {
    font-weight: 600;
    font-size: 72px;
}

.highlight {
    color: var(--primary);
    position: relative;
}

.yellow-shape {
    margin-left: 270px;
}

.tutor-text {
    margin: 20px 0;
    color: var(--text-black);
}

.tutor-buttons .btn {
    margin-right: 15px;
}

.btn-video {
    border: none;
}

.video-icon {
    background: #4f78ac4d;
    border-radius: 50%;
    height: 50px;
    width: 49px;
}

.video-icon:hover {
    color: var(--text-white);
}

.video-icon svg {
    margin-top: 15px;
    color: var(--primary);
}

.btn-video:hover {
    background: #bbbbbb45;
    border-radius: 100px;
}

.tutor-grid img {
    width: 100%;
    border-radius: 15px;
    object-fit: cover;
    height: 200px;
}

/* Tutor grid card shapes */
.bg-green {
    border-radius: 100px 10px 10px 100px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.bg-yellow {
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.bg-blue {
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.bg-red {
    border-radius: 5px 100px 100px 5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.green-circle {
    height: 122px;
    width: 125px;
    background: #00c67347;
    border-radius: 50%;
    z-index: 2;
    position: absolute;
    top: -20%;
    right: 60%;
}

.yellow-circle {
    height: 122px;
    width: 125px;
    background: #fdcf0063;
    border-radius: 50%;
    z-index: 0;
    position: absolute;
    top: -25%;
    left: 75%;
}

.blue-circle {
    height: 149px;
    width: 150px;
    background: #5abaec4f;
    border-radius: 50%;
    z-index: 1;
    position: absolute;
    top: 130px;
    left: -10%;
}

.small-blue-circle {
    height: 54px;
    width: 56px;
    background: #5abaec4f;
    border-radius: 50%;
    z-index: 1;
    position: absolute;
    top: 0%;
    right: -15%;
}

.red-circle {
    height: 149px;
    width: 150px;
    background: #dc263a57;
    border-radius: 50%;
    z-index: 0;
    position: absolute;
    top: 50%;
    left: 65%;
}

.red-shape svg {
    position: absolute;
    top: -5%;
    left: 18%;
    z-index: 5;
}

.blue-shape svg {
    position: absolute;
    top: -30%;
    left: 70%;
    z-index: 5;
}

.dark-blue-shape svg {
    position: absolute;
    left: -40px !important;
    z-index: 5;
}

.yellow-icon-shape svg {
    position: absolute;
    right: -65px !important;
    top: 12%;
    z-index: 5;
}

/*state section*/
.stats-section {
    position: relative;
    max-width: 1100px;
    margin: 100px auto;
}

.stats-section svg {
    display: block;
    width: 100%;
    height: auto;
}

.stats-content {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -40%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    padding: 0 20px;
    color: var(--text-white);
}

.stats-content h3 {
    font-weight: 500;
    font-size: 35px;
}

.stats-content p {
    font-weight: 500;
    font-size: 20px;
}

.stat-item {
    flex: 1 1 20%;
    text-align: center;
    position: relative;
    margin: 10px 0;
}

.stat-line {
    position: absolute;
    top: 30%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 200px;
    background: var(--text-white);
}

.stat-item:last-child .stat-line {
    display: none;
}

.service p {
    color: var(--complimentary);
    font-style: uppercase;
    font-weight: 700;
    font-size: 16px;
}

.service h3 {
    color: var(--primary);
    font-weight: 600;
    font-size: 40px;
}

/*service*/

.feature {
    text-align: center;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 15px;
    position: relative;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 2;
}

.feature-icon::before {
    content: "";
    position: absolute;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #dbe5f1;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.service-circle1 {
    position: relative;
    width: 113px;
    height: 113px;
    border-radius: 50%;
    background: #4f78ac66;
    z-index: 0;
    top: -80%;
    left: 50%;
}

.service-circle2 {
    position: relative;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #4f78ac66;
    z-index: 0;
    top: -13%;
    left: 0;
}

.feature-title {
    font-weight: 700;
    font-size: 18px;
    margin-top: 10px;
}

.feature-desc {
    font-size: 13px;
    color: #333;
    margin-top: 10px;
}

.feature:hover {
    background-color: var(--Nav-fill-color);
    border-radius: 60px;
    box-shadow: 0px 10px 53.6px 9px #00000040;
}

.section-tag {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--complimentary);
}

.section-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--primary);
    margin-bottom: 48px;
    line-height: 1.25;
}

.avatar-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    margin-bottom: 40px;
}

.avatar-wrap {
    position: relative;
    border-radius: 50%;
    cursor: pointer;
    transition:
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.35s;
    flex-shrink: 0;
}

.avatar-wrap.side {
    width: 129px;
    height: 129px;
}

.avatar-wrap.side img {
    width: 129px;
    height: 129px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.avatar-wrap.center {
    width: 258px;
    height: 258px;
}

.avatar-wrap.center img {
    width: 258px;
    height: 258px;
    border-radius: 50%;
    object-fit: cover;
    border: 6px solid var(--complimentary);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.12);
    display: block;
}

.avatar-wrap.center::before {
    content: "";
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    pointer-events: none;
}

.testimonial-card {
    border-radius: 20px;
    padding: 36px 40px 32px;
    min-height: 200px;
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
}

.testimonial-card:hover {
    background-color: var(--Nav-fill-color);
    box-shadow: 0px 4px 4px 0px #00000040;
    border-radius: 15px;
}

.reviewer-name {
    font-size: 37px;
    color: var(--text-black);
    margin-bottom: 2px;
}

.reviewer-role {
    font-size: 37px;
    color: var(--text-black);
    font-weight: 400;
    margin-bottom: 0;
}

.stars {
    color: var(--complimentary);
    font-size: 1.15rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 0.92rem;
    line-height: 1.75;
    color: var(--text-black);
    max-width: 480px;
    margin: 0 auto;
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card.animating {
    animation: fadeSlideIn 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes avatarSwap {
    0% {
        transform: scale(0.85);
        opacity: 0.4;
    }

    60% {
        transform: scale(1.06);
    }

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

.avatar-wrap.center.swapping {
    animation: avatarSwap 0.42s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.footer-section {
    background: #e8f2ff;
}

.footer-section h5 {
    color: var(--primary);
    font-style: uppercase;
    font-weight: 400;
    font-size: 35px;
    letter-spacing: 10px;
}

.footer-section h3 {
    color: var(--primary);
    font-style: uppercase;
    font-weight: 400;
    font-size: 35px;
}

.footer-section hr {
    height: 2.5px;
    width: 100%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(80, 80, 80, 0.6) 20%,
        rgba(80, 80, 80, 1) 50%,
        rgba(80, 80, 80, 0.6) 80%,
        transparent 100%
    );
}

.highlight-footer {
    color: var(--complimentary);
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 2px;
}

.footer-logo {
    width: 131px;
    height: auto;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-black);
    font-weight: 500;
    margin-right: 12px;
}

.footer-contact {
    font-size: 0.95rem;
    color: var(--text-black);
}

.footer-social a {
    width: 44px;
    height: 43px;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 28px;
    transition: 0.3s ease;
}

.footer-bottom {
    color: var(--text-black);
}

@media (max-width: 991px) {
    .hero-section {
        text-align: center;
    }

    .hero-text {
        margin: auto;
    }

    .get-btn {
        margin: auto;
    }

    .big-circle1 {
        display: flex;
        justify-content: center;
        align-items: center;
        width: clamp(160px, 60vw, 380px);
        height: clamp(160px, 60vw, 380px);
    }

    .big-circle {
        position: relative;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 88%;
        height: 88%;
    }

    .navbar-collapse {
        padding-top: 15px;
        padding-bottom: 8px;
    }

    .navbar-brand,
    .navbar-search,
    .right-buttons {
        margin-bottom: 8px;
    }

    .navbar-search {
        width: 100%;
    }

    .navbar-search .form-control {
        width: 70%;
    }

    .navbar-search .btn-submit {
        width: 30%;
        white-space: nowrap;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
        max-width: 100%;
    }

    /* Hero */
    .big-circle1 {
        width: clamp(160px, 70vw, 300px);
        height: clamp(160px, 70vw, 300px);
    }

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

    .dot10 {
        right: 0;
    }

    /* Navbar search */
    .navbar-search {
        width: 100%;
        max-width: 100%;
    }

    .navbar-search .form-control {
        width: 75%;
        min-width: 0;
    }

    .navbar-search .btn-submit {
        width: 25%;
        min-width: 0;
    }

    .form-control {
        width: 100%;
        max-width: 100%;
    }

    .course-line,
    .course-line svg {
        display: none;
    }

    .course-card {
        max-width: 100%;
    }

    /* Tutor */
    .tutor-heading {
        font-size: 2.2rem;
        word-break: break-word;
    }

    .yellow-shape {
        display: none;
    }

    /* Stats */
    .stats-section svg {
        display: none;
    }

    .stats-section {
        background: #2e5e88;
        border-radius: 40px;
        padding: 40px 20px;
        overflow: hidden;
    }

    .stats-content {
        position: static;
        transform: none;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
        text-align: center;
    }

    .stat-item {
        width: 100%;
    }

    .stat-line {
        display: none;
    }

    .stats-content h3 {
        font-size: 26px;
    }

    .stats-content p {
        font-size: 15px;
    }

    /* Features */
    .feature {
        margin-bottom: 30px;
    }

    /* Testimonials */
    .testimonial-card {
        margin-left: 0;
        max-width: 100%;
        width: 100%;
    }

    .reviewer-name,
    .reviewer-role {
        font-size: 24px;
    }

    /* Footer */
    .footer-section h5,
    .footer-section h3 {
        word-break: break-word;
    }
}

@media (max-width: 576px) {
    /* Hero */
    .big-circle1 {
        width: 80vw;
        height: 80vw;
    }

    .hero-title {
        font-size: 24px;
    }

    /* Navbar */
    .navbar-brand,
    .navbar-search,
    .right-buttons {
        margin-bottom: 5px;
    }

    .navbar-search .form-control {
        width: 100%;
        font-size: 14px;
    }

    .navbar-search .btn-submit span {
        display: none;
    }

    /* Tutor */
    .tutor-heading {
        font-size: 2rem;
    }

    /* Footer */
    .footer-section h5,
    .footer-section h3 {
        font-size: 22px;
        letter-spacing: 4px;
    }

    /* Testimonials */
    .testimonial-card {
        padding: 24px 20px;
    }

    .reviewer-name,
    .reviewer-role {
        font-size: 20px;
    }

    /* Avatars */
    .avatar-wrap.center {
        width: 160px;
        height: 160px;
    }

    .avatar-wrap.center img {
        width: 160px;
        height: 160px;
    }

    .avatar-wrap.side {
        width: 80px;
        height: 80px;
    }

    .avatar-wrap.side img {
        width: 80px;
        height: 80px;
    }

    .btn-login,
    .btn-signup {
        width: auto;
    }
}

.notifcation {
    position: fixed;
    top: 30px;
    right: 30px;
    z-index: 9999;
}

.alert-success {
    background-color: #ffffff;

    color: var(--primary);
    border: 3px solid #37de28;
    border-radius: 10px;
}

.alert-danger {
    background-color: #ffffff;

    color: var(--primary);
    border: 3px solid #ff0000;
    border-radius: 10px;
}

. .alert-warning {
    background-color: #ffffff;

    color: var(--primary);
    border: 3px solid #ffa629;
    border-radius: 10px;
}

.close-btn {
    position: absolute;
    top: -20px;
    right: -25px;
    z-index: 9999;
}

.modal-header {
    border-bottom: none !important;
}

.modal-footer {
    border-top: none !important;
}

/* previous css */
/* hero section end */

/* courses category */
/* Course Category Section Styles */
.course-category-section,
.live-classes-section,
.mock-test-section,
.testimonials-section,
.mobile-app-section,
.slider-section {
    padding: 1rem 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 500;
    color: var(--black);
    margin: 0;
    margin-bottom: 30px;
    font-family: Lato;
    line-height: 100%;
    letter-spacing: 5%;
    text-align: center;
}

.view-more {
    color: var(--primary);
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    line-height: 22px;
    letter-spacing: 2%;
}

/* .view-more:hover {
    color: var(--hover-primary);
} */

.view-more i {
    margin-left: 0.5rem;
}

.category-card {
    transition: all 0.3s ease;
    background-color: #fff;
    height: 100%;
    display: flex;

    flex-direction: column;
}

.category-card {
    /* opacity: 1; */
    /* border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px; */
    border-radius: 10px;
    border-right-width: 1px;
    border-bottom-width: 1px;
    border-left-width: 1px;
    border-top-width: 1px;
    border-width: 1px, 1px, 1px, 1px;
    border-style: solid;
    border-color: #b5b5b5;
}

.category-card .class-image {
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.category-card:hover {
    transform: translateY(-5px);
    /* box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12); */
}

/* .category-image-container {
    height: 230px;
    overflow: hidden;
    background-color: #f5f5f5;
} */

.category-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.category-card:hover .category-image {
    transform: scale(1.05);
}

.category-title {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 48px;
    letter-spacing: 2%;
    color: #000;
    padding: 0.2rem 0.5rem;
    margin: 0;
}

/* Responsive Adjustments */
/* @media (max-width: 1199.98px) {
    .category-image-container {
        height: 200px;
    }
} */

@media (max-width: 991.98px) {
    .section-title {
        font-size: 1.75rem;
    }
}

/* @media (max-width: 767.98px) {
    .category-image-container {
        height: 220px;
    }

} */

@media (max-width: 575.98px) {
    .section-title {
        font-size: 1.5rem;
    }

    .view-more {
        font-size: 0.875rem;
    }

    /* .category-image-container {
        height: 200px;
    } */

    .category-title {
        font-size: 1.125rem;
        padding: 0.875rem;
    }
}

/* courses category end */

/* live class */
.class-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.one-line-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.class-card:hover .class-image {
    transform: scale(1.05);
}

.class-details {
    padding: 1rem 0.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.rating {
    width: 48;
    height: 32;
}

.rating i {
    color: var(--secondary);
    font-size: 1rem;
    margin-right: 0.125rem;
}

.class-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary);
    /* margin-bottom: 10px; */
}

.class-description {
    font-weight: 400;
    font-size: 14px;
    vertical-align: middle;
    color: #5a5454;
}

.class-price {
    font-size: 20px;
    font-weight: 500;
    color: var(--black);

    /* margin-bottom: 0.5rem; */
}

.class-date {
    font-size: 15px;
    color: var(--primary);
    margin-top: auto;
    margin-bottom: -1rem !important;
}

/* live class end */

/* testimomials */

/* Base testimonial styles */

.testimonial-item {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 15px;
    transition: transform 0.3s ease;
    height: 100%;
}

.testimonial-item:hover {
    transform: translateY(-5px);
}

/* .profile-img {
    width: 80px;
    height: 80px;
    /* border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
} */

.testimonials-image {
    width: 80px;
}

.rating {
    color: #ffc107;
}

.comment-icon {
    margin-top: -20px;
    color: #cbd5e0;
    width: 45px;
    height: 45px;
}

.testimonial-text {
    color: #4a5568;
    line-height: 1.6;
    margin-bottom: 0;
}

.owl-dots {
    text-align: center;
    margin-top: 30px;
}

.owl-dot {
    display: inline-block;
    height: 10px;
    width: 10px;
    background-color: var(--black) !important;
    margin: 0 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.owl-dot.active {
    background-color: var(--black) !important;
    width: 25px;
    border-radius: 5px;
}

.owl-nav {
    text-align: center;
    margin-top: 20px;
    display: none;
}

.owl-prev,
.owl-next {
    background-color: var(--primary) !important;
    color: white !important;
    width: 40px;
    height: 40px;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.owl-prev:hover,
.owl-next:hover {
    background-color: var(--black) !important;
}

.testimonial-text {
    max-height: 100px;
    overflow-y: auto;
    scrollbar-width: thin;
    /* For Firefox */
    scrollbar-color: #ccc transparent;
    /* For Firefox */
}

/* For Webkit-based browsers like Chrome, Safari */
.testimonial-text::-webkit-scrollbar {
    width: 6px;
}

.testimonial-text::-webkit-scrollbar-track {
    background: transparent;
}

.testimonial-text::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

/* footer ends here */
/* Scroll-to-top button styles */
.scroll-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 24px;
    display: none;
    /* Initially hidden */
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

/* Hover Effect */
.scroll-top:hover {
    background-color: white;
    color: var(--primary);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.5);
}

/* Show button when active */
.scroll-top.active {
    display: flex;
    opacity: 1;
}

.active_nav {
    color: var(--primary) !important;
    font-weight: bold;
}

/* courses category starts */

.section-title-1 {
    color: var(--primary) !important;
    font-weight: 400;
    font-size: 1.5rem;
    line-height: 100%;
    letter-spacing: 0%;
}

.view-more-home {
    color: #00000066;
    font-size: 18px;
    border: 0.3px solid #00000066;
    border-radius: 50%;
    padding: 5px;
    background-color: #ececec;
}

/* courses category ends */

/* breadcrumb starts */

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding: 0;
    margin-bottom: 0;
    background-color: transparent;
}

.breadcrumb-item {
    font-size: 16px;
    color: #555;
    text-decoration: none;
}

.breadcrumb-item:hover {
    text-decoration: none;
}

.breadcrumb-separator {
    margin: 0 10px;
    display: inline-flex;
    align-items: center;
}

.breadcrumb-item.active {
    color: var(--primary);
    font-weight: 500;
}

.nav-title-1 {
    color: #000000;
    font-weight: 400;
    font-size: 24px;
    line-height: 100%;
}

.nav-title-2 {
    color: var(--primary);
    font-weight: 400;
    font-size: 24px;
    line-height: 48px;
    letter-spacing: 2%;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Responsive Breakpoints */
/* Extra small devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    .nav-title-1,
    .nav-title-2 {
        font-size: 16px;
        line-height: 1.4;
    }

    .nav-title-2 {
        line-height: 24px;
    }

    .breadcrumb-separator img {
        width: 6px;
        height: 10px;
    }

    .breadcrumb {
        margin-right: 10px;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .nav-title-1,
    .nav-title-2 {
        font-size: 18px;
        line-height: 1.5;
    }

    .nav-title-2 {
        line-height: 32px;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .nav-title-1,
    .nav-title-2 {
        font-size: 20px;
        line-height: 1.5;
    }

    .nav-title-2 {
        line-height: 38px;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .nav-title-1,
    .nav-title-2 {
        font-size: 24px;
        line-height: 1.5;
    }

    .nav-title-2 {
        line-height: 48px;
    }
}

/* Fix for breadcrumb on very small screens */
@media (max-width: 359.98px) {
    .breadcrumb-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-link {
        margin-top: 10px;
        align-self: flex-end;
    }

    .nav-title-1,
    .nav-title-2 {
        font-size: 14px;
        line-height: 1.3;
    }

    .nav-title-2 {
        line-height: 20px;
    }
}

/* breadcrumb ends */
/* Courses details */
.course-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: var(--primary);
}

.course-price {
    font-weight: bold;
    margin-bottom: 10px;
}

.course-details {
    margin-bottom: 15px;
    font-weight: bold;
    font-size: 16px;
    line-height: 48px;
    letter-spacing: 2%;
}

.course-description {
    font-size: 16px;
    font-weight: 400;
    line-height: 30px;
    letter-spacing: 0;
    text-align: justify;
}

.syllabus-card {
    border: none;
    margin-bottom: 30px;
}

.syllabus-button {
    background-color: #f0f0f0;
    border: 0.3px solid #e0e0e0;
    padding: 10px 15px;
    margin: 5px;
    text-align: center;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    height: 70px;
    font-size: 18px;
    line-height: 24px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    /* Added smooth transition */
}

.syllabus-button:hover {
    background-color: #e9ecef !important;
    /* Yellow color on hover */
}

.review-stars {
    color: #f8bd00;
    margin-bottom: 10px;
}

.review-comment {
    background-color: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.reviewer-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.enroll-button {
    background-color: #17a2b8;
    color: white;
    border: 2px solid var(--primary);
    padding: 8px 16px;
    border-radius: 20px;
}

.enroll-button:hover {
    background-color: #138496;
    color: #fff;
}

.sidebar-card {
    margin-bottom: 20px;
}

.mock-test-card {
    text-align: center;
}

.articles-sidebar {
    background-color: #17a2b8;
    color: white;
    padding: 15px;
    border-radius: 5px;
}

.custom-card-title {
    background-color: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /* Shadow effect */
    padding: 0.5rem 1rem;
    /* p-2 and px-3 equivalent */
    border: 0.5px solid #e0e0e0;
    /* Custom border width */
    border-radius: 7px;
    /* rounded equivalent */
}

.position-left {
    position: relative;
}

.position-right {
    position: sticky;
    top: 120px;
    /* Distance from top when sticky */
    height: fit-content;
    /* Ensure it only takes the needed space */
}

/* Courses detaiks ends */

/* Mock test */
.mock-test-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.mock-test-subtitle {
    font-size: 15px;

    margin-bottom: 20px;
    text-align: justify;
}

.tag {
    background-color: #e0e0e0;
    padding: 8px 12px;
    border-radius: 15px;
    display: inline-block;
    margin-bottom: 25px;
    font-weight: 500;
    font-size: 22px;
    letter-spacing: 2%;
}

.test-button {
    display: block;
    width: 100%;
    text-align: left;
    border: 0.8px solid #000000;
    border-radius: 10px;
    padding: 15px;
    padding-left: 25px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    color: #333;
    text-decoration: none;
    text-align: justify;
}

.test-button:hover {
    background-color: #f8f9fa;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Mock test results */
.result-card {
    background-color: #b9e6f333;
    border-radius: 0.625rem;
    /* 10px */
    padding: 1.5rem;
    /* Increased padding for better spacing */
    border: 0.0625rem solid #000000;
    /* 1px */
}

.action-btn {
    width: 100%;
    /* Makes button responsive */
    max-width: 14.1875rem;
    /* 227px */
    border: 0.0625rem solid #ececec !important;
    /* 1px */
    border-radius: 0.625rem;
    /* 10px */
    box-shadow: 0rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.25);
    /* 0px 4px 4px 0px */
    font-size: 1rem;
    /* 16px */
    font-weight: 500;
}

.score {
    font-size: 1.375rem;
    /* 22px */
    font-weight: 500;
    line-height: 2.5rem;
    /* 40px */
}

.total-score {
    font-size: 1.625rem;
    /* 26px */
    font-weight: 600;
    line-height: 2.5rem;
    /* 40px */
}

/* Responsive Text */
@media (max-width: 768px) {
    .score {
        font-size: 1.25rem;
        /* 20px */
        line-height: 2rem;
        /* 32px */
    }

    .total-score {
        font-size: 1.5rem;
        /* 24px */
        line-height: 2.2rem;
    }

    .action-btn {
        font-size: 0.875rem;
        /* 14px */
        padding: 0.75rem;
        /* Better touch targets */
    }
}

/* mock question */
.vertical-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    border-left: 1px dashed #ccc;
    transform: translateX(-50%);
    z-index: 1;
}

.question-section {
    border: 1px solid #000000;
    border-radius: 10px;
    padding: 15px;
    margin-left: 20px;
    margin-bottom: 25px;
}

.question {
    font-weight: 500;
    margin-bottom: 15px;
}

.option {
    flex: 1;
    border: 1px solid #ddd;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option:hover {
    background-color: #f8f9fa;
}

.quiz-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
    padding: 0 20px;
}

.btn-back {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 25px;
}

.btn-submit {
    background-color: var(--primary);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 25px;
}

.dimensions {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
    color: white;
    border-radius: 5px;
    padding: 5px 15px;
}

.horizontal-divider {
    border-top: 1px dashed #ccc;
    margin: 20px 0;
}

/* ncendsjfvsdjf */
/* Base styling */
.main-content {
    /* background-color: white; */
    border-radius: 12px;
    /* box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08); */
    margin-top: 30px;
    padding: 30px;
}

/* Breadcrumb styling */
.breadcrumb-wrapper {
    margin-bottom: 20px;
}

.breadcrumb {
    margin-bottom: 0;
}

.view-more-home {
    color: var(--primary);
    font-size: 18px;
}

/* Course image and details */
.course-image-container {
    position: relative;
    margin-bottom: 25px;
    border-radius: 12px;
    overflow: hidden;
}

.course-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.course-image:hover {
    transform: scale(1.02);
}

.course-instructors {
    color: #555;
    font-size: 16px;
}

.instructor-name {
    font-weight: 500;
}

/* Enrollment section */
.enrollment-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

/* Schedule card */
.schedule-card {
    background-color: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.video-icon {
    background-color: #80d0f1;
    padding: 15px;
    border-radius: 8px;
    color: white;
    font-size: 24px;
    margin-bottom: 15px;
}

.video-icon:hover {
    background-color: #0090c5;
    transform: scale(1.1);
}

.schedule-heading {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.time-slot {
    color: #555;
    font-size: 16px;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #e0e0e0;
}

.time-slot:last-child {
    border-bottom: none;
}

.time-slot-label {
    font-weight: 600;
    color: #333;
    width: 100px;
    display: inline-block;
}

/* Review section */
.review-section {
    margin-top: 40px;
}

.review-heading {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.review-form {
    margin-bottom: 30px;
}

.star-container {
    margin-bottom: 15px;
}

.star-rating {
    color: #ffc107;
    font-size: 18px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.star-rating:hover {
    transform: scale(1.2);
}

.gray-star {
    color: #e0e0e0;
}

.review-textarea {
    border-radius: 8px;
    padding: 12px;
    border: 1px solid #ced4da;
    resize: none;
}

.review-card {
    border-left: 4px solid var(--primary);
    padding: 15px 20px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    border-radius: 0 8px 8px 0;
    transition: transform 0.3s ease;
}

.review-card:hover {
    transform: translateX(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.reviewer-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.review-stars {
    margin-left: 10px;
}

.review-text {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-top: 8px;
}

.pagination .page-item.active .page-link {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.pagination .page-link {
    color: var(--primary);
}

.day-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.day-block {
    flex: 1;
    min-width: 220px;
}

.day-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    background-color: #fff;

    cursor: pointer;
}

.time-slot {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.time-icon {
    color: #999;
    margin-right: 10px;
}

.btn-join {
    width: 100%;
    margin-top: 15px;
    padding: 8px;
    border-radius: 8px;
    border: none;
    color: white;
    cursor: pointer;
}

.active-day .btn-join {
    background-color: #0099cc;
}

.inactive-day .btn-join {
    background-color: #aaaaaa;
}

.active-day {
    border-radius: 8px;
}

.today-indicator {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: #ffc107;
    border-radius: 50%;
    margin-left: 8px;
    animation: pulse 1.5s infinite;
}

.live-indicator {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    margin-left: 8px;
    animation: pulse 1.5s infinite;
}

.expired-indicator {
    width: 10px;
    height: 10px;
    background: #ff4d4d;
    border-radius: 50%;
    margin-left: 8px;
    animation: pulse 1.5s infinite;
}

.expired-text {
    color: #ff4d4d;
}

.status-text {
    margin-left: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    vertical-align: middle;
}

.live-text {
    color: var(--primary);
}

.today-text {
    color: #ffc107;
}

.current-time-slot {
    color: var(--primary);
    font-weight: bold;
}

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

    70% {
        transform: scale(1.1);
    }

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

.category-scroller,
.subcategory-scroller,
.childcategory-scroller,
.all-scroller {
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.category-btn,
.subcategory-btn,
.childcategory-btn,
.all-btn {
    white-space: nowrap;
    border-radius: 10px;
    padding: 8px 20px;
    transition: all 0.3s ease;
    border: 1px solid var(--primary);
    color: var(--primary);
    background: white;
}

.category-btn.active,
.subcategory-btn.active,
.childcategory-btn.active,
.all-btn.active {
    background: var(--primary);
    color: white;
}

.category-btn:hover,
.subcategory-btn:hover,
.childcategory-btn:hover,
.all-btn:hover {
    background: var(--primary);
    color: white;
}

.childcategory-btn {
    border-color: var(--primary);
    color: #6c757d;
    font-size: 0.9rem;
}

/* Custom Scrollbar Styles */
/* For WebKit browsers (Chrome, Safari) */
::-webkit-scrollbar {
    width: 12px;
    /* Vertical scrollbar width */
    height: 12px;
    /* Horizontal scrollbar height */
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    /* Track color */
    border-radius: 10px;
    /* Rounded track */
}

::-webkit-scrollbar-thumb {
    background: #888;
    /* Thumb color */
    border-radius: 10px;
    /* Rounded thumb */
    border: 3px solid #f1f1f1;
    /* Creates padding around thumb */
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
    /* Hover state color */
}

/* For Firefox */
* {
    scrollbar-width: thin;
    /* "auto" | "thin" | "none" */
    scrollbar-color: #888 #f1f1f1;
    /* thumb track */
}

/* Optional: Specific element scrolling */
.scroll-container {
    overflow: auto;
    max-height: 400px;
    /* Example fixed height */
    scroll-behavior: smooth;
    /* Smooth scrolling */
}

.faq-header p {
    font-size: 18px;
    margin-bottom: 30px;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;
    padding: 20px 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h4 {
    margin: 0;
}

.toggle-icon {
    font-size: 18px;
    color: var(--primary);
}

.faq-answer {
    text-align: start !important;
    margin-top: 10px;
    display: none;
    font-size: 16px;
    color: #333;
}

.faq-answer p,
ul,
li,
ol {
    margin: 0;
}

.faq-answer ul {
    padding-left: 20px;
    margin-top: 10px;
}

.faq-answer ul li {
    list-style-type: disc;
}

.faq-answer ol {
    padding-left: 20px;
    margin-top: 10px;
}

.faq-answer ol li {
    list-style-type: decimal;
}

#__vconsole .vc-switch {
    display: none !important;
}

.hero-section-line {
    border-bottom: 3px solid #d9d9d9;
    width: 100%;
    margin-top: 10px;
    margin-bottom: 34px;
}

.footer-section-line {
    border-bottom: 5px solid #d9d9d9;
    width: 100%;
    margin-top: 10px;
    /* margin-bottom: 34px; */
}

.custom-search-input {
    width: 295px;
    height: 36px;
    border: 1px solid #1c5a31;
    border-radius: 7px;
}

.custom-btn {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #1c5a31;
    color: white;
    border-radius: 7px;
}

.custom-search-icon {
    border: 1px solid #1c5a31;
    border-left: none;
    height: 36px;
    border-radius: 0 7px 7px 0;
}

.average-rating {
    font-family: Roboto Flex !important;
    font-weight: 500;
    font-size: 14px;
    color: #000000;
}

.discount-row {
    display: inline-flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    /* optional for even spacing */
}

/* Content Section */
.app-content {
    flex: 1;
}

.app-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.app-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.features-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1rem;
    color: #2c3e50;
}

.feature-checkmark {
    width: 20px;
    height: 20px;
    background: #28a745;
    border-radius: 3px;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-checkmark::after {
    content: "✓";
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.download-buttons {
    display: flex;
    gap: 1rem;
}

.download-btn {
    display: inline-block;
    transition: transform 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
}

.download-btn img {
    height: 50px;
    width: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .app-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
        /* padding: 2rem 1.5rem; */
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }

    .app-title {
        font-size: 1.8rem;
    }

    .app-description {
        font-size: 1rem;
    }

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

@media (max-width: 480px) {
    .mobile-app-section {
        padding: 0 1rem;
    }

    .phone-frame {
        width: 200px;
        height: 400px;
    }

    .app-title {
        font-size: 1.6rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

.live-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary);
    /* Blue background with slight transparency */
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 10;
}

.live-badge-1 {
    background-color: var(--primary);
    /* Blue background with slight transparency */
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    z-index: 10;
}

.blink {
    animation: blinker 2s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

/* login and register */

/*login*/
.login-wrapper {
    min-height: 100vh;
    overflow-x: hidden;
}

.login-wrapper .row {
    position: relative;
    min-height: 100vh;
    flex-wrap: nowrap;
}

/* ── LEFT PANEL ── */
.left-panel {
    background: var(--primary);
    color: var(--text-white);
    padding: 60px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    overflow: visible;
    position: relative;
    z-index: 1;
}

.left-panel h1 {
    font-weight: 700;
    font-size: clamp(22px, 3.5vw, 45px);
    line-height: 1.15;
    margin-bottom: 16px;
}

.left-panel > p {
    font-weight: 400;
    font-size: 14px;
    max-width: 257px;
    line-height: 1.6;
    margin-bottom: 0;
}

.left-panel ul {
    list-style: none;
    padding: 0;
    margin-top: 24px;
}
.left-panel ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
}

.btn-login-explore {
    border-radius: 15px;
    border: 1px solid var(--text-white);
    max-width: 139px;
    width: 100%;
    color: var(--text-white);
    font-size: 14px;
    padding: 10px;
    background: transparent;
    cursor: pointer;
    margin-top: 12px;
    transition:
        background 0.2s,
        color 0.2s,
        box-shadow 0.2s;
}
.btn-login-explore:hover {
    background: var(--text-white);
    color: var(--primary);
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

/* ── RIGHT PANEL ── */
.right-panel {
    background: url("../Image/edu.png") center/cover no-repeat #8a96a8;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

.right-panel::after {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(9px);
    background: rgba(0, 0, 0, 0.08);
    z-index: 1;
}

.right-panel-content {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-left: 280px;
    padding-right: 40px;
}

.tagline-below {
    text-align: center;
}
.tagline-below h3 {
    font-weight: 800;
    font-size: clamp(16px, 2vw, 28px);
    color: var(--primary);
    margin-bottom: 6px;
    letter-spacing: 1px;
}
.tagline-below h3 .highlight {
    color: var(--complimentary);
}
.tagline-below p {
    font-size: 14px;
    color: var(--primary);
    margin: 0;
}

.login-card {
    position: absolute;
    left: 50%;
    top: 55%;
    transform: translate(-50%, -50%);
    z-index: 20;
    width: 100%;
    max-width: 460px;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
    background: #fff;
    padding: 28px 32px 24px;
    box-sizing: border-box;
}

/* ── Logo ── */
.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 18px;
}
.login-logo {
    width: 52px;
}
.logo-text h6 {
    margin: 0;
    font-size: 13px;
    line-height: 1.3;
    letter-spacing: 1.5px;
}

.logo-text hr {
    border-color: #ccc;
    margin: 3px 0;
}

/* ── Tabs ── */
.login-choice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 20px;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
    padding: 6px 10px;
    max-width: 321px;
    width: 100%;
    height: 52px;
    margin: 0 auto 20px;
}

.tab-btn {
    border: none;
    background: transparent;
    border-radius: 20px;
    font-weight: 400;
    font-size: 15px;
    padding: 8px 0;
    width: 143px;
    cursor: pointer;
    transition:
        background 0.2s,
        color 0.2s;
    color: #333;
}
.tab-btn:hover {
    outline: 1px solid var(--primary);
}

.tab-btn.active {
    background: var(--primary);
    color: var(--text-white);
    border: none;
    outline: none;
}

/* ── FORM VISIBILITY ── */
.tab-form {
    display: none;
    transition: all 0.3s ease;
}
.tab-form.active {
    display: block;
}

/* ── Inputs ── */
.custom-input {
    border: 2px solid #bfbfbf;
    border-radius: 18px;
    padding: 18px 16px 10px;
    background: #fff;
    width: 100%;
    height: 55px;
    position: relative;
    margin-bottom: 5px;
}
.custom-input input {
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    font-size: 15px;
    width: 100%;
    padding: 0;
    padding-right: 36px;
}
.inside-label {
    position: absolute;
    top: 6px;
    left: 16px;
    font-size: 12px;
    color: #000;
    font-weight: 400;
}
.custom-input input::placeholder {
    color: #bcbcbc;
    font-style: italic;
    font-size: 12px;
    font-weight: 400;
}

.eye-icon {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* ── Submit Button ── */
.login-btn {
    display: block;
    margin: 0 auto;
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 0;
    width: 40%;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.login-btn:hover {
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.login-card p a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 700;
}

.btn-google {
    border: none;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
    width: 56px;
    height: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
.btn-google:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
}

.small {
    font-size: 13px;
}

@media (max-width: 1600px) {
    .login-card {
        width: 400px;
        left: 40%;
    }
    .right-panel-content {
        padding-left: 260px;
    }
}
/* ── Large desktops (1200px–1399px) ── */
@media (max-width: 1399px) {
    .login-card {
        width: 400px;
        left: 43%;
    }
    .right-panel-content {
        padding-left: 260px;
    }
}

/* ── Medium desktops (992px–1199px) ── */
@media (max-width: 1199px) {
    .left-panel {
        padding: 48px 36px;
    }
    .login-card {
        width: 360px;
        padding: 24px 28px 20px;
        left: 45%;
    }

    .inside-label {
        font-size: 10px;
        color: #000;
        font-weight: 500;
    }

    .custom-input input::placeholder {
        font-size: 10px;
        font-weight: 400;
        margin-bottom: 5px !important;
    }

    .custom-input {
        height: 40px;
    }
    .right-panel-content {
        padding-left: 240px;
    }

    .tab-btn {
        width: 150px;
        font-size: 15px;
    }

    .login-btn {
        width: 35%;
    }
}

@media (max-width: 991px) {
    .login-wrapper {
        position: relative;
        min-height: 100vh;
    }

    .login-wrapper .row {
        flex-direction: row;
        flex-wrap: nowrap;
        min-height: 100vh;
        position: relative;
    }

    .left-panel {
        min-height: 100vh;
        padding: 48px 30px;
        justify-content: center;
        order: 1;
        flex: 0 0 35%;
        width: 35%;
    }

    .left-panel h1 {
        font-size: clamp(24px, 3.2vw, 34px);
        margin-bottom: 12px;
    }

    .left-panel > p {
        max-width: 100%;
        font-size: 12px;
        margin-bottom: 14px;
    }

    .left-panel ul {
        margin-top: 14px;
    }

    .left-panel ul li {
        font-size: 12px;
        margin-bottom: 9px;
    }

    .btn-login-explore {
        max-width: 130px;
        font-size: 12px;
        margin-top: 14px;
    }

    .right-panel {
        min-height: 100vh;
        padding: 60px 36px;
        order: 2;
        flex: 0 0 65%;
        width: 65%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;
    }

    .right-panel::after {
        content: "";
        position: absolute;
        inset: 0;
        backdrop-filter: blur(9px);
        background: rgba(0, 0, 0, 0.08);
        z-index: 1;
    }

    .right-panel-content {
        padding: 0;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        width: 100%;
        max-width: 460px;
        position: relative;
        z-index: 2;
    }

    .login-card {
        position: absolute;
        right: 80px;
        top: 53%;
        left: auto;
        bottom: auto;
        transform: translateY(-50%);
        width: 85%;
        max-width: 400px;
        z-index: 30;
        border-radius: 16px;
        padding: 20px 28px 18px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
        margin: 0;
    }

    .login-logo {
        width: 46px;
    }

    .logo-text h6 {
        font-size: 11px;
    }

    .logo-text .tagline {
        font-size: 9px;
    }

    .logo-area {
        margin-bottom: 14px;
    }

    .tagline-below {
        display: block;
        text-align: center;
        position: absolute;
        top: 100%;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 2;
        padding: 0 36px;
    }

    .tagline-below h3 {
        font-size: clamp(12px, 2.3vw, 24px);
    }

    .tagline-below p {
        font-size: 10px;
    }
    .login-choice {
        max-width: 100%;
        height: 48px;
        padding: 5px 8px;
        margin-bottom: 14px;
    }

    .tab-btn {
        width: 130px;
        font-size: 13px;
        padding: 8px 6px;
    }

    .login-btn {
        width: 45%;
        padding: 10px 0;
        font-size: 14px;
    }

    .custom-input {
        height: 48px;
        padding: 15px 14px 10px;
        margin-bottom: 12px;
    }

    .inside-label {
        font-size: 10px;
        top: 6px;
    }

    .custom-input input {
        font-size: 13px;
    }

    .custom-input input::placeholder {
        font-size: 10px;
    }

    .btn-google {
        width: 48px;
        height: 48px;
    }

    .small {
        font-size: 12px;
    }
}

@media (max-width: 767px) {
    .login-wrapper {
        position: relative;
        min-height: 100vh;
    }

    .login-wrapper .row {
        flex-direction: row;
        flex-wrap: nowrap;
        min-height: 100vh;
        position: relative;
    }

    .left-panel {
        min-height: 100vh;
        padding: 48px 30px;
        justify-content: center;
        order: 1;
        flex: 0 0 35%;
        width: 35%;
    }

    .left-panel h1 {
        font-size: clamp(20px, 3.2vw, 34px);
        margin-bottom: 10px;
    }

    .left-panel > p {
        max-width: 100%;
        font-size: 12px;
        margin-bottom: 14px;
    }

    .left-panel ul {
        margin-top: 14px;
    }

    .left-panel ul li {
        font-size: 12px;
        margin-bottom: 9px;
    }

    .btn-login-explore {
        max-width: 130px;
        font-size: 12px;
        margin-top: 14px;
    }

    .right-panel {
        min-height: 100vh;
        padding: 60px 36px;
        order: 2;
        flex: 0 0 65%;
        width: 65%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;
    }

    .right-panel::after {
        content: "";
        position: absolute;
        inset: 0;
        backdrop-filter: blur(9px);
        background: rgba(0, 0, 0, 0.08);
        z-index: 1;
    }

    .right-panel-content {
        padding: 0;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        width: 100%;
        max-width: 460px;
        position: relative;
        z-index: 2;
    }

    .login-card {
        position: absolute;
        left: 38%;
        top: 53%;
        right: auto;
        bottom: auto;
        transform: translateY(-50%);
        width: 75%;
        max-width: 350px;
        z-index: 30;
        border-radius: 16px;
        padding: 20px 28px 18px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
        margin: 0;
    }

    .login-logo {
        width: 46px;
    }

    .logo-text h6 {
        font-size: 10px;
    }

    .logo-text .tagline {
        font-size: 7px;
    }

    .logo-area {
        margin-bottom: 12px;
    }

    .tagline-below {
        display: block;
        text-align: center;
        position: absolute;
        top: 90%;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 2;
        padding: 0 36px;
    }

    .tagline-below h3 {
        font-size: clamp(10px, 2.3vw, 24px);
    }

    .tagline-below p {
        font-size: 8px;
    }
    .login-choice {
        max-width: 100%;
        height: 45px;
        padding: 5px 8px;
        margin-bottom: 14px;
    }

    .tab-btn {
        width: 130px;
        font-size: 11px;
        padding: 8px 6px;
    }

    .login-btn {
        width: 45%;
        padding: 10px 0;
        font-size: 12px;
    }

    .custom-input {
        height: 43px;
        padding: 13px 12px 8px;
        margin-bottom: 10px;
    }

    .inside-label {
        font-size: 8px;
        top: 5px;
    }

    .custom-input input {
        font-size: 10px;
    }

    .custom-input input::placeholder {
        font-size: 10px;
    }

    .btn-google {
        width: 45px;
        height: 45px;
    }

    .small {
        font-size: 10px;
    }
}

@media (max-width: 575px) {
    .login-wrapper {
        position: relative;
        min-height: 100vh;
    }

    .login-wrapper .row {
        flex-direction: row;
        flex-wrap: nowrap;
        min-height: 100vh;
        position: relative;
    }

    .left-panel {
        min-height: 100vh;
        padding: 48px 30px;
        justify-content: center;
        order: 1;
        flex: 0 0 35%;
        width: 30%;
    }

    .left-panel h1 {
        font-size: clamp(20px, 3.2vw, 34px);
        margin-bottom: 10px;
    }

    .left-panel > p {
        max-width: 90%;
        font-size: 10px;
        margin-bottom: 10px;
    }

    .left-panel ul {
        margin-top: 10px;
    }

    .left-panel ul li {
        font-size: 10px;
        margin-bottom: 7px;
    }

    .btn-login-explore {
        max-width: 100px;
        font-size: 10px;
        margin-top: 10px;
    }

    .right-panel {
        min-height: 100vh;
        padding: 60px 36px;
        order: 2;
        flex: 0 0 65%;
        width: 65%;
        display: flex;
        align-items: center;
        justify-content: flex-end;
        position: relative;
    }

    .right-panel::after {
        content: "";
        position: absolute;
        inset: 0;
        backdrop-filter: blur(9px);
        background: rgba(0, 0, 0, 0.08);
        z-index: 1;
    }

    .right-panel-content {
        padding: 0;
        padding-right: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: center;
        width: 100%;
        max-width: 420px;
        position: relative;
        z-index: 2;
    }

    .login-card {
        position: absolute;
        left: 37%;
        top: 53%;
        right: auto;
        bottom: auto;
        transform: translateY(-50%);
        width: 80%;
        max-width: 350px;
        z-index: 30;
        border-radius: 16px;
        padding: 20px 28px 18px;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
        margin: 0;
    }

    .login-logo {
        width: 40px;
    }

    .logo-text h6 {
        font-size: 8px;
    }

    .logo-text .tagline {
        font-size: 7px;
    }

    .logo-area {
        margin-bottom: 10px;
    }

    .tagline-below {
        display: block;
        text-align: center;
        position: absolute;
        top: 90%;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 2;
        padding: 0 36px;
    }

    .tagline-below h3 {
        font-size: clamp(10px, 2.3vw, 24px);
    }

    .tagline-below p {
        font-size: 8px;
    }
    .login-choice {
        max-width: 100%;
        height: 48px;
        padding: 5px 8px;
        margin-bottom: 14px;
    }

    .tab-btn {
        width: 100px;
        font-size: 13px;
        padding: 8px 6px;
    }

    .login-btn {
        width: 40%;
        padding: 10px 0;
        font-size: 12px;
    }

    .custom-input {
        height: 48px;
        padding: 15px 14px 10px;
        margin-bottom: 10px;
    }

    .inside-label {
        font-size: 8px;
        top: 6px;
    }

    .custom-input input {
        font-size: 10px;
    }

    .custom-input input::placeholder {
        font-size: 8px;
    }

    .btn-google {
        width: 40px;
        height: 40px;
    }

    .small {
        font-size: 10px;
    }
}

/* ── Small phones (≤ 479px) ── need to adjust */
@media (max-width: 479px) {
    .left-panel {
        padding: 24px 16px 20px;
    }

    .left-panel h1 {
        font-size: 20px;
    }

    .left-panel > p {
        font-size: 11px;
    }

    .left-panel ul {
        display: none;
    }

    .btn-login-explore {
        font-size: 11px;
        padding: 8px;
        max-width: 100px;
    }

    .right-panel {
        padding: 24px 12px 28px;
    }

    .login-card {
        padding: 14px 16px 8px;
        margin-bottom: 20px;
        border-radius: 12px;
        width: 60%;
    }

    .login-logo {
        width: 35px;
    }

    .logo-text h6 {
        font-size: 9px;
    }

    .tab-btn {
        font-size: 8px;
        padding: 7px 5px;
    }

    .custom-input {
        height: 42px;
        margin-bottom: 8px;
    }

    .inside-label {
        font-size: 8px;
    }

    .custom-input input {
        font-size: 8px;
    }

    .custom-input input::placeholder {
        font-size: 8px;
    }

    .login-btn {
        width: 45%;
        font-size: 12px;
    }

    .btn-google {
        width: 35px;
        height: 35px;
    }

    .tagline-below h3 {
        font-size: 14px;
    }

    .tagline-below p {
        font-size: 10px;
    }
}

/* ── Very small phones (≤ 360px) ── */
@media (max-width: 360px) {
    .left-panel {
        padding: 20px 14px 18px;
    }

    .left-panel h1 {
        font-size: 18px;
    }

    .left-panel > p {
        font-size: 10px;
    }

    .btn-login-explore {
        font-size: 10px;
        max-width: 100px;
    }

    .right-panel {
        padding: 20px 10px 24px;
    }

    .login-card {
        padding: 12px 14px 8px;
        margin-bottom: 18px;
    }

    .login-logo {
        width: 34px;
    }

    .logo-text h6 {
        font-size: 8px;
    }

    .tab-btn {
        font-size: 10px;
    }

    .custom-input {
        height: 40px;
    }

    .inside-label {
        font-size: 8px;
    }

    .custom-input input {
        font-size: 9px;
    }

    .login-btn {
        width: 60%;
        font-size: 11px;
    }

    .btn-google {
        width: 38px;
        height: 38px;
    }

    .tagline-below h3 {
        font-size: 14px;
    }

    .tagline-below p {
        font-size: 10px;
    }
}

.register-card {
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-60%, -50%);
    z-index: 20;
    width: 100%;
    max-width: 840px !important;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.22);
    background: #fff;
    padding: 24px 32px;
    box-sizing: border-box;
}

.register-card .logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.register-form .row {
    margin-bottom: 12px;
}

.reg-field-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 6px;
    display: block;
}

sup {
    color: red;
}

.reg-radio-group {
    display: flex;
    gap: 16px;
    align-items: center;
    flex-wrap: nowrap;
}

.reg-radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    margin: 0;
    font-size: 13px;
    color: #333;
    white-space: nowrap;
}

.reg-radio-option input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid var(--primary);
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    margin: 0;
}

.reg-radio-option input[type="radio"]:checked {
    border-color: var(--primary-Dark);
}

.reg-radio-option input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-Dark);
}

.file-input input[type="file"] {
    display: none;
}

.file-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    width: 100%;
    margin: 0;
    height: 100%;
}

.file-placeholder {
    color: #bcbcbc;
    font-style: italic;
    font-size: 12px;
    font-weight: 400;
}

.register-btn {
    border-radius: 12px;
    background-color: var(--primary);
    height: auto;
    max-width: 97px;
    width: 100%;
    border: none;
    color: var(--text-white);
    height: 44px;
}

.register-btn:hover {
    box-shadow: 0px 4px 4px 0px #00000040;
}

/* 2-column grid for register form */
.reg-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.reg-radio-box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4px 0;
    margin-bottom: 5px;
}

.tagline-bottom {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
}

.tagline-bottom h3 {
    font-weight: 700;
    font-size: clamp(13px, 2vw, 22px);
    color: var(--primary);
    margin-bottom: 6px;
}

.tagline-bottom h3 .highlight {
    color: var(--complimentary);
}
.tagline-bottom p {
    font-size: 12px;
    color: var(--primary);
    margin: 0;
}

@media (max-width: 1600px) {
    .register-card {
        width: 50%;
        max-width: 680px;
        left: 55%;
    }
}

@media (max-width: 1399px) {
    .register-card {
        width: 48%;
        max-width: 600px;
        left: 56%;
    }
}

@media (max-width: 1199px) {
    .register-card {
        width: 53%;
        max-width: 530px;
        left: 58%;
        padding: 20px 24px;
    }

    .reg-grid {
        gap: 10px;
    }

    .reg-field-label {
        font-size: 11px;
    }

    .reg-radio-option {
        font-size: 11px;
    }

    .reg-radio-option input[type="radio"] {
        width: 13px;
        height: 13px;
    }

    .register-btn {
        max-width: 90px;
        height: 40px;
        font-size: 13px;
    }
}

@media (max-width: 991px) {
    .register-card {
        position: absolute;
        left: 34%;
        right: 20px;
        top: 53%;
        transform: translateY(-50%);
        width: 60%;
        max-width: 460px;
        padding: 18px 22px;
    }

    .reg-grid {
        gap: 9px;
    }

    .register-card .logo-area {
        margin-bottom: 12px;
    }

    .tagline-bottom {
        bottom: 0px;
    }

    .tagline-bottom h3 {
        font-size: clamp(12px, 2vw, 20px);
    }

    .tagline-bottom p {
        font-size: 10px;
    }
}

@media (max-width: 767px) {
    .register-card {
        left: 37%;
        right: auto;
        width: 60%;
        max-width: 380px;
        padding: 14px 12px;
    }

    .reg-grid {
        gap: 8px;
    }

    .reg-field-label {
        font-size: 10px;
    }

    .reg-radio-option {
        font-size: 10px;
        gap: 4px;
    }

    .reg-radio-option input[type="radio"] {
        width: 12px;
        height: 12px;
    }

    .register-btn {
        max-width: 85px;
        height: 38px;
        font-size: 12px;
    }

    .tagline-bottom h3 {
        font-size: clamp(10px, 2vw, 18px);
    }
}

@media (max-width: 575px) {
    .register-card {
        left: 38%;
        width: 60%;
        max-width: 340px;
        padding: 12px 8px;
    }

    .reg-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }

    .register-card .logo-area {
        margin-bottom: 10px;
    }

    .reg-radio-group {
        gap: 8px;
    }

    .tagline-bottom {
        bottom: 8px;
    }
}

@media (max-width: 479px) {
    .register-card {
        left: 38%;
        width: 60%;
        padding: 12px 12px;
    }

    .custom-input {
        width: 78%;
    }

    .custom-input input::placeholder {
        font-size: 8px;
        font-weight: 300;
    }

    .file-placeholder {
        font-size: 5px;
    }

    .reg-grid {
        grid-template-columns: 1fr 1fr;
        gap: 5px;
    }

    .reg-field-label {
        font-size: 6px;
    }

    .reg-radio-option {
        font-size: 6px;
    }

    .register-btn {
        max-width: 80px;
        height: 36px;
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .register-card {
        left: 28%;
        width: 92%;
        padding: 10px 14px;
    }

    .reg-grid {
        gap: 5px;
    }

    .tagline-bottom h3 {
        font-size: 12px;
    }

    .tagline-bottom p {
        font-size: 8px;
    }
}
/* home
.sidebar {
    max-width: 275px;
    width: 100%;
    min-height: 100vh;
    background: var(--sidebar-bg);
    display: flex;
    flex-direction: column;
    padding: 20px;
    box-shadow: 1px 4px 11.7px 0px #00000040;
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    z-index: 100;
}

/* Nav body 
.sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px 10px;
}

.sidebar-nav::-webkit-scrollbar {
    width: 4px;
}
.sidebar-nav::-webkit-scrollbar-thumb {
    background: #d6ddf8;
    border-radius: 4px;
} */

/* Section label */
.nav-section-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--Faded-text);
    padding: 10px 10px 6px;
}

/* Nav item */
.nav-item .nav-link {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    border-radius: var(--border-radius);
    color: var(--text-black);
    font-size: 13.5px;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
}

.nav-item .nav-link i {
    font-size: 17px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.nav-item .nav-link:hover {
    transform: translateX(10px);
    background-color: var(--Faded-text);
    border-radius: 10px;
}

.nav-item .nav-link.active {
    background: var(--primary);
    color: var(--text-white);
    background-color: var(--primary);
    border-radius: 12px;
}

.nav-item .nav-link.active i {
    color: var(--text-white);
}

/* Divider */
.sidebar-divider {
    height: 1px;
    background: #f0f2f8;
    margin: 8px 10px;
}

.sidebar-profile {
    padding: 12px 14px 16px;
    border-top: 1px solid #f0f2f8;
    margin-left: -10px;
}

.profile-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.profile-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    flex: 1;
    min-width: 0;
}

.home-img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    flex-shrink: 0;
    object-fit: cover;
}

.profile-info {
    flex: 1;
    min-width: 167px;
    border: 1.5px solid var(--primary);
    border-radius: 50px;
    padding: 8px 16px;
    transition:
        min-width 0.35s ease,
        flex 0.35s ease;
}

.profile-card:hover ~ .logout-btn,
.logout-btn:hover {
    width: 40px;
    min-width: 40px;
    opacity: 1;
    pointer-events: auto;
}

.profile-card:hover .profile-info {
    min-width: 140px;
}

.profile-card.active ~ .logout-btn {
    width: 40px;
    min-width: 40px;
    opacity: 1;
    pointer-events: auto;
}

.profile-card.active .profile-info {
    min-width: 140px;
}

.profile-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-role {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    font-style: italic;
}

.logout-btn {
    width: 0;
    min-width: 0;
    margin-right: -20px;
    height: 42px;
    border-radius: 50%;
    background: #fff;
    border: 1.8px solid var(--Error-red);
    color: var(--Error-red);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    cursor: pointer;
    font-size: 18px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition:
        width 0.25s ease,
        min-width 0.25s ease,
        opacity 0.25s ease;
}

.logout-btn:hover {
    background: var(--Error-red);
    color: var(--text-white);
}

.home-main h3 {
    font-size: 30px;
    font-weight: 400;
    color: var(--text-black);
}

.home-highlight {
    color: var(--complimentary);
}

.highlight-primary {
    color: var(--primary);
}

.continue-widget {
    background: #fff;
    border: 1.5px solid #e8eaf0;
    border-radius: 18px;
    padding: 22px 20px;
    height: auto;
    box-shadow: 0px 0px 4px 0px #00000040;
}

.continue-widget .widget-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 18px;
}

/* Course row */
.course-row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 14px 5px;
    border-bottom: 1px solid #f0f2f8;
    cursor: pointer;
    border-radius: 10px;
}

.course-row:hover {
    border: 2px solid var(--primary);
    border-radius: 10px;
}

.course-row:first-of-type {
    padding-top: 0;
}
.course-row:hover {
    background: #f8f9ff;
}

/* Thumbnail */
.course-thumb {
    position: relative;
    flex-shrink: 0;
    width: 179px;
    height: 112px;
    border-radius: 10px;
    overflow: hidden;
}

.course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-thumb .duration-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    background: var(--Nav-fill-color);
    color: var(--text-black);
    font-size: 9.5px;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 20px;
    letter-spacing: 0.02em;
    display: flex;
}

/* Course info */
.course-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.course-category {
    font-size: 15px;
    font-weight: 400;
    color: var(--Faded-text);
    letter-spacing: 0.03em;
}

/* Instructor */
.instructor-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 2px;
}

.instructor-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.instructor-avatar i {
    font-size: 16px;
    color: #fff;
}

.instructor-info .instructor-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--text-dark) !important;
    line-height: 1.2;
}

.instructor-info .instructor-role {
    font-size: 10.5px;
    color: var(--Faded-text);
    font-style: italic;
    font-weight: 500;
}

.top-picks-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 22px;
}

.top-picks-section-header h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-black);
    margin: 0;
}

/* Arrow buttons */
.top-picks-arrow-btns {
    display: flex;
    gap: 10px;
}

.top-picks-arrow-btn {
    width: 36px;
    height: 36px;
    margin-right: 20px;
    border-radius: 50%;
    border: 2px solid var(--text-black);
    background: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-black);
    font-size: 15px;
    cursor: pointer;
    transition:
        background 0.18s,
        border-color 0.18s,
        color 0.18s,
        transform 0.15s;
    user-select: none;
}

.top-picks-arrow-btn:hover {
    background: var(--Nav-fill-color);
    border-color: var(--text-black);
    color: var(--text-black);
    transform: scale(1.08);
}

.top-picks-arrow-btn:active {
    transform: scale(0.95);
}

.top-picks-arrow-btn:active {
    transform: scale(0.95);
}

/* ── CAROUSEL WRAPPER ── */
.top-picks-carousel-outer {
    overflow: hidden;
    border-radius: 18px;
    cursor: grab;
    max-width: 100%;
    position: relative;
}

.top-picks-carousel-outer:active {
    cursor: grabbing;
}

/* Fade masks on left and right edges */
.top-picks-carousel-outer::before,
.top-picks-carousel-outer::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px;
    pointer-events: none;
    z-index: 10;
    transition: opacity 0.3s ease;
}

/* Left fade */
.top-picks-carousel-outer::before {
    left: 0;
    background: linear-gradient(
        to right,
        rgba(240, 242, 248, 1) 0%,
        rgba(240, 242, 248, 0.8) 30%,
        rgba(240, 242, 248, 0) 100%
    );
}

/* Right fade */
.top-picks-carousel-outer::after {
    right: 0;
    background: linear-gradient(
        to left,
        rgba(240, 242, 248, 1) 0%,
        rgba(240, 242, 248, 0.8) 30%,
        rgba(240, 242, 248, 0) 100%
    );
}

.top-picks-carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

/* ── COURSE CARD ── */
.top-picks-card-wrap {
    flex: 0 0 calc((100% - 60px) / 3.5);
    /* min-width: 240px; */
    width: 100%;

    padding: 15px;
}

.top-picks-course-card {
    border: none;
    border-radius: 15px;
    background-color: var(--Nav-fill-color);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0px 4px 34.8px 2px #00000040;
}

.top-picks-course-card img {
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    height: 180px;
    width: 100%;
    object-fit: cover;
}

.top-picks-course-card .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 14px 16px 16px;
}

.top-picks-date-text {
    color: var(--Faded-text);
    font-weight: 400;
    font-size: 10px;
}

.top-picks-course-card .card-body h5 {
    color: var(--primary);
    font-weight: 700;
    font-size: 14.5px;
    margin-top: 6px;
    margin-bottom: 6px;
    line-height: 1.3;
}

.top-picks-course-card .card-body .top-picks-desc-text {
    color: var(--Faded-text);
    font-size: 10px;
    font-weight: 400;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0;
}

/* Stars */
.top-picks-stars-row {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-top: 8px;
    margin-bottom: 0;
}

.top-picks-stars-row .top-picks-star-icon {
    color: var(--complimentary);
    font-size: 11px;
}

.top-picks-reviews-text {
    color: var(--Faded-text);
    font-size: 10px;
    margin-top: 2px;
    margin-bottom: 0;
}

/* Price + Button row */
.top-picks-price-row {
    margin-top: auto;
    padding-top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-picks-price {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-Dark);
}

.top-picks-old-price {
    text-decoration: line-through;
    color: var(--Faded-text);
    font-size: 10px;
    margin-left: 6px;
}

.top-picks-enroll-btn {
    border-radius: 7px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-size: 12px;
    font-weight: 600;
    padding: 5px 12px;
    transition:
        background 0.18s,
        color 0.18s,
        box-shadow 0.18s;
}

.top-picks-enroll-btn:hover {
    background-color: var(--primary);
    color: var(--text-white);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .top-picks-card-wrap {
        flex: 0 0 calc((100% - 40px) / 2.5);
    } /* 2.5 cards */
}
@media (max-width: 768px) {
    .top-picks-card-wrap {
        flex: 0 0 calc((100% - 20px) / 1.5);
    } /* 1.5 cards */
}
@media (max-width: 480px) {
    .top-picks-card-wrap {
        flex: 0 0 calc((100% - 20px) / 1.2);
    } /* 1.2 cards */
}

/*popular course*/
.course-detail-card {
    background: #fff;
    border: 1.5px solid #e8eaf0;
    border-radius: 20px;
    padding: 32px 40px;
    width: 100%;
    max-width: 1175px;
    position: relative;
    box-shadow: 0px 0px 4px 0px #00000040;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Navigation Arrows */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--text-black);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-black);
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.nav-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-50%) scale(1.08);
}

.nav-arrow:active {
    transform: translateY(-50%) scale(0.95);
}

.nav-arrow.prev {
    left: 20px;
}

.nav-arrow.next {
    right: 20px;
}

/* Content Area */
.course-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Badge */
.popular-badge {
    background: var(--complimentary);
    color: var(--text-white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.04em;
    display: inline-block;
    width: fit-content;
}

/* Title */

/* Instructor Row */
.instructor-info-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.instructor-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid #e8eaf0;
}

.instructor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instructor-avatar i {
    font-size: 24px;
    color: #fff;
}

.instructor-details .instructor-name {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-black);
    line-height: 1.2;
    margin: 0;
}

.instructor-details .instructor-role {
    font-size: 14px;
    color: var(--Faded-text);
    font-style: italic;
    font-weight: 400;
    margin: 0;
}

/* Course Image */
.course-image-wrapper {
    flex-shrink: 0;
    width: 320px;
    height: 180px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.course-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
    .course-detail-card {
        flex-direction: column;
        padding: 24px 28px;
        gap: 24px;
    }

    .course-image-wrapper {
        width: 100%;
        height: 200px;
    }

    .nav-arrow.prev {
        left: -18px;
    }

    .nav-arrow.next {
        right: -18px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 20px 16px;
    }

    .nav-arrow.prev {
        left: 10px;
        top: 10px;
        transform: none;
    }

    .nav-arrow.next {
        right: 10px;
        top: 10px;
        transform: none;
    }

    .course-detail-card {
        padding: 20px;
    }
}

.footer-content {
    margin-left: 280px;
    flex: 1;
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    background: #e8f2ff;
}

.ac-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ac-filter-btn {
    padding: 6px 18px;
    border-radius: 10px;
    border: 1.5px solid #d1d5db;
    background: #fff;
    color: #374151;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}
.ac-filter-btn:hover,
.ac-filter-btn.active {
    background: var(--primary);
    border-color: var(--primary-Dark);
    color: #fff;
}

/* Spotlight carousel */
.ac-spotlight-outer {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}
.ac-spotlight-track {
    display: flex;
    transition: transform 0.5s ease;
}
.ac-spotlight-slide {
    min-width: 100%;
}
.ac-spotlight-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    height: 280px;
    display: flex;
    align-items: flex-end;
    background: #1e293b;
}
.ac-spotlight-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
}
.ac-spotlight-overlay {
    position: relative;
    z-index: 2;
    padding: 28px 32px;
    color: #fff;
}
.ac-spotlight-badge {
    background: #ffe07b;
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}
.ac-spotlight-label {
    font-size: 20px;
    font-weight: 700;
}
.ac-spotlight-title {
    font-size: 30px;
    font-weight: 700;
    line-height: 1.3;
    max-width: 360px;
}
.ac-trailer-btn {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    border-radius: 999px;
    font-size: 13px;
    padding: 5px 16px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: background 0.2s;
    display: inline-flex;
    align-items: center;
}
.ac-trailer-btn:hover {
    background: rgba(255, 255, 255, 0.28);
}
.ac-spotlight-actions {
    display: flex;
    gap: 10px;
}
.ac-enroll-btn {
    background: #fff;
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    border-radius: 8px;
    padding: 7px 20px;
    border: none;
}
.ac-enroll-btn:hover {
    background: #eff6ff;
}
.ac-details-btn {
    background: transparent;
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    border-radius: 8px;
    padding: 7px 20px;
    border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.ac-details-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Dots */
.ac-spotlight-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}
.ac-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition:
        background 0.2s,
        transform 0.2s;
}
.ac-dot.active {
    background: var(--primary);
    transform: scale(1.3);
}
.favourite-icon i.fa-solid.fa-heart {
    color: #e74c3c;
}

.favourite-icon i.fa-regular.fa-heart {
    color: inherit; /* or whatever your default color is */
}

.favourite-icon {
    cursor: pointer;
    transition: transform 0.15s ease;
    font-size: 1.2rem;
    text-align: right;
}

.favourite-icon:hover {
    transform: scale(1.2);
}

.border-primary {
    border-color: var(--primary) !important;
}

.bg-primary {
    background-color: var(--primary) !important;
}
   /* ══════════════════════════════════════════
                                                                                                                                                                                                               ROOT VARIABLES
                                                                                                                                                                                                            ══════════════════════════════════════════ */
        :root {
            --al-sidebar-w: 275px;
            --al-topbar-h: 56px;
            --al-transition: 0.28s ease;
        }

        /* ══════════════════════════════════════════
                                                                                                                                                                                                               WRAPPER — full viewport flex row
                                                                                                                                                                                                            ══════════════════════════════════════════ */
        #alWrapper {
            display: flex;
            width: 100%;
            min-height: 100vh;
            position: relative;
            overflow-x: hidden;
        }

        /* ══════════════════════════════════════════
                                                                                                                                                                                                               SIDEBAR
                                                                                                                                                                                                               Uses position:sticky so it scrolls with
                                                                                                                                                                                                               the page but never shifts main content
                                                                                                                                                                                                               width when toggled — we animate width.
                                                                                                                                                                                                            ══════════════════════════════════════════ */
        #alSidebar {
            width: var(--al-sidebar-w);
            min-height: 100vh;
            flex-shrink: 0;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            overflow-x: hidden;
            /* CRITICAL: animate width, NOT transform, on desktop */
            transition: width var(--al-transition), min-width var(--al-transition);
            position: sticky;
            top: 0;
            height: 100vh;
            z-index: 300;
            /* padding: 20px; */
            border-right: 1px solid rgba(0, 0, 0, .08);
            background-color: #f8f9fa;
        }

        /* ── Desktop COLLAPSED: width → 0, hide content ── */
        #alWrapper.al-collapsed #alSidebar {
            width: 0 !important;
            min-width: 0 !important;
            overflow: hidden !important;
            border-right: none !important;
        }

        /* ── Close button: only on mobile ── */
        #alSidebarCloseBtn {
            display: none;
            position: absolute;
            top: 10px;
            right: 10px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 4px 6px;
            color: inherit;
            z-index: 10;
            line-height: 1;
            align-items: center;
            justify-content: center;
        }

        /* ══════════════════════════════════════════
                                                                                                                                                                                                               MAIN CONTENT — takes remaining space
                                                                                                                                                                                                            ══════════════════════════════════════════ */
        #alMain {
            flex: 1 1 0;
            min-width: 0;
            /* prevent flex blowout */
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
        }

        /* ══════════════════════════════════════════
                                                                                                                                                                                                               TOP NAVBAR
                                                                                                                                                                                                            ══════════════════════════════════════════ */
        #alTopbar {
            height: var(--al-topbar-h);
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 0 20px;
            border-bottom: 1px solid rgba(0, 0, 0, .08);
            position: sticky;
            top: 0;
            z-index: 200;
            background: var(--body-bg, #f8f9fa);
            flex-shrink: 0;
        }

        #alToggleBtn {
            background: none;
            border: none;
            cursor: pointer;
            padding: 6px 8px;
            border-radius: 6px;
            color: inherit;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        #alToggleBtn:hover {
            background: rgba(0, 0, 0, .06);
        }

        .al-topbar-title {
            font-weight: 600;
            font-size: 15px;
            opacity: .7;
        }

        .al-topbar-right {
            margin-left: auto;
        }

        .al-topbar-avatar {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            object-fit: cover;
            display: block;
        }

        /* ══════════════════════════════════════════
                                                                                                                                                                                                               MOBILE OVERLAY
                                                                                                                                                                                                            ══════════════════════════════════════════ */
        #alOverlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, .5);
            z-index: 290;
        }

        #alOverlay.al-active {
            display: block;
        }

        /* ══════════════════════════════════════════
                                                                                                                                                                                                               PROGRESS CIRCLE
                                                                                                                                                                                                            ══════════════════════════════════════════ */
        .al-progress-circle {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background: var(--primary, #6c5ce7);
            color: #fff;
            font-size: 10px;
            font-weight: 700;
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #fff;
        }

        /* ══════════════════════════════════════════
                                                                                                                                                                                                               CAROUSEL
                                                                                                                                                                                                            ══════════════════════════════════════════ */
        .al-carousel-outer {
            overflow: hidden;
        }

        .al-carousel-track {

            overflow-x: auto;
            scroll-snap-type: x mandatory;
            scrollbar-width: none;
            -ms-overflow-style: none;
        }

        .al-carousel-track::-webkit-scrollbar {
            display: none;
        }

        /* default 4 cards */
        .top-picks-card-wrap {
            /* flex: 0 0 calc(25% - 12px); */

            scroll-snap-align: start;
        }

        /* ── Popular image ── */
        .al-popular-img img {
            width: 260px;
            max-width: 100%;
            border-radius: 12px;
            object-fit: cover;
        }

        /* ── Card thumbnail ── */
        .top-picks-card-img {
            width: 100%;
            height: 150px;
            object-fit: cover;
            border-radius: 8px 8px 0 0;
        }

        .top-picks-arrow-btn:disabled {
            opacity: 0.3;
            cursor: not-allowed;
        }

        /* ══════════════════════════════════════════
                                                                                                                                                                                                               RESPONSIVE
                                                                                                                                                                                                            ══════════════════════════════════════════ */

        /* ── Tablet + Mobile (< 992px): drawer mode ── */
        @media (max-width: 991.98px) {

            /* Override sticky → fixed drawer */
            #alSidebar {
                position: fixed !important;
                top: 0 !important;
                left: 0 !important;
                height: 100% !important;
                width: var(--al-sidebar-w) !important;
                min-width: var(--al-sidebar-w) !important;
                /* On mobile we animate transform, not width */
                transform: translateX(-100%);
                transition: transform var(--al-transition) !important;
                overflow-y: auto !important;
                overflow-x: hidden !important;
                z-index: 300;
            }

            /* open drawer */
            #alWrapper.al-open #alSidebar {
                transform: translateX(0) !important;
            }

            /* desktop class must NOT collapse sidebar on mobile */
            #alWrapper.al-collapsed #alSidebar {
                width: var(--al-sidebar-w) !important;
                min-width: var(--al-sidebar-w) !important;
                overflow: auto !important;
                border-right: 1px solid rgba(0, 0, 0, .08) !important;
                transform: translateX(-100%) !important;
            }

            #alWrapper.al-collapsed.al-open #alSidebar {
                transform: translateX(0) !important;
            }

            /* show × button */
            #alSidebarCloseBtn {
                display: flex !important;
            }

            /* main always full width */
            #alMain {
                width: 100% !important;
            }

            /* 2 cards */
            .top-picks-card-wrap {
                flex: 0 0 calc(50% - 8px);
            }

            .al-popular-img {
                display: none;
            }
        }

        /* ── Small phone ── */
        @media (max-width: 575.98px) {
            .top-picks-card-wrap {
                flex: 0 0 100%;
            }

            #alTopbar {
                padding: 0 12px;
            }

            #alMain main {
                padding-left: 14px !important;
                padding-right: 14px !important;
            }
        }

        /* ── Medium desktop 992–1399 ── */
        @media (min-width: 992px) and (max-width: 1399.98px) {
            .top-picks-card-wrap {
                flex: 0 0 calc(33.33% - 11px);
            }
        }

        /* ── Large desktop ≥1400 ── */
        @media (min-width: 1400px) {
            .top-picks-card-wrap {
                flex: 0 0 calc(25% - 12px);
            }
        }