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

:root {
    --font-primary: 'Aptos-Regular', sans-serif;
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-red: #39a56b;
}

@font-face {
    font-family: 'Aptos-Regular';
    src: url('../fonts/Aptos-Regular.woff2') format('woff2'),
        url('../fonts/Aptos-Regular.woff') format('woff');
    font-display: swap;
}

@font-face {
    font-family: 'Aptos-Bold';
    src: url('../fonts/Aptos-Bold.woff2') format('woff2'),
        url('../fonts/Aptos-Bold.woff') format('woff');
    font-display: swap;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    width: 100%;
    height: 100%;
    font-family: 'Aptos-Regular';
    font-size: 16px;
    color: var(--color-black);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

p {
    margin: 0 0 1em;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0 0 0.5em;
}

ul, ol {
    list-style: none;
    padding: 0;
    margin: 0;
}

a {
    color: var(--color-black);
    text-decoration: none;
    transition-duration: 0.3s;
}

a:hover,
a:focus {
    color: var(--color-red);
    outline: none;
}

:focus-visible {
    outline: 1px dashed #888;
    outline-offset: 2px;
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.my_btn a {
    display: grid;
    grid-template-columns: 18px 1fr;
    align-items: center;
    line-height: normal;
    padding: 0.875rem 1.25rem;
    background-color: var(--color-red);
    width: fit-content;
    border-radius: 40px;
    gap: 10px;
    color: var(--color-white);
    font-size: 20px;
}

.my_btn.black_btn a {
    background-color: var(--color-black);
}

.banner_buttonbox {
    display: flex;
    gap: 25px;
}

.heading {
    font-family: 'Aptos-Bold';
    font-size: 38px;
    position: relative;
    padding: 0 0 1.25rem 0;
    margin: 0 0 2.188rem 0;
    width: fit-content;

    &::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 1px;
        background-color: var(--color-red);
        left: 0;
        bottom: 0;
    }
}

.menu-toggle,
.close_btn {
    display: none;
}

/* Header and banner section start */

.header_login_buttonbox {
    display: flex;
    gap: 20px;
    align-items: center;
}

.header_login_button a {
    display: inline-block;
    padding: 0.375rem 1rem;
    border: 1px solid var(--color-black);
    border-radius: 40px;
    font-family: 'Aptos-Bold';
    font-size: 14px;
}

.header_login_button a:hover {
    border: 1px solid var(--color-red);
}

.header_login_contact_button a {
    font-family: 'Aptos-Bold';
    font-size: 16px;
}

.header_banner_main_section {
    position: relative;

    &::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-image: url("../images/banner-background.webp");
        background-size: cover;
        top: 0;
        left: 0;
        z-index: -1;
        opacity: 0.6;
    }
}

header {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    padding: 1.875rem 0 0 0;

    .logobox img {
        max-width: 60px;
    }

    nav ul {
        display: flex;
        align-items: center;
    }

    nav ul li a {
        position: relative;
        padding: 0 1.25rem;
    }

    nav ul li a::before {
        content: "";
        position: absolute;
        width: 0%;
        height: 1px;
        background-color: var(--color-red);
        bottom: -6px;
        left: 50%;
        transform: translateX(-50%);
        transition-duration: 0.4s;
    }

    nav ul li a:hover::before {
        width: 70%;
    }

    nav ul li:not(:last-child) a::after {
        content: "";
        position: absolute;
        width: 1px;
        height: 12px;
        background-color: var(--color-black);
        right: 0;
        top: 50%;
        transform: rotate(12deg) translateY(-50%);
    }

    /* nav ul li:last-child a {
        padding-right: 0;
    }

    nav ul li:first-child a {
        padding-left: 0;
    } */
}

.banner_mainbox {
    display: grid;
    align-items: center;

    &>* {
        grid-area: 1/1;
    }

    .banner_heading {
        font-family: 'Aptos-Bold';
        font-size: 40px;
        margin: 0 0 1.875rem 0;

        span {
            color: var(--color-red);
            text-transform: uppercase;
        }
    }

    .heading_parabox p {
        font-size: 25px;
    }

    .banner_rightbox {
        align-self: center;
        justify-self: end;
    }

    .banner_rightbox img {
        /* max-width: 50vw; */
        max-width: 44vw;
    }

    .banner_leftbox {
        display: grid;
        gap: 60px;
    }
}

