
    
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    :root {
        --blue: #1565c0;
        --blue-light: #1e88e5;
        --blue-pale: #e3f0fc;
        --green: #2e7d32;
        --green-light: #43a047;
        --green-pale: #e8f5e9;
        --orange: #e65100;
        --orange-light: #ef6c00;
        --orange-pale: #fff3e0;
        --teal: #00695c;
        --gray-50: #f8fafc;
        --gray-100: #f1f5f9;
        --gray-200: #e2e8f0;
        --gray-400: #94a3b8;
        --gray-600: #475569;
        --gray-800: #1e293b;
        --gray-900: #0f172a;
        --radius: 12px;
        --shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 4px 16px rgba(0, 0, 0, .06);
        --shadow-hover: 0 4px 12px rgba(0, 0, 0, .12), 0 12px 32px rgba(0, 0, 0, .08);
        font-family: 'Inter', system-ui, sans-serif;
    }

    body {
        margin: 0;
        background: #fff;
        color: var(--gray-800);
        line-height: 1.6;
        font-size: 15px;
    }

    a {
        text-decoration: none;
    }

    /* ── Contact Bar ── */
    .contact-bar {
        background: var(--gray-900);
        color: #cbd5e1;
        font-size: 12px;
        padding: 7px 0;
    }

    .contact-item {
        color: #cbd5e1;
        display: inline-flex;
        align-items: center;
        gap: 2px;
    }

    .contact-divider {
        color: #475569;
    }

    .contact-cta {
        background: var(--blue-light);
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        padding: 4px 14px;
        border-radius: 20px;
        transition: background .2s;
        white-space: nowrap;
    }

    .contact-cta:hover {
        background: var(--blue);
        color: #fff;
    }

    .contact-link {
        color: inherit;
        text-decoration: none;
    }

    .contact-link:hover {
        color: #fff;
        text-decoration: underline;
    }

    /* ── Navbar ── */
    .site-navbar {
        background: #fff;
        border-bottom: 1px solid var(--gray-200);
        padding: 10px 0;
        z-index: 1000;
    }

    .navbar-toggler {
        border: none;
        padding: 4px;
        color: var(--gray-800);
    }

    .navbar-toggler:focus {
        box-shadow: none;
    }

    .brand-logo {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .brand-icon {
        width: 36px;
        height: 36px;
        background: var(--gray-900);
        color: #fff;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 800;
        font-size: 18px;
        letter-spacing: -1px;
    }

    .brand-text {
        font-size: 20px;
        font-weight: 700;
        color: var(--gray-900);
        letter-spacing: -0.5px;
    }

    .brand-accent {
        color: var(--blue-light);
    }

    .nav-link-custom {
        color: var(--gray-600) !important;
        font-weight: 500;
        font-size: 14px;
        padding: 6px 12px !important;
        border-radius: 8px;
        transition: background .15s, color .15s;
    }

    .nav-link-custom:hover {
        background: var(--gray-100);
        color: var(--gray-900) !important;
    }

    .btn-nav-login {
        font-size: 13px;
        font-weight: 600;
        padding: 7px 20px;
        border: 1.5px solid var(--blue-light);
        color: var(--blue-light);
        border-radius: 8px;
        transition: all .2s;
    }

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

    .btn-nav-signup {
        font-size: 13px;
        font-weight: 600;
        padding: 7px 20px;
        background: var(--blue-light);
        color: #fff;
        border-radius: 8px;
        transition: background .2s;
    }

    .btn-nav-signup:hover {
        background: var(--blue);
        color: #fff;
    }

    /* ── Ad Banner ── */
    .ad-slide {
        height: 360px;
        position: relative;
        overflow: hidden;
    }

    @media (max-width: 767px) {
        .ad-slide {
            height: auto;
            padding: 40px 0;
        }

        .ad-content {
            padding: 20px 0;
            text-align: center;
        }

        .ad-heading {
            font-size: clamp(20px, 6vw, 32px);
            margin-bottom: 12px;
        }

        .ad-sub {
            font-size: 13px;
            max-width: 100%;
            text-align: center;
        }

        .ad-pills {
            justify-content: center;
            margin-bottom: 16px;
        }

        .ad-pills span {
            font-size: 11px;
            padding: 4px 8px;
        }

        .btn-ad-primary,
        .btn-ad-outline,
        .btn-ad-primary-orange,
        .btn-ad-outline-orange {
            font-size: 12px;
            padding: 8px 24px;
            width: 100%;
        }

        .d-flex.gap-3 {
            flex-direction: column;
            gap: 10px !important;
        }
    }

    .slide-blue {
        background: linear-gradient(120deg, #0d2c6e 0%, #1565c0 50%, #1976d2 100%);
    }

    .slide-teal {
        background: linear-gradient(120deg, #004d40 0%, #00695c 50%, #00897b 100%);
    }

    .slide-dark {
        background: linear-gradient(120deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    }

    .ad-content {
        padding: 24px 0;
    }

    .ad-tag {
        display: inline-block;
        background: rgba(255, 255, 255, .15);
        border: 1px solid rgba(255, 255, 255, .3);
        color: #fff;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .5px;
        text-transform: uppercase;
        padding: 4px 12px;
        border-radius: 20px;
        margin-bottom: 12px;
    }

    @media (max-width: 767px) {
        .ad-tag {
            font-size: 10px;
            padding: 3px 10px;
            margin-bottom: 10px;
        }
    }

    .ad-tag-orange {
        background: rgba(230, 81, 0, .25);
        border-color: rgba(239, 108, 0, .5);
        color: #ffcc80;
    }

    @media (max-width: 767px) {
        .ad-tag-orange {
            font-size: 10px;
        }
    }

    .ad-heading {
        font-size: clamp(22px, 4vw, 40px);
        font-weight: 800;
        color: #fff;
        line-height: 1.2;
        letter-spacing: -1px;
        margin-bottom: 8px;
    }

    .ad-hl {
        color: #ffd54f;
    }

    .ad-hl-orange {
        color: #ffb74d;
    }

    .ad-pills {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }

    .ad-pills span {
        background: rgba(255, 255, 255, .15);
        border: 1px solid rgba(255, 255, 255, .25);
        color: #fff;
        font-size: 12px;
        font-weight: 600;
        padding: 3px 10px;
        border-radius: 4px;
    }

    .ad-pills-orange span {
        background: rgba(239, 108, 0, .2);
        border-color: rgba(239, 108, 0, .4);
        color: #ffcc80;
    }

    .ad-sub {
        color: rgba(255, 255, 255, .75);
        font-size: 14px;
        margin: 0;
        max-width: 420px;
    }

    .btn-ad-primary {
        background: #ffd54f;
        color: #0d2c6e;
        font-weight: 700;
        font-size: 13px;
        padding: 10px 28px;
        border-radius: 8px;
        transition: all .2s;
    }

    .btn-ad-primary:hover {
        background: #ffca28;
        color: #0d2c6e;
        transform: translateY(-1px);
    }

    .btn-ad-outline {
        border: 2px solid rgba(255, 255, 255, .6);
        color: #fff;
        font-weight: 600;
        font-size: 13px;
        padding: 8px 24px;
        border-radius: 8px;
        transition: all .2s;
    }

    .btn-ad-outline:hover {
        border-color: #fff;
        background: rgba(255, 255, 255, .1);
        color: #fff;
    }

    .btn-ad-primary-orange {
        background: #ff8f00;
        color: #fff;
        font-weight: 700;
        font-size: 13px;
        padding: 10px 28px;
        border-radius: 8px;
        transition: all .2s;
    }

    .btn-ad-primary-orange:hover {
        background: #ef6c00;
        color: #fff;
    }

    .btn-ad-outline-orange {
        border: 2px solid rgba(255, 183, 77, .6);
        color: #ffb74d;
        font-weight: 600;
        font-size: 13px;
        padding: 8px 24px;
        border-radius: 8px;
        transition: all .2s;
    }

    .btn-ad-outline-orange:hover {
        background: rgba(255, 183, 77, .1);
        color: #ffb74d;
    }

    .ad-img {
        height: 320px;
        width: auto;
        object-fit: cover;
        object-position: top;
        border-radius: 12px 12px 0 0;
        filter: drop-shadow(0 8px 24px rgba(0, 0, 0, .3));
    }

    @media (max-width: 767px) {
        .ad-img {
            height: 220px;
        }

        .row.h-100 {
            height: auto !important;
        }
    }

    .ad-indicators {
        bottom: 12px;
    }

    .ad-indicators [data-bs-target] {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .5);
        border: none;
    }

    .ad-indicators .active {
        background: #fff;
        width: 20px;
        border-radius: 4px;
    }

    /* ── Courses Section ── */
    .courses-section {
        background: var(--gray-50);
        padding: 64px 0;
    }

    .section-tag {
        display: inline-block;
        background: var(--blue-pale);
        color: var(--blue-light);
        font-size: 12px;
        font-weight: 700;
        letter-spacing: .8px;
        text-transform: uppercase;
        padding: 4px 14px;
        border-radius: 20px;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: clamp(22px, 4vw, 34px);
        font-weight: 800;
        color: var(--gray-900);
        letter-spacing: -1px;
        margin-bottom: 8px;
    }

    .section-sub {
        color: var(--gray-600);
        font-size: 15px;
        margin: 0;
    }

    /* ── Course Card ── */
    .course-card {
        background: #fff;
        border-radius: var(--radius);
        box-shadow: var(--shadow);
        overflow: hidden;
        transition: transform .22s, box-shadow .22s;
        display: flex;
        flex-direction: column;
        aspect-ratio: 1 / 1.18;
    }

    .course-card:hover {
        transform: translateY(-4px);
        box-shadow: var(--shadow-hover);
    }

    .course-thumb {
        position: relative;
        flex-shrink: 0;
        height: 48%;
        overflow: hidden;
    }

    .course-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform .3s;
    }

    .course-card:hover .course-thumb img {
        transform: scale(1.04);
    }

    .cbadge {
        position: absolute;
        top: 8px;
        left: 8px;
        font-size: 10px;
        font-weight: 700;
        padding: 2px 8px;
        border-radius: 4px;
        letter-spacing: .3px;
    }

    .cbadge-blue {
        background: var(--blue-light);
        color: #fff;
    }

    .cbadge-green {
        background: var(--green-light);
        color: #fff;
    }

    .cbadge-orange {
        background: var(--orange-light);
        color: #fff;
    }

    .course-body {
        padding: 10px 12px 12px;
        display: flex;
        flex-direction: column;
        flex: 1;
        min-height: 0;
    }

    .ctag {
        font-size: 10px;
        font-weight: 700;
        letter-spacing: .4px;
        text-transform: uppercase;
        padding: 2px 8px;
        border-radius: 4px;
        display: inline-block;
        margin-bottom: 6px;
        width: fit-content;
    }

    .ctag-blue {
        background: var(--blue-pale);
        color: var(--blue);
    }

    .ctag-green {
        background: var(--green-pale);
        color: var(--green);
    }

    .ctag-orange {
        background: var(--orange-pale);
        color: var(--orange);
    }

    .ctitle {
        font-size: clamp(12px, 2.2vw, 14px);
        font-weight: 700;
        color: var(--gray-900);
        margin: 0 0 3px;
        line-height: 1.3;
        overflow: hidden;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
    }

    .cmeta {
        font-size: 11px;
        color: var(--gray-400);
        margin: 0 0 6px;
    }

    .cprice {
        display: flex;
        align-items: baseline;
        gap: 6px;
        margin-bottom: 8px;
    }

    .price-new {
        font-size: 15px;
        font-weight: 800;
        color: var(--gray-900);
    }

    .price-old {
        font-size: 11px;
        color: var(--gray-400);
        text-decoration: line-through;
    }

    .cactions {
        display: flex;
        gap: 6px;
        margin-top: auto;
    }

    .btn-demo {
        flex: 1;
        font-size: 11px;
        font-weight: 700;
        padding: 6px 4px;
        border-radius: 7px;
        background: var(--blue-light);
        color: #fff;
        text-align: center;
        transition: background .18s;
        white-space: nowrap;
    }

    .btn-demo:hover {
        background: var(--blue);
        color: #fff;
    }

    .btn-detail {
        flex: 1;
        font-size: 11px;
        font-weight: 600;
        padding: 6px 4px;
        border-radius: 7px;
        border: 1.5px solid var(--gray-200);
        color: var(--gray-600);
        text-align: center;
        transition: all .18s;
        white-space: nowrap;
    }

    .btn-detail:hover {
        border-color: var(--blue-light);
        color: var(--blue-light);
    }

    .btn-view-all {
        font-size: 14px;
        font-weight: 600;
        padding: 12px 36px;
        border: 2px solid var(--blue-light);
        color: var(--blue-light);
        border-radius: 10px;
        transition: all .2s;
    }

    .btn-view-all:hover {
        background: var(--blue-light);
        color: #fff;
    }

    /* ── Responsive Course Cards ── */
    /* Tablets (768px - 991px) */
    @media (min-width: 768px) and (max-width: 991px) {
        .course-card {
            aspect-ratio: 1 / 1.25;
        }

        .course-body {
            padding: 12px 14px 14px;
        }

        .ctitle {
            font-size: clamp(13px, 2vw, 15px);
            margin-bottom: 4px;
        }

        .cmeta {
            font-size: 12px;
            margin-bottom: 8px;
        }

        .price-new {
            font-size: 16px;
        }

        .price-old {
            font-size: 12px;
        }

        .btn-demo,
        .btn-detail {
            font-size: 12px;
            padding: 7px 5px;
        }

        .courses-section {
            padding: 48px 0;
        }

        .row.g-3.g-md-4 {
            gap: 1rem;
        }
    }

    /* Small Laptops (992px - 1200px) */
    @media (min-width: 992px) and (max-width: 1200px) {
        .row.g-3.g-md-4 [class*="col-"] {
            flex: 0 0 calc(33.333% - 12px);
            max-width: calc(33.333% - 12px);
        }

        .course-card {
            aspect-ratio: 1 / 1.2;
        }

        .course-body {
            padding: 13px 14px 15px;
        }

        .ctitle {
            font-size: 14px;
        }

        .cmeta {
            font-size: 12px;
            margin-bottom: 8px;
        }

        .price-new {
            font-size: 16px;
        }

        .price-old {
            font-size: 12px;
        }

        .btn-demo,
        .btn-detail {
            font-size: 12px;
            padding: 7px 5px;
        }
    }

    /* Mobile (max-width 767px) */
    @media (max-width: 767px) {
        .course-card {
            /* Taller card so bottom CTAs aren't clipped by `overflow: hidden` */
            aspect-ratio: 1 / 1.6;
        }

        .course-body {
            padding: 10px 12px 12px;
        }

        .ctitle {
            font-size: 13px;
            -webkit-line-clamp: 2;
        }

        .cmeta {
            font-size: 11px;
        }

        .price-new {
            font-size: 14px;
        }

        .price-old {
            font-size: 11px;
        }

        .btn-demo,
        .btn-detail {
            font-size: 10px;
            padding: 6px 4px;
        }

        .cactions {
            /* If width is tight, allow buttons to wrap instead of clipping */
            flex-wrap: wrap;
        }

        /* "View All Courses" CTA should stay visible on mobile */
        .btn-view-all {
            width: 100%;
            max-width: 360px;
            padding: 12px 16px;
            font-size: 13px;
            display: inline-flex;
            justify-content: center;
            align-items: center;
            margin-left: auto;
            margin-right: auto;
        }
    }

    /* ── Footer ── */
    .site-footer {
        background: var(--gray-900);
        padding: 48px 0 24px;
    }

    .footer-brand-logo {
        display: inline-flex;
        text-decoration: none;
    }

    .footer-brand-text {
        color: #fff;
    }

    .footer-brand-text .brand-accent {
        color: #60a5fa;
    }

    .footer-brand-sub {
        color: #94a3b8;
    }

    .footer-desc {
        color: #94a3b8;
        font-size: 13px;
        line-height: 1.6;
        margin: 0;
    }

    .footer-heading {
        color: #fff;
        font-size: 13px;
        font-weight: 700;
        letter-spacing: .5px;
        text-transform: uppercase;
        margin-bottom: 12px;
    }

    .footer-links {
        list-style: none;
        padding: 0;
        margin: 0;
        display: flex;
        flex-direction: column;
        gap: 8px;
    }

    .footer-links a {
        color: #94a3b8;
        font-size: 13px;
        transition: color .18s;
    }

    .footer-links a:hover {
        color: #fff;
    }

    .social-icons a {
        color: #64748b;
        font-size: 20px;
        transition: color .18s;
    }

    .social-icons a:hover {
        color: #fff;
    }

    .footer-hr {
        border-color: #1e293b;
        margin: 32px 0 16px;
    }

    .footer-copy {
        color: #475569;
        font-size: 12px;
        margin: 0;
    }

    /* ── Carousel Controls ── */
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        opacity: 0;
        transition: opacity .2s;
    }

    .carousel:hover .carousel-control-prev,
    .carousel:hover .carousel-control-next {
        opacity: 1;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 28px;
        height: 28px;
        background-color: rgba(0, 0, 0, .3);
        border-radius: 50%;
        background-size: 50%;
    }
    .brand-logo {
    display: flex;
    align-items: center;
    gap: 9px;
}

.logo-image {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    object-fit: cover;
    object-position: center;
    flex-shrink: 0;
}

.brand-text-wrap {
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.brand-text {
    font-size: 18px;
    font-weight: 800;
    color: var(--gray-900);
    letter-spacing: -0.5px;
    line-height: 1;
}

.brand-sub {
    font-size: 10px;
    color: var(--gray-600);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    line-height: 1;
}

.brand-accent {
    color: var(--blue-light);
}
.site-footer {
    background: #0f172a;  /* dark background */
    color: #cbd5f5;
}

.footer-brand-text {
    color: #ffffff;   /* makes LazyIITians visible */
    font-weight: 700;
}

.brand-accent {
    color: #38bdf8;   /* highlight IITians */
}

.footer-brand-sub {
    color: #94a3b8;
}

.site-footer a {
    color: #cbd5f5;
}

.site-footer a:hover {
    color: #38bdf8;
}
.footer-brand-text {
    color: #ffffff !important;
}
