body {
    background-color: #fff;
}

/*-- -------------------------- -->
<---       spacing                 -->
<--- -------------------------- -*/

@media screen and (min-width: 1024px) {
    #spacing {
        background-color: #FFF;
        width: 100%;
        height: 160px;
    }
}

/*-- -------------------------- -->
<---       Hero                 -->
<--- -------------------------- -*/

#hero #yellow-triangle {
    position: absolute; 
    bottom: -25px;
    right: 300px;
    display: none;
}

#hero #yellow-circle{
    position: absolute;
    left: -30px;
}

#hero #purple-triangle{
    position: absolute;
    bottom: 50px;
    left: 20px;
    display: none;
}
@media screen and (max-width: 1023.5px) {

    #hero {
        background-color: var(--primary);
        padding: 9rem clamp(1rem, 1.5vw, 2rem) clamp(3.75em, 7.82vw, 6.25em) clamp(1rem, 1.5vw, 2rem);

    }

    #hero .hero-container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }

    #hero h1, h2 {
        color: #fff;
    }

    #hero h1 {
        font-size: clamp(2.4375rem, 6.4vw, 3rem);
        line-height: 3rem;
        margin-bottom: 1rem;
    }

    #hero h2 {    
        line-height: 32px;
        font-size: 16px;
        margin-bottom: 1rem;
    }

    #hero #hero-picture {
        width: 90%;
        height: auto;
    }

    #hero .hero-img {
        width: 100%;
        height: auto;
        border: 10px solid #fff;
        border-radius: 10px;
        max-width: 500px;
    }



}

@media screen and (min-width: 1024px) {

    #hero {
        color: var(--bodyText);
        position: relative;
        padding-bottom: 3rem;
    }

    .text-section {
        text-align: center;
        background: var(--primary);
        border-radius: 10px;
        color: white;
        /* padding: 2rem; */
        z-index: 2;
        text-align: left;
        padding: 2rem;
    }
    #hero .cs-h2 {
        font-family: 'Poppins', sans-serif;
        font-style: normal;
        font-weight: 400;
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 0.035em;
        text-transform: capitalize;
        color: #FFFFFF;
        margin-bottom: 1rem;
    }


    #hero .hero-container {
        width: 1000px;
        height: 524px;
        position: relative;
        margin: auto;
    }

    #hero h1 {
        font-size: 2.5rem;
        line-height: 4rem;
        margin-bottom: 0.5rem;
    }

    #hero #hero-picture {
        width: 70%;
        height: 100%;
        position: absolute;
        top: 0px;
        right: 0px;
    }

    #hero .text-section {
        width: 610px;
        height: 400px;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        left: 0px;
    }

    #hero #hero-picture img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 10px;
    }

    #hero #yellow-triangle{
        display: inline
    }

    #hero #purple-triangle{
        display: inline;
    } 
}
@media screen and (min-width: 1200px) {
    #hero {
        padding: 0px 50px 2rem 50px;
    }
    #hero .hero-container {
        width: 1138px;
        height: auto;
        aspect-ratio: 1000/524;
        max-width: 1200px;
    }

    #hero .text-section {
        width: 650px;
        height: 75%;
        padding-right: 20px;
        padding-top: 2.5rem;
    }

    #hero h1 {
        font-size: 2.75rem;
        margin-bottom: 1rem;
    }

}

/*-- -------------------------- -->
<---     Section Dividers       -->
<--- -------------------------- -*/
.top-section-wave {
  width: 100%;
  opacity: 1;
  z-index: 1;
  margin-bottom: -10px;
  position: relative;
  display: none;

}

.bottom-section-wave {
  width: 100%;
  opacity: 1;
  z-index: 4;
  margin-top: -10px;
  position: relative;
  display: none;
}

@media screen and (min-width: 1024px) {
  .top-section-wave, .bottom-section-wave {
    display: inline;
  }

}

/*-- -------------------------- -->
<---       who-we-are           -->
<--- -------------------------- -*/

#who-we-are{
    background-color: var(--backgroundGray);
}

#who-we-are #purple-circle {
    position: absolute;
    top: 570px; 
    left: 300px;
}

#who-we-are .cs-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
}

#who-we-are .text-content {
    max-width: 550px;
    text-align: center;
    position: relative;
}

#who-we-are #picture-top-left {
    position: absolute;
    top: 0; 
    left: 0;
}

#who-we-are .image-content {
    width: 299.63px;
    height: 276px;
    position: relative;
    margin: auto;
}

#who-we-are picture .top-left {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 17rem;
    height: auto;
    border-radius: 20px;
}

#who-we-are picture .bottom-right {
    position: absolute;
    width: 10rem;
    height: auto;
    bottom: 5px;
    right: 0px;
    border-radius: 10px;
    border: 4px solid #FFF;
}

