* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0c61c8;
    --secondary: #fdd50d;
    --accent: #e53935;
    --light-bg: #ffffff;
    --text-dark: #000000;
    --text-muted: #6c757d;
    --card-radius: 30px;
}

body {
    font-family: Poppins !important;
}

/* Whatsapp float */
.whatsapp-float {
    position: fixed;
    width: 50px;
    height: 50px;
    bottom: 80px;
    right: 20px;
    background-color: #25d366;
    color: #fff;
    border-radius: 50%;
    /* text-align: center; */
    font-size: 24px;
    box-shadow: 2px 2px 3px #999;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
}

main {
    background-color: #f2f8ff;
}

html {
    scroll-behavior: smooth;
}

/* ===== NAVBAR ===== */
.navbar {
    background: #fff;
    box-shadow: 0 2px 16px rgba(21, 101, 192, 0.1);
    padding: 10px 0;
    position: sticky !important;
    top: 0;
    z-index: 1000;
}

.navbar-brand img {
    height: 44px;
}

.nav-link {
    font-weight: 400;
    color: var(--text-dark) !important;
    font-size: 1rem;
    padding: 6px 18px !important;
    border-radius: 8px;
    transition: 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--light-bg) !important;
    background: var(--primary);
}

.btn-login {
    background: var(--primary);
    color: #fff !important;
    font-weight: 400;
    border-radius: 10px;
    /* padding: 6px 22px; */
    font-size: 1rem;
    transition: 0.2s;
}

.btn-login:hover {
    background: var(--primary);
    color: #fff;
}

.btn-signup {
    background: var(--light-bg);

    border: 2px solid var(--primary);
    color: var(--primary) !important;
    font-weight: 400;
    border-radius: 10px;
    /* padding: 6px 22px; */
    font-size: 1rem;
    transition: 0.2s;
}

.btn-signup:hover {
    background: var(--primary) !important;
    color: #fff !important;
}

@media (max-width: 1199px) {
    .nav-link-about {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: 0.5rem;
        z-index: 9999;
        background-color: var(--light-bg);
        padding: 1rem;
        border-radius: 10px;
    }

    .navbar-nav {
        padding-bottom: 0.5rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        margin-bottom: 0.5rem;
    }

    /* .login-btn,
    .signup-btn {
        width: 100%;
        margin: 0.25rem 0;
    } */
}

/* ===== HERO CAROUSEL ===== */
.hero-slide {
    /* min-height: 285px; */
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at 80% 50%,
        rgba(21, 101, 192, 0.12) 0%,
        transparent 70%
    );
}

.hero-title {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    font-weight: 900;
    line-height: 1.15;
}

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

.hero-title .highlight-2 {
    color: var(--secondary);
}

.hero-desc {
    color: #444;
    font-size: 1rem;
    max-width: 480px;
    line-height: 1.7;
}

#heroCarousel .carousel-indicators {
    align-items: center;
    gap: 6px;
}

#heroCarousel .carousel-indicators .dot-btn {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: none;
    background: #d9d9d9;
    opacity: 1;
    padding: 0;
    margin: 0 3px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

#heroCarousel .carousel-indicators .dot-btn.active {
    width: 25px;
    height: 25px;
    background: #0c61c8;
    opacity: 1;
}

#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next {
    width: auto;
}

#heroCarousel .carousel-arrow-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    border-radius: 50%;
    background: #ffffff;
    opacity: 1;
    flex-shrink: 0;
    margin: 20px;
}

#heroCarousel .carousel-arrow-icon {
    width: 20px;
    height: 20px;
    background-color: #000000;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    background-size: contain;
}

#heroCarousel .carousel-control-prev-icon.carousel-arrow-icon {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}

#heroCarousel .carousel-control-next-icon.carousel-arrow-icon {
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

#heroCarousel .carousel-control-prev:hover .carousel-arrow-btn,
#heroCarousel .carousel-control-next:hover .carousel-arrow-btn {
    background: #0c61c8;
}

#heroCarousel .carousel-control-prev:hover .carousel-arrow-icon,
#heroCarousel .carousel-control-next:hover .carousel-arrow-icon {
    background-color: #ffffff;
}

.btn-started {
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 28px;
    font-size: 0.95rem;
    border: none;
    transition: 0.2s;
    text-decoration: none;
}

.btn-started:hover {
    background: #0d47a1;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(21, 101, 192, 0.3);
}

.btn-test {
    background: #fff;
    color: var(--primary);
    font-weight: 700;
    border-radius: 10px;
    padding: 10px 28px;
    font-size: 0.95rem;
    border: 2px solid var(--primary);
    transition: 0.2s;
    text-decoration: none;
}

.btn-test:hover {
    background: var(--light-bg);
}

.hero-img-wrap {
    position: relative;
}

.hero-img-wrap img {
    max-height: 400px;
    object-fit: contain;
    filter: drop-shadow(0 8px 32px rgba(21, 101, 192, 0.18));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-14px);
    }
}

.active-users {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 18px;
}

.avatar-stack {
    display: flex;
}

.avatar-stack img {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #fff;
    margin-left: -8px;
    object-fit: cover;
}

.avatar-stack img:first-child {
    margin-left: 0;
}

.active-label {
    font-size: 0.82rem;
    color: #555;
    font-weight: 600;
}

