*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

:root {
    /* Font Family */
    --FF: "Quicksand", sans-serif, system-ui;
    --FF-para: "Raleway", sans-serif, system-ui;
    --FS: clamp(1rem, 2.2vh, 1.5rem);
    --fs-56: 3.5rem;

    /* Colors */
    --bg-color: #F7F7F7;
    --border-color: #333;
    --btn-color: orange;
    --main-color: #01ACFD;
    --text-color: #111111;
    --white-color: white;
    --link-hover: hsla(0, 0%, 0%, 0.6);
    --para-color: #808080;

    /* Borders */
    --borders: 1px solid var(--border-color);

    /* Spacings- Google Mama says, In Most Browser 1 rem equal to 16 pixel */
    --margin: clamp(1em, 2.5vh, 1.5em) 0;
    --s-2: 2rem;
    --s-10: 12px;
    --s-12: 12px;
}

html {
    scroll-behavior: smooth;
    font-family: var(--FF);
    font-size: var(--FS);
}

body {
    /* box-sizing: border-box; */
    word-break: break-word;
    text-rendering: optimizeLegibility;
    min-height: 100vh;
    background-color: var(--white-color);
    /* max-width: 1200px; */
    /* margin: 0 auto;
    /* border-left: var(--borders);
    border-right: var(--borders);
    box-shadow: 0 0 10px var(--borders) */
}

/* Common Styles */
a:any-link {
    text-decoration: none;
}

a:hover, a:focus-visible {
    color: var(--link-hover);
}

a:active {
    color: var(--btn-color);
}

li {
    list-style-type: none;
}

p {
    line-height: 1.5;
}

button {
    background: none;
    border: none;
    outline: none;
    box-shadow: none;
    cursor: pointer;
    transition: all 0.5s ease;
}

.btn {
    background-color: var(--btn-color);
    color: var(--white-color);
    padding: var(--s-10);
    border-radius: var(--s-12);
    width: 197px;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

input, button, textarea {
    font: inherit;
}

.d-none {
    display: none !important;
}

.nowrap {
    white-space: nowrap;
}

.text-center {
    text-align: center;
}

.text-black {
    color: var(--text-color);
}

.fs-20 {
    font-size: 1.25rem;
}

.fs-32 {
    font-size: var(--s-2);
}

.fw-bold {
    font-weight: bold;
}

.fw-medium {
    font-weight: 600;
}

.uppercase {
    text-transform: uppercase;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.flex-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-col-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 80px;
}

.bg-img {
    background-image: url('./../assets/bg.png');
    background-position: center;
    background-size: cover;
}

h3 {
    font-size: 2.875rem;
}

/* Header Section */
#header {
    gap: 11.625rem;
    margin-top: 15px;
    padding: 0 10%;
}

.header__nav {
    gap: 32px;
}

.header__nav>li:nth-child(1) a {
    color: var(--btn-color);
}

.header__nav>li:nth-child(2) a {
    color: var(--main-color);
}

.header__nav>li:nth-child(3) a {
    color: #05D4DF;
}

.header__nav>li:nth-child(4) a {
    color: #5D58EF;
}

/* Banner Section */
#banner {
    gap: 50px;
    padding: 0 10%;
}

#banner h2 {
    font-size: var(--fs-56);
}

#banner h2>span:nth-child(1) {
    color: var(--btn-color);
}

#banner h2>span:nth-child(3) {
    color: var(--main-color);
}

#banner .banner_title-container {
    align-items: start;
    gap: 24px;
}

#banner button {
    background-color: black;
}

/* Curriculumn Section */
#curriculam {
    padding: 60px 0;
    padding: 0 10%;
}

#curriculam>h3 {
    margin-top: 100px;
}

#curriculam .curriculam__cards {
    gap: 20px;
}

#curriculam .classes__card {
    width: 367.8px;
    height: 476.78px;
    gap: 30px;
    border-radius: 18.86px;
    box-shadow: inset 0px 0px 28.3px 0.94px rgba(0, 0, 0, 0.05);
}

#curriculam .classes__card h3 {
    font-size: 24px;
    color: #202020;
}

#curriculam .classes__card img {
    margin: 0 auto;
}

#curriculam .classes__card:nth-child(1) {
    border: 0.94px solid rgb(222, 245, 255);
    background: linear-gradient(180.00deg, rgb(222, 245, 255), rgba(255, 255, 255, 0) 40%), rgb(255, 255, 255);
}

.cur-link-1 {
    color: var(--main-color);
}

#curriculam .classes__card:nth-child(2) {
    border: 0.94px solid rgb(255, 244, 220);
    background: linear-gradient(180.00deg, rgb(255, 244, 220), rgba(255, 255, 255, 0) 40%), rgb(255, 255, 255);
}