#who-we-are #picture-bottom-right {
    position: absolute;
    bottom: 0; 
    right: 0;
}

@media screen and (min-width: 750px) {

    #who-we-are .image-content {
        width: 401px;
        height: 369.38px;
    }
    #who-we-are picture .top-left {
        width: 23rem;
    }
    
    #who-we-are picture .bottom-right {
        width: 10rem;
    }

}

@media screen and (min-width: 1024px) {
    #who-we-are .cs-container {
        flex-direction: row;
    }
    #who-we-are .text-content {
        text-align: start;
    }

    #who-we-are picture .top-left {
        width: 23rem;
    }
    
    #who-we-are picture .bottom-right {
        width: 10rem;
    }
}

@media screen and (min-width: 1200px) {
    #who-we-are .image-content {
        width: 558px;
        height: 514px;
    }
    #who-we-are picture .top-left {
        width: 30rem;
    }
    
    #who-we-are picture .bottom-right {
        width: 15rem;
    }

}

/*-- -------------------------- -->
<---       PHILOSOPHY           -->
<--- -------------------------- -*/

#philosophy{
    overflow: hidden;
    position: relative;
}

#philosophy .cs-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: center;
    justify-content: center;
    gap: clamp(2rem, 4vw, 4rem);
}


#philosophy .image-content {
    order: 1;
    position: relative;
    max-width: 350px;
}

#philosophy .text-content {
    max-width: 550px;
    order: 2;
}

#philosophy picture {
    width: 100%;
    display: block;
    margin: auto;
    z-index: 2;
    position: relative;
}

#philosophy picture img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

#philosophy #yellow-triangle {
    position: absolute;
    display: none;
    top: -50px;
    right: -50px;
    z-index: 4;
}

#philosophy #yellow-triangle-2 {
    position: absolute;
    display: none;
    bottom: -30px;
    left: -20px;
}

#philosophy #purple-trinagle {
    position: absolute; 
    right: 45%;
    top: 20%;
    display: none;
}


@media screen and (min-width: 480px) {
    #philosophy #yellow-triangle {
        display: inline;
    }
    #philosophy #yellow-triangle-2 {
        display: inline;
    }

}
@media screen and (min-width: 1024px) {

    #philosophy #purple-trinagle {
        display: inline;
    }
    
    #philosophy .cs-container {
        flex-direction: row;
    }


    #philosophy .image-content {
        order: 2;
        flex-basis: 30%;  /* takes up 40% of the flex container width */
    }
    
    #philosophy .text-content {
        text-align: start;
        order: 1;
        flex-basis: 70%;  /* takes up 60% of the flex container width */
    }

    #philosophy #yellow-triangle {
        right: -25px;
    }
}

/*-- -------------------------- -->
<---       curriculum           -->
<--- -------------------------- -*/

#curriculum{
    position: relative;
    background-color: #FFFFFF;
}

#curriculum #child-blocks {
    position: absolute;
    top: -30px; 
    left: -30px;
}

#curriculum #blue-rectangle{
    position: absolute;
    left: -45px;
}

#curriculum #yellow-star {
    position: absolute; 
    top: -100px;
    right: 100%;
    display: none;
}
#curriculum .cs-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}

#curriculum .image-content {
    position: relative;
    margin: auto;
}

#curriculum .text-content {
    max-width: 600px;
    text-align: center;
    position: relative;
}

#curriculum picture img {
    border-radius: 5px;
    box-sizing: border-box;
    object-fit: cover;  
}

.flex-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem; /* Decreased from 2rem to 1rem */
}

.grid-item {
    flex-basis: calc(50% - 0.5rem); /* Adjusted for the new gap size */
    display: flex;
    gap: 0.5rem; /* Decreased from 1rem to 0.5rem */
    align-items: flex-start; /* New line added */
}

.grid-item img {
    display: none;
    flex: 0 0 50px; /* Adjust the width */
    height: 50px; /* Add the desired height */
    object-fit: cover; /* Ensure the SVG scales nicely */
}


@media screen and (min-width: 450px) {
    #curriculum #yellow-star {
        display: inline
    }

}

@media screen and (min-width: 600px ) {
    .grid-item img {
        display: block;
    }

}

@media screen and (min-width: 1024px) {

    #curriculum .blue-highlight:after {
        width: 150px;
        left: 5px;
        transform: translateX(0);
    }
    #curriculum .cs-container {
        flex-direction: row;
    }
    #curriculum .text-content {
        width: 50%;
        text-align: start;
    }
}

/*-- -------------------------- -->
<---       Infant Care          -->
<--- -------------------------- -*/


#infant-care {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

