:root {
    /* HOME IMAGE SLIDER */
    --maxw: 1400px;
    --bg-dark: #000000;

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

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

    /* QUOTE TEXT COLOR */
    --quote-color: rgb(255, 74, 74);

    /* ICONS AND TEXT HEADING BORDER */
    --accent: #ff5f4a;

    /* LINEAR GRADIENT COLORS */
    --main-bg-linear-color:
        radial-gradient(circle at 50% 20%, rgba(0, 17, 255, 0.158) 0%, transparent 80%),
        radial-gradient(125% 125% at 50% 10%, #000000 40%, #010133 100%);

    /* CARD CONTAINER BG */
    --card-container-bg-color: rgba(255, 255, 255, 0.08);

    /* CARD BG */
    --bg-card: rgba(255, 255, 255, 0.05);

    /* CARD HEADING TEXT*/
    --accent-light: #ffa497;

    /* BOX SHADOW */
    --accent-glow: 0 0 15px rgba(255, 95, 74, 0.6);

    /* BORDER COLOR */
    --border-color: rgba(255, 255, 255, 0.1);
}

* {
    box-sizing: border-box;
}

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


body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    line-height: 1.5;
    color: var(--text-primary);
    background-color: var(--bg-dark);
    background-image: var(--main-bg-linear-color);

}

/* CONTAINER AND TYPOGRAPHY */
.container {
    max-width: var(--maxw);
    padding: 2rem 0.5rem;
    margin: 25px auto;
    padding: 20px;
}

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

h4 {
    letter-spacing: 1px;
}

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

strong {
    letter-spacing: 1px;
}

li {
    color: var(--text-light);
}

main{
    width: 100%;
}


/* HEADING AND IMAGE */
.admission-container {
    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;
    border-radius: 0;
}

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

.admission-inner {
    position: relative;
    z-index: 1;
    color: var(--text-primary);
    padding: 0 .5rem;
}

.admission-inner .subtitle {
    font-size: 1.1rem;
    columns: var(--text-secondary);
}

section {
    background-color: var(--card-container-bg-color);
    border-radius: 8px;
}

/* BUTTONS */
.admission-buttons {
    margin-top: 25px;
}

.admission-buttons,
.admission-buttons-second {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    background-color: transparent;
}

.admission-buttons-second {
    justify-content: flex-end;
    max-width: var(--maxw);
    margin: 0 auto 30px;
}

.admission-buttons a,
.admission-buttons-second a {
    padding: 12px 25px;
    border-radius: 10px;
    background-image: var(--button-gradient);
    color: var(--text-primary);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.4s ease;
    box-shadow: var(--accent-glow);
    text-align: center;
}

.admission-buttons a:hover,
.admission-buttons-second a:hover {
    background-image: var(--button-hover-gradient);
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(255, 95, 74, 0.8);
}


/* STEPS */
.admission-process{
    /* width: 100%; */
    /* overflow-x: hidden; */
}

.admission-process h2,
.eligibility h2,
.documents h2,
.important-dates h2,
.fee-structure h2,
.rte-admission h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-block: 1.5rem;
}

.step {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 20px;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(5px);
}

.step h4 {
    color: var(--accent-light);
    margin-bottom: 0.8rem;
}

.step:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-8px);
    box-shadow: var(--accent-glow);
}

ul {
    list-style: none;
    padding: 0;
}

ul li {
    margin: 20px 0;
    position: relative;
    padding-left: 2rem;
}

ul li::before {
    content: "\f058";
    font-family: "Font Awesome 7 Free";
    font-weight: 900;
    color: var(--accent);
    position: absolute;
    left: 0;
    top: 0;
}

/* RTE Admission Section */
.rte-admission p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.rte-admission ul {
    text-align: left;
    margin: 0 auto 20px auto;
    padding-left: 20px;
    position: relative;
}

.rte-admission ul ul {
    list-style-type: circle;
}

.rte-admission li {
    margin-bottom: 10px;
    color: var(--text-light);
}

.rte-admission ul ul li{
    padding-left: 0;
}

.rte-admission ul ul li::before {
    content: none;
}


/* FEE STRUCTURE */
.fee-structure h1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

thead {
    background-color: red;
    color: blue;
}

th,
td {
    padding: 12px;
    border: 1px solid #ccc;
    text-align: center;
}

.heading {
    margin: 30px 0 0 10px;
    color: #000000;
}

@media (max-width: 1440px) {
    .container {
        margin-inline: 20px;
    }

    .admission-buttons-second {
        margin-inline: 20px;
    }
}


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

    .container {
        padding: 1rem;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.1rem;
    }

    p {
        font-size: 1rem;
    }
}


@media (max-width: 700px) {
    .container {
        margin-inline: 10px;
    }

    .admission-container {
        margin-top: 70px;
    }

    .admission-buttons,
    .admission-buttons-second {
        justify-content: center;
        gap: 0px;
    }

    .admission-buttons a,
    .admission-buttons-second a {
        padding: 10px 20px;
        margin: 10px;
    }
}


@media (max-width: 500px) {
    .admission-inner .subtitle {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    p {
        font-size: 1rem;
    }

}

@media (max-width: 400px) {
    body {
        line-height: 1.1;
    }

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

    p {
        font-size: 1rem;
    }

    th,
    td {
        padding: 5px;
    }

}