/* NEET banner overlay */
.neet-banner {
    background: linear-gradient(90deg, #1565c0, #0d47a1);
    color: #fff;
    padding: 32px 40px;
    border-radius: var(--card-radius);
    position: relative;
    overflow: hidden;
}

.neet-banner::after {
    content: "";
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.neet-banner h2 {
    font-family: "Poppins", sans-serif;
    font-weight: 900;
    font-size: clamp(1.6rem, 4vw, 2.8rem);
    letter-spacing: 2px;
    color: var(--secondary);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.2);
}

.neet-banner p {
    font-size: 1rem;
    opacity: 0.9;
}

.btn-explore {
    background: var(--secondary);
    color: #1a1a2e;
    font-weight: 800;
    border-radius: 30px;
    padding: 10px 32px;
    border: none;
    transition: 0.2s;
    text-decoration: none;
    font-size: 0.92rem;
}

.btn-explore:hover {
    background: #f57f17;
    color: #fff;
}

/* ===== STATS ===== */
.stats-section {
    /* background: #fff; */
    padding: 60px 0;
}

.stat-card {
    text-align: center;
    padding: 28px 20px;
    border-radius: var(--card-radius);
    background: var(--light-bg);
    transition: 0.25s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    height: 348px;
    overflow: hidden;
}

.stat-card::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 348px;
    /* background: linear-gradient(90deg, var(--primary), var(--secondary)); */
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(21, 101, 192, 0.12);
}

.stat-num {
    font-family: "Poppins", sans-serif;
    font-size: 2.6rem;
    font-weight: 700;
    color: var(--text-dark);
}

.stat-label {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 4px;
}

.testimonials-section {
    padding: 70px 0;
    overflow: hidden;
}

.testi-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 6%,
        black 94%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 6%,
        black 94%,
        transparent 100%
    );
}

.testi-track {
    display: flex;
    gap: 24px;
    width: max-content;
    padding: 16px 4px;
    will-change: transform;
}

.testi-card-wrap {
    width: 320px;
    flex-shrink: 0;
}

.testi-card {
    background: #fff;
    border-radius: 16px;
    padding: 24px 20px 40px;
    box-shadow: 0px 0px 17.1px 3px #00000040;

    border: 1px solid #e8eef8;
    height: 280px;
    position: relative;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
}

.testi-card:hover {
    transform: translateY(-4px);
    box-shadow: 0px 4px 24px 4px #00000055;
}

.testi-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    /* border: 3px solid var(--primary, #0C61C8); */
    flex-shrink: 0;
}

.testi-name {
    font-weight: 800;
    font-size: 0.97rem;
    color: #111;
}

.testi-role {
    font-size: 0.78rem;
    color: var(--text-muted, #888);
}

.stars {
    color: #f5a623;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.testi-text-wrap {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    margin-top: 10px;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: #d0d9ea transparent;
}

.testi-text-wrap::-webkit-scrollbar {
    width: 4px;
}

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

.testi-text-wrap::-webkit-scrollbar-thumb {
    background: #d0d9ea;
    border-radius: 4px;
}

.testi-text {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1.7;
    text-align: justify;
    color: #444;
    margin: 0;
}

.testi-quote {
    position: absolute;
    bottom: 8px;
    right: 16px;
    user-select: none;
    pointer-events: none;
    opacity: 0.15;
}

.testi-quote img {
    width: 40px;
    height: auto;
}

/* ===== PLATFORM VALUES ===== */
.values-section {
    /* background: var(--light-bg); */
    padding: 70px 0;
}

.section-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: clamp(1.5rem, 3.5vw, 2.2rem);
}

.section-title span {
    color: var(--primary);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 20px;
}

/* ===== HOW IT WORKS ===== */
/* .how-section {
            background: var(--light-bg);
            padding: 70px 0;
        }

        .step-circle {
            width: 60px;
            height: 60px;
            background: var(--primary);
            color: #fff;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: 'Poppins', sans-serif;
            font-weight: 900;
            font-size: 1.3rem;
            flex-shrink: 0;
            box-shadow: 0 4px 16px rgba(21, 101, 192, .3);
        }

        .step-card {
            background: #fff;
            border-radius: var(--card-radius);
            padding: 28px 24px;
            box-shadow: 0 2px 16px rgba(21, 101, 192, .07);
            transition: .25s;
        }

        .step-card:hover {
            transform: translateY(-4px);
            box-shadow: 0 8px 28px rgba(21, 101, 192, .13);
        }

        .step-title {
            font-weight: 800;
            font-size: 1.1rem;
            margin-top: 14px;
        }

        .step-desc {
            font-size: .88rem;
            color: var(--text-muted);
            margin-top: 6px;
        } */

/* FAQs */
/* ===== FAQ ===== */
.faq-section {
    /* background: var(--light-bg, #eef3fb); */
    padding: 70px 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* ── Each item wrapper ── */
.faq-item {
    display: flex;
    flex-direction: column;
}

/* ── Question button — closed state ── */
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    background: #fff;
    border: 1.5px solid #e0e8f8;
    border-radius: 14px;
    padding: 20px 28px;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #111;
    cursor: pointer;
    text-align: left;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        border-radius 0.25s ease,
        box-shadow 0.25s ease;
    box-shadow: 0 2px 10px rgba(21, 101, 192, 0.05);
    position: relative;
    z-index: 1;
}

.faq-question:hover {
    border-color: #c0d4f0;
    box-shadow: 0 4px 16px rgba(21, 101, 192, 0.08);
}

/* ── Question button — OPEN state ── */
.faq-question.open {
    background: #dce8f8;
    /* light blue bg — matches screenshot */
    border-color: #dce8f8;
    border-bottom-left-radius: 0;
    /* merges visually with answer box */
    border-bottom-right-radius: 0;
    box-shadow: none;
    color: #111;
}

/* ── Arrow icon ── */
.faq-icon {
    font-size: 0.75rem;
    color: #555;
    transition:
        transform 0.35s ease,
        color 0.25s ease;
    flex-shrink: 0;
    margin-left: 20px;
}

