:root {
    --primary-color: #8C5452;
    --secondary-color: #A4615F;
    --accent-light: #E2D4CB;
    --accent-dark: #DDA785;
    --accent-medium: #DABAAF;
    --white: #ffffff;
    --gray-light: #f5f5f5;
    --text-dark: #333333;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
}

h1 {
    font-family: 'Bridger', serif;
}

h2, h3 {
    font-family: sans-serif;
}

.header {
    background: var(--accent-medium);
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.nav-container {
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--primary-color);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.nav-container.scrolled {
    padding: 1rem 5%;
    background-color: var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-family: 'Eras Medium', sans-serif;
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-light);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--accent-light);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: var(--accent-light);
}

.nav-links a.active::after {
    width: 100%;
}

.menu-button {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.menu-button span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--white);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hero {
    position: relative;
    min-height: 100vh;
    margin-top: 50px;
    overflow: hidden;
    background-color: transparent;
}

.hero-background {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-image-container {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.profile-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-curve {
    position: absolute;
    left: 45%;
    top: 0;
    height: 100%;
    width: 10%;
    background-color: var(--accent-light);
    clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
}

.hero-content {
    position: relative;
    width: 50%;
    margin-left: 50%;
    padding: 4rem;
    background-color: var(--accent-light);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-text {
    max-width: 800px;
    padding: 2rem;
    text-align: justify;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-text p {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.hero-image {
    margin: 2rem 0;
    width: 100%;
    max-width: 800px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(140, 85, 83, 0.2);
}

.profile-image {
    width: 100%;
    display: block;
    transition: transform 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.02);
}

.crefito {
    font-family: sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    text-align: right;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 2rem;
    text-decoration: none;
}

.cta-button:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
}

.services {
    padding: 3rem 0 0 0;
    background-color: var(--white);
}

.services h2 {
    font-family: 'Bridger', serif;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.services p {
    color: var(--primary-color);
    font-family: sans-serif;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding: 0 1%;
    max-width: 100%;
    margin: 0 auto;
}

.service-card {
    position: relative;
    width: calc((100% - 12rem) / 7); /* 7 cards por linha com gap de 2rem */
    min-width: 200px;
    aspect-ratio: 1;
    border-radius: 25px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.service-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card h3 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--white);
    text-align: center;
    font-family: 'Bridger', serif;
    font-size: 1.4rem;
    z-index: 2;
    width: 100%;
    padding: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    transition: background 0.3s ease;
}

.service-card:hover {
    transform: scale(1.02);
}

.service-card:hover img {
    transform: scale(1.1);
}

.service-card:hover::after {
    background: rgba(0, 0, 0, 0.4);
}

.testimonials {
    padding: 5rem 5%;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-light) 0%, transparent 100%);
    opacity: 0.3;
    z-index: 0;
}

.testimonials h2 {
    font-family: 'Bridger', serif;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.testimonials-carousel {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonial-slide {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.testimonial-slide.active {
    display: block;
    opacity: 1;
}

.testimonial-content {
    background-color: var(--accent-light);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    margin: 0.5rem;
    transition: all 0.3s ease;
    will-change: transform;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-content p {
    font-family: sans-serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: justify;
    position: relative;
    flex: 1;
    overflow-y: auto;
    max-height: 400px;
    padding-right: 1rem;
}

.testimonial-content p::-webkit-scrollbar {
    width: 6px;
}

.testimonial-content p::-webkit-scrollbar-track {
    background: var(--accent-light);
    border-radius: 3px;
}

.testimonial-content p::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.testimonial-author {
    text-align: right;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--accent-light);
}

.author-detail {
    display: block;
    font-family: 'Eras Demi', sans-serif;
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    position: relative;
    z-index: 1;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: var(--accent-medium);
    opacity: 0.5;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    opacity: 1;
    background-color: var(--primary-color);
    transform: scale(1.2);
}

.locations {
    padding: 5rem 5%;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.locations::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-light);
    z-index: 0;
}

.locations h2 {
    font-family: 'Bridger', serif;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 0 5%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.location-card {
    background-color: var(--white);
    padding: 3rem 2rem;
    border-radius: 25px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    min-height: 400px;
}

.location-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary-color);
    transition: height 0.3s ease;
}

.location-card:hover::before {
    height: 8px;
}

.location-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.location-card:hover i {
    transform: translateY(-5px);
}

.location-card h3 {
    font-family: 'Bridger', serif;
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.location-card p {
    color: var(--primary-color);
    font-family: sans-serif;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.location-card p:not(.target-info):not(.parking-info) {
    flex: 1;
    margin-bottom: auto;
}

.location-card .info-wrapper {
    width: 100%;
    margin-top: auto;
}

.location-card .target-info {
    font-size: 0.9rem;
    color: var(--primary-color);
    padding-top: 1rem;
}

.location-card .parking-info {
    font-size: 0.8rem;
    color: var(--primary-color);
    opacity: 0.8;
    padding-top: 0.5rem;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(140, 85, 83, 0.2);
}

@media (max-width: 768px) {
    .locations-grid {
        display: flex;
        grid-template-columns: unset;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 1rem;
        margin: 0 -1rem;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    .locations-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

    .location-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        padding: 2rem 1.5rem;
        min-width: 280px;
        margin-right: 1rem;
    }

    .location-card:last-child {
        margin-right: 0;
        padding-right: 1rem;
    }

    .location-card h3 {
        font-size: 1.5rem;
    }

    .locations {
        padding: 3rem 0;
    }

    .locations h2 {
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
}

.contact {
    padding: 5rem 5%;
    background-color: var(--accent-light);
}

.contact h2 {
    font-family: 'Bridger', sans-serif;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 4rem;
    padding: 0 2rem;
}

.contact-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    order: 1;
}

.contact-info {
    flex: 1;
    text-align: left;
    order: 2;
}

.contact-form input,
.contact-form textarea {
    font-family: sans-serif;
    padding: 1rem;
    border: 2px solid var(--accent-medium);
    border-radius: 8px;
    width: 100%;
}

.contact-form textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-button {
    padding: 1rem;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    width: 100%;
}

.submit-button:hover {
    background-color: var(--secondary-color);
}

.contact-item {
    margin: 1rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.social-links {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
}

.social-link {
    color: var(--white);
    background-color: var(--primary-color);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link i {
    font-size: 1.5rem;
}

.social-link:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
        padding: 0 1rem;
        gap: 2rem;
    }

    .contact-info {
        text-align: center;
    }

    .contact-item {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-image-container {
        height: 50vh;
    }

    .nav-links a {
        margin: 0 0.5rem;
        font-size: 0.8rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .hero-image-container {
        width: 100%;
        height: 50vh;
        position: relative;
    }

    .hero-curve {
        display: none;
    }

    .hero-content {
        width: 100%;
        margin-left: 0;
        padding: 2rem;
        min-height: auto;
    }

    .hero-text {
        padding: 1rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .detail-curve {
        display: none;
    }
}

.footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 2rem 5%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.service-details {
    margin-top: 4rem;
    position: relative;
    overflow: hidden;
}

.service-detail {
    display: none;
    position: relative;
    min-height: 80vh;
    opacity: 0;
    transition: opacity 0.5s ease;
    overflow: hidden;
    background-color: var(--accent-light);
}

.service-detail.active {
    display: block;
    opacity: 1;
}

.detail-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 50%;
    height: 100%;
    overflow: hidden;
}

.detail-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-curve {
    position: absolute;
    left: 45%;
    top: 0;
    height: 100%;
    width: 10%;
    background-color: var(--accent-light);
    clip-path: polygon(75% 0%, 100% 50%, 75% 100%, 0% 100%, 25% 50%, 0% 0%);
}

.detail-content {
    position: relative;
    width: 50%;
    margin-left: 50%;
    padding: 4rem;
    background-color: var(--accent-light);
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.detail-text {
    padding: 2rem;
    text-align: justify;
    max-width: 800px;
}

#grupo-de-estudos {
    text-align: center;
}

.detail-content h3 {
    font-family: 'Bridger', serif;
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.detail-content p {
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

@media (max-width: 768px) {
    .hero {
        padding-top: 74px;
        margin-top: 0;
    }

    .hero-background {
        flex-direction: column;
    }

    .hero-image-container {
        position: relative;
        width: 100%;
        height: 60vh;
        margin-bottom: -50px;
    }

    .profile-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top center;
    }

    .hero-content {
        width: 100%;
        margin-left: 0;
        padding: 2rem;
        min-height: auto;
        background-color: var(--accent-light);
        border-radius: 50px 50px 0 0;
        position: relative;
        z-index: 2;
    }

    .hero-text {
        padding: 1rem;
    }

    .hero-text h1 {
        font-size: 2.2rem;
        text-align: center;
        margin-bottom: 1rem;
        color: var(--primary-color);
    }

    .crefito {
        text-align: center;
        margin-bottom: 2rem;
        font-size: 1rem;
        color: var(--primary-color);
    }

    .hero-text p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .nav-container {
        padding: 1rem 5%;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .menu-button {
        display: block;
        z-index: 1001;
        order: 2;
    }

    #navbar-logo {
        height: 35px !important;
        order: 1;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: -100%;
        width: auto;
        height: auto;
        background-color: var(--primary-color);
        flex-direction: column;
        align-items: flex-start;
        transition: right 0.3s ease;
        padding: 1rem 0;
        min-width: 200px;
        border-radius: 0 0 4px 4px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        gap: 0;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        margin: 0;
        padding: 1rem 2rem;
        font-size: 1rem;
        width: 100%;
        text-align: left;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:last-child {
        border-bottom: none;
    }

    .nav-links a:hover {
        background-color: rgba(255, 255, 255, 0.1);
    }

    .nav-links a.active {
        background-color: rgba(255, 255, 255, 0.15);
    }

    .cta-button {
        margin: 1rem auto;
        display: block;
        width: fit-content;
    }

    .services-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        /* padding: 0 1rem; */
        padding: 0 5%;
        max-width: 1500px;
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE and Edge */
    }

    .services-grid::-webkit-scrollbar {
        display: none; /* Chrome, Safari and Opera */
    }

    .service-card {
        flex: 0 0 85%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        margin-right: 1rem;
    }

    .service-detail {
        min-height: auto;
        transition: opacity 0.3s ease;
    }

    .service-detail.active {
        display: block;
        opacity: 1;
    }

    .detail-image {
        position: relative;
        width: 100%;
        height: 40vh;
        margin-bottom: -30px;
    }

    .detail-content {
        width: 100%;
        margin-left: 0;
        padding: 2rem 1.5rem;
        min-height: auto;
        background-color: var(--accent-light);
        border-radius: 30px 30px 0 0;
        position: relative;
        z-index: 2;
    }

    .detail-text {
        padding: 1rem;
    }

    .detail-content h3 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .detail-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }

    .testimonial-content {
        padding: 2rem;
        margin: 0.5rem;
    }

    .testimonial-content p {
        font-size: 1rem;
        line-height: 1.6;
        max-height: 300px;
    }

    .menu-button.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .menu-button.active span:nth-child(2) {
        opacity: 0;
    }

    .menu-button.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .locations, .testimonials, .contact {
        padding: 2rem 5%;
    }
}

@media (max-width: 480px) {
    .hero-image-container {
        height: 50vh;
    }

    .nav-links a {
        margin: 0 0.5rem;
        font-size: 0.8rem;
    }

    .hero-text h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .hero-image-container {
        width: 100%;
        height: 50vh;
        position: relative;
    }

    .hero-curve {
        display: none;
    }

    .hero-content {
        width: 100%;
        margin-left: 0;
        padding: 2rem;
        min-height: auto;
    }

    .hero-text {
        padding: 1rem;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .detail-curve {
        display: none;
    }
}

.locations-indicators {
    display: none;
}

@media (max-width: 768px) {
    .locations-indicators {
        display: flex;
        justify-content: center;
        gap: 1rem;
        margin-top: 2rem;
        position: relative;
        z-index: 1;
        padding: 0 1rem;
    }

    .location-indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--primary-color);
        opacity: 0.15;
        transition: all 0.3s ease;
        cursor: pointer;
        border: 2px solid var(--primary-color);
    }

    .location-indicator.active {
        opacity: 1;
        background-color: var(--primary-color);
        transform: scale(1.2);
    }

    .location-indicator:hover {
        opacity: 0.8;
    }
}

@media (max-width: 768px) {
    .testimonials-carousel {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        display: flex;
        gap: 1.5rem;
        padding: 1rem;
        margin: 0 -1rem;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .testimonials-carousel::-webkit-scrollbar {
        display: none;
    }

    .testimonial-slide {
        flex: 0 0 85%;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        display: block !important;
        opacity: 1 !important;
        margin-right: 1rem;
        min-width: 280px;
    }

    .testimonial-slide:last-child {
        margin-right: 1rem;
    }

    .testimonial-content {
        height: 400px;
        margin: 0;
        padding: 2rem;
        display: flex;
        flex-direction: column;
    }

    .testimonial-content p {
        max-height: 280px;
        overflow-y: auto;
        padding-right: 1rem;
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
        scrollbar-width: thin;
        scrollbar-color: var(--primary-color) var(--accent-light);
    }

    .testimonial-content p::-webkit-scrollbar {
        width: 4px;
    }

    .testimonial-content p::-webkit-scrollbar-track {
        background: var(--accent-light);
        border-radius: 2px;
    }

    .testimonial-content p::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 2px;
    }

    .testimonial-author {
        margin-top: auto;
        padding-top: 1rem;
        border-top: 1px solid var(--accent-medium);
    }

    .carousel-indicators {
        gap: 1rem;
        margin-top: 2rem;
        padding: 0 1rem;
    }

    .indicator {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background-color: var(--primary-color);
        opacity: 0.15;
        border: 2px solid var(--primary-color);
    }

    .indicator.active {
        opacity: 1;
        background-color: var(--primary-color);
        transform: scale(1.2);
    }

    .indicator:hover {
        opacity: 0.8;
    }
}

.faq {
    padding: 5rem 5%;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    z-index: 0;
}

.faq h2 {
    font-family: 'Bridger', serif;
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
    z-index: 1;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.faq-item {
    background-color: var(--white);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(140, 85, 83, 0.15);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    transition: all 0.3s ease;
    position: relative;
}

.faq-question h3 {
    font-family: sans-serif;
    color: var(--primary-color);
    font-size: 1rem;
    margin: 0;
    padding-right: 2rem;
}

.faq-icon {
    position: relative;
    width: 20px;
    height: 20px;
}

.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
}

.faq-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-item.active .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background-color: var(--accent-light);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 1.5rem 2rem;
    margin: 0;
    color: var(--primary-color);
    font-size: 1.1rem;
    line-height: 1.6;
    text-align: justify;
}

@media (max-width: 768px) {
    .faq {
        padding: 3rem 1rem;
    }

    .faq-question {
        padding: 1.2rem 1.5rem;
    }

    .faq-question h3 {
        font-size: 1.1rem;
    }

    .faq-answer p {
        padding: 1.2rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 1200px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        flex-wrap: nowrap;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 1rem;
        padding: 1rem;
        margin: 0;
        justify-content: flex-start;
    }

    .services-grid::-webkit-scrollbar {
        display: none;
    }

    .service-card {
        flex: 0 0 280px;
        width: 280px;
        min-width: 280px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        margin-right: 0;
    }

    .service-card h3 {
        font-size: 1.3rem;
        padding: 1rem;
    }

    .service-details {
        margin-top: 1rem;
    }

    .service-detail {
        min-height: auto;
        transition: opacity 0.3s ease;
    }

    .service-detail.active {
        display: block;
        opacity: 1;
    }

    .detail-image {
        position: relative;
        width: 100%;
        height: 40vh;
        margin-bottom: -30px;
    }

    .detail-content {
        width: 100%;
        margin-left: 0;
        padding: 2rem 1.5rem;
        min-height: auto;
        background-color: var(--accent-light);
        border-radius: 30px 30px 0 0;
        position: relative;
        z-index: 2;
    }

    .detail-text {
        padding: 1rem;
    }

    .detail-content h3 {
        font-size: 1.8rem;
        text-align: center;
        margin-bottom: 1rem;
    }

    .detail-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .service-card {
        flex: 0 0 260px;
        width: 260px;
        min-width: 260px;
    }

    .service-card h3 {
        font-size: 1.2rem;
    }

    .detail-image {
        height: 35vh;
    }
} 