.cur-link-2 {
    color: var(--btn-color);
}

#curriculam .classes__card:nth-child(3) {
    border: 0.94px solid rgb(242, 232, 255);
    background: linear-gradient(180.00deg, rgb(238, 225, 255), rgba(255, 255, 255, 0) 40%), rgb(255, 255, 255);
}

.cur-link-3 {
    color: #8700FF;
}

#curriculam .classes__card p {
    color: var(--para-color);
    font-family: var(--FF-para);
    font-weight: 500;
}

#curriculam .classes__btn-group button {
    width: 60px;
    height: 60px;
    background-color: var(--btn-color);
    color: var(--white-color);
    border-radius: 100%;
    font-size: 24px;
}

#curriculam .classes__btn-group button:first-child {
    margin-right: 10px;
}

/* Our Stories */
#our-stories {
    background: url('./../assets/bg.png'), linear-gradient(0.00deg, rgba(254, 163, 1, 0.3), rgba(255, 255, 255, 0.3) 100%);
    padding: 5%;
}

.our-stories__card-container {
    gap: 25px;
}

.our-stories__card--small-container {
    gap: 25px;
}

.our-stories__card--small {
    gap: 25px;
}

#our-stories .black--btn {
    background-color: #000;
}

.our-stories__card--content, .our-stories__card h4 {
    background-color: white;
    padding: 20px;
    border-bottom-left-radius: 16px;
    border-bottom-right-radius: 16px;
}

.our-stories__card--big {
    width: 540px;
    height: auto;
}

#our-stories .our-stories__card--big h4 {
    font-size: 24px;
    margin: 20px 0;
}

#our-stories .our-stories__card--big p {
    color: #666666;
    font-family: var(--FF-para);
    font-weight: 500;
}

.our-stories__card--big {
    position: relative;
}

.our-stories__card--big img, .our-stories__card img {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
}

.our-stories__card--big button, .our-stories__card button {
    position: absolute;
    left: 15px;
    bottom: 35%;
    border-radius: 47.93px;
    background: rgb(60, 216, 232);
    color: white;
    padding: 10px;
    font-family: var(--FF-para);
    font-weight: 600;
    font-size: 15.34px;
}

.our-stories__card {
    position: relative;
}

.our-stories__card h4 {
    font-size: 15.34px;
    width: 275px;
    padding: 20px 9px;
}

.our-stories__card button {
    bottom: 24%;
}

.our-stories__card:nth-child(1) button, .our-stories__card:nth-child(3) button, .our-stories__card:nth-child(4) button {
    background: #95B226;
}

.our-stories__card:nth-child(2) button {
    background: #5D58F0;
}

/* Footer Section */
footer {
    background-color: #01ACFD;
    padding: 50px;
    color: white;
    display: flex;
    gap: 100px;
    padding-left: 140px;

}

footer h4 {
    font-size: 24px;
    margin-bottom: 10px;
}

footer a {
    color: white;
    font-size: 20px;
    font-weight: 500;
}

.footer__logo {
    display: flex;
    gap: 1;
    align-items: center;
}

.footer__logo img {
    width: 82px;
    height: 81px;
}

.footer__logo h4 {
    margin-top: 20px;
    font-size: 30px;
}

footer p {
    font-size: 20px;
    margin-top: 10px;
}

.w-1-3 {
    width: 33.33%;
}

.social--icons {
    justify-content: flex-start;
    gap: 10px;
}

.social--icons img {
    border-radius: 4px;
}


/* Mobile Styles */
@media only screen and (max-width: 768px) {
    .mobile {
        display: block !important;
    }

    .mobile-flex {
        display: flex !important;
    }

    .d-none-mobile {
        display: none !important;
    }

    .flex-col-container {
        gap: 30px;
    }

    #header {
        padding-bottom: 10px;
        border-bottom: 1px solid var(--btn-color);
    }

    .logo img {
        width: 46px;
        height: 46px;
    }

    #header button {
        font-size: 50px;
    }

    #banner.flex-container {
        flex-direction: column-reverse;
        text-align: center;
        justify-content: center;
    }

    #banner button {
        align-self: center;
    }

    #curriculam{
        text-align: center;
    }

    .curriculam__cards.flex-container {
        flex-direction: column;
    }

    footer {
        flex-direction: column;
        gap: 50px;
        padding: 50px;
    }

    .footer__logo{
        margin-left: -10px;
    }

    .footer__logo img {
        width: 69px;
        height: 69px;
    }

    .w-1-3{
        width: 100%;
    }

    footer p {
        font-size: 20px;
        margin-top: 10px;
    }
}