.faq-question.open .faq-icon {
    transform: rotate(180deg);
    color: #333;
}

/* ── Answer panel (slide container) ── */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer.open {
    max-height: 800px;
}

/* ── Answer inner box ── */
.faq-answer-inner {
    background: #dce8f8;
    /* same light blue as open question */
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 20px 28px 24px;
    font-size: 0.93rem;
    color: #333;
    line-height: 1.8;
    text-align: justify;
}

/* ===== NEWS ===== */
.news-section {
    /* background: #fff; */
    /* padding: 70px 0; */
}

.news-main-card {
    border-radius: var(--card-radius);
    overflow: hidden;
    position: relative;
    background: #1a1a2e;
    min-height: 320px;
    border-radius: 20px;
}

.news-main-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    border-radius: var(--card-radius);
}

.news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.75) 0%, transparent 60%);
    border-radius: var(--card-radius);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
}

.news-badge {
    background: var(--accent);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    width: fit-content;
}

.news-main-title {
    color: #fff;
    font-weight: 800;
    font-size: 1.3rem;
    margin-top: 6px;
    line-height: 1.35;
}

.news-author {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    margin-top: 6px;
}

.news-side-card {
    display: flex;
    flex-wrap: nowrap;
    /* default no wrap */
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border-radius: 20px;
    padding: 12px;
    border: 1px solid #e8eef8;
    transition: 0.2s;
    margin-bottom: 14px;
}

/* When screen is small (sm and below) */
@media (max-width: 496px) {
    .news-side-card {
        display: flex;
        flex-wrap: wrap;
        /* default no wrap */
        gap: 14px;
        align-items: flex-start;
        background: #fff;
        border-radius: 20px;
        padding: 12px;
        border: 1px solid #e8eef8;
        transition: 0.2s;
        margin-bottom: 14px;
    }

    .news-side-card img {
        width: 100%;
        height: 141px;
        border-radius: 10px;
        object-fit: cover;
        flex-shrink: 0;
    }
}

.news-side-card:hover {
    background: var(--light-bg);
}

.news-side-card img {
    width: 189px;
    height: 141px;
    border-radius: 10px;
    /* object-fit: cover; */
    flex-shrink: 0;
}

.news-side-title {
    font-weight: 700;
    font-size: 0.88rem;
    line-height: 1.4;
}

