html, body {
    margin: 0;
    padding: 0;
}

.hero-sec {
    display: flex;
    position: relative;
    justify-content: end;
    align-items: center;
    flex-direction: column;
    text-align: center;
    height: 100vh;
    overflow: hidden;
    background-color: var(--deepForest);

    video {
        position: absolute;
        top: 0; 
        left: 0;
        padding-top: 7.5rem;
        width: 115vw;
        height: 105vh;
        object-fit: cover;
        display: block;
    }

    &::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 30%; 
        background: linear-gradient(to bottom, hsl(from var(--sunsetTerracotta) h s l / 1), transparent);
        pointer-events: none;
        z-index: 2; 
    }
      
    .video-overlay {
        position: absolute;
        top: 0; left: 0; right: 0; bottom: 0;
        background: rgba(0, 0, 0, 0.35);
        z-index: 1;
      }
}

.hero-text {
    display: inherit;
    flex-direction: column;
    padding: 0 1rem 2rem;
    z-index: 2;

    h1 {
        font-size: 80px;
        font-family: var(--font-title);
        font-weight: lighter;
        color: var(--warmSand);
        line-height: 1;
        margin-bottom: 1rem;
        z-index: 2;
        text-shadow: 0px 0px 10px black;
    }

    p {
        font-family: var(--primary-font);
        font-size: 35px;
        color: white;
        margin: 0;
        z-index: 2;
        text-shadow: 0px 0px 10px black;
    }
}

.champ-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--deepForest);

    h1 {
        font-size: 40px;
        font-family: var(--font-title);
    }

    a {
        font-family: var(--primary-font);
        text-decoration: none;
        font-size: 25px;
        font-weight: bold;
        color: white;
        background-color: var(--sunsetTerracotta);
        padding: 1rem 3rem;
        border-radius: 10px;
        transition: background 0.2s;
        text-align: justify;
    }

    a:hover {
        color: var(--sunsetTerracotta);
        background-color: white;
    }
}

.champ-wrapper {
    margin: 2rem;

}

.champ-seniors {
    display: flex;
    flex-wrap: wrap;
    margin: 0 auto;
    justify-content: center;
    gap: 0 4rem;
}

.services {
    width: 524px;
    height: 244px;

    img {
        width: 92px;
        height: 92px;
    }

    h1 {
        font-size: 25px;
        font-family: var(--font-title);
        margin: 0;
    }
    p {
        font-family: var(--primary-font);
        font-size: 1.25rem;
        margin: 0.5rem 0;
    }
}

.about-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.about-sec {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-image: url("../../images/container1.png");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    border-radius: 40px;
    width: 73rem; 
    padding: 3rem;

    h1 {
        text-align: center;
        font-family: var(--font-title);
        font-size: 40px;
        color: var(--deepForest);
        margin: 0;
    }
}

.about-info {
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-top: 2rem;


    img {
        width: 278px;
        height: 350px;
        border-radius: 20px;
    }
}

.about-text {
    padding-left: 2rem;
    color: var(--deepForest);
    p {
        margin: 0;
        font-size: 1.25rem;
        font-family: var(--primary-font);
        text-align: justify;
        word-wrap: break-word;
    }
    summary {
        font-size: 20px;
        font-family: var(--primary-font);
        font-weight: bold;
        color: var(--sunsetTerracotta);
        cursor: pointer;
    }
    :hover {
        color: var(--deepForest);
    }
}

.about-carousel {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    gap: 1rem;
}

.media-links {
    color: var(--deepForest);
    margin: 2rem 0;
    overflow: hidden;

    h1 {
        font-size: 30px;
        font-family: var(--font-title);
    }
}

.carousel {
    display: flex;
    flex-direction: row;
    margin-top: 1rem;
    height: 250px;
    width: 1125px;
    gap: 1rem;
    transition: transform 1s ease;
}

.links {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: var(--deepForest);
}

.links img {
    object-fit: cover;
    height: 220px;
    width: 550px;
    border-radius: 1rem;
}
.links p {
    font-family: var(--primary-font);
    font-size: 20px;
    font-weight: bold;
    margin: 0.5rem 0 0;

}

.controls {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    gap: 1rem;
}

.controls .prev,
.controls .next {
    text-decoration: none;
    background-color: var(--sunsetTerracotta);
    color: white;
    padding: 0.5rem 2rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.controls .prev:hover,
.controls .next:hover {
    background-color: var(--deepForest);
}

.why-sec {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 717px;
    width: 100%;
    background-color: var(--sunsetTerracotta);
    margin-bottom: 5rem;
}

.slide {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border-radius: 50px;
    height: 631px;
    width: 1370px;
    /* overflow: hidden; */
    position: relative;
}

.slide img#why-bg {
    flex: 0 0 auto;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.info-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    z-index: 1;
    padding: 2rem;
    position: relative;
}

