﻿section.hero {
    position: relative;
    overflow: hidden;
}

    section.hero .hero-container {
        display: flex;
        flex-direction: row;
        height: 102.5vh;
        justify-content: space-between;
    }

    section.hero .left {
        min-width: 55%;
    }

.hero-container .left::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(149, 155, 205, 0.30) 0%, rgba(149, 155, 205, 0.30) 100%), url(@mainHeroImage) left center no-repeat;
    background-size: cover;
}

section.hero .right {
    width: 45%;
    height: 100%;
    /* max-width: 596px;*/
    background: rgba(149, 155, 205, 0.40);
    backdrop-filter: blur(15px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 6.12rem;
}

    section.hero .right:after {
        content: '';
        position: absolute;
        right: -100%;
        top: 0;
        height: 100%;
        width: 100%;
        background: rgba(149, 155, 205, 0.40);
        backdrop-filter: blur(15px);
    }

section.intro {
    background: var(--tinyscholars-lavender);
    overflow:hidden;
}

.intro-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-top: 52px;
}

    .intro-container h2 {
        color: var(--tinyscholars-light-cream) !important;
    }

.cream-cloud {
    width: calc(100% - 20rem);
    height: 100%;
    margin-top: 37px;
    margin-bottom: -3rem;
    color: var(--tinyscholars-lavender);
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: flex-end;
    font-family: Avenir-Black;
    font-size: 2.778vw;
    font-style: normal;
    font-weight: 900;
    line-height: 150%;
    letter-spacing: 4px;
    align-items: center;
    position: relative;
}

    .cream-cloud img {
        width: 100%;
 /*       max-height: 62rem;
        max-width: 92rem;*/
        max-height: 39.045vw;
        max-width: 56.938vw;
        position: relative;
    }

.cream-cloud-content {
    position: absolute;
    bottom: 15%;
}

.cloud-word {
    margin-top: 10px;
}

section.program-intro {
    background: var(--tinyscholars-light-cream);
    overflow:hidden;
}

.program-container {
    display: grid;
    grid-template-columns: 47.5% 47.5%;
    padding: 4.583vw 30px /*5.5%*/;
    /*padding: 35px 5.5% 75px 5.5%;*/
    gap: 5%;
    align-items: center;
    justify-content: center;
}

.little-cloud {
    position: relative;
}

    .little-cloud img {
        width: 100%;
        border-radius: 30px;
    }
    .little-cloud:before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 99%;
        background: linear-gradient(0deg, rgba(149, 155, 205, 0.30) 0%, rgba(149, 155, 205, 0.30) 100%), -107.96px 0px / 147.475% 114.356% no-repeat;
        z-index: 1;
        border-radius: 30px;
    }

    .little-cloud::after {
        content: '';
        display: block;
        position: absolute;
        bottom: -5px;
        right: -30px;
        background-image: url('/Files/templates/main-2024/images/littlecloud-Tablet.png');
        background-size: contain;
        background-repeat: no-repeat;
        width: 12.431vw;
        height: 8.542vw;
        z-index: 11;
    }

/*.little-cloud-tablet {
    display: none;
}*/

.program-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .program-content p {
        line-height: 180%; /* 32.4px */
        margin: 22px 0 15px 0;
    }

#single-strong .program-content p strong {
    color: var(--tinyscholars-orange);
    font-family: Avenir-Heavy;
}

        .book-a-tour {
            background: var(--tinyscholars-orange);
            color: var(--tinyscholars-light-cream);
            /*    max-width: 215px;*/
            border: 3px solid #FCF4E7;
        }

    .book-a-tour:hover {
        background: var(--tinyscholars-indigo);
        cursor: pointer;
    }

section.qci {
    background: var(--tinyscholars-light-cream)
}

.qci-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 35px 32px 85px 32px;
}

.qci-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

    .qci-title p {
        line-height: 180%;
        max-width: 80%;
    }

.qci-items-con {
    display: flex;
    justify-items: center;
    text-align: center;
    /* align-items: center;*/
    align-content: center;
    justify-content: center;
    gap: 40px;
    width: 80%;
}

.qci-item {
/*    max-width: calc(100% / 5);*/
    max-width: calc(100% / 3);
    text-align: center;
    /*display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;*/
}
    .qci-item span {
        color: var(--tinyscholars-black);
        font-family: Avenir-Roman;
        font-size: 1.042vw;
        font-style: normal;
        font-weight: 400;
        line-height: 140%; /* 21px */
    }

    .qci-item img {
        margin-bottom: 20px;
        width: 30%;
        aspect-ratio: 1/1;
        max-height: 30%;
        object-fit: contain;
    }

    .qci-item h3 {
        line-height: 180%; /* 32.4px */
        margin-bottom: 10px;
    }