.news-side-meta {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Login and register */

.login-container {
    width: 800px;
    max-width: 100%;
    background: white;
    padding: 40px;
    padding-bottom: 0px;
    border-radius: 30px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    border: 5px solid var(--primary);
}

/* Make it responsive for smaller screens */
@media (max-width: 992px) {
    .login-container {
        width: 90%;
    }

    .footer {
        height: 30px;
        background-color: var(--primary);
        color: #ffffff;
        margin-left: -20px;
        margin-right: -20px;
        border-bottom-right-radius: 30px;
        border-bottom-left-radius: 30px;
    }
}

.welcome-text {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: 10px;
    font-size: 22px;
    line-height: 48px;
    letter-spacing: 2%;
}

.login-title {
    font-weight: 700;
    margin-bottom: 20px;
    font-size: 32px;
    line-height: 48px;
    letter-spacing: 2%;
}

.form-check-input:active {
    color: var(--primary);
}

.form-check-input:focus {
    box-shadow: none;
    border-color: var(--primary);
}

.form-check-label {
    font-weight: 300;
    font-size: 14px;
    line-height: 25px;
    letter-spacing: 2%;
    color: var(--primary);
}

/* General paragraph styling */
.register-text {
    font-weight: 300;
    font-size: 14px;
    line-height: 30px;
    letter-spacing: 2%;
}

/* Styling for Register link */
.register-text a {
    font-weight: 500;
    font-size: 14px;
    line-height: 30px;
    letter-spacing: 2%;
    text-decoration: underline;
    text-decoration-style: solid;

    text-decoration-thickness: 1px;
    text-decoration-skip-ink: auto;
}

.login-footer {
    height: 30px;
    background-color: var(--primary);
    margin-left: -45px;
    margin-right: -45px;
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

.login-footer a {
    text-align: center;
    font-size: 14px;
    text-decoration: none;
    color: #000000;
    padding: 7px;
    display: flex;
    justify-content: center;
    align-self: center;
}

.otp-input-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    border-color: #7e7474;
}

.otp-digit {
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 1.5rem;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    transition: border-color 0.3s ease;
}

.otp-digit:focus {
    border-color: var(--primary);
    outline: none;
}

/* footerr and app section css */

/* ===== APP SECTION ===== */
.app-section {
    /* background: var(--light-bg, #eef3fb); */
    padding: 70px 0 60px;
    overflow: hidden;
}

/* Phone mockups */
.phone-wrap {
    position: relative;
    flex-shrink: 0;
}

.phone-img {
    width: 200px;
    border-radius: 28px;
    box-shadow: 0 16px 48px rgba(21, 101, 192, 0.18);
    display: block;
}

.phone-left {
    transform: rotate(-6deg) translateY(20px);
    z-index: 1;
}

.phone-right {
    transform: rotate(3deg);
    z-index: 2;
}

/* Tagline */
.app-tagline {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--primary, #0c61c8);
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary, #0c61c8);
    display: inline-block;
    padding-bottom: 2px;
}

/* Title */
.app-title {
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 2rem;
    color: #000000;
    text-align: center;
    line-height: 1.25;
}

/* Description */
.app-desc {
    font-size: 22px;
    color: #555;
    line-height: 100%;
}

/* Store badges */
.store-badge img {
    border-radius: 8px;
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.store-badge:hover img {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

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

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

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

/* Button styles */
.btn-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    color: var(--light-bg) !important;
}

.btn-outline-primary {
    color: var(--primary) !important;
    border-color: var(--primary) !important;
    background-color: transparent !important;
}

.btn-outline-primary:hover {
    color: var(--light-bg) !important;
    border-color: var(--primary) !important;
    background-color: var(--primary) !important;
}

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

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

:hover {
    transition: all 0.3s ease-out;
}

/* Navbar styles */
.user-profile .text-hover:hover {
    color: var(--primary) !important;
}

.image-border {
    border-radius: 50%;
    border: 0.0625rem solid var(--primary);
}

.btn-hover:hover {
    color: var(--light-bg) !important;
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    outline: none !important;
}

@media (max-width: 767.98px) {
    /* .navbar-brand .image-logo {
        width: 3.5rem;
        margin-left: 0;
    } */

    .navbar {
        padding: 0.5rem;
    }

    .navbar .search-input {
        height: 2.25rem;
    }

    .navbar .navbar-nav .nav-link {
        font-size: 0.9375rem;
        padding: 0.5rem 0;
    }
}

@media (max-width: 575.98px) {
    /* .navbar-brand .image-logo {
        width: 3rem;
    } */

    .navbar .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .login-btn,
    .signup-btn {
        height: 1.875rem;
        font-size: 0.875rem;
    }

    .navbar-toggler {
        padding: 0.25rem 0.5rem;
    }

    .search-input .input-group {
        height: 2rem;
    }

    .search-input .form-control {
        font-size: 0.875rem;
        height: 2rem;
    }

    .search-input .input-group-text {
        height: 2rem;
    }
}

@media screen and (max-width: 545px) {
    .mobile-auth-buttons .signup-btn {
        display: none !important;
    }
}

@media screen and (max-width: 363px) {
    .search-icon-responsive {
        display: none !important;
    }
}

/* courses category */
/* Course Category Section Styles */
.course-category-section,
.live-classes-section,
.mock-test-section,
.testimonials-section,
.mobile-app-section,
.hero-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;
}

/* Why Download CEF Starts */

/* Why Download CEF Ends */

/* footer starts here */
.footer {
    /* background-color: var(--primary); */
    color: var(--black);
    padding: 40px 0 0 0;
    /* font-family: Inter; */
    font-weight: 500;
    font-size: 20px;
}

.footer a {
    color: var(--black);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
}

.footer a:hover {
    color: #1c5a31;
    text-decoration: none;
}

.footer-bottom {
    /* background-color: #0088a9;    */
    padding: 10px 0;
    font-weight: 400;
    /* font-family: Poppins !important; */

    font-size: 16px;
}

.social-icon {
    font-size: 24px;
    margin-right: 15px;
    color: white;
}

.nav-link {
    padding: 5px 0;
}

.app-button {
    background-color: white;
    border-radius: 8px;
    padding: 8px 15px;
    margin-bottom: 10px;
    display: inline-block;
    color: #333 !important;
    text-align: left;
}

/* .app-button:hover {
    background-color: #f0f0f0;
    text-decoration: none !important;
} */

.app-icon {
    font-size: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

.app-text {
    display: inline-block;
    vertical-align: middle;
}

.small-text {
    font-size: 12px;
    margin: 0;
}

.large-text {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
}

.line {
    max-width: 66px;
    margin: 10px 0;
    border: 2px solid #000;
}

@media screen and (max-width: 515px) {
    .responnsive {
        display: block;
        width: 100%;
    }
}

/* 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: var(--light-bg);
    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 */
.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-price {
    font-weight: bold;
    margin-bottom: 10px;
}

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

.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 */
}

#__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;
    }
}

/* 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 */

.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-price {
    font-weight: bold;
    margin-bottom: 10px;
}

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

.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 */
}

#__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;
    }
}
/*live-class*/
.live-section {
    background-color: #f2f8ff;
    /* padding: 0 20px 0 20px; */
}

.filter-bar {
    background-color: #f2f8ff;
    padding: 30px 0px 30px 0px;
}

@media (max-width: 576px) {
    .filter-bar {
        padding: 14px 12px 10px;
    }
}

.breadcrumb-item {
    text-decoration: none;
    font-size: 20px;
    color: #000000 !important;
    font-weight: 400;

    font-size: 20px;
    line-height: 150%;
    letter-spacing: 0%;
}
.breadcrumb-item a {
    text-decoration: none;
    color: #000000 !important;
}

.breadcrumb-item a:hover {
    text-decoration: none;
    color: var(--primary) !important;
    font-weight: 500 !important;
}

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

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: #000000;
    font-size: 20px;
}

.filter-btn {
    border-radius: 6px;
    font-size: 0.875rem;
    padding: 6px 16px;
    text-decoration: none;
    border: 1px solid var(--primary);
    background: #f2f8ff;
    color: var(--primary);
    transition: all 0.15s ease;
}

@media (max-width: 576px) {
    .filter-btn {
        font-size: 0.8rem;
        padding: 5px 10px;
    }
}