/* Header and banner section ends  */

/* About us section start */

.about_us_section {
    position: relative;
    padding: 100px 0 0 0;

    .banner_shadow_section {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: auto;
    }

    .about_us_mainbox {
        text-align: center;
    }

    .heading {
        margin: 0 auto 2.188rem auto;
    }

    p {
        font-size: 18px;
    }
}

/* About us section ends  */

/* Support section start */

.support_section {
    margin: 100px 0 0 0;
    padding: 2.5rem 0 0 0;
    /* background-color: #F5F8FF; */
    background-color: #F9EFE5;

    p {
        font-size: 18px;
    }

    .support_mainbox {
        display: grid;
    }

    .support_mainbox>* {
        grid-area: 1/1;
    }

    .support_content_mainbox p {
        margin: 0 0 1.875rem 0;
    }

    .support_imgbox {
        width: fit-content;
        height: fit-content;
        align-self: end;
    }

    .support_imgbox img {
        max-width: 41vw;
    }

    .support_icon_box img {
        max-width: 70px;
        max-height: 50px;
    }

    .support_number_box {
        font-size: 40px;
        font-weight: 900;
        font-family: 'Aptos-Bold';
        /* color: #E4EAF9; */
        color: #e7cdb2;
    }

    .support_list {
        display: grid;
        grid-template-columns: 20px 80px 1fr;
        gap: 20px;
    }

    .support_listing_box {
        display: grid;
        gap: 40px;
    }

    .support_icon_box {
        padding: 5px;
        background-color: #ffffff;
        box-shadow: 0px 0px 16px #f0e3d6;
        border-radius: 10px;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .support_heading {
        font-size: 20px;
        color: var(--color-red);
        font-family: 'Aptos-Bold';
    }

    .support_para {
        font-size: 18px;
    }
}

/* Support section ends  */

/* Student benifits section Start  */

.student_benefits_section {
    padding: 100px 0 0 0;

    .heading {
        margin: 0 auto 2.188rem auto;
    }

    .student_benefits_heading_box p {
        text-align: center;
    }

    .student_benefits_mainbox {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 20px;
        padding: 2.5rem 0 0 0;
    }

    .student_benefits_heading {
        font-size: 16px;
        color: var(--color-black);
        font-family: 'Aptos-Bold';
    }

    .student_benefits_list ul li {
        position: relative;
        font-size: 14px;
        padding: 0 0 0.375rem 1.375rem;
    }

    .student_benefits_list ul li:last-child {
        padding: 0 0 0 1.375rem;
    }

    .student_benefits_list ul li:after {
        content: "";
        position: absolute;
        width: 14px;
        height: 14px;
        left: 0;
        top: 5px;
        background-image: url("../images/check-mark.svg");
        background-size: contain;
        background-repeat: no-repeat;
    }

    .student_benefits_heading_mainbox {
        padding: 0.625rem;
        margin: 0.625rem 0 0 0;
    }

    .student_benefits_icon {
        padding: 0.625rem;
        width: 50px;
        height: 50px;
        background-color: #f7f7f7;
        border-radius: 12px 0 0 0;
    }

    .student_benefits_listing {
        border: 1px solid #f5f5f5;
        border-radius: 12px;
        box-shadow: 4px 4px 12px -4px #E4EAF9;
    }
}

/* Student benifits section ends  */

/* Success stories section start */

.success_stories_section {
    /* padding: 3.125rem 0 3.125rem 0; */
    margin: 100px 0 0 0;
    /* background-color: #F5F8FF; */

    .success_stories_para {
        font-size: 18px;
    }

    .quote_icon img {
        max-width: 40px;
        margin: 0 0 1.875rem 0;
    }

    .success_stories_heading {
        font-size: 20px;
        color: var(--color-red);
        font-family: 'Aptos-Bold';
        margin: 0 0 0.625rem 0;
    }

    .success_stories_img_box img {
        border-radius: 20px;
        position: relative;
        z-index: 10;
    }

    .success_stories_img_box {
        position: relative;
    }

    .success_stories_img_box::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 100%;
        background-color: var(--color-red);
        right: 15px;
        top: 15px;
        border-radius: 20px;
    }

    .owl-carousel .owl-stage-outer {
        padding: 1.25rem 0;
    }

    .owl-theme .owl-dots .owl-dot span {
        width: 15px;
        height: 15px;
        background: #D7DDED;
    }

    .owl-theme .owl-dots .owl-dot.active span,
    .owl-theme .owl-dots .owl-dot:hover span {
        background: var(--color-red);
    }

    .owl-theme .owl-nav.disabled+.owl-dots {
        margin-top: 10px;
        display: flex;
    }
}

