/* Home page – readability & alignment */

/* Hero carousel – equal height for all slides (no layout jump on slide change) */
#heroCarousel.hero-carousel-fixed {
    height: 520px;
    min-height: 520px;
}
#heroCarousel.hero-carousel-fixed .carousel-inner,
#heroCarousel.hero-carousel-fixed .carousel-item {
    height: 100%;
    min-height: 520px;
}
#heroCarousel.hero-carousel-fixed .carousel-item .row {
    min-height: 460px;
    align-items: center;
}
@media (max-width: 768px) {
    #heroCarousel.hero-carousel-fixed,
    #heroCarousel.hero-carousel-fixed .carousel-inner,
    #heroCarousel.hero-carousel-fixed .carousel-item {
        min-height: 520px;
    }
    #heroCarousel.hero-carousel-fixed .carousel-item .row {
        min-height: 460px;
    }
}

.overflow-auto::-webkit-scrollbar {
    display: none;
}

.blog-card:hover {
    box-shadow: 0 8px 32px rgba(95, 103, 105, 0.13), 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-4px) scale(1.02);
}

 :root {
    --bg: #0b1020;
    --text: #222;
    --muted: #555;
    --line: rgba(0, 0, 0, .08);
    --accent: #7c5cff;
    --accent2: #22c55e;
    --shadow: 0 18px 45px rgba(0, 0, 0, .35);
    --radius: 18px;
    --max: 1180px;
}

* {
    box-sizing: border-box
}

body {
    margin: 0;
    font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", sans-serif;
    color: var(--text);
    line-height: 1.55;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 900;
    letter-spacing: .4px
}

.logo {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), #2dd4bf);
    box-shadow: 0 10px 22px rgba(124, 92, 255, .25);
}

.brand small {
    display: block;
    color: rgba(233, 238, 252, .85);
    font-weight: 950
}

.brand span {
    display: block;
    color: var(--muted);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .4px
}

.dropdown {
    position: absolute;
    top: 44px;
    left: 0;
    min-width: 340px;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(11, 16, 32, .92);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow);
    display: none;
}

.dropdown h4 {
    margin: 0 0 10px;
    font-size: 13px;
    letter-spacing: .2px;
    color: rgba(233, 238, 252, .92);
    font-weight: 950
}

.course-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.course-chip {
    padding: 10px 10px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .10);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    font-size: 12px;
    font-weight: 850;
    line-height: 1.2;
}

.course-chip span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 750
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 14px;
    font-weight: 850;
    border: 1px solid rgba(255, 255, 255, .14);
    background: rgba(255, 255, 255, .06);
    transition: transform .15s ease, background .15s ease, border-color .15s ease;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
}

.btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, .10);
    border-color: rgba(255, 255, 255, .20)
}

.btn.primary {
    background: linear-gradient(135deg, #008fb8, #50a7c0);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 14px 30px rgb(159 182 165)
}

.btn.success {
    background: linear-gradient(135deg, var(--accent2), #86efac);
    border-color: transparent;
    color: #05210f
}

.btn.block {
    width: 100%
}

.card {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .07);
    border-radius: var(--radius);
    box-shadow: 0 4px 20px rgba(0, 0, 0, .06);
    overflow: hidden;
}

.card-inner {
    padding: 18px;
    color: #000;
}

.pill {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, .08);
    background: rgba(248, 250, 252, .9);
    color: #555;
    font-size: 13px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(124, 92, 255, .18)
}

.muted {
    color: #555
}

.section {
    padding: 48px 0 36px;
}

.hero {
    padding: 22px
}

.hero h1 {
    margin: 12px 0 10px;
    font-size: clamp(28px, 3.2vw, 46px);
    line-height: 1.08;
    letter-spacing: -.9px
}

.hero p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    max-width: 72ch
}

.meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 18px
}

.two {
    grid-template-columns: 1fr 1fr
}

.three {
    grid-template-columns: repeat(3, 1fr)
}

.highlights {
    grid-template-columns: repeat(4, 1fr);
    color: #222;
}

@media (max-width:991px) {
    .two {
        grid-template-columns: 1fr
    }
    .three {
        grid-template-columns: 1fr
    }
    .highlights {
        grid-template-columns: 1fr 1fr
    }
}

@media (max-width:576px) {
    .highlights {
        grid-template-columns: 1fr
    }
}