.filter-btn.active-filter {
    background-color: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.form-control {
    border: 1px solid var(--primary);
    border-radius: 10px;
    /* height: 40px; */
    /* width: auto; */
    /* max-width: 100%; */
    background-color: #f2f8ff;
}

@media (max-width: 768px) {
    .form-control {
        width: 100%;
    }
}

.form-control,
placeholder {
    font-style: italic;
}

.form-control:focus,
.btn:focus {
    box-shadow: none !important;
    outline: none !important;
}

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

.btn-search:hover {
    background-color: var(--primary);
    color: #ffff;
}

.live-section-card {
    background-color: #f2f8ff;
    overflow-x: hidden;
}

/* ── Card section ── */
.live-card {
    padding: 20px 10px 10px 0px;
    background-color: #f2f8ff;
    display: flex;
    flex-wrap: wrap;
    row-gap: 16px;
    column-gap: 8px;
}

@media (max-width: 576px) {
    .live-card {
        padding: 14px 12px 10px;
        gap: 12px;
    }
}

.course-card {
    border-radius: 15px;
    border: 1px solid var(--primary);
    background-color: transparent;
    position: relative;
    overflow: visible;
    transition:
        box-shadow 0.2s ease,
        transform 0.2s ease;
}
.course-card:hover {
    border: none;
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0px 4px 10px 5px rgba(0, 0, 0, 0.25); /* #00000040 equivalent */
    transform: translateY(-5px); /* lifts the card slightly */
    opacity: 1;
}

/* ── Image wrapper ── */
.card-img-wrapper {
    position: relative;
    border-radius: 15px 15px 5px 5px;
    height: auto;
    z-index: 1;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px 15px 5px 5px;
    display: block;
}

.card-img-wrapper::before,
.card-img-wrapper::after {
    display: none;
}

/* ── Decorative circle ── */
.course-card .card-circle {
    position: absolute;
    background: #0c61c82b;
    backdrop-filter: blur(6.599999904632568px);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
    width: var(--circle-size, 140px);
    height: var(--circle-size, 140px);
}

/* ── Desktop: 4 columns (> 992px) ── */
.course:nth-child(4) .card-circle {
    --circle-size: 219px;
    top: -30px;
    right: -80px;
}
.course:nth-child(5) .card-circle {
    --circle-size: 144px;
    top: -50px;
    left: -80px;
}
.course:nth-child(8) .card-circle {
    --circle-size: 219px;
    bottom: 145px;
    left: -140px;
}
.course:nth-child(13) .card-circle {
    --circle-size: 140px;
    bottom: 80px;
    right: -40px;
}
.course:nth-child(14) .card-circle {
    --circle-size: 260px;
    top: -50px;
    left: -130px;
}
.course:nth-child(15) .card-circle {
    --circle-size: 60px;
    bottom: 80px;
    right: -10px;
}

/* Card content sits above circle */
.course-card .card-img-wrapper,
.course-card .card-body {
    position: relative;
    z-index: 1;
}

@media (max-width: 400px) {
    .card-img-wrapper {
        height: 160px;
    }
}

@media (max-width: 992px) {
    .course:nth-child(4) .card-circle {
        --circle-size: 160px;
        top: -25px;
        right: -60px;
    }
    .course:nth-child(5) .card-circle {
        --circle-size: 120px;
        top: -35px;
        left: -55px;
    }
    .course:nth-child(8) .card-circle {
        --circle-size: 110px;
        bottom: 50px;
        left: -50px;
    }
    .course:nth-child(13) .card-circle {
        --circle-size: 115px;
        bottom: 60px;
        right: -30px;
    }
    .course:nth-child(14) .card-circle {
        --circle-size: 110px;
        top: -35px;
        left: -45px;
    }
    .course:nth-child(15) .card-circle {
        --circle-size: 50px;
        bottom: 60px;
        right: 8px;
    }
}

@media (max-width: 576px) {
    .course:nth-child(4) .card-circle {
        --circle-size: 100px;
        top: -20px;
        right: -30px;
    }
    .course:nth-child(5) .card-circle {
        --circle-size: 90px;
        top: -25px;
        left: -30px;
    }
    .course:nth-child(8) .card-circle {
        --circle-size: 85px;
        bottom: 40px;
        left: -30px;
    }
    .course:nth-child(13) .card-circle {
        --circle-size: 90px;
        bottom: 50px;
        right: -20px;
    }
    .course:nth-child(14) .card-circle {
        --circle-size: 85px;
        top: -25px;
        left: -25px;
    }
    .course:nth-child(15) .card-circle {
        --circle-size: 40px;
        bottom: 50px;
        right: 8px;
    }
}

.card-body {
    padding: 10px 0px;
}

.course-title {
    font-family: Poppins;
    font-weight: 700;
    font-style: Bold;
    font-size: 1.125rem;
    color: var(--primary);
    line-height: 140%;
    letter-spacing: 0%;
    text-align: left;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.course-description {
    font-size: 0.8rem;
    color: #757575;
    gap: 6px;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* limit to 2 lines */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.main-description {
    font-size: 0.8rem;
    color: #757575;
    text-align: justify;
    gap: 6px;
    margin-bottom: 4px;
}

.feature-list li i {
    color: #6b7280;
    font-size: 0.75rem;
}

.top-picks-stars-row .top-picks-star-icon {
    color: #ffd748;
    font-size: 11px;
}

.review-count {
    font-size: 0.72rem;
    color: #888;
    margin-bottom: -20px !important;
}

.price-block .current-price {
    font-weight: 700;
    font-style: Bold;
    font-size: 1.3125rem;

    line-height: 100%;
    letter-spacing: 0%;
    color: var(--primary);
}

.price-block .old-price {
    color: #bbbbbb;
    font-weight: 700;
    font-style: Bold;
    font-size: 14px;
    line-height: 100%;
    letter-spacing: 0%;
    text-decoration: line-through;
}

.valid-date {
    font-size: 12px;
    color: #BBBBBB;
    font-weight: 700;
}

.date-badge {
    font-size: 0.7rem;
    color: #757575;
    font-weight: 400;

    text-align: center;
    font-style: italic;
}

/* ── Enroll button ── */
.enroll-btn {
    border-radius: 8px;
    border: 1.5px solid var(--primary);
    background: #f2f8ff;
    color: var(--primary);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 6px 18px;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.enroll-btn:hover {
    background: var(--primary);
    color: #fff;
}

/* ── Bottom row ── */
.bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    flex-wrap: wrap;
}

@media (max-width: 400px) {
    .bottom-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .enroll-btn {
        width: 100%;
        text-align: center;
    }
}

/* ── Pagination ── */
.pagination-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: var(--primary);
    color: #fff;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition:
        background 0.15s ease,
        transform 0.1s ease;
}

.pagination-btn:disabled {
    background: #c5d5ef;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 576px) {
    .pagination-btn {
        width: 32px;
        height: 32px;
        font-size: 0.78rem;
    }
}
/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
    padding: 32px 0 48px;
    background: #f2f8ff;
    position: relative;
    overflow: hidden;
}

.about-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, #c6dcf5 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    opacity: 0.5;
    pointer-events: none;
}

