:root {
    --bg-dark: #000000;

    /* TEXT */
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-light: #dbdbdbd3;

    /* BUTTON */
    --button-text-color: #FFFFFF;
    --button-gradient: linear-gradient(135deg, rgba(255, 95, 74, 0.986) 0%, rgb(248, 162, 151) 100%);
    --quote-color: rgb(255, 74, 74);

    /* HOME IMAGE SLIDER */
    --maxw: 1400px;

    /* LINEAR GRADIENT COLORS */
    --second-linear-gradient: radial-gradient(circle at 50% 50%, rgba(1, 1, 51, 0.25) 20%, rgba(0, 0, 0, 0.1) 50%, #000000 100%), linear-gradient(180deg, #0a0a0a 0%, #010133 100%);
}

::selection {
    background: #d67063;
    color: white;
}


* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    line-height: 1.5;
    scroll-behavior: smooth;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    overflow-x: hidden;
}

/* CONTAINER AND TYPOGRAPHY */
.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 2rem 1rem;
    overflow-x: hidden;
}

h1 {
    font-size: 3.5rem;
    line-height: 1;
    color: var(--text-primary);
    margin: 0 0 1rem 0;

}

h2 {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    letter-spacing: 3px;

}

h3 {
    font-size: 1.35rem;
    color: var(--text-secondary);
    margin: 0 0 0.5rem 0;
    letter-spacing: 2px;
}

p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin: 0 0 0.5rem 0;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

b {
    letter-spacing: 1px;
}



main {
    background-image: var(--second-linear-gradient);
}

/* HEADING */
.academics {
    margin-top: 90px;
    position: relative;
    height: 380px;
    background: url('/images/school-image-1.JPG') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.academics-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .5);
}

.academics-inner {
    position: relative;
    z-index: 1;
    color: #fff;
    padding: 0 .5rem;
}

.academics-inner .subtitle {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* CURRICULUM OVERVIEW */
.curriculum-container {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    overflow-x: hidden;
}

.card {
    background: #504f4f;
    color: black;
    border-radius: 14px;
    padding: 1.5rem;
}

.card ul {
    margin: .5rem 0 0 2rem;
}

/* SUBJECTS */
.subjects-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.subjects-grid h4 {
    font-size: 1.1rem;
    margin-bottom: .4rem;
}

.subjects-grid ul {
    margin-left: 1.5rem;
}

/* APPROACH AND ANNOUNCEMENT */
.approach-and-assessment article+article {
    margin-top: 2rem;
}

.muted {
    color: #555;
    font-size: 1rem;
}

/* HOMEWORK */
.ticks li {
    list-style: none;
    position: relative;
    padding-left: 1.4rem;
    margin: .35rem .5rem;
}

.ticks li::before {
    content: "✓";
    position: absolute;
    inset: 0;
}

/* CTA */
.cta {
    text-align: center;
}

.btn {
    display: inline-block;
    background-image: var(--button-gradient);
    color: var(--button-text-color);
    padding: .8rem 1.2rem;
    border-radius: 12px;
    margin: .25rem;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
}

.btn:hover {
    box-shadow: 0 0 20px rgb(255, 79, 79);
}


.imp {
    font-weight: 700;
}

li {
    text-transform: capitalize;
}

details {
    font-size: 15px;
    cursor: pointer;
    transition-duration: 1s;
}

details:open {
    background-color: #222222;
    padding: 3px 5px;
    border-radius: 5px;
}


/* RESPONSIVENESS */
@media (max-width: 800px) {
    body {
        line-height: 1.4;
    }

    .container {
        padding: 1rem 0.8rem;
    }

    h1 {
        font-size: 3rem;
        line-height: 1;
    }

    h2 {
        font-size: 2rem;
        margin-bottom: .75rem;
    }

    h3 {
        font-size: 1.2rem;
        margin-bottom: .5rem;
    }

    p,
    li {
        font-size: 1rem;
    }

    .curriculum-container .card {
        padding: 1rem;
    }
}

@media (max-width: 700px) {
    .academics {
        margin-top: 70px;
    }
}

@media (max-width: 500px) {
    .curriculum-container .card {
        padding: .7rem;
    }

    .academics-inner .subtitle {
        font-size: 1rem;
    }

    body {
        line-height: 1.3;
    }

    h1 {
        font-size: 2rem;
        line-height: 1;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p,
    li {
        font-size: 1rem;
    }

    .btn {
        padding: .5rem .8rem;
        border-radius: 10px;
    }
}


@media (max-width: 400px) {

    body {
        line-height: 1.3;
    }

    h1 {
        font-size: 1.5rem;
        line-height: 1;
    }

    h2 {
        font-size: 1.2rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    p,
    li {
        font-size: 1rem;
    }

}