section.learning-fun {
    position: relative;
}

.learning-fun-container {
    display: flex;
    flex-direction: row;
}

.lfc-left {
    background: var(--tinyscholars-lavender);
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /*   padding: 100px 90px;*/
    padding: 7% 4.5%;
    position: relative;
}

    .lfc-left :after {
        content: '';
        position: absolute;
        left: -100%;
        top: 0;
        height: 100%;
        width: 100%;
        background: var(--tinyscholars-lavender);
    }


    .lfc-left .home-h1 {
        line-height: 110%; /* 107.8px */
        letter-spacing: 1.96px;
        margin: 0;
        max-width: 474px;
    }

    .ntf-left .home-h1 span {
        display: inline;
        white-space: nowrap;
    }

    .lfc-left img {
        height: 4.219vw;
        width: 6.172vw;
        margin-left: 20px;
    }

.lfc-right {
    width: 60%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.button-more-about-us {
    background: var(--tinyscholars-orange);
    padding: 1.181vw 1.806vw;
    margin: 0 47px 37px 0;
    border: 3px solid #FCF4E7;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

    .button-more-about-us:hover {
        background: var(--tinyscholars-indigo);
        cursor: pointer;
    }

    .button-more-about-us a {
        color: var(--tinyscholars-light-cream);
        display: inline-flex;
        justify-content: center;
        align-items: center;
        text-decoration: none;
        gap: 20px;
    }
    .button-more-about-us .button-icon {
        width: 2vw /*30px*/;
        height: 2vw /*30px*/;
        background: url('/Files/templates/main-2024/images/icons/button-icon-orange.svg') no-repeat center center;
        background-size: contain;
        transition: background 0.3s ease;
    }

    .button-more-about-us:hover .button-icon {
        background: url('/Files/templates/main-2024/images/icons/button-icon-lavender.svg') no-repeat center center;
        background-size: contain;
    }
section.our-programs {
    background: var(--tinyscholars-light-cream);
    position: relative;
}

.our-programs-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 50px;
    padding: 6% 6.5% 6% 6.5%;
    position: relative;
}

.our-programs-cards::before,
.our-programs-cards::after {
    content: '';
    background: url('/Files/templates/main-2024/images/cream-sun.png') no-repeat center center;
    background-size: cover;
    width: 150px;
    height: 161px;
    position: absolute;
}

.our-programs-cards::before {
    top: -165px;
    left: 0px;
    transform: translateX(-50%);
}

.our-programs-cards::after {
    bottom: -110px;
    right: -155px;
    transform: translateX(-50%);
    z-index: 0;
}

.our-programs-cards {
    position: relative;
    display: flex;
    gap: 50px;
    width: 100%;
}

.program-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    min-height: 24.736vw /*385px*/;
    min-width: 24.736vw /*385px*/;
    width: calc(100% / 3);
    position: relative;
}

    .program-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 30px;
    }

.program-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(149, 155, 205, 0.30) 0%, rgba(149, 155, 205, 0.30) 100%), url(<path-to-image>) -107.96px 0px / 147.475% 114.356% no-repeat;
    z-index: 1;
    border-radius: 30px;
}

.button-program-card {
    background: var(--tinyscholars-lavender);
    color: var(--tinyscholars-light-cream);
    box-shadow: 0px 4.04px 4.04px 0px rgba(0, 0, 0, 0.25);
    font-family: Avenir-Black;
    width: 18.75vw;
    text-align: center;
    position: absolute;
    bottom: -30px;
    z-index: 11;
}