.about-title {
    font-weight: 700;
    font-size: clamp(36px, 8vw, 100px);
    letter-spacing: -2px;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 20px;
}

.section-heading {
    font-weight: 700;
    font-size: clamp(15px, 2vw, 18px);
    margin-bottom: 8px;
    color: var(--text-dark);
}

.body-text {
    font-size: clamp(12px, 1.5vw, 13px);
    font-weight: 400;
    line-height: 1.75;
    color: var(--text-dark);
    text-align: justify;
}

.img-card {
    border-radius: var(--card-radius);
    overflow: hidden;
    width: 100%;
    height: 220px;
}

.img-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.img-card-2 {
    border-radius: var(--card-radius);
    overflow: hidden;
    width: 100%;
    height: 130px;
}

.img-card-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 480px) {
    .img-card {
        height: 240px;
    }
    .img-card-2 {
        height: 145px;
    }
}

@media (min-width: 768px) {
    .about-section {
        padding: 48px 0 64px;
    }
    .img-card {
        height: 280px;
    }
    .img-card-2 {
        height: 155px;
    }
}

@media (min-width: 1024px) {
    .img-card {
        height: 300px;
    }
    .img-card-2 {
        height: 165px;
    }
}

/* ============================================================
   FOUNDER SECTION
   ============================================================ */
.founder-section {
    background: #f2f8ff;
    padding: 48px 0 0;
}

.founder-section-title {
    text-align: center;
    font-weight: 600;
    font-size: clamp(22px, 4vw, 35px);
    color: var(--text-dark);
    margin: 0 !important;
    padding: 0;
}

/* ── Card: stacked on mobile, row on desktop ── */
.founder-card {
    max-width: 1250px;
    margin: 24px auto 0; /* normal margin on mobile */
    display: flex;
    flex-direction: column; /* stack on mobile */
    align-items: center;
    gap: 24px;
    overflow: visible;
    padding: 0 16px;
}

.founder-left {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 8px;
}

.founder-name {
    font-weight: 700;
    font-size: clamp(22px, 4vw, 32px);
    color: var(--text-dark);
    margin-bottom: 2px;
}

.founder-role {
    font-size: clamp(13px, 2vw, 15px);
    color: var(--text-dark);
    margin-bottom: 0;
}

.founder-signature img {
    width: 80px;
    height: auto;
    display: block;
    margin: -6px 0 10px 60px;
    transform: rotate(-10deg);
    opacity: 0.5;
}

.founder-bio {
    font-size: clamp(13px, 1.8vw, 15px);
    line-height: 1.75;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 16px;
}

.founder-bio .highlight {
    font-weight: 700;
    color: var(--primary);
}

.badges {
    display: flex;
    gap: 6px;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap; /* wrap on very small screens */
    width: 100%;
}

.badge-pill {
    background: #4b88d1;
    color: #fff;
    font-size: clamp(9px, 1.5vw, 11px);
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 999px;
    white-space: nowrap;
}

.yt-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    font-size: clamp(12px, 1.8vw, 14px);
    border-radius: 100px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
    padding: 0;
    text-decoration: none;
}

.yt-btn:hover {
    background: #0c61c82b;
    padding: 5px;
}

.yt-btn .yt-icon {
    width: 36px;
    height: 36px;
    background: #0c61c82b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yt-btn .yt-icon:hover {
    background: red;
}

.yt-btn .yt-icon svg {
    width: 14px;
    height: 14px;
    fill: var(--primary);
    margin-left: 2px;
}

.yt-btn .yt-icon svg:hover {
    fill: white;
}

/* Photo */
.founder-right {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.founder-photo-blob {
    width: min(320px, 90vw);
    height: min(320px, 90vw);
}

.founder-photo-blob img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

/* ── Tablet+ ── */
@media (min-width: 600px) {
    .founder-signature img {
        width: 96px;
        margin: -8px 0 12px 140px;
    }
    .founder-photo-blob {
        width: 380px;
        height: 380px;
    }
}

/* ── Desktop ── */
@media (min-width: 1024px) {
    .founder-section {
        padding: 60px 0 0;
    }

    .founder-card {
        flex-direction: row;
        align-items: center;
        gap: 40px;
        padding: 0 60px;
        margin-top: -60px;
    }

    .founder-left {
        flex: 1 1 0;
        min-width: 0;
        padding: 0 20px;
    }

    .founder-right {
        flex: 0 0 auto;
        width: auto;
    }

    .founder-photo-blob {
        width: 480px;
        height: 480px;
    }

    .founder-signature img {
        width: 106px;
        height: 33px;
        margin: -8px 0 12px 220px;
    }
}

@media (min-width: 1280px) {
    .founder-photo-blob {
        width: 560px;
        height: 560px;
    }
}

/*tutor*/
.tutor-section {
    background: #f2f8ff;
    padding: 50px 0; /* no horizontal padding — container handles it */
}

.tutor-page-title {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: -0.5px;
}

.tutor-layout {
    max-width: 1320px; /* same as Bootstrap .container on xl screens */
    margin: 0 auto;
    padding: 0 12px; /* same gutters as Bootstrap .container */
    display: flex;
    align-items: center;
}

.tutor-info-card {
    width: 330px;
    height: 650px;
    flex-shrink: 0;
    background: #3780da87;
    color: #fff;
    border-radius: 20px;
    padding: 36px 24px 90px;
    box-shadow: 0px 4px 4px 0px #00000040;
    backdrop-filter: blur(38px);
    position: relative;
    z-index: 2;
    margin-right: -40px;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 91%, 0% 100%);
}