/* Success stories section ends  */

/* Event and initiative section start  */

.events_section {
    padding: 100px 0 0 0;

    .event_slider_para {
        font-size: 14px;
        text-align: center;
        line-height: normal;
        margin: 1.25rem 0;
    }

    .heading {
        margin: 0 auto 0 auto;
    }

    .event_slider_btn {
        display: flex;
        justify-content: center;
    }

    .event_slider_btn a {
        line-height: normal;
        padding: 0.5rem 1.125rem;
        background-color: var(--color-black);
        width: fit-content;
        border-radius: 40px;
        color: var(--color-white);
        font-size: 14px;
        display: inline-block;
        transition-duration: 0.5s;
    }

    .event_slider_btn a:hover {
        background-color: var(--color-red);
    }

    .owl-carousel .owl-stage-outer {
        padding: 1.875rem 0;
    }

    .event_slider_listing {
        padding: 0.625rem 0.625rem 1.25rem 0.625rem;
        box-shadow: 0px 0px 24px -2px #dedede;
        border-radius: 30px;
    }

    .event_slider_img img {
        aspect-ratio: 25/14;
        object-fit: cover;
        object-position: center;
        border-radius: 30px;
    }

    .event_right_imagebox {
        display: flex;
        justify-content: end;
    }

    .event_right_imagebox img {
        max-width: 20vw;
    }
}

/* Event and initiative section ends  */

/* Get started section start */

.get_started_section {
    margin: 100px 0 0 0;
    padding: 60px 0 120px 0;
    /* background-color: #F5F8FF; */
    background-color: #F9EFE5;

    .heading {
        margin: 0 auto 2.188rem auto;
    }

    .get_started_cardbox {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 120px;
    }

    .get_started_listing {
        border: 1px solid #E4E8F2;
        border-radius: 20px;
        text-align: center;
        /* background: linear-gradient(180deg, rgba(255, 255, 255, 1) 42%, rgba(225, 231, 252, 0.72) 100%); */
        background-color: var(--color-white);
        display: grid;
        box-shadow: 0px 0px 14px -4px #00000024;
    }

    .get_started_listing>* {
        grid-area: 1/1;
    }

    .my_btn a {
        grid-template-columns: 1fr;
    }

    .get_started_btnbox {
        width: fit-content;
        height: fit-content;
        align-self: end;
        justify-self: center;
        margin: 0 0 -28px 0;
    }

    .get_started_databox {
        padding: 1.875rem 1.875rem 2.813rem 1.875rem;
    }

    .get_started_heading {
        margin: 0 0 0.625rem 0;
        line-height: normal;
        color: var(--color-red);
        font-weight: 600;
        font-size: 30px;
    }

    .get_started_databox p {
        font-size: 20px;
    }

}

/* Get started section ends  */

/* Footer start */
footer {
    background-color: var(--color-black);
    padding: 0.938rem 0;

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

    .footer_logo img {
        max-width: 60px;
    }

    .footer_social_links ul {
        display: flex;
        gap: 30px;
    }

    .footer_social_links ul li a svg path {
        transition-duration: 0.3s;
    }

    .footer_social_links ul li a:hover svg path {
        fill: var(--color-red);
    }
}

.footer_copywritebox {
    color: var(--color-white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0 0 0;
    margin: 1.25rem 0 0 0;
    border-top: 1px solid #ffffff3d;
}

.footer_copywrite_secondbox a img {
    max-width: 75px;
}

.footer_copywrite_secondbox {
    display: flex;
    gap: 10px;
    align-items: center;
}

/* Footer ends  */

body:has(.login_page_main) .header_banner_main_section::after {
    display: none;
}

body:has(.login_page_main) header {
    padding: 1.25rem 0;
}

body:has(.login_page_main) .header_banner_mainbox {
    box-shadow: 5px 5px 16px #dedede;
}

body:has(.login_page_main) .footer_mainbox {
    padding: 0;
    border-top: 0;
}

/* Fullscreen curtain container */
#curtain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    overflow: hidden;
    z-index: 9999;
}

