/*-- -------------------------- -->
<---        HERO              -->
<--- -------------------------- -*/

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

#hero #hero-bg-graphic {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    display: none;
    z-index: 1;
}

#hero .hero-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    position: relative;
    z-index: 2;
}
#hero .hero-text {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 550px;
}
#hero .hero-img-container {
    position: relative;
}
#hero #sun, #rocket {
    position: absolute;
    display: none;
}

#hero #planet {
    position: absolute;
    top: -50px;
    right: -10px;
    height: auto;
}
#hero h1 {
    line-height: 3rem;
    margin-bottom: 1.75rem;
    color: var(--headingText);
    max-width: 576px;
}

#hero picture {
    width: 100%;
    max-width: 435px;
    display: block;
    margin: auto;
}

#hero picture img {
    width: 100%;
    height: 100%;
    border: 20px solid #FFFFFF;
    filter: drop-shadow(0px 4px 25px rgba(0, 0, 0, 0.25));
    border-radius: 20px;
    overflow: hidden;
}
#hero p {
    line-height: 34px;
    font-size: 20px;
    margin-bottom: 2rem;
    opacity: 0.8;
}

@media screen and (min-width: 1024px) {
    
    #hero #hero-bg-graphic {
        display: inline;
    }

    
    #hero {
        padding-top: 15rem;
    }
    #hero .hero-container {
        flex-direction: row;
    }

    #hero .hero-text {
        max-width: 450px;
        text-align: start;
        align-items: flex-start;
    }

    #hero h1 {
        line-height: 4rem;
    }


    #hero picture {
        max-width: 550px;
    }


    #hero #planet {
        top: -85px;
        right: -5px;
        height: auto;
    }

    #hero #sun {
        position: absolute;
        display: inline;
        top: -100px;
        left: -80px;
    }

    #hero #rocket {
        position: absolute;
        display: inline;
        bottom: -50px;
        right: 0px;
    }

}

/*-- -------------------------- -->
<---            WHO             -->
<--- -------------------------- -*/

#who .cs-container {
    display: flex;
    flex-direction: column;
    text-align: center;
}
#who .text-content {
    position: relative;
    max-width: 900px;
    display: flex;
    flex-direction: column;
    margin: auto;
}
#who #orange-rocket {
    position: absolute;
    bottom: 0px;
    right: -15px;
}

#who .icon-group {
    display: flex; 
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(1.5rem, 4vw, 4rem);
    margin-top: 2.5rem;
}

#who .icon-group .cs-text {
    opacity: 1;
}
.who-icon {
    width: 223px;
    height: 283px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.15);
    border-radius: 23px;
    gap: 1.5rem;
}

#who .blue-highlight {
    position: relative;
}
#who .blue-highlight:after {
    content: '';
    position: absolute;
    display: block;
    height: 3px;
    width: 40px;
    background: var(--primaryBlue);
    opacity: 1;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
}

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

    #who .icon-group {
        flex-direction: row;
    }
    
    
    #who .blue-highlight:after {
        width: 80px;
    }

    #who #orange-rocket {
        right: -60px;
    }

    
}


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

#philosophy {
    background-color: var(--backgroundPale);
    overflow-x: hidden;
}

#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: 435px;
}

#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: 16px solid #FFFFFF;
    filter: drop-shadow(0px 4px 25px rgba(0, 0, 0, 0.25));
    border-radius: 20px;
    overflow: hidden;
}

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

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

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

}
@media screen and (min-width: 1024px) {
    #philosophy .cs-container {
        flex-direction: row;
        /* text-align: center;
        gap: clamp(2rem, 4vw, 4rem); */
    }

    #philosophy .image-content {
        order: 2;
    }
    
    #philosophy .text-content {
        text-align: start;
        order: 1;
    }

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


/*-- -------------------------- -->
<---       Curriculum           -->
<--- -------------------------- -*/

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

#curriculum #blue-planet {
    position: absolute; 
    top: -80px;
    right: 0px;
    display: none;
}
#curriculum .cs-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: clamp(2rem, 4vw, 4rem);
}

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

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

#curriculum #top-right {
    position: absolute;
    top: 0; 
    right: 0;
}

#curriculum picture img {
    border: 10px solid #fff;
    filter: drop-shadow(0px 4px 25px rgba(0,0,0,0.15));
    border-radius: 5px;
    box-sizing: border-box;
    width: 248.78px;
    height: 156.64px;
    object-fit: cover;
    
}

#curriculum #bottom-left {
    position: absolute;
    bottom: 0; 
    left: 0;
}

#curriculum .blue-highlight {
    position: relative;
}
#curriculum .blue-highlight:after {
    content: '';
    position: absolute;
    display: block;
    height: 3px;
    width: 130px;
    background: var(--primaryBlue);
    opacity: 1;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
}

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

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

    #curriculum .image-content {
        width: 401px;
        height: 369.38px;
    }
    #curriculum picture img {
        width: 310.45px;
        height: 196.47px;
    }

}

@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 {
        text-align: start;
    }
}

@media screen and (min-width: 1200px) {
    #curriculum .image-content {
        width: 558px;
        height: 514px;
    }
    #curriculum picture img {
        width: 432px;
        height: 272px;
    }

}


/*-- -------------------------- -->
<---       Locations            -->
<--- -------------------------- -*/
#locations {
    background-color: var(--headingText);
    overflow-x: hidden;
}
#locations .cs-title {
    color: #fff;
}

