/* ---------- Tokens ---------- */
:root {
    --bg: #0b1020;
    --surface: #0b1020;
    --text: #eef1ff;
    --muted: #556078;
    --line: rgba(16, 24, 40, .1);
    --ph: rgba(16, 24, 40, .07);
    --accent: #007BFF;
    --accent-ink: #ffffff;
    --bar-bg: rgba(19, 26, 46, .82);
    --pill-bg: #101a3a;
    --pill-text: #f4f6ff;
    --pill-muted: #aab4d6;
    --amber: #ffc94a;
    --amber-ink: #1b1400;
    --font: "Bricolage Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;
    box-sizing: border-box;
    padding-top: env(safe-area-inset-top, 0px);
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

*,
*::before,
*::after {
    box-sizing: inherit
}

html {
    scroll-padding-top: env(safe-area-inset-top, 0px);
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: var(--font);
    line-height: 1.3;
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

/* ---------- Shared base ---------- */
.site-header {
    position: sticky;
    top: env(safe-area-inset-top, 0px);
    z-index: 50
}

.site-header .inner {
    display: flex;
    align-items: center;
    gap: 10px
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-right: auto;
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: -.04em;
    color: inherit;
    text-decoration: none
}

.logo img {
    width: 150px;
}

/* checkbox powers the mobile menu with no JavaScript */
.toggle {
    position: absolute;
    opacity: 0;
    width: 1px;
    height: 1px
}

.nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s
}

.toggle:checked~.nav {
    opacity: 1;
    visibility: visible;
    transform: none
}

.nav a {
    display: block;
    outline: none;
    padding: 12px 14px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    color: inherit;
    transition: background .2s, color .2s
}

.cta {
    display: inline-flex;
    align-items: center;
    padding: 9px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: .92rem;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .15s ease, box-shadow .2s ease
}

.cta:hover {
    transform: translateY(-1px)
}

.cta:active {
    transform: none
}

.burger {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    cursor: pointer
}

.burger i,
.burger i::before,
.burger i::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 2px;
    background: var(--burger);
    transition: transform .25s ease, background .2s
}

.burger i {
    position: relative
}

.burger i::before,
.burger i::after {
    content: "";
    position: absolute;
    left: 0
}

.burger i::before {
    top: -6px
}

.burger i::after {
    .toggle:checked~.burger i {
        background: transparent
    }

    .toggle:checked~.burger i::before {
        transform: translateY(6px) rotate(45deg)
    }

    .toggle:checked~.burger i::after {
        transform: translateY(-6px) rotate(-45deg)
    }

    .site-header a:focus-visible,
    .toggle:focus-visible~.burger {
        outline: 2px solid var(--focus);
        outline-offset: 2px
    }

    top: 6px
}

/* ---------- Variation 1: frosted bar ---------- */
.site-header--bar {
    --mark: var(--accent);
    --burger: var(--text);
    --focus: var(--accent);
    background: var(--bar-bg);
    color: var(--text);
    border-bottom: 1px solid var(--line);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    backdrop-filter: saturate(180%) blur(14px)
}

.site-header--bar .inner {
    max-width: 1100px;
    margin: 0 auto;
    height: 64px;
    padding: 0 12px 0 20px
}

.site-header--bar .nav {
    padding: 8px 12px 14px;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 28px -18px rgba(16, 24, 40, .35)
}

.site-header--bar .nav a:hover,
.site-header--bar .nav a[aria-current] {
    background: var(--ph)
}

.site-header--bar .cta {
    background: var(--accent);
    color: var(--accent-ink);
    box-shadow: 0 6px 14px -6px rgba(37, 71, 245, .65)
}


/* ---------- Desktop: inline nav, hide the burger ---------- */
@media (min-width:860px) {
    .site-header .inner {
        gap: 20px
    }

    .logo {
        margin-right: 0
    }

    .site-header .nav {
        position: static;
        flex-direction: row;
        gap: 2px;
        margin-inline: auto;
        padding: 0;
        background: none;
        border: 0;
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none
    }

    .site-header .nav a {
        padding: 8px 14px;
        border-radius: 999px
    }

    .site-header .burger {
        display: none
    }

    .site-header .cta {
        padding: 10px 20px;
        font-size: .95rem
    }

    .site-header--bar .nav a {
        position: relative;
        color: var(--muted);
        border-radius: 8px
    }

    .site-header--bar .nav a:hover,
    .site-header--bar .nav a[aria-current] {
        background: none;
        color: var(--text)
    }

    .site-header--bar .nav a::after {
        content: "";
        position: absolute;
        left: 14px;
        right: 14px;
        bottom: 2px;
        height: 2px;
        border-radius: 2px;
        background: var(--accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform .25s ease
    }

    .site-header--bar .nav a:hover::after,
    .site-header--bar .nav a[aria-current]::after {
        transform: scaleX(1)
    }

    .site-header--bar .inner {
        padding: 0 20px
    }

    .site-header--pill .inner {
        height: 60px;
        padding: 0 8px 0 22px
    }
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        transition: none !important
    }
}