/* Curtain panels */
.curtain-panel {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-red);
    transition: transform 1.5s ease-in-out;
    color: var(--color-white);
}

/* Left & Right initial states */
.curtain-left {
    background: #e6bd97;
    position: relative;
}

/* Image styling */
.curtain-left img {
    max-width: 60%;
    border-radius: 10px;
    position: relative;
    z-index: 10;
}

/* Curtain open state */
.curtain-open .curtain-left {
    transform: translateX(-100%);
}

.curtain-left::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    right: 0;
    top: 0;
    background-image: url(../images/crackers-background.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: right;
    opacity: 0.2;
}

.curtain-open .curtain-right {
    transform: translateX(100%);
}

.curtain_right_logo img {
    max-width: 150px;
    margin: 0 auto 1.25rem auto;
}

.curtain_right_heading {
    font-family: 'Aptos-Bold';
    font-size: 65px;
    line-height: 1;
    text-align: center;
    margin: 50px 0 10px 0;
    text-transform: uppercase;
    text-shadow: 2px 2px 12px #00000078;
}

.curtain_right_subheading {
    text-align: center;
    font-size: 35px;
    letter-spacing: 3px;
}

.curtain_right_mainbox {
    padding: 20px;
}

.footer_copywrite_firstbox {
    text-align: center;
}

/*==================== Media quiry start ====================*/
@media (max-width: 1400px) {
    .heading {
        font-size: 35px;
    }

    .my_btn a {
        font-size: 18px;
    }

    .banner_mainbox {
        .banner_heading {
            font-size: 35px;
        }

        .heading_parabox p {
            font-size: 21px;
        }
    }

    footer {
        .footer_logo img {
            max-width: 50px;
        }
    }

    .about_us_section {
        p {
            font-size: 16px;
        }
    }

    .support_section {
        p {
            font-size: 16px;
        }
    }

    .support_section {
        .support_heading {
            font-size: 18px;
        }

        .support_para {
            font-size: 16px;
        }
    }

    .success_stories_section {
        .success_stories_para {
            font-size: 16px;
        }
    }

    .curtain_right_heading {
        font-size: 50px;
    }

    .curtain_right_subheading {
        font-size: 25px;
    }
}

@media (max-width: 1200px) {
    .banner_mainbox {
        .banner_rightbox img {
            max-width: 45vw;
        }

        .banner_heading {
            font-size: 30px;
            margin: 0 0 1.25rem 0;
        }

        .heading_parabox p {
            font-size: 18px;
        }

        .banner_leftbox {
            gap: 40px;
        }

        .banner_buttonbox {
            gap: 20px;
        }
    }

    .my_btn a {
        font-size: 16px;
    }

    .support_section {
        padding: 2.5rem 0;
    }

    .events_section {
        .event_right_imagebox img {
            max-width: 21vw;
        }
    }

    .get_started_section {
        .get_started_cardbox {
            gap: 20px;
        }
    }

    .curtain_right_heading {
        font-size: 40px;
    }
}

@media (max-width: 991.98px) {
    .banner_mainbox {
        .banner_heading {
            font-size: 20px;
            margin: 0 0 0.625rem 0;
        }

        .heading_parabox p {
            font-size: 16px;
        }

        .banner_leftbox {
            gap: 20px;
        }

        .banner_buttonbox {
            gap: 10px;
            flex-direction: column;
        }
    }

    .my_btn a {
        padding: 0.625rem 1.25rem;
        font-size: 16px;
    }

    .about_us_section,
    .student_benefits_section,
    .events_section {
        padding: 60px 0 0 0;
    }

    .support_section,
    .success_stories_section,
    .get_started_section,
    .get_started_section {
        margin: 60px 0 0 0;
    }

    .support_section {
        .support_imgbox {
            display: none;
        }
    }

    .success_stories_content_box {
        padding: 0 1.25rem 0 0;
    }

    .success_stories_section {
        /* padding: 2.5rem 0 2.5rem 0; */

        .owl-theme .owl-nav.disabled+.owl-dots {
            justify-content: center;
        }
    }

    .events_section {
        .event_right_imagebox {
            display: none;
        }
    }

    .get_started_section {
        padding: 40px 0 80px 0;
        background-color: #F5F8FF;
    }

    #curtain {
        display: none;
    }


}

