@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');


i {
    color: hsl(194,28%,28%);
}








.everything-but-navbar {
    position: relative;
    top:-110px !important;
    display: flex;
    flex-direction: column;
}
.hero {

    height: 600px;
    background: linear-gradient(to right, rgba(47, 79, 89, 0.98) 0%,
    rgba(47, 79, 89, 0.95) 30%,
    rgba(47, 79, 89, 0.85) 60%,
    rgba(47, 79, 89, .2) 100%);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;


}

.hero-overlay {
    width: 100%;
    height: 100%;
    background-image: url('../img/toprowbackgroundNOBG.png');
    background-size: cover;
    background-position: right;

    display: flex;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;

}
h2{
    font-weight: 500;
    line-height: 1.2;
    font-size: 2.5rem;
    padding: 0;
    margin: 0;
}
.hero-text {
    color: white;
    max-width: 400px;
    margin-left: 5vw;
}

.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.book-now {
    background-color: #d32f2f;
    border: none;
    color: white;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;

}
.book-now:hover {
    background-color: hsl(0,65%,61%)
}




.eta-images {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    padding: 0;
    margin: 60px;
    gap: 30px;
}

@media (max-width: 768px) {
    .eta-images {
        flex-direction: column;
        align-items: center;
    }
}
.eta-group {
    width: 200px;
}
.eta-group h2 {
    margin-top: 10px;
    color: hsl(194,28%,28%);
}
.eta-group p {
    font-size: 14px;
    margin-top: 10px;
    color: darkgray;
}


.this-is-how-it-works {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1000px;
    margin: auto;
    padding: 2rem 1rem;
    text-align: center;
    margin-bottom: 75px;

}
.this-is-how-it-works h2 {
    color: hsl(194,28%,28%);
}


.this-is-how-it-works p {
    font-size: 14px;
    margin-top: 10px;
    color: darkgray;
}

.how-it-works-text-container {
    display: flex;
    gap: 40px;
}

.how-it-works-content {
    display: flex;
    flex-direction: column;
    align-content: center;
    width: 250px;
    height: 109px;
    text-align: center;
}

.how-it-works-content h3 {
    font-weight: 550;
    font-size: 1.17em;
    color: hsl(194,28%,28%);
}


.line-container {
    width: 100%;
    max-width: 830px;
    margin: 1.5rem auto;
}

.line-container svg {
    width: 100%;
    height: auto;
}

.how-it-works-text-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 1rem;
}

.how-it-works-content {
    background: #fff;
    padding: 1rem;
    border-radius: 0.75rem;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

@media (max-width: 768px) {
    .how-it-works-text-container {
        grid-template-columns: 1fr; /* stack vertically */
        margin-top: 60px;
    }
    .circle {
        display: flex !important;
    }
    .how-it-works-step {
        margin-bottom: 40px;
    }
    .line-container {
        display: none;
    }
    .this-is-how-it-works {
        margin-bottom: 0px;
    }
}
.circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #FDBA3C;
    color: white;
    display: none;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    position: absolute;
    top: -50px;  /* moves it above the content */
    left: 50%;     /* align left */
    transform: translateX(-50%);
}
.how-it-works-step {
    position: relative;
    display: inline-block;
}



@keyframes slide {
    from{transform: translateX(0)}
    to{ transform: translateX(-100%)}
}

.referral-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    overflow: hidden;
    margin-bottom: 75px;
}

.referral-container h2 {
    color: hsl(194,28%,28%);
    justify-content: center;
    padding: 20px;
}

.stars {
    display: flex;
    margin-bottom: 1.5rem;
}
.stars i {
    color: #feb800;
    margin-right: .25rem;
}
.extra-card-container {
    white-space: nowrap;
    display: flex;

}
.testimonial-cards-container {
    white-space: nowrap;
    display: flex;

    margin-top: 20px;
    animation: 80s slide infinite linear;

}

.testimonial-card {

    background-color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;

    width: 25rem;
    min-width: 25rem;
    border-radius: .5rem;
    padding: 2rem;
    height: 256px;
    margin-left: 70px;
}


.text-weight-semibold {
    font-weight: 600;
}
.testimonial-text {
    white-space: normal;
    line-height: 1.5;
    font-size: 1rem;
}



.find-the-right-class-container {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}
.find-the-right-class {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    align-items: center;
    background: hsl(194,28%,85%);
    border-radius: 4px;
    font-family: sans-serif;
    width: 80%;
    padding: 2rem;
    margin-bottom: 40px;
}
.find-the-right-class h3 {
    color: hsl(194,28%,28%);
    font-weight: 500;
    font-size: 2.25rem;
}
.find-the-right-class p {
    font-size: 1.1rem;
}

.find-the-right-class a {
    background-color: #d32f2f;
    border: none;
    color: white;
    padding: 12px 24px;
    font-weight: bold;
    font-size: 1rem;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;

}
.find-the-right-class a:hover {
    background-color: hsl(0,65%,61%)
}