#locations .cs-text {
    color: #fff;
}

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

#locations .location-silo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 550px;
}

#locations .image-content {
    position: relative;
    max-width: 435px;
    margin: auto;
}

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

#locations picture img {
    width: 100%;
    height: 100%;
    border: 10px solid #FFFFFF;
    filter: drop-shadow(0px 4px 25px rgba(0, 0, 0, 0.2));
    border-radius: 20px;
}

#locations {
    position: relative;
}

#locations .fremont .text-content {
    position: relative;
}

#locations .triangle-icon {
    display: none;
    position: absolute;
    bottom: -50px;
    right: 0px;
}
#locations #tic-tac-toe {
    position: absolute;
    top: 30px;
    left: -100px;
    z-index: 3;
}

#locations #blue-circle-triangle-graphic {
    position: absolute;
    top: -50px;
    right: -100px;
    z-index: 1;
}

@media screen and (min-width: 1024px) { 
    #locations .cs-container {
        flex-direction: row;
        text-align: start;
    }
    #locations .image-content {
        position: relative;
        max-width: none;
    }
    #locations .triangle-icon{
        display: inline;
    }
}


/*-- -------------------------- -->
<---         Safe               -->
<--- -------------------------- -*/

#safe .cs-container {
    display: flex;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    align-items: center;
}

#safe .text-content {
    max-width: 600px;
    position: relative;
}


#safe .image-content {
    position: relative;
    max-width: 435px;
}

#safe picture {
    width: 100%;
    display: block;
    margin: auto;
    position: relative;
}

#safe picture img {
    width: 100%;
    height: 100%;
    border: 16px solid #FFFFFF;
    filter: drop-shadow(0px 4px 25px rgba(0, 0, 0, 0.25));
    border-radius: 20px;
    overflow: hidden;
}

#safe #red-flower {
    display: none;
    position: absolute;
    top: -100px;
    left: -100px;
}

#safe #brown-bee {
    position: absolute;
    bottom: -45px;
    right: -5px;
}

#safe .blue-highlight {
    position: relative;
}
#safe .blue-highlight:after {
    content: '';
    position: absolute;
    display: block;
    height: 3px;
    width: 60px;
    background: var(--primaryBlue);
    opacity: 1;
    left: 5px;
    bottom: 3px;
    transform: translateX(0);
}

@media screen and (min-width: 800px) { 
    #safe .blue-highlight:after {
        width: 90px;
    }
}
@media screen and (min-width: 1024px) { 
    #safe .cs-container {
        flex-direction: row;
        gap: clamp(2rem, 4vw, 4rem);
        text-align: start;
    }

    #safe #red-flower {
        display: inline;
    }
}

/*-- -------------------------- -->
<---      Reviews           -->
<--- -------------------------- -*/

#reviews .cs-title {
    text-align: center;
    padding-bottom: 20px;
}
  
/* #reviews .cs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
} */

#reviews .review-info .cs-text {
    margin-bottom: 0rem;
}
#reviews .cs-container {
    text-align: center;
    position: relative;
}
.reviews-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: start;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 3rem;
}


.review-item {
    width: 357px;
    background: #FFFFFF;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    position: relative; 
    padding: 30px;
}

.review-info {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.parent-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
}

.review-text {
    font-size: 16px;
    margin-bottom: 10px;
}

.rating {
    position: absolute;
    bottom: 20px;
    left: 38px;
    display: flex;
    align-items: center;
    font-size: 20px;
    font-weight: bold;
}

.rating-value {
    font-family: 'Amaranth';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    display: flex;
    align-items: center;
    color: #FFB717;
    opacity: 0.5;
    margin-right: 5px;
}

.rating-stars {
    width: 100px; /* Adjust the width to your desired size */
    height: auto; /* Adjust the height proportionally */
}

#reviews .blue-highlight {
    position: relative;
}
#reviews .blue-highlight:after {
    content: '';
    position: absolute;
    display: block;
    height: 3px;
    width: 130px;
    background: var(--primaryBlue);
    opacity: 1;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
}

#reviews #star {
    display: none;
    position: absolute;
    bottom: 0px;
    left: -60px;
}

@media screen and (min-width: 600px) {
    #reviews #star {
        display: inline;
    }
}
@media screen and (min-width: 1024px) {

    .reviews-container {
        flex-direction: row;
        display: flex;
        justify-content: space-between;
        align-items: start;
        margin-top: 40px;
      }

    .review-item {
        width: 380px;
    }

}

/*-- -------------------------- -->
<---          general text-img               -->
<--- -------------------------- -*/
.text-img {
    background-color: #FDF5F2;
}

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

.text-img .text-content {
    max-width: 550px;
    order: 2;
}
.text-img .image-content {
    position: relative;
    max-width: 435px;
    order: 1;
}
.text-img picture {
    width: 100%;
    display: block;
    margin: auto;
    z-index: 2;
    position: relative;
    max-width: 465px;
}

.text-img picture img {
    width: 100%;
    height: 100%;
    border: 16px solid #FFFFFF;
    filter: drop-shadow(0px 4px 25px rgba(0, 0, 0, 0.25));
    border-radius: 20px;
    overflow: hidden;
}


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

    .text-img .cs-container {
        flex-direction: row;
    }

    .text-img .text-content {
        text-align: start;
        order: 1;
    }

    .text-img .image-content {
        order: 2;
    }
}

