.hero {
    height: auto;
    display: flex;
    position: relative;
    flex-flow: column nowrap;
    height: 30rem;
}

.hero-title, .hero__cta-button {
    z-index: 1;
    text-align: center;
}

.hero-title {
    font-size: 2rem;
    font-weight: 300;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 0;
}

.services-nav-section {
    width: 100%;
    height: auto;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.services-nav-bar {
    position: relative;
    padding: 0 0.5rem;
    width: 80%;
    height: 6rem;
    background-color: rgba(160, 141, 138, 0.65);
    display: flex;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: space-between;
    border-radius: 20px;
    border: 0.5rem solid rgba(0, 0, 0, 0.0);
}

.nav-item {
    display: flex;
    text-align: center;
    z-index: 1;
    height: 100%;
    width: 25%;
    font-size: 1.25rem;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease-in-out;
}

.nav-item[data-current='false']:hover {
    background-color: rgba(160, 141, 138, 0.35);
    cursor: pointer;
}

@keyframes button-click {
    from {
        transform: scale(0.95);
    }
     to {
        transform: scale(1.05);
     }
}

.nav-item[data-current='true'] {
    background-color: rgba(160, 141, 138, 0.85);
    animation: button-click 0.2s ease-in-out 0s 1 normal forwards;
    border-radius: 20px;
    pointer-events: none;
}

.nav-item[data-current='false'] {
    background-color: rgba(0, 0, 0, 0.0);
    border-radius: 20px;
}

.services-nav-overlay {
    position: absolute;
    border-radius: 20px;
    top: 0;
    right: 0;
    width: 25%;
    height: 100%;
    background-color: rgba(160, 141, 138, 0.65);
}

.services-faq-section {
    width: 100%;
    height: auto;
}

.services-faq-section > h2 {
    text-align: center;
    font-size: 2rem;
    margin: 0;
    padding: 2rem;
}

.faq {
    display: flex;
    flex-flow: column nowrap;
    width: 100%;
    height: auto;
    position: relative;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    /* background-color: rgba(160, 141, 138, 0.65); */
}

.faq[data-open='false']:hover {
    background-color: rgba(160, 141, 138, 0.75);
}

.faq-header, .faq-body {
    width: 100%;
    background-color: rgba(160, 141, 138, 0.65);
    transition: all 0.3s ease-in-out;
}

.faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    font-size: 1.5rem;
}

.faq-body {
    transition: all 0.3s ease-in-out;
    color: rgba(255, 255, 255, 0);
    box-shadow: 0px 0px 10px 10px rgba(0, 0, 0, 0.1) inset;
    font-size: large;
}

.faq[data-open='false'] > .faq-body {
    height: 0;
    padding: 0 5rem;
    color: rgba(255, 255, 255, 0);
    pointer-events: none;
    z-index: 2;
}

.faq[data-open='true'] > .faq-body {
    height: auto;
    padding: 5rem;
    color: rgba(255, 255, 255, 1);
    background-color: rgba(160, 141, 138, 0.85);
    z-index: 2;
}

.faq[data-open='true'] > .faq-header {
    background-color: rgba(160, 141, 138, 0.85);
}

.faq-arrow {
    transition: all 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.faq[data-open='false'] > .faq-header > .faq-arrow {
    transform: rotateZ(-90deg);
}

.services-testimonial-section {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: space-evenly;
    flex-flow: column nowrap;
    height: auto;
}

.testimonial-cta {
    display: flex;
    height: auto;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    flex-flow: column nowrap;
    padding: 5% 20%;
}

.testimonial-cta > h3 {
    font-size: 1.75rem;
    font-weight: 300;
    text-align: center;
}

.testimonial-button {
    height: 80%;
    padding-top: 1rem;
    width: 20rem;
    display: flex;
    flex-flow: column nowrap;
}

.testimonial-button > * {
    height: 30%;
    margin: 0;
    font-size: 1.5rem;
}

.testimonial-button > span {
    display: block;
}

/* .testimonial-carousel {
    width: 100%;
    height: var(--height);
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    flex-flow: row nowrap;
    overflow: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
} */

.testimonial {
    background-color: rgba(160, 141, 138, 0.5);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: column nowrap;
    height: 275px;
    width: 30rem;
    transform: translateX(0px);
    /* margin: 0 15px; */
}

.testimonial-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: row nowrap;
    width: 100%;
    padding: 1rem;
}

.testimonial-main {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column nowrap;
    width: 100%;
    background-color: rgba(160, 141, 138, 0.35);
    border-radius: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.5);
    text-align: center;
    padding: 1.5rem;
    height: 100%;
}

.testimonial-details > p.name {
    text-align: end;
}

@media (max-width: 800px) {
    .services-nav-bar {
        width: 90%;
        flex-flow: column nowrap;
        height: 20rem;
        gap: 1rem;
    }

    .nav-item {
        width: 80%;
    }

    .testimonial {
        width: 20rem;
    }
}

@media screen and (max-width: 650px) {
    .testimonial-main {
        height: auto;
    }
}

@media screen and (max-width: 450px) {
    .testimonial-button {
        width: 80vw;
    }
}