* {
    padding: 0;
    margin: 0;
    outline: none;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

button {
    background-color: transparent;
    border: transparent;
    cursor: pointer;
}


@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

:root {
    --bg-color: white;
    --text-title-color: #212121;
    --bg-btn-color: #212121;
    --btn-color: white;
    --text-color: white;
    --text-des-color: rgba(33, 33, 33, 0.7);
    --bg-card-color: #FAFAFA;
    --bg-border-color: rgba(33, 33, 33, 0.7);
    --primary-color: #1470AF;
    --bg-nav-color: #F9F9F9;
    --menu-color: #212121;
    --mobile-color: #d9d8d8;
}

/* dark mode CSS removed; site uses the default :root variables only */

body {
    background-color: var(--bg-color);
    font-family: "Poppins", sans-serif;
    font-weight: 400;
}


/* common class */
.container {
    max-width: 1392px;
    width: 100%;
    margin-inline: auto;
    padding: 0px 16px;
}

/* Logo text styling */
.logo_wrapper .logon {
    /* use a cursive display font for the main logo */
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    font-size: 32px;
    letter-spacing: 0.6px;
    color: var(--text-title-color);
}

/* Match headings, nav links and primary buttons to the logo font family */
h1, h2, h3, h4, h5, h6,
.nav_lists li a,
.btn-primary {
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    font-weight: 600;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

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

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.btn-primary {
    background-color: var(--primary-color);
    padding: 16px 24px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    text-transform: capitalize;
    display: inline-block;
    max-width: max-content;
}

h1 {
    max-width: 566px;
    width: 100%;
    font-size: 56px;
    font-weight: 500;
    color: var(--text-title-color);
    text-transform: capitalize;
    line-height: 73px;
}

p {
    font-size: 16px;
    color: var(--text-des-color);
    line-height: 27px;
}



/* HEADER SECTION  */
.header_section {
    width: 100%;
    position: absolute;
    top: 36px;
    right: 0;
    z-index: 50;
}

.header_section.header_sticky {
    position: sticky;
    top: 0;
    left: 0;
    animation: scroll 0.4s ease-in;
    background-color: var(--bg-nav-color);
}

@keyframes scroll {
    from {
        transform: translateY(-110%);
    }

    to {
        transform: translateY(0%);
    }
}

.header_container {
    background-color: var(--bg-nav-color);
    padding: 0px 24px;
    border-radius: 120px;
    height: 80px;
}

.logo_wrapper a img {
    max-width: 166px;
    width: 100%;
    max-height: 43px;
    height: 100%;
    object-fit: cover;
}

.nav_lists {
    gap: 30px;
    margin-left: auto; /* push nav links to the right */
    margin-right: 24px; /* nudge the UL a bit left from the right edge */
}
.navbar {
    flex: 1; /* allow navbar to take available space so the list can align right */
    display: flex;
    align-items: center;
}
.nav_lists li a {
    font-size: 16px;
    color: var(--text-title-color);
    text-transform: capitalize;
    position: relative;
    transition: all 0.3s ease;
}

.nav_lists li a:hover {
    color: var(--primary-color);
}

.nav_lists li a::before {
    position: absolute;
    content: '';
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scale(0);
    transition: all 0.3s ease-in;
}

.nav_lists li a:hover::before {
    transform: scale(1);
}


.header_right_wrapper {
    gap: 24px;
}

/* push the header actions (theme, mobile buttons) to the far right */
.header_right_wrapper {
    margin-left: auto;
}

/* theme toggle button styles removed (button no longer present) */

.mobile_btns_wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile_btns_wrapper button {
    position: absolute;
    top: 0;
    left: 0;
    font-size: 28px;
    color: var(--menu-color);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile_btns_wrapper button#menuBar,
.mobile_btns_wrapper button#menuClose {
    display: none;
}



/* BANNER SECTION  */
.banner_section {
    padding: 200px 0 36px 0px;
    align-items: end;
    min-height: 915px;
    height: 100%;
    width: 100%;
    background-image: url('../images/bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.banner_container {
    gap: 84px;
}

.banner_top_container {
    gap: 32px;
}


.banner_top_inner_wrapper {
    gap: 24px;
    max-width: 566px;
    width: 100%;
}


.banner_top_inner_wrapper button {
    color: var(--btn-color);
    background-color: var(--bg-btn-color);
}

.banner_bottom_container img {
    width: 100%;
    max-height: 436px;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}



/* ABOUT US SECTION  */
.about_section {
    padding: 50px 0;
    position: relative;
}

.about_section::before {
    position: absolute;
    bottom: 0px;
    right: 0;
    content: '';
    max-width: 618px;
    width: 100%;
    height: 386px;
    background-image: url('../images/ladersora_bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    z-index: -1;
}



.about_container {
    gap: 32px;
}

.about_left_wrapper img {
    min-width: 495px;
    width: 100%;
    max-height: 580px;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.about_right_wrapper {
    gap: 24px;
    max-width: 566px;
    width: 100%;
}




/* OUR SERVICES SECTION  */
.our_service_section {
    padding: 55px 0px;
}

.section_header {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    max-width: 600px;
    width: 100%;
    margin: 0px auto 50px;
    text-align: center;
}

.services_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.services_wrapper {
    background-color: var(--bg-card-color);
    padding: 24px;
    border-radius: 32px;
}

.services_inner_wrapper {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.services_inner_wrapper button {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
    color: white;
}

.services_inner_wrapper img {
    /* reduced size to better fit the services cards */
    max-height: 140px;
    width: auto;
    height: auto;
    border-radius: 8px;
}

.services_wrapper h4 {
    font-size: 24px;
    text-transform: capitalize;
    font-weight: 500;
    color: var(--text-title-color);
    margin-bottom: 8px;
}

.services_wrapper p {
    font-size: 14px;
    color: var(--text-des-color);
}


/* LADEROSA SECTION  */
.laderosa_section {
    padding: 100px 0px;
    background-image: url('../images/ladersora_bg.png');
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.laderosa_section>.section_header {
    max-width: 968px;
    width: 100%;
}

.section_header h1 span {
    color: var(--primary-color);
}

.laderosa_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.laderoa_wrapper {
    background-color: var(--bg-card-color);
    padding: 32px 24px;
    border-radius: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.laderoa_wrapper img {
    width: 167px;
    height: 100px;
    object-fit: cover;
    border-radius: 60px;
}

.laderoa_wrapper h4 {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-title-color);
    text-transform: capitalize;
}


/* TEAM SECTION  */
.team_section {
    min-height: 720px;
    height: 100%;
    background-image: url('../images/bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 55px 0px;
}

.team_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team_wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

/* center headings and links under the (narrower) team images */
.team_wrapper {
    align-items: center;
    text-align: center;
}

.team_wrapper img {
    /* narrower and taller team images per request */
    width: 65%;
    align-self: center;
    height: 420px;
    object-fit: cover;
    border-radius: 32px;
}

@media (max-width: 768px) {
    .team_wrapper img {
        /* restore full width on small screens for readability */
        width: 100%;
        height: 280px;
    }
}

.team_wrapper h4 {
    font-size: 20px;
    font-weight: 500;
    text-transform: capitalize;
    color: var(--text-title-color);
}

.team_wrapper a {
    font-size: 14;
    color: var(--primary-color);
}

.team_middle_wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    text-align: center;
    max-width: 600px;
    width: 100%;
}

.team_middle_wrapper img {
    width: 158px;
    height: 158px;
}



/* TESTIMONIAL SECTION  */
.testimonial_section {
    padding: 100px 0px;
}

.testimonial_container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial_wrapper {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    overflow: hidden;
}

.testimonial_wrapper img {
    width: 100%;
    height: 366px;
    object-fit: cover;
    border-radius: 32px;
}

.testimonial_wrapper h4 {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-title-color);
    text-transform: capitalize;
}

.testimonial_info_wrapper {
    position: absolute;
    bottom: 110%;
    left: 24px;
    max-width: 366px;
    height: 280px;
    background-color: var(--bg-color);
    padding: 24px 16px;
    border-radius: 32px;
    transform: rotate(-4deg);
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: all 0.3s ease;
}

.testimonial_wrapper:hover .testimonial_info_wrapper {
    bottom: 36px;
}

.testimonial_info_wrapper .testimonial_stars_wrapper button {
    font-size: 16px;
    color: #d2b15d;
}



/* LEARNING HUB SECTION  */
.learning_hub_section {
    padding: 55px 0px;
    background-image: url('../images/bg.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.learning_container {
    gap: 32px;
}

.learning_left_wrapper {
    position: relative;
}

.learning_left_wrapper img {
    max-width: 495px;
    width: 100%;
    min-height: 580px;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

.learning_video_play_btn {
    position: absolute;
    top: 50%;
    left: 50%;
    /* width: 100%;
    height: 100%; */
    transform: translate(-50%, -50%);
}

.learning_video_play_btn button {
    color: var(--text-color);
    font-size: 55px;
}

.learning_right_wrapper {
    max-width: 600px;
    width: 100%;
}

.learning_right_wrapper h1 {
    margin-bottom: 24px;
}

.learning_right_wrapper h1 span {
    color: var(--primary-color);
}

.learning_right_wrapper p {
    margin-bottom: 36px;
}


.learning_inner_right_wrapper {
    gap: 32px;
}

.learning_inner_right_social_icon {
    gap: 16px;
}

.learning_inner_right_social_icon button {
    width: 56px;
    height: 56px;
    background-color: var(--bg-card-color);
    border-radius: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    color: var(--text-title-color);
}

.learning_inner_right_social_icon button:hover {
    background-color: var(--primary-color);
}



/* FOOTER SECTION   */
.footer_section {
    padding: 55px 0px 0px 0px;
}

.footer_top {
    padding-bottom: 36px;
}

.footer_top h1 {
    max-width: 791px;
    width: 100%;
}

.footer_left_wrapper {
    max-width: 400px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.footer_right_wrapper {
    gap: 60px;
    background-color: var(--bg-card-color);
    padding: 20px 20px 40px 20px;
    border-radius: 32px 0px 0px 32px;
}

.footer_left_inner_right_wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer_left_inner_right_wrapper h4 {
    font-size: 24px;
    font-weight: 500;
    color: var(--text-title-color);
    text-transform: capitalize;
}

.footer_links {
    gap: 8px;
}

.footer_links li a {
    font-size: 14px;
    text-transform: capitalize;
    color: var(--text-title-color);

    position: relative;
}

.footer_links li a::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.footer_links li a:hover::after {
    width: 100%;
}

.footer_right_inner_contact_wrapper {
    gap: 40px;
}

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

.footer_right_inner_contact_info img {
    width: 50px;
    height: 50px;
    border-radius: 100%;
    object-fit: cover;
}

.footer_right_inner_contact_info h4 {
    font-size: 18px;
    color: var(--text-title-color);
    text-transform: capitalize;
}

.footer_right_inner_contact_info a {
    font-size: 14px;
    color: var(--primary-color);
}


/* All DEVICES RESPONSIVE  */

/* `xxl` applies to x-large devices (large desktops, less than 1400px) */
@media (max-width: 1399.98px) {
    .services_container {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* `xl` applies to large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {}

/* `lg` applies to medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
    .navbar {
        display: none;
    }


    .mobile_btns_wrapper button#menuBar {
        display: block;
    }

    .mobile_btns_wrapper button#menuBar.hidden {
        display: none;
    }

    .mobile_btns_wrapper button#menuClose.active {
        display: block;
    }


    .navbar.active {
        position: absolute;
        top: 80px;
        left: 0px;
        display: block;
        width: 100%;
        min-height: 450px;
        height: 100%;
        background-color: var(--mobile-color);
        padding: 24px;
    }

    .nav_lists {
        align-items: start;
        flex-direction: column;
    }


    .services_container {
        grid-template-columns: repeat(2, 1fr);
    }

    .laderosa_container {
        grid-template-columns: repeat(2, 1fr);
    }

    .team_container {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial_container {
        grid-template-columns: repeat(2, 1fr);
    }

    .learning_container {
        flex-direction: column;
    }

    .learning_left_wrapper {
        width: 100%;
    }

    .learning_left_wrapper img {
        max-width: 100%;
    }

    .footer_bottom {
        flex-direction: column;
        gap: 32px;
    }

    .footer_right_wrapper {
        width: 100%;
        justify-content: space-between;
    }

}

/* `md` applies to small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
    .banner_top_container {
        flex-direction: column;
    }


    .about_container {
        flex-direction: column;
    }

    .about_left_wrapper {
        width: 100%;
    }

    .services_container {
        grid-template-columns: repeat(1, 1fr);
    }

    .services_inner_wrapper {
        flex-direction: column;
    }

    .laderosa_container {
        grid-template-columns: repeat(1, 1fr);
    }

    .team_container {
        grid-template-columns: repeat(1, 1fr);
    }

    .testimonial_container {
        grid-template-columns: repeat(1, 1fr);
    }


}

/* `sm` applies to x-small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .learning_inner_right_wrapper {
        flex-direction: column;
    }

    .footer_top {
        flex-direction: column;
        gap: 32px;
    }

    .footer_top button {
        min-width: 100%;
    }

    .footer_right_wrapper {
        flex-direction: column;
    }

    .footer_right_inner_contact_wrapper {
        justify-content: space-between;
    }
}