.tutor-logo-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
}

.tutor-side-logo {
    width: 180px;
    height: auto;
    filter: brightness(0) invert(1);
}

.tutor-req-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.tutor-req-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tutor-req-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.78rem;
    line-height: 1.55;
    margin-bottom: 12px;
    opacity: 0.92;
}

.tutor-req-list li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    margin-top: 5px;
    flex-shrink: 0;
}

.tutor-form-card {
    flex: 1;
    background: #fff;
    border-radius: 20px;
    padding: 40px 40px 44px 80px;
    box-shadow: 0 8px 32px rgba(12, 97, 200, 0.1);
    position: relative;
    z-index: 1;
}

.tutor-form-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #000;
    text-align: center;
    margin-bottom: 28px;
}

.tutor-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: #000;
    margin-bottom: 6px;
    display: block;
}

.tutor-required {
    color: var(--accent);
}

.tutor-input,
.tutor-select {
    border: 1.5px solid #000;
    border-radius: 10px;
    font-size: 0.82rem;
    padding: 10px 14px;
    color: #000;
    width: 100%;
    height: auto;
    background: #fff;
    font-family: "Poppins", sans-serif;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    outline: none;
    margin-bottom: 4px;
}

.tutor-input::placeholder {
    color: #b0b8c8;
    font-size: 0.75rem;
}

.tutor-input:focus,
.tutor-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 97, 200, 0.12);
}

.tutor-phone-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.tutor-phone-flag {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid #000;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    background: #f5f8ff;
    white-space: nowrap;
    color: #000;
    flex-shrink: 0;
}

.tutor-phone-flag img {
    width: 20px;
    border-radius: 3px;
}
.tutor-phone-input {
    flex: 1;
    margin-bottom: 0;
}

textarea.tutor-input {
    resize: vertical;
    min-height: 130px;
}

.tutor-submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 11px 46px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin: 24px auto 0;
    font-family: "Poppins", sans-serif;
    transition:
        background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
}

.tutor-submit-btn:hover {
    background: #0a51a8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 97, 200, 0.3);
}

@media (max-width: 768px) {
    .tutor-layout {
        flex-direction: column;
        padding: 0 16px;
    }
    .tutor-info-card {
        width: 100%;
        height: auto;
        margin-right: 0;
        margin-bottom: -24px;
        clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 50% 94%, 0% 100%);
        padding-bottom: 60px;
        z-index: 2;
    }
    .tutor-form-card {
        padding: 44px 20px 36px;
        width: 100%;
    }
}

/*contact*/
.contact-section {
    background: #f2f8ff;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(12, 97, 200, 0.1);
    bottom: -80px;
    right: 60px;
    pointer-events: none;
}

.contact-section::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(12, 97, 200, 0.07);
    bottom: 40px;
    right: 20px;
    pointer-events: none;
}

/* wrapper matches Bootstrap container width */
.contact-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    align-items: center;
    position: relative;
}

/* Blue info card — normal flex item, overlaps form card with negative margin */
.contact-info-card {
    width: 320px;
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    border-radius: var(--card-radius);
    padding: 32px 24px 36px;
    box-shadow: 0 8px 32px rgba(12, 97, 200, 0.25);
    position: relative;
    z-index: 2;
    margin-right: -40px; /* overlaps onto form card */
}

.contact-info-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 0.75rem;
    line-height: 1.7;
    opacity: 0.88;
    text-align: justify;
    margin-bottom: 0;
}

.contact-info-divider {
    border: none;
    border-top: 1.5px solid rgba(255, 255, 255, 0.4);
    margin: 16px 0;
}

.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.78rem;
    margin-bottom: 14px;
    opacity: 0.92;
    line-height: 1.5;
}

.contact-info-row svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.contact-follow-label {
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 10px;
}

.contact-social-icons {
    display: flex;
    gap: 10px;
}

.contact-social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition:
        background 0.2s,
        border-color 0.2s;
}

.contact-social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.contact-social-icons svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* White form card */
.contact-form-card {
    flex: 1;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: 0 8px 32px rgba(12, 97, 200, 0.1);
    padding: 44px 44px 44px 80px; /* left padding clears the overlap */
    animation: contactFadeUp 0.5s ease both;
}

@keyframes contactFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form-card h1 {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: #000;
}

.contact-form-card label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-bottom: 6px;
    display: block;
}

.contact-req {
    color: var(--accent);
}

.contact-input,
.contact-select {
    border: 1.5px solid var(--text-dark);
    border-radius: 10px;
    font-size: 0.82rem;
    padding: 10px 14px;
    color: #000;
    width: 100%;
    height: auto;
    background: #fff;
    font-family: "Poppins", sans-serif;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    outline: none;
    margin-bottom: 6px;
}