.info-wrapper h1 {
    font-family: var(--font-title);
    font-size: 80px;
    color: white;
    margin: 0;
    line-height: 1;
    text-shadow: 0px 0px 10px black;
}

.why-info {
    display: inherit;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 640px;
    height: 180px;
    padding: 0 1rem;
    border-radius: 30px;
    background-color: white;

    img {
        height: 140px;
        width: 140px;
        transition: opacity 1s ease;
    }
    img.fade-out {
        opacity: 0;
    }
}

.why-info-text {
    display: inherit;
    flex-direction: column;
    opacity: 1;
    transition: opacity 1s ease;
    

    h1 {
        font-family: var(--primary-font);
        font-size: 30px;
        color: var(--deepForest);
        text-shadow: none;
    }
    p {
        font-family: var(--primary-font);
        font-size: 1.25rem;
        margin: 1rem 0 0;
    }
}

.why-info-text.fade-out {
    opacity: 0;
  }

.testimonial-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 5rem;
    gap: 4rem;
}

.testimonial-carousel {
    width: 100%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.testimonial-track {
    display: flex;
    will-change: transform;
    transition: transform 1s linear;
    gap: 2rem;
}

.testimonial {
    flex: 0 0 500px;
    height: auto;
    border-radius: 15px;
    padding: 2rem;
    background-color: var(--deepForest);
    text-align: center;
    transition: transform 0.8s ease, filter 0.8s ease;
    opacity: 0.7;
    filter: blur(2px);
    transform: scale(0.85);
}

.testimonial.active {
    opacity: 1;
    filter: blur(0);
    transform: scale(1);
}

.testimonial p {
    font-family: var(--primary-font);
    font-size: 25px;
    color: white;
    text-align: justify;
}
.testimonial h1 {
    font-family: var(--font-title);
    font-size: 25px;
    color: var(--warmSand);
    margin-top: 1rem;
}

.loc-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 5rem;
}

.location {
    display: inherit;
    justify-content: center;
    align-items: center;
    filter: drop-shadow(1px 1px 2px rgba(0, 0, 0, 0.8));
}

.loc-map iframe{
    border-radius: 30px 0 0 30px;
}

.loc-info {
    display: inherit;
    justify-content: end;
    align-items: center;
    margin-bottom: 4px;
    height: auto;
}

.loc-text {
    display: inherit;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 30px 30px 0;
    padding: 0 2rem;
    height: 400px;
    width: 570px;
    background-color: white;
    gap: 1rem;
    

    h1 {
        font-family: var(--font-title);
        font-size: 40px;
        color: var(--deepForest);
        margin: 0;
    }
    p {
        font-family: var(--primary-font);
        font-size: 25px;
        margin: 0;
    }
}

.process-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.process-sec {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 1110px;

    h1 {
        font-size: 40px;
        font-family: var(--font-title);
        margin-bottom: 2rem;
        color: var(--deepForest);
    }
  }
  
  .step {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
    width: 100%;
  }
  
  .step .text {
    display: inherit;
    justify-content: center;
    flex: 1;          
    font-family: var(--primary-font); 
    padding: 0 1rem;
    font-size: 25px;
    color: var(--deepForest);
    text-align: left;
  }
  
  .step .step-box {
    font-family: var(--primary-font);
    background: var(--deepForest);
    color: var(--warmSand);
    font-weight: bold;
    font-size: 25px;
    border-radius: 30px;
    text-align: center;
    width: 134px;
    height: 134px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
  }
  
  .step .step-box span {
    font-style: var(--primary-font);
    font-size: 80px;
    line-height: 1;
  }
  
  .step .step-box::after {
    content: "";
    position: absolute;
    top: 100%;          
    left: 50%;
    transform: translateX(-50%);
    width: 12px;         
    height: 100px;       
    background: var(--deepForest);
    z-index: -1;
  }

  .step:last-child .step-box::after {
    display: none;
  }

.booking-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2rem 0;
}

.booking-sec {
    display: inherit;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 990px;
    height: 280px;
    background-image: url("../../images/container1.png");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    color: var(--deepForest);
    text-align: center;

    h1 {
        font-family: var(--font-title);
        font-size:  40px;
        margin: 0;
    }
    p {
        font-family: var(--primary-font);
        font-size: 25px;
        margin: 1rem 0 ;
    }

    a {
        display: inherit;
        justify-content: center;
        align-items: center;
        font-family: var(--primary-font);
        font-size: 25px;
        text-decoration: none;
        color: white;
        height: 64px;
        width: 530px;
        border-radius: 10px;
        background-color: var(--sunsetTerracotta);
        transition: background 0.2s;
    }
    a:hover {
        color: white;
        background-color: var(--deepForest);
    }
}

.certifications {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 2rem 0 4rem;
    gap: 1rem;

    img {
        width: 319px;
        height: 167px;
    }
}