#infant-care picture {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
}

#infant-care img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

#infant-care::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(51, 46, 87, 0.74);
    z-index: 1;
}

#infant-care .content {
    position: relative;
    text-align: center;
    color: white;
    max-width: 550px;
    margin: auto;
    z-index: 2;
}

#infant-care .cs-text{
    margin: 25px;
    color: #fff;
}

@media screen and (min-width: 1024px) {
    #infant-care {
        height: 463px;
    }

    #infant-care .content{
        max-width: 1280px;
        height: 463px;
    }
    
}
/* <!-- ============================================ -->
<!--                  discover-school-activities  -->
<!-- ============================================ --> */

#discover-school-activities {
    background-color: var(--backgroundGray);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#discover-school-activities .flex-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center; /* Center align text-content */
} 

#discover-school-activities .activity-box {
    background-color: #fff;
    width: 295px;
    height: 250px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 20px;
    border-radius: 15px;
    color: var(--primary);
    transition: background-color 0.3s;
}

#discover-school-activities .activity-box:hover {
    background-color: #FFD703;
}

#discover-school-activities .text-content {
    text-align: center;
}

@media screen and (min-width: 1024px) {

    #discover-school-activities .flex-container {
        flex-direction: row;
        gap: 40px;
    }

    #discover-school-activities .activity-box {
        width: calc((100% - 80px) / 3);
        max-width: 320px;
        padding: 10px;
    }
}
/*-- -------------------------- -->
<---       inclusive-care       -->
<--- -------------------------- -*/

#inclusive-care{
    position: relative;
    overflow: hidden;
}

#inclusive-care .cs-container {
    display: flex;
    flex-direction: column;;
    gap: clamp(2rem, 4vw, 4rem);
}

#inclusive-care .image-content {
    position: relative;
    margin: auto;
}

#inclusive-care .text-content {
    max-width: 550px;
    text-align: center;
    position: relative;
}

#inclusive-care picture img {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

#inclusive-care #purple-star{
    position: absolute;
    top: 10px;
    left: 15%;
}

#inclusive-care #yellow-circle{
    position: absolute;
    top: 10%;
    right: -15px;
    transform: rotate(180deg);
    display: none;
}


@media screen and (min-width: 1024px) {
    #inclusive-care #yellow-circle{
        display: inline;
    }

    #inclusive-care .text-content {
        text-align: left;
    }

    #inclusive-care .cs-container {
        flex-direction: row;
    }
}

/*-- -------------------------- -->
<---      GALLERY               -->
<--- -------------------------- -*/

#gallery{
    position: relative;
    overflow: hidden;
}

#gallery .cs-title{
    text-align: center;
    padding-bottom: 20px;
}

.gallery {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.7); /* semi-transparent white */
    border: none;
    font-size: 2em;
    color: var(--primaryOrange); /* change arrow color */
    width: 50px; /* adjust as needed */
    height: 50px; /* adjust as needed */
    border-radius: 50%; /* makes the button circular */
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1;
}

#prev {
    left: 15px; /* adjust as needed */
}

#next {
    right: 15px; /* adjust as needed */
}

#gallery-container {
    display: flex;
    overflow-x: scroll;
    scroll-snap-type: x mandatory;
    width: 100%;
    -ms-overflow-style: none;  /* for Internet Explorer and Edge */
    scrollbar-width: none;  /* for Firefox */
}

#gallery-container::-webkit-scrollbar {
    display: none; /* for Chrome, Safari and Opera */
}

.gallery-image {
    width: 297px;  /* set your preferred width */
    height: 291px; /* set your preferred height */
    object-fit: cover; /* this will make sure the image covers the whole area of the img tag */
}

#gallery #yellow-trinagle {
    position: absolute; 
    top: 0px;
    right: 17%;
}

#gallery #purple-triangle {
    position: absolute; 
    bottom: 5px;
    left: 3%;
}

#gallery #blue-rectangle {
    position: absolute; 
    bottom: 5px;
    right: -120px;
    display: none;
}

@media screen and (min-width: 1024px) {

    #gallery #blue-rectangle {
        display: inline;
    }

    #gallery #yellow-trinagle {
        left: 17%;
    }

}


/* <!-- ============================================ -->
<!--                 CTA                       -->
<!-- ============================================ --> */

#cta {
    width: 100%;
    background-color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

#cta .cs-title{
    text-align: center;
    color: #FFF;
    margin-bottom: 0;
}

#cta .cta-content {
    width: 90%; /* Adjust width as per your needs */
    margin: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

@media screen and (min-width: 1024px) {
    #cta {
        height: 155px;
    }

    #cta .cta-content {
        flex-direction: row;
        justify-content: space-between;
    }
}