@media (max-width: 767.98px) {
    .menu-toggle {
        display: block;
    }

    .close_btn {
        display: flex;
        justify-content: end;
    }

    nav {
        position: fixed;
        top: 0;
        right: 0;
        background: var(--color-red);
        max-width: 100%;
        width: 350px;
        height: 100%;
        z-index: 999;
        padding: 1.25rem;
        overflow: hidden;
        transform: translateX(100%);
        transition: all 0.4s ease-in-out;
    }

    .menu_open nav {
        transform: translateX(0);
    }

    header {
        nav ul {
            align-items: start;
            flex-direction: column;
        }

        nav ul li {
            width: 100%;
        }

        nav ul li a {
            position: relative;
            padding: 0.625rem 0;
            display: inline-block;
            border-bottom: 1px dashed var(--color-white);
            width: 100%;
            color: var(--color-white);
        }

        nav ul li a:hover {
            color: var(--color-white);
        }

        nav ul li:last-child a {
            border: 0;
        }

        nav ul li a::before,
        nav ul li:not(:last-child) a::after {
            display: none;
        }
    }

    .banner_mainbox {
        .banner_rightbox {
            display: none;
        }

        .banner_leftbox {
            padding: 2.5rem 0;
        }

        .banner_buttonbox {
            flex-direction: row;
        }
    }

    .success_stories_section {
        .success_stories_img_box {
            margin: 1.875rem 0 0 0;
        }

        .success_stories_content_box {
            padding: 0;
        }

        .success_stories_img_box::after {
            display: none;
        }
    }

    .header_login_buttonbox {
        flex-direction: column;
        margin: 1.25rem 0 0 0;
    }

    .header_login_button a {
        border: 1px solid var(--color-white);
        color: var(--color-white);
    }

    .header_login_button a:hover {
        border: 1px solid var(--color-white);
    }

    .header_login_contact_button a {
        color: var(--color-white);
    }

    .header_login_button a:not([href]):not([class]),
    .header_login_button a:not([href]):not([class]):hover {
        color: var(--color-white);
    }
}

@media (max-width: 575.98px) {
    .banner_mainbox {
        .banner_buttonbox {
            flex-direction: column;
        }

        .banner_heading {
            font-size: 28px;
        }
    }

    .get_started_section {
        .get_started_cardbox {
            grid-template-columns: 1fr;
            gap: 70px;
        }
    }

    .about_us_section {
        .heading {
            margin: 0 auto 1.563rem auto;
        }

    }

    .heading {
        font-size: 28px;
        padding: 0 0 0.625rem 0;
    }

    .support_section {
        .support_icon_box img {
            max-width: 50px;
            max-height: 40px;
        }

        .support_list {
            grid-template-columns: 20px 60px 1fr;
            align-items: start;
            gap: 15px;
        }

        .support_number_box {
            font-size: 30px;
            display: flex;
            justify-content: center;
            align-items: start;
            height: 100%;
            line-height: 1;
        }

        .support_listing_box {
            gap: 20px;
        }
    }

    .student_benefits_section {
        .student_benefits_mainbox {
            padding: 1.25rem 0 0 0;
        }
    }

    .success_stories_section {
        .owl-carousel .owl-stage-outer {
            padding: 0;
        }
    }

    .events_section {
        .event_slider_listing {
            margin: 0 0.625rem;
        }
    }

    .get_started_section {
        .get_started_heading {
            font-size: 25px;
        }

        .get_started_databox p {
            font-size: 16px;
        }
    }

    footer {
        .footer_logo img {
            max-width: 50px;
        }
    }

    header {
        padding: 0.625rem 0 0 0;

        .logobox img {
            max-width: 50px;
        }
    }

    .footer_copywritebox {
        flex-direction: column;
        gap: 10px;
    }

    nav {
        width: 100%;
    }
}

/*==================== Media quiry ends  ====================*/