.item {
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 0, 0, .06);
    background: #fff;
    min-height: 120px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.item strong {
    display: block;
    margin-top: 10px;
    font-size: 1rem;
    color: #222;
}

.item span {
    display: block;
    margin-top: 6px;
    color: #555;
    font-size: 0.9rem;
    line-height: 1.45;
}

.title {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
}

.title h2 {
    margin: 0;
    font-size: clamp(20px, 2.0vw, 28px);
    letter-spacing: -.4px;
    line-height: 1.25;
    color: #222;
}

.title p {
    margin: 8px 0 0;
    color: var(--muted);
    max-width: 64ch;
    font-size: 1rem;
    line-height: 1.55;
}

.list {
    display: grid;
    gap: 10px;
    margin-top: 10px
}

.li {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 14px 14px;
    border-radius: 12px;
    border: 1px solid rgba(0, 0, 0, .06);
    background: rgba(248, 250, 252, .8);
}

.tick {
    width: 18px;
    height: 18px;
    border-radius: 8px;
    background: rgba(34, 197, 94, .18);
    border: 1px solid rgba(34, 197, 94, .35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex: 0 0 auto;
}

.tick::after {
    content: "✓";
    font-size: 11px;
    color: #16a34a;
    font-weight: 900
}

.li b {
    display: block;
    color: #222;
    font-size: 0.95rem;
}

.li small {
    display: block;
    margin-top: 4px;
    color: #555;
    font-size: 0.88rem;
    line-height: 1.4;
}

label {
    font-size: 12px;
    color: rgba(13, 13, 14, 0.9);
    font-weight: 900
}

input,
select,
textarea {
    width: 100%;
    padding: 12px 12px;
    border-radius: 14px;
    border: 1px solid rgba(15, 15, 15, 0.12);
    background: rgba(255, 255, 255, .05);
    color: var(--text);
    outline: none;
}

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

input::placeholder,
textarea::placeholder {
    color: rgba(15, 15, 15, 0.75)
}

.form {
    display: grid;
    gap: 10px
}


/* Testimonial Horizontal Scroll */

.testimonial-scroll-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: none;
}

.testimonial-scroll-wrapper::-webkit-scrollbar {
    display: none;
}

.testimonial-card {
    flex: 0 0 auto;
    width: 250px;
    /* Same width as course */
    scroll-snap-align: start;
    color: #000;
}

.testimonial-card .card {
    border-radius: 10px;
    padding: 15px;
    transition: 0.3s ease;
}

.testimonial-card .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.testimonial-img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
}

.testimonial-text {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 10px;
    line-height: 1.5;
}

.testimonial-name {
    font-size: 0.9rem;
    font-weight: 600;
}


/* Course horizontal scroll */

.course-scroll-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    scrollbar-width: none;
}

.course-scroll-wrapper::-webkit-scrollbar {
    display: none;
}


/* Smaller FULL Card */

.course-card {
    flex: 0 0 auto;
    width: 210px;
    scroll-snap-align: start;
}


/* Remove big stretching */

.course-card .card {
    border-radius: 10px;
    transition: 0.3s ease;
    height: auto;
}


/* Smaller Image */

.course-card img {
    height: 140px;
    object-fit: cover;
    width: 100%;
    border-radius: 10px 10px 0 0;
}


/* Compact Body */

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


/* Course card text – readable sizes */

.course-card .card-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.3;
}

.course-card .card-text {
    font-size: 0.85rem;
    color: #555;
    line-height: 1.45;
    margin-bottom: 0;
}


/* ===== Roadmap Glow Effect ===== */

.roadmap-glow {
    position: relative;
    background: radial-gradient(600px 300px at 15% 20%, rgb(137 228 255), transparent 60%), radial-gradient(600px 300px at 85% 30%, rgba(34, 197, 94, .12), transparent 60%), #ffffff;
    overflow: hidden;
}


/* Soft blur glow layer */

.roadmap-glow::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px 200px at 30% 10%, rgba(124, 92, 255, .25), transparent 70%), radial-gradient(400px 200px at 70% 90%, rgba(34, 197, 94, .18), transparent 70%);
    filter: blur(60px);
    opacity: .6;
    z-index: 0;
}


/* Make content appear above glow */

.roadmap-glow .container {
    position: relative;
    z-index: 1;
}