/*-- -------------------------- -->
<---        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-bg-graphic-v1{
    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;
}
#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);
}

#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) and (max-width: 1200px) {
    #hero #hero-bg-graphic-v1{
        display: none;
    }
    #hero #hero-bg-graphic {
        display: inline;
    }
}

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

}



@media screen and (min-width: 1024px) {
        
    #hero {
        padding-top: 15rem;
    }
    #hero .hero-container {
        flex-direction: row;
    }

    #hero .hero-text {
        max-width: 450px;
        text-align: 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: -100px;
    }

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

}

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

.cs-section.background-mountain-house {
    background-color: #FDF5F2;
}

#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: -85px;
    right: -15px;
}

#who .icon-group {
    display: grid;
    grid-template-columns: 1fr;  /* default to single column for mobile view */
    align-items: start;
    justify-content: center;
    justify-items: center;  /* add this line to center grid items */
    gap: clamp(1.5rem, 4vw, 4rem);
    margin-top: 2.5rem;
}



#who .icon-group .cs-text {
    opacity: 1;
}

.who-content {
    display: grid; /* change from flex to grid */
    place-items: center;
    gap: 1.5rem;
    width: 310px;
    height: 483px;
}

.who-content a {
    text-decoration: none;
  }


.who-icon {
    background-color: #FFFFFF;
    width: 90%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0px 4px 25px rgba(0, 0, 0, 0.15);
    border-radius: 23px;
    gap: 1rem;
}


.who-image{
    padding-top: 25px;
}

#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%);
}

.who-icon:hover {
    background-color: var(--backgroundPale);
    cursor: pointer;
}

#who .button-solid{
    width: 225px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 1;
    position: relative;
}


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

    #who .icon-group {
        grid-template-columns: repeat(3, 1fr);  /* changes to three columns for desktop view */
    }
    
    
    #who .blue-highlight:after {
        width: 80px;
    }

    #who #orange-rocket {
        right: -60px;
    }
    
    .who-content{
        height: 483px;
    }

    #who .button-solid{
        margin-top: 50px;
    }

    
}


/*-- -------------------------- -->
<---      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: -30px;
}

@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;
    }

}

/*-- -------------------------- -->
<---        Discover        -->
<--- -------------------------- -*/

.cs-section.background-fremont {
    background-color: #FDF5F2;
}


#discover .cs-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
#discover .cs-content {
    text-align: center;
    max-width: 500px;

}

#discover .activity {
    display: flex;
    flex-direction: row;
}

#discover .activities picture {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    align-self: start;
    flex-shrink: 0;
    margin-right: 1rem;
    position: relative;
}

#discover .background-circle {
    height: 50%;
}
#discover .circle-1 {
    background-color: #ABCD52;
}

#discover .circle-2 {
    background-color: #FF6666;
}

#discover .circle-3 {
    background-color: #FFC000;
}

#discover .circle-4 {
    background-color: #1AB9FF;
}


#discover .activities span {
    font-size: 1.25rem;
    color: var(--headingText)
}   

.child-binoculars {
    display: none;
}

.rainbow {
    display: none;
}

#discover .dotted-line {
    display: none;
}


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

    #discover .child-binoculars {
        display: inline;
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #discover .dotted-line {
        display: inline;
        position: absolute;

    }
    #discover #left-side .content {
        padding-right: 1rem;
    }

    #discover #left-side picture {
        margin-right: 0px;
    }

    .activities #music {
        margin-bottom: 3.5rem;
    }

    .activities #outdoor {
        margin-bottom: 3.5rem;
    }

    #discover #right-side {
        margin-left: 2rem;
    }

    #discover .rainbow {
        display: inline;
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: -1;
    }
    .activities {
        position: relative;
    }

    #discover .cs-content .cs-text {
        margin-bottom: 5rem;
    }

    #discover .activities span {
        font-size: 1.5rem;
    }

    #discover .activity .cs-text {
        line-height: 22px;
    }

    #discover .activities {
        display: flex;
        flex-direction: row;
        gap: 420px;
    }

    #discover #left-side picture {
        order: 2;
    }

    .activity .content {
        max-width: 250px;
    }
}

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

#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-images {
    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 */
}

/*-- -------------------------- -->
<---          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;
    }
}
