body {
    background-color: #FDFAF6;
    font-family: "Montserrat", sans-serif;
    margin: 0;
}

* {
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 100;
    font-style: normal;
    text-align: center;
    list-style: none;
}

nav {
    background: transparent;
    width: 100%;
    height: 70px;
}

nav.navbar {
    transition: opacity 0.3s ease, visibility 0.3s ease;
    opacity: 1;
    visibility: visible;
}

nav.navbar.hidden {
    opacity: 0;
    visibility: hidden;
}

nav img {
    width: 60px;
}

nav .offcanvas-end {
    background-color: #99BC85;
}

.nav-item a {
    color: #FDFAF6;

}

.top-container {
    position: relative;
    text-align: center;
    color: white;
}

.top-container img {
    width: 100%;
    filter: brightness(50%);
}

.top-container p {
    font-size: 3rem;
}

.top-container a {
    font-size: 1.5rem;
    color: #B89142;
}

.centered {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1rem;

}

.second-container {
    padding: 10px;
}

.menu-items {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;

}

.box {
    border-radius: 15px;
    text-align: center;
    padding: 20px;
    width: 300px;
}

.box img {
    width: 50vw;
    /* height: 150px; */
    object-fit: cover;
    border-radius: 10px;
}

.box h2 {
    font-weight: normal;
    font-size: 24px;
    margin: 20px 0 10px;
    color: #4c3a3a;
}

.courses .btn, .box .btn {
    display: inline-block;
    padding: 10px 20px;
    border: 1px solid #4c3a3a;
    border-radius: 15px;
    background: rgb(253, 250, 246, 0.8);
    color: #4c3a3a;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    margin: -10px;
    text-transform: uppercase;
}

.box .btn:hover {
    background: #4c3a3a;
    color: #fff;
}

.about-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-container img {
    width: 100%;
    height: auto;
}

.about-container .about-card {
    bottom: -15px;
    right: 0;
    position: absolute;
    color: #4c3a3a;
    text-align: center;
    background-color: rgb(228, 239, 231, 0.95);
    border-radius: 15px;
    max-width: 80%;
}

.about-card {
    padding: 1.5rem;
}



.about-card p {
    font-weight: 200;
}

.about-card a {
    color: #B89142;
}

.pricing-container {
    margin-top: 2rem;
    padding: 1rem;

}

.pricing-headline h1 {
    font-size: 2rem;
    font-weight: 100;
}

.pricing-headline span {
    font-size: 2.5rem;
    font-family: "Italiana", sans-serif;
    font-style: italic;
}

.prices {
    height: 500px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 20px;
    padding: 1rem;
}

.price {
    padding: 1rem;
    background-color: #99BC85;
    border-radius: 15px;
    color: #4c3a3a;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price h2,
h3 {
    font-weight: 300;
    text-transform: uppercase;
    font-family: "Italiana", sans-serif;
}

.price p,
span {
    text-transform: lowercase;
    font-size: 1rem;
}


.last-container {
    position: relative;
    text-align: center;
}

.last-container img {
    width: 100%;
    filter: brightness(50%);
}

.socials {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.socials-text p {
    font-family: "Italiana", sans-serif;
}

a {
    text-decoration: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='%23B89142' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

.navbar-collapse {
    background-color: black;
}

.socials-rects a {
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    font-size: .9rem;
    height: 40px;
    width: 200px;
    background-color: #FFECC8;
    border-radius: 15px;
    gap: 15px;
    color: black;
}

/* about page */

.top-container.about-page p {
    font-family: "Italiana", sans-serif;
}

.about-page-container {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.about-page-container h2 {
    font-family: "Italiana", sans-serif;
}

.about-boxes {
    display: flex;
    flex: row;
    height: 150px;
    text-align: center;
    justify-content: space-between;
    width: 100%;
}

.about-box {
    border-radius: 15px;
    text-align: center;
    align-items: center;
    width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-box p {
    font-size: .7rem;
}

.about-box.one {
    background-color: #FAF1E6;
    /* Blue */
}

.about-box.two {
    background-color: #99BC85;
    /* Green */
}

.about-box.three {
    background-color: #E4EFE7;
    /* Yellow */
}

.mission-box {
    position: relative;
    display: inline-block;
}

.mission-box img {
    width: 100%;
    border-radius: 15px;
    filter: brightness(30%);

}

.mission-box p {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    width: 95%;
    font-size: .8rem;
    z-index: 1;
    padding: 1.5rem;

}

.coach-images {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 2rem;
  }
  
  .coach {
    position: relative;
    cursor: pointer;
  }
  
  .coach img {
    width: 150px;
    border-radius: 50%;
    transition: filter 0.3s;
  }
  
  /* Add dim when active */
  .coach.active img {
    filter: brightness(50%);
  }
  
  /* Optional hover effect if you still want hover preview */
  
  .coach-name {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    pointer-events: none;
  }

  .coach span {
    text-transform: uppercase;
  }

/* about page ends here */

/* courses page */


.courses {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: auto;
}

.course-box {
    background-color: #f9f9f9;
    border-left: 6px solid #B89142;
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.course-box:hover {
    transform: translateY(-4px);
}

.course-box h3 {
    color: #B89142;
    margin-top: 0;
    font-size: 1.5rem;
    text-transform: capitalize;
}

.course-box p {
    line-height: 1.6;
    font-size: 1rem;
    margin-top: 0.5rem;
}

/* courses page ends here */


/* contact page */


.contact-simple a {
    color: #000;
    text-decoration: none;
}

/* contact page ends */


footer {
    background-color: #99BC85;
    height: 3rem;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: center;
    left: 0;
    bottom: 0;
    width: 100%;
}

footer a {
    color: #FDFAF6;
    font-size: .7rem;
}


@media (max-width: 768px) {

    nav img {
        width: 40px;
    }

    .top-container p {
        font-size: 1.6rem;
        overflow: hidden;
        white-space: nowrap;
    }

    .top-container a {
        font-size: 1rem;
        color: #B89142;
        font-weight: 300;
    }

    .courses {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }

    .course-box {
        padding: 1rem;
    }

    .course-box h3 {
        font-size: 1.25rem;
    }

    .course-box p {
        font-size: 0.95rem;
    }

    .socials-rects {
        margin: auto;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .socials-text {
        position: relative;
        right: 30%;
        font-size: 2rem;
        color: #FDFAF6;
    }

    .socials-rects a:hover {
        color: #FDFAF6;
    }

    .contact-simple {
        padding: 3rem 1rem;
    }

    .contact-simple h1 {
        font-size: 1.5rem;
    }
}