.h-info {
    display: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.button-program-card:hover .h-info {
    display: block;
    opacity: 1;
    transform: translateY(0);
    margin-top: 6px;
    font-family: Avenir-Roman;
    font-weight: 400;
    font-size: 1.25vw;
    /* font-size: 14px;*/
}

.button-program-card:hover {
    background: var(--tinyscholars-indigo);
    /* height: 89px;*/
    display: flex;
}

.program-button-con {
    display: flex;
    justify-content: flex-end;
    position: relative;
    z-index: 10;
    padding-bottom: 47px
}

section.nurture-the-future {
    position: relative;
}

.ntf-container {
    display: flex;
    flex-direction: row;
}

.ntf-left {
    background: var(--tinyscholars-lavender);
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 7% 4.5%;
    position: relative;
    gap: 17px;
}

    .ntf-left :after {
        content: '';
        position: absolute;
        left: -100%;
        top: 0;
        height: 100%;
        width: 100%;
        background: var(--tinyscholars-lavender);
    }

    .ntf-left .home-h1 {
        line-height: 110%; /* 107.8px */
        letter-spacing: 1.96px;
        margin: 0;
    }
        .ntf-left .home-h1 span {
            display: inline;
            white-space: nowrap;
        }

    .ntf-left img {
        /*position: absolute;
        bottom: 11.4vw;
        left: 25.5vw;*/
        width: 5.972vw;
        margin-left: 20px;
    }

.ntf-right {
    width: 60%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

    .ntf-right .book-a-tour {
        margin: 0 47px 37px 0;
    }

@media (max-width: 1440px){

    .qci-item span {
        font-size: 15px;
    }
    .cream-cloud {
        font-size: 40px;
    }
    .button-program-card:hover .h-info {
 
         font-size: 18px;
    }
    .qci-title p {        
        max-width: 1094px;
    }
    .qci-items-con {

        max-width: 1094px;
    }
    .button-more-about-us {
        padding: 17px 26px;
    }

    .button-more-about-us .button-icon {
        width: 30px;
        height: 30px;
        
    }
}

@media (max-width: 1280px) {
    section.hero .hero-container {
        height: 62.5vh !important;
    }

    section.hero .right {
        padding-left: 4.12rem;
    }

    .program-container {
        /* padding: 35px 32px 35px 32px !important;*/
        padding: 35px 2% 35px 2% !important;
        gap: 51px;
    }
    .program-content h2 {
        line-height: 120%; /* 36px */
    }
    .cream-cloud {
        width: 777px;
        height: 532px;
    }
        .cream-cloud img {
            max-height: 62rem;
            max-width: 92rem;
        }
    .little-cloud img {
        width: 100%;
        object-position: center;
        height: 501px;
        object-fit: cover;
    }
    .little-cloud.pink-cheeks img {
        object-position: 15% 20%;
    }
    /*.little-cloud-tablet {
        display: block;
        position: relative;
    }

        .little-cloud-tablet img {
            width: 100%
        }*/
    /*  .little-cloud-tablet::after {
            content: url('/Files/templates/main-2024/images/littlecloud-Tablet.png');
            position: absolute;
            bottom: -25px;
            right: -50px;
        }*/
    /* .little-cloud-tablet::after {
            content: '';
            display: block;
            position: absolute;
            bottom: -5px;
            right: -30px;
            background-image: url('/Files/templates/main-2024/images/littlecloud-Tablet.png');
            background-size: contain;
            background-repeat: no-repeat;
            width: 17vw;
            height: 12vw;
        }*/
    .qci-container {
    
        padding: 35px 2%  85px 2% ;
    }
    .qci-item {
        max-width: calc(100% / 4);
    }

    .qci-items-con {
        flex-wrap: wrap;
    }

    .qci-items-con {
     width:100%;
    }

    .lfc-left {
        padding: 68px 68px 68px 45px;
    }

        .lfc-left img {
            
        }

    .our-programs-cards {
        gap: 30px;
    }

    .program-card {
    }

    .button-program-card {
        font-size: 16px;
        padding: 11px 23px;
        width: 18.75vw;
        bottom: -17px;
    }
        .button-program-card:hover .h-info {
            font-size: 16px;
        }
   
    .our-programs-cards::before, .our-programs-cards::after {
        width: 94px;
        height: 101px;
    }

    .our-programs-cards::before {
        top: -105px;
        left: 0px;
    }

    .our-programs-cards::after {
        bottom: -80px;
        right: -90px;
    }

    .our-programs-container {
        gap: 35px;
        padding: 6% 2% 7% 2%
    }

    .ntf-left {
        padding: 68px 68px 68px 45px;
        gap: 24px;
    }

        .ntf-left img {
            /*bottom: 90px;
            left: 275px;*/
            width: 54px;
        }

        .ntf-left .home-h1 {
            /*max-width: 256px;*/
            letter-spacing: 1.4px;
        }
}
@media (max-width: 1024px) {
    section.hero .hero-container {
        height: 54vh !important;
        width: 100%;
    }

    .lfc-left {
        width: 50%;
    }

    .ntf-left {
        width: 50%;
    }
}
@media (max-width: 834px) {

    section.hero .right {
        padding-left: 3.12rem;
    }
    .program-container {
        padding: 35px 2% 35px 2% !important;
        grid-template-columns: 100%;
        overflow: hidden;
    }

    .little-cloud::after {
        width: 125.65px;
        height: 86.22px;
    }

   
    .qci-item img{
        margin-bottom: 13px;
    }
    

    .qci-items-con {
        gap: 20px;
    }

    .qci-item h3 {
        line-height: 100%;
        margin-bottom: 5px;
    }
    .qci-container {
        padding: 35px 2% 35px 2%;
    }
    .qci-item {
        /* min-height: 210px;*/
        min-width: 140px;
    }

    

    .button-more-about-us {
        margin: 0 32px 29px 0;
    }

    .our-programs-cards {
        flex-direction: column;
        gap: 76px;
    }

    .program-card {
        width: 100%;
    }

    .button-program-card {
        font-size: 20px;
        padding: 15px 30px;
        width: 237px;
    }
   
    .our-programs-cards::before, .our-programs-cards::after {
        content: none;
    }

    .little-cloud img {
        height: 361px;
    }
}

@media (max-width: 750px) {
    section.hero {
        overflow: visible;
    }

        section.hero .right {
            width: 100%;
            padding: 22px 2%;
            background: var(--tinyscholars-lavender);
            max-width: 342px;
        }

            section.hero .right:after {
                display: none;
            }

        section.hero .hero-container {
            flex-direction: column;
            align-items: flex-start;
        }

        section.hero .left {
            min-width: 100%;
            min-height: 54vh;
        }

    .hero-container .left::before {
      /*  background-position: 20% 80% !important;*/
    }

    section.hero .right {
        width: 100%;
        padding: 22px;
        background: var(--tinyscholars-lavender);
        max-width: 342px;
    }

    section.intro {
        background: linear-gradient(180deg, #959BCD 86.06%, #FCF4E7 86.35%);
        height: 900px;
    }

    .intro-container {
        padding: 420px 2.5% 0 2.5%;
    }

    .cream-cloud {
        font-size: 30px;
        width: 528px;
        height: 344px;
        padding-bottom: 0;
    }

    .cream-cloud-content {
        top: 90px;
    }
    .qci-item {
         max-width: calc(100% / 2.4);
    }
    .qci-item span {
        font-size: 11.5px;
    }
    .learning-fun-container {
        display: flex;
        flex-direction: column;
    }

    .lfc-left {
        width: calc(100% + 5%);
        min-height: 45vh /*387px*/;
        margin-left: -2.5%;
    }


        .lfc-left .home-h1 {
            max-width: 342px;
        }

        .lfc-left img {
            max-height: 49px;
            width: auto;
            height: auto;
        }

    .lfc-right {
        width: 100%;
        min-height: 470px;
    }

        .lfc-right::before {
            background-position: 70% !important;
            /* top: 380px !important;
            height: 56vh !important;*/
        }

    .ntf-container {
        flex-direction: column;
    }

    .ntf-left {
        width: calc(100% + 5%);
        /*   width: calc(100% + 2.5%);*/
        min-height: 387px;
        margin-left: -2.5%;
    }

        .ntf-left .home-h1 {
            max-width: 298px;
        }

    .ntf-right {
        width: calc(100% + 5%);
        /*width: calc(100% + 2.5%);*/
        min-height: 519px;
        position: relative;
        margin-left: -2.5%;
    }

        .ntf-right::before {
            width: 100% !important;
        }
}

@media (max-height:740px) {
    .lfc-left img {
        
    }
  
}


@media (max-width:600px) {
    .program-container {
        padding: 30px 2% 35px 2% !important;
        gap: 34px;
    }

    .better-together-img {
        height: 283px !important;
    }

    .better-together-info-container img {
        height: 22.763px !important;
        width: 15.321px !important;
        right: -30px;
    }
    .program-card {
        height: 323px;
    }
    .our-programs-cards {
        gap: 42px;
    }
    .ntf-left img {
        /*left: 240px;
        max-height: 58px;*/
    }
    .our-programs-container {
        padding: 34px 2% 67px 2%;
    }
    .ntf-left {
        padding: 52px 38px 52px 38px;
    }
    .program-button-con {
        justify-content: center;
    }
}
@media (max-width: 425px) {
    .intro-container h2 {
        font-size: 30px !important;
    }
    .button-more-about-us {
        margin: 0 0px 29px 0;
    }
}

@media (max-width: 374px) {
    .cream-cloud {
        font-size: 25px;
    }
    .ntf-left {
        padding: 42px 31px 42px 31px;
        gap: 20px;
    }
    .lfc-left {
        padding: 42px 31px 42px 31px;
    }

}