/* Main website section */

main {
    padding: 0 50px;
}

.hero-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    border-radius: 8px;
    padding: 0 20px;
}

.hero-section h1 {
    font-size: 80px;
    text-align: center;
}

.hero-section h2 {
    margin-top: -40px;
}

.home-link {
    display: flex;
    gap: 10px;
}

.home-link a {
    text-decoration: none;
    color: white;
    outline: none;
}

.home-link span {
    color: #007BFF;
}

.link img {
    height: 9px;
}

.main-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    width: 100%;
    padding-top: 100px;
    gap: 40px;
}

.learning-div {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.learn-list {
    display: flex;
    padding: 8px;
    gap: 10px;
    align-items: baseline;
}

.mark-icon {
    display: flex;
    background-color: #007BFF;
    align-items: center;
    border: 1px solid #007BFF;
    height: 17px;
    border-radius: 15px;
}

.mark-icon img {
    width: 14px;
    height: 7px;
}

.requirement small {
    font-size: 16px;
}

.requirement .learn-list {
    padding: 0;
}

strong {
    font-size: 60px;
    color: #007BFF;
}

.curriculum {
    margin-top: 50px;
}

.curriculum-div {
    display: flex;
    justify-content: space-between;
    padding-bottom: 20px;
}

.curriculum-div span {
    font-size: 22px;
}

.curriculum-title {
    outline: none;
    background-color: #fcfdff25;
    padding: 5px 0 5px 5px;
    border-radius: 4px;
    margin: 5px 0;
}

.curriculum-details p {
    padding: 0 20px;
}

.curriculum-title:focus-visible {
    background-color: #007BFF;
}


/* Target the summary only when its parent details tag is open */
.curriculum-details[open] .curriculum-title {
    background-color: #007BFF;
}

.question {
    background-color: #fcfdff25;
    border-radius: 8px;
    padding: 20px 30px;
    margin-top: 50px;
}

.question b {
    color: #007BFF;
}

.whatsapp-container{
    display: flex;
    position: fixed;
    bottom: 100px;
    right: 30px;
}

.whatsapp-icon{
    width: 40px;
    height: 40px;
}

/* Footer section */
.footer-section {
    margin-top: 250px;
    padding: 20px;
    border-top: 1px solid #26364b;
}

.main-footer {
    display: flex;
    justify-content: space-evenly;
}

.footer-logo {
    width: 250px;
    margin-left: -50px;
}

.social-icon {
    width: 30px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li a {
    margin-left: -40px;
}

.footer-section a {
    text-decoration: none;
    color: rgb(251, 251, 251);
}

.footer-address p span {
    color: #007BFF;
    font-weight: 600;
}

.footer-bottom {
    border-top: 1px solid #26364b;
    margin-top: 20px;
    padding: 17px 0;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    color: #909396;
    font-size: 14px
}


/*Targets standard tablets in portrait, small laptops, and iPads */
@media screen and (max-width: 1024px) {

    main {
        padding: 0 30px;
    }

    .main-container {
        display: grid;
        grid-template-columns: 1.5fr 1fr;
    }

    .hero-section h1 {
        font-size: 60px;
        padding-bottom: 20px;
    }

    strong {
        font-size: 50px;
    }

    /* footer section */
    .main-footer {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
    }

    .footer-logo {
        width: 150px;
        margin-left: -20px;
    }

    .social-icon {
        width: 30px;
    }

    .des-container p {
        font-size: .7rem;
    }

    .footer-links ul li a {
        font-size: .7rem;
    }

    .footer-address p {
        font-size: .7rem;
    }
}

/* Styles inside here apply ONLY to screens 768px wide or less */
@media screen and (max-width: 600px) {

    main {
        padding: 0 0 0 20px;
    }

    .main-container {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-section {
        margin-bottom: -100px;
    }

    .hero-section h1 {
        font-size: 35px;
        padding-bottom: 40px;
    }

    strong {
        font-size: 40px;
    }

    .curriculum-div span {
        font-size: 18px;
    }

    /* Footer section */
    .footer-section {
        padding: 20px;
    }

    .main-footer {
        display: block;
    }

    .des-container p {
        font-size: .8rem;
    }

    .footer-links ul li a {
        font-size: .8rem;
    }

    .footer-links {
        padding-top: 30px;
    }

    .footer-address {
        padding-top: 20px;
    }

    .footer-address p {
        font-size: .8rem;
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
    }

    .footer-bottom span {
        font-size: .6rem;
    }

    .container {
        margin: 0px 20px 0 0px;
    }
}