.contact-input::placeholder {
    color: #b0b8c8;
    font-style: italic;
    font-size: 0.78rem;
}

.contact-input:focus,
.contact-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 97, 200, 0.11);
}

.contact-phone-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.contact-phone-flag {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid var(--text-dark);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    background: #f5f8ff;
    white-space: nowrap;
    color: #000;
    flex-shrink: 0;
}

.contact-phone-flag img {
    width: 20px;
    border-radius: 3px;
}
.contact-phone-input {
    flex: 1;
}

textarea.contact-input {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 48px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin: 28px auto 0;
    font-family: "Poppins", sans-serif;
    transition:
        background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
}

.contact-submit-btn:hover {
    background: #0a51a8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 97, 200, 0.28);
}

@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        padding: 0 16px;
    }
    .contact-info-card {
        width: 100%;
        margin-right: 0;
        margin-bottom: -24px;
        z-index: 2;
    }
    .contact-form-card {
        padding: 44px 20px 36px;
        width: 100%;
    }
}

/*contact*/
.contact-section {
    background: #f2f8ff;
    padding: 60px 40px 60px;
    position: relative;
    overflow: hidden;
}

/* decorative blob bottom-right */
.contact-section::before {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(12, 97, 200, 0.1);
    bottom: -80px;
    right: 60px;
    pointer-events: none;
}
.contact-section::after {
    content: "";
    position: absolute;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(12, 97, 200, 0.07);
    bottom: 40px;
    right: 20px;
    pointer-events: none;
}

/* ── Outer wrapper: positions both cards ── */
.contact-wrapper {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 12px;
    display: flex;
    align-items: center;
    position: relative;
}

.contact-info-card {
    width: 320px;
    flex-shrink: 0;
    background: var(--primary);
    color: #fff;
    border-radius: var(--card-radius);
    padding: 32px 24px 36px;
    box-shadow: 0 8px 32px rgba(12, 97, 200, 0.25);
    position: relative; /* was absolute — remove that */
    z-index: 2;
    margin-right: -40px; /* overlap onto form card */
    /* remove: top, left, transform */
}

.contact-form-card {
    flex: 1;
    background: #fff;
    border-radius: var(--card-radius);
    box-shadow: 0 8px 32px rgba(12, 97, 200, 0.1);
    padding: 44px 44px 44px 80px;
    /* remove: left: 60% !important */
}

.contact-form-card h1 {
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: #000;
}

.contact-info-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-card p {
    font-size: 0.75rem;
    line-height: 1.7;
    opacity: 0.88;
    text-align: justify;
    margin-bottom: 0;
}

.contact-info-divider {
    border: none;
    border-top: 1.5px solid rgba(255, 255, 255, 0.4);
    margin: 16px 0;
}

.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.78rem;
    margin-bottom: 14px;
    opacity: 0.92;
    line-height: 1.5;
}

.contact-info-row svg {
    flex-shrink: 0;
    margin-top: 1px;
}

.contact-follow-label {
    font-size: 0.82rem;
    font-weight: 700;
    margin-top: 16px;
    margin-bottom: 10px;
}

.contact-social-icons {
    display: flex;
    gap: 10px;
}

.contact-social-icons a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition:
        background 0.2s,
        border-color 0.2s;
}

.contact-social-icons a:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.contact-social-icons svg {
    width: 16px;
    height: 16px;
    fill: #fff;
}

/* ── Form fields ── */
.contact-form-card label {
    font-size: 14px;
    font-weight: 500;
    color: #000;
    margin-bottom: 6px;
    display: block;
}

.contact-req {
    color: var(--accent);
}

.contact-input,
.contact-select {
    border: 1.5px solid var(--text-dark);
    border-radius: 10px;
    font-size: 0.82rem;
    padding: 10px 14px;
    color: #000;
    width: 100%;
    height: auto;
    background: #fff;
    font-family: "Poppins", sans-serif;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    outline: none;
    margin-bottom: 6px;
}

.contact-input::placeholder {
    color: #b0b8c8;
    font-style: italic;
    font-size: 0.78rem;
}

.contact-input:focus,
.contact-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(12, 97, 200, 0.11);
}

.contact-phone-group {
    display: flex;
    gap: 8px;
    align-items: center;
}

.contact-phone-flag {
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1.5px solid var(--text-dark);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 0.82rem;
    font-weight: 600;
    background: #f5f8ff;
    white-space: nowrap;
    color: #000;
    flex-shrink: 0;
}

.contact-phone-flag img {
    width: 20px;
    border-radius: 3px;
}
.contact-phone-input {
    flex: 1;
}

textarea.contact-input {
    resize: vertical;
    min-height: 120px;
}

.contact-submit-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 10px;
    padding: 12px 48px;
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    display: block;
    margin: 28px auto 0;
    font-family: "Poppins", sans-serif;
    transition:
        background 0.2s,
        transform 0.15s,
        box-shadow 0.2s;
}

.contact-submit-btn:hover {
    background: #0a51a8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 97, 200, 0.28);
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .contact-wrapper {
        padding-left: 0;
    }
    .contact-info-card {
        position: static;
        transform: none;
        width: 100%;
        border-radius: var(--card-radius);
        margin-bottom: 16px;
    }
    .contact-form-card {
        padding: 32px 20px 36px;
    }
}

.social .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    /* Circle size */
    height: 40px;
    border-radius: 50%;
    /* Makes it circular */
    font-size: 20px;
    color: var(--primary);
    border: 1px solid var(--primary);
    transition: all 0.3s ease;
    text-decoration: none;
    /* Removes underline */
}

.social .icon:hover {
    background: var(--primary);
    color: #fff;
    /* White icon on hover */
    border-color: var(--primary);
}
