:root {
    --main-orange: #f5843b;
    --main-green: #5cb85c;
    --dark-green-nav: #30884b;
    --button-green: #62b865; /* Nuevo color para el botón */
    --text-color: #58585b;
    --white: #ffffff;
    --gris-contact: #f5f5f5;
    --hero-bg: #eaf5ec;
    --btn-acceso-border: #f5843b; /* Naranja para el borde */
    --btn-registro-bg: #f5843b; /* Naranja para el fondo */
}

body {
    font-family: sans-serif;
    color: var(--text-color);
    background-color: #f8f9fa;
}

.mobile-break {
    display: none;
}

@media (max-width: 991.98px) {
    .mobile-break {
        display: block;
    }
}

.desk-break {
    display: none;
}

@media (min-width: 992px) {
    .desk-break {
        display: block;
    }
}

.mobile-header .container-fluid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 5px;
    padding-left: 5px;
}

.mobile-header-tagline {
    font-size: 0.7rem; /* Reducir aún más para que quepa */
    color: #6c757d;
    line-height: 1.2;
    font-style: italic;
}

.navbar-toggler {
    background-color: var(--main-green);
    border-radius: 0.5rem;
    padding: 0.3rem 0.4rem;
}

.navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='3' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* --- Modal de Acceso --- */
.ma-form {
    padding: 2rem;
}

.ma-form .titulo {
    font-size: 1.2rem;
    font-weight: 600;
    color: #71997e;
    margin-bottom: 1rem;
}

.ma-form .separator {
    border-top: 1px solid #eee;
    margin: 1.5rem 0;
}

.ma-form .form-label {
    color: var(--main-orange);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.ma-form .form-control {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    border-color: #ced4da;
}

.ma-form ._acc_recupera a {
    color: var(--main-orange);
    font-size: 0.9rem;
    text-decoration: none;
}

.ma-form .buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
}

.ma-form ._acc_btn_registrate {
    background-color: var(--main-orange);
    color: white;
    border-radius: 50px;
    padding: 0.5rem 2rem;
}

.ma-form ._acc_btn {
    background-color: var(--main-green);
    color: white;
    border-radius: 50px;
    padding: 0.5rem 2rem;
}

.modal-footer ._acc_cerrar {
    background-color: #6c757d;
    color: white;
    border-radius: 5px;
    padding: 0.5rem 1rem;
}

/* --- Button Styles --- */
.btn-acceso {
    background-color: transparent;
    border: 1px solid var(--main-orange);
    color: var(--main-orange);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-acceso:hover {
    background-color: var(--main-orange);
    color: white;
}

.btn-registro {
    background-color: var(--main-orange);
    border: 1px solid var(--main-orange);
    color: white;
    padding: 0.35rem 1rem;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}
.btn-registro:hover {
    color: var(--white);
    background-color: var(--main-orange);
    filter: brightness(90%);
}

.btn-reserva-lg {
    background-color: var(--main-orange);
    color: var(--white);
    border-radius: 1.5rem;
    height: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 0 2rem;
    min-width: 25%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}
.btn-reserva-lg:hover {
    background-color: var(--main-orange);
    color: var(--white);
    filter: brightness(90%);
}

/* --- Carousel Styles --- */
a.itemLnk {
    text-decoration: none;
    color: inherit;
    background-color: #f2f4fd;
}

/* --- Service Intro Section --- */
.service-intro-section .h5 {
    font-size: 2rem;
    font-weight: 100;
    color: var(--text-color);
    line-height: 0.6;
}
.service-intro-section .text-orange {
    color: var(--main-orange);
    font-weight: 700;
    font-style: italic;
}
.service-intro-section .text-green {
    color: var(--main-green);
    font-weight: 700;
    font-style: italic;
}
.service-intro-section .lead {
    font-size: 2rem;
}

/* --- Full Width Image Section --- */
.full-width-image-section {
    display: flex; /* Ayuda a asegurar el centrado vertical del contenido overlay */
    align-items: center;
    justify-content: center;
}

.full-width-image-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4); 
    z-index: 1; 
}

.content-overlay {
    z-index: 2; /* Por encima de la capa oscura */
}

.text-container h2,
.text-container p {
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.text-container .btn-warning {
    background-color: #f7941d;
    border-color: #f7941d;
    color: #fff;
}

.text-container .btn-warning:hover {
    background-color: #e68a0d;
    border-color: #e68a0d;
}

/* --- Feature Cards Section --- */
.feature-cards-section {
    background-color: #f8f9fa;
}

.feature-card {
    border: 1px solid #e0e0e0;
    border-radius: 1rem;
    padding: 1rem 1rem;
    text-align: center;
}

.feature-icon {
    background-color: #f2eadd;
    border-radius: 0.75rem;
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon .icono {
    font-size: 2.5rem;
}

.feature-card p {
    font-weight: 500;
    color: #694f5b;
    font-size: 1.1rem;
    margin-bottom: 0;
}

/* --- Testimonials Section --- */
.section-title-black {
    font-size: 2.6rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 1rem;
}

.testimonials-section .lead-text {
    font-size: 1.7rem;
    color: #6c757d;
}

.testimonial-card {
    background-color: var(--white);
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
    height: 100%;
    text-align: center; /* Centrar todo el texto */
}

.testimonial-card .stars {
    color: #fabb05;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.testimonial-card p {
    font-size: 1.4rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    overflow-wrap: break-word;
}

.testimonial-card a {
    color: var(--text-color);
    text-decoration: underline;
    margin-bottom: 1.5rem;
    display: block;
}

.author-info {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.author-info img {
    border-radius: 50%;
    margin: 0 auto 0.5rem auto; /* Centrar y añadir margen inferior */
    display: block;
    width: 40px;
    height: 40px;
}

.author-info strong {
    display: block; /* Apilar verticalmente */
    font-size: 0.9rem;
}

.author-info small {
    color: #6c757d;
    font-size: 0.8rem;
    display: block; /* Apilar verticalmente */
}

/* --- Contact Form Section --- */
.form-container {
    background-color: var(--white);
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
}

.form-header {
    background-image: linear-gradient(to right, #4caf50, #388e3c);
    color: var(--white);
    padding: 1.5rem;
    text-align: center;
}

.form-header p {
    margin: 0;
    font-size: 1.7rem;
    font-weight: 700;
}

.form-body {
    padding: 1rem;
}

.form-body p {
    text-align: justify;
}

.form-body .form-control {
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
}

/* --- Therapist Videos Section --- */
.video-card .video-wrapper {
    position: relative;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    border: 5px solid var(--main-green);
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: inset 0 0 0 5px var(--white);
}

.video-card .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem; /* Ajustar el radio para que se vea bien con el "gap" */
}

.video-card .video-title-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: lighter;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 3em; /* Reserve space for two lines */
}

.video-card .video-title-link i {
    color: var(--main-orange);
    margin-right: 0.5rem;
}

/* --- News Section --- */
.news-section .text-orange {
    color: var(--main-orange);
    text-decoration: none;
    font-weight: 600;
}

.news-card {
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    background-color: var(--white);
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    padding: 1rem; /* Padding for the white border effect */
}

.news-card .card-img-top {
    border-radius: 0.25rem; /* Round the image corners */
}

.news-card .card-body {
    padding: 0; /* Remove original padding */
    padding-top: 1rem; /* Space between image and text */
    display: flex;
    flex-direction: column;
}

.news-card-header {
    min-height: 5.4rem;
}

.news-card-content {
    flex-grow: 1; /* Empuja el footer hacia abajo */
}

.news-card .card-title {
    color: var(--main-orange);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.news-card .card-text {
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-card-divider {
    border: none;
    border-top: 1px solid #ddd; /* Made more visible */
}

.news-card-footer a {
    color: var(--main-orange) !important; /* Ensure orange color */
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
}

/* --- Therapist Videos Section --- */
.therapist-videos-section .section-title-orange {
    font-size: 3rem;
    color: var(--main-orange);
    font-weight: 600;
}

.grey-divider {
    border: none;
    border-top: 4px solid #e6e6e6;
    opacity: 1;
    margin: 2rem auto 1.3rem 0;
}

/* --- Booking Ribbon --- */
.booking-ribbon {
    background-color: #f8f9fa;
    padding: 2rem 0;
}

/* --- Specialist Intro Section --- */
.specialist-intro-section .section-title-orange {
    color: var(--main-orange);
    font-weight: 700;
    font-size: 2.6rem;
}

.specialist-intro-section .lead-text {
    font-size: 1.4rem;
    color: var(--text-color);
    line-height: 1.4;
}

/* --- Specialties Section --- */

.specialties-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
}
.specialties-section .specialties-title {
    font-size: 1.33rem;
    color: var(--main-orange);
    font-style: italic;
    font-weight: 700;
    line-height: 1.2;
}

@media (min-width: 992px) {
    .specialties-section .specialties-title {
        font-size: 2.2rem;
    }
    .specialties-card {
        padding: 2rem 3rem;
    }
}

.specialty-item {
    background-color: #eff7ed; /* Light green background */
    border-radius: 1rem;
    display: flex;
    align-items: center;
    /* margin-bottom: 1rem; REMOVED: Grid handles gap */
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 400;
    height: 100%; /* Ensure full height in grid */
    padding: 0.5rem; /* Added padding to container */
}

.specialty-icon {
    border-radius: 0.75rem;
    padding: 0.5rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent; /* Icon bg handled by sprite or svg? keeping transparent for now based on image */
}

/* --- Why Choose Us Section --- */
.video-container {
    border: 5px solid var(--main-green);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    box-shadow: inset 0 0 0 5px var(--white);
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    border-radius: 0.5rem; /* Ajustar el radio para que se vea bien con el "gap" */
}

.video-link {
    color: var(--text-color);
    text-decoration: none;
}
.video-link i {
    color: var(--main-orange);
}

.info-cards-container {
    border: 1px solid #e0e0e0;
    border-radius: 1.5rem;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
    height: 100%;
}

@media (max-width: 991.98px) {
    .info-cards-container {
        padding: 0.3rem !important;
    }
}

.why-choose-us-section .section-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--text-color);
}
.why-choose-us-section .section-title strong {
    color: var(--main-orange);
    font-weight: 700;
}

.info-card {
    background-color: #f8f9fa;
    border: 1px solid #e0e0e0;
    border-radius: 1rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    width: 100%;
    min-height: 80px;
}

.info-card-icon {
    background-color: #c7ebd1;
    border-radius: 0.75rem;
    padding: 0.2rem;
    margin-right: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.info-card-icon svg {
    font-size: 1.8rem;
}

.info-card-title {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-color);
    line-height: 1.3;
}

/* --- Footer V6 Styles --- */
footer {
    background-color: var(--dark-green-nav);
    color: var(--white) !important;
    font-size: 0.9rem;
    position: relative;
}

footer .footer-title {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0rem;
    margin-top: 0;
}

.footer-links a, .footer-contact a, .footer-address a {
    color: var(--white);
    text-decoration: none;
    line-height: 1.8;
}

footer a[href^="mailto:"] {
    color: var(--white) !important; /* Forzar el color blanco para los links de email */
}

.footer-links a:hover, .footer-contact a:hover, .footer-address a:hover {
    text-decoration: underline;
}

.footer-contact i {
    margin-right: 0.3rem;
}

.footer-address h6 i {
    margin-right: 0.5rem;
}

/* --- Testimonial Modal Styles --- */
#testimonialModal .modal-content {
    border-radius: 1rem;
    border: none;
}

#testimonialModal .modal-header {
    background-color: var(--main-orange);
    color: var(--white);
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
}

#testimonialModal .modal-header .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

#testimonialModal .modal-body {
    padding: 2rem;
}

#testimonialModal #testimonialModalStars {
    color: #fabb05;
    font-size: 1.5rem;
}

#testimonialModal #testimonialModalText {
    font-size: 1.1rem;
    text-align: justify;
}

/* --- Header Mobile --- */
.header-top .btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.9rem;
}

/* --- Hero Mobile --- */

.carousel-item .col-md-9 {
    width: 100%;
}
.carousel-item a {
    text-decoration: none;
    color: unset;
}
.carousel-item hr {
    opacity: unset;
}
/* --- Section Titles & Text Mobile --- */
.specialties-section .specialties-subtitle {
    font-size: 0.9rem !important;
}

/* --- Specialties Mobile --- */
.specialties-section .specialty-col {
    border-right: none;
    padding-left: 0 !important; /* Reset padding */
    align-items: flex-start; /* Alinear a la izquierda en móvil */
}
.specialties-section .specialty-col.with-border {
    border-right: 1px solid #dee2e6;
}

.specialties-section .specialty-item {
    padding-left: 15px;
    font-size: 1.3rem;
}

.specialty-item h3 {
    font-size: 1.3rem;
    margin-bottom: unset;
}

.row.g-4.justify-content-center > [class*="col-"] {
    flex: 0 0 100%;
    max-width: 100%;
}

/* --- Footer Mobile --- */
.d-md-none .social-icons-footer img {
    width: 40px;
    height: 40px;
}

.logo-block .footer-logo {
    width: 141px;
}

.sucursales-mobile .sucursal-item {
    margin-bottom: 2rem;
}

.sucursales-mobile .sucursal-item .fa-map-marker {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.sucursales-mobile .sucursal-item .footer-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin: 0;
}

.sucursales-mobile .sucursal-item p {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 0;
}
.sucursales-mobile .sucursal-item p a {
    color: white;
}

.horario-mobile .footer-title {
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 3rem;
    margin-bottom: 0.5rem;
}

/* --- Floating Buttons --- */
.booking-ribbon {
    padding: unset;
}

.why-choose-us-section {
    padding-top: 1rem !important;
    padding-bottom: 0 !important;
}

@media (max-width: 991.98px) {
    .why-choose-us-section .section-title {
        padding-top: 10px;
        margin-bottom: 1rem !important;
        font-size: 1.3rem;
    }

    .testimonials-section .section-title-black {
        font-weight: 800;
        font-size: 1.2rem;
    }

    .testimonials-section .lead-text {
        font-size: 1.2rem;
    }
}

.specialty-item .icono {
    font-size: 2rem;
}

.specialties-section {
    padding-bottom: 0.5rem !important;
}

.testimonials-section {
    background-color: #f2f2f2;
    padding-top: 1rem !important;
    padding-bottom: 2rem !important;
}

.testimonials-section .text-center {
    margin-bottom: 1.5rem !important;
}

.testimonial-card p {
    font-size: 1.3rem;
}

.testimonial-card a {
    font-size: 1.2rem;
    text-decoration: underline;
}

.contact-form-section {
    padding-top: 1rem !important;
}

.news-section {
    padding-bottom: 1rem !important;
}

.news-section .section-title-black {
    font-size: 1.5rem;
    font-weight: 600;
}

.therapist-videos-section .text-center {
    margin-bottom: 2rem;
}

.therapist-videos-section .section-title-orange {
    font-size: 1.2rem !important;
}

.therapist-videos-section .section-title-black {
    font-size: 1.5rem;
    font-weight: 600;
}

.btn-registro {
    padding: 0.5rem 0.5rem;
}

/* === SLIDER LAYOUT FIX === */
.carousel-item .inside {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
.carousel-item .contenido {
    background: white !important;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 20%;
    margin: 0px auto;
}
.carousel-item .inside .contenido * {
    text-align: center;
    font-size: 2.8vw !important;
    width: auto;
}
.carousel-item .img-container-1 {
    width: 65%;
}
#heroCarousel .carousel-indicators {
    bottom: -16px;
}
#heroCarousel .carousel-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
}
#heroCarousel .carousel-indicators .active {
    background-color: var(--main-orange);
}

/* --- Contact Strip (v7) --- */
.contact-strip {
    background-color: #f5f5f5;
    padding: 0.75rem 0; /* Restore vertical padding */
    border-bottom: 1px solid #e0e0e0;
}
.contact-strip .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-left: 4px;
    padding-right: 4px;
}
.contact-strip-item {
    flex: 1;
    max-width: 50%;
    text-align: center;
}
.contact-strip-item a {
    text-decoration: none;
    font-size: 0.65rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}
.contact-strip-item:first-child a {
    color: var(--main-orange);
}
.contact-strip-item:last-child a {
    color: var(--main-green);
}
.contact-strip-item a i {
    font-size: 1rem;
    margin-right: 0.3rem;
}

/* --- Info Banner Section --- */
.info-banner {
    background-color: #fff0e1; /* Light orange background */
    padding: 1.5rem 1rem;
    margin-top: 10px;
}
.info-banner h1 {
    color: var(--main-orange);
    font-size: 1.2rem;
    font-weight: 700;
    text-align: center;
    margin: 0;
    font-style: italic;
}

.experience-card {
    background-color: var(--white);
    border: 1px solid #e0e0e0;
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.05);
}
.experience-card h2 {
    color: var(--main-orange);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}
.experience-card p {
    color: var(--text-color);
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}
.experience-card p:last-of-type {
    margin-bottom: 0;
}

@media (min-width: 992px) {
    .info-banner h1 {
        font-size: 1.9rem;
        font-style: italic;
    }
    .experience-card {
        padding: 1.5rem 2rem 3rem;
    }
    .experience-card h2 {
        font-size: 2.2rem;
        margin-top: 1rem;
        margin-bottom: 1.5rem;
    }
    .experience-card p {
        color: var(--text-color);
        font-size: 1.3rem;
        line-height: 1.2;
        text-align: justify;
    }
}

.specialty-icon svg {
    font-size: 2.3rem;
}

/* --- Floating Buttons --- */
.floating-buttons-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f4f4f4;
    box-shadow: 0 -5px 10px rgba(0,0,0,0.1);
    display: flex;
    justify-content: space-around;
    padding: 0.75rem 0.5rem;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
}
.floating-buttons-container.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.btn-flotante {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 0.6rem;
    border-radius: 0.5rem;
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    flex-basis: 50%;
    margin: 0 0.25rem;
    transition: transform 0.2s;
}
.btn-flotante i {
    font-size: 1.8rem;
    margin-right: 0.5rem;
}
.btn-agendar {
    background-color: #ff9800; /* Orange like image */
}
.btn-whatsapp {
    background-color: #4caf50; /* Green like image */
}
.floating-buttons-spacer {
    height: 80px; /* Same height as the floating bar to prevent overlap */
}

@media (min-width: 992px) {
    .floating-buttons-container {
        bottom: 20px;
        left: auto;
        right: 20px; /* Align right */
        width: auto; /* Auto width */
        background-color: transparent; /* Remove bar background */
        box-shadow: none; /* Remove bar shadow */
        flex-direction: column; /* Stack vertically */
        padding: 0;
        gap: 10px;
        align-items: flex-end; /* Align buttons to the right */
    }

    .btn-flotante {
        flex-basis: auto; /* Reset width */
        width: 250px; /* Fixed width for consistency */
        border-radius: 15px; /* More rounded corners */
        padding: 12px 22px;
        margin: 0;
        justify-content: flex-start; /* Align content left */
        box-shadow: 0 4px 8px rgba(0,0,0,0.2); /* Individual shadows */
        font-size: 1.1rem; /* Larger text */
        line-height: 1.1;
    }

    .btn-flotante:hover {
        transform: scale(1.02);
        color: white;
    }

    .btn-flotante i {
        font-size: 2.5rem; /* Much larger icons */
        margin-right: 15px;
        width: 40px; /* Fixed width for icon alignment */
        text-align: center;
    }

    /* Specific icon adjustments to match image */
    .btn-whatsapp i {
        font-weight: 400; /* Brand icons are usually regular weight */
    }
    
    /* Hide spacer on desktop since buttons float over content */
    .floating-buttons-spacer {
        display: none;
    }
}

.text-right-block h2 {
    font-size: 1.2rem;
    color: var(--text-color);
}
.text-right-block p {
    font-size: 0.9rem;
    color: var(--text-color);
}
.text-right-block .btn {
    font-size: 0.9rem;
}


/* --- Full Width Image Text Overlay (Custom) --- */
.full-width-image-section {
    position: relative; /* Establish positioning context */
}
.content-overlay {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 65%;
    padding: 0 1.5rem; /* Add some padding */
}
.text-container {
    text-align: center;
}

.text-container p {
    font-size: 1.1rem !important; /* Use !important to override Bootstrap */
}

.text-container .btn {
    padding-left: 2.5rem !important;
    padding-right: 2.5rem !important;
}
@media (min-width: 992px) {
    .content-overlay {
        width: 58%;
    }
    .text-container h2 {
        font-size: 2.2rem !important; /* Use !important to override Bootstrap */
    }
    .text-container p {
        font-size: 2rem !important; /* Use !important to override Bootstrap */
    }
}

/* --- News Section Button --- */
.btn-ver-mas-blog {
    background-color: var(--main-orange);
    color: var(--white);
    border-radius: 0.25rem;
    padding: 0.5rem 1.5rem;
    text-decoration: none;
    font-weight: 600;
}
.btn-ver-mas-blog:hover {
    color: var(--white);
    filter: brightness(90%);
}

/* --- News Carousel --- */
#newsCarousel .news-card {
    max-width: 380px;
    margin: 0 auto; /* Center the card in the carousel item */
}

.news-carousel-background {
    background-color: #e6e6e6;
    padding: 2rem 0;
    margin-top: 1rem;
}

#testimonialCarousel .carousel-control-prev,
#therapistCarousel .carousel-control-prev,
#newsCarousel .carousel-control-prev {
    left: -20px;
}

#testimonialCarousel .carousel-control-next,
#therapistCarousel .carousel-control-next,
#newsCarousel .carousel-control-next {
    right: -20px;
}

#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon,
#therapistCarousel .carousel-control-prev-icon,
#therapistCarousel .carousel-control-next-icon,
#newsCarousel .carousel-control-prev-icon,
#newsCarousel .carousel-control-next-icon {
    background-size: 50% 50%;
}

.therapist-videos-section {
    background-color: #f2f2f2;
}

.therapist-videos-section .videos-carousel-background {
    background-color: #e0e0e0;
    padding: 1rem;
}

#videosCarousel .carousel-control-next {
    right: -40px;
}


/* --- Carousel Control Styles --- */

/* A. Regla General para todos los carruseles */
#heroCarousel .carousel-control-prev,
#heroCarousel .carousel-control-next,
#testimonialCarousel .carousel-control-prev,
#testimonialCarousel .carousel-control-next,
#therapistCarousel .carousel-control-prev,
#therapistCarousel .carousel-control-next,
#therapistCarouselDesktop .carousel-control-prev,
#therapistCarouselDesktop .carousel-control-next,
#newsCarousel .carousel-control-prev,
#newsCarousel .carousel-control-next,
#videosCarousel .carousel-control-prev,
#videosCarousel .carousel-control-next {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

#heroCarousel .carousel-control-prev-icon,
#heroCarousel .carousel-control-next-icon,
#testimonialCarousel .carousel-control-prev-icon,
#testimonialCarousel .carousel-control-next-icon,
#therapistCarousel .carousel-control-prev-icon,
#therapistCarousel .carousel-control-next-icon,
#therapistCarouselDesktop .carousel-control-prev-icon,
#therapistCarouselDesktop .carousel-control-next-icon,
#newsCarousel .carousel-control-prev-icon,
#newsCarousel .carousel-control-next-icon,
#videosCarousel .carousel-control-prev-icon,
#videosCarousel .carousel-control-next-icon {
    background-size: 50% 50%;
}

/* B. Posicionamiento para carruseles estándar */
#testimonialCarousel .carousel-control-prev,
#therapistCarousel .carousel-control-prev,
#newsCarousel .carousel-control-prev {
    left: -20px;
}

#testimonialCarousel .carousel-control-next,
#therapistCarousel .carousel-control-next,
#newsCarousel .carousel-control-next {
    right: -20px;
}

/* C. Excepción para el carrusel de videos */
#videosCarousel .carousel-control-prev {
    left: -40px;
}

#videosCarousel .carousel-control-next {
    right: -40px;
}

/* D. Excepción para el carrusel de escritorio (Terapeutas) */
#therapistCarouselDesktop .carousel-control-prev {
    left: -60px;
}

#therapistCarouselDesktop .carousel-control-next {
    right: -60px;
}

/* --- Footer Styles --- */
.footer {
    background: repeating-linear-gradient(
        -45deg,
        #30884b,
        #30884b 7px,
        #3d9957 13px,
        #3d9957 14px
    );
    color: var(--white);
    padding: 3rem 0 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-column span {
    display: block;
    font-size: 1.2rem;
    margin-bottom: .5rem;
    position: relative;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-schedule {
    list-style: disc;
    padding-left: 20px;
}

.footer-links a,
.footer-contact p {
    color: var(--white);
    text-decoration: none;
    font-size: 1rem;
}

.footer-links a:hover {
    text-decoration: underline;
}

.footer-contact p {
    align-items: center;
    margin-bottom: 1rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    font-size: 2.7rem;
}

.footer-social .fa-instagram {
    transform: scale(1.1);
}

.footer-bottom {
    background-color: #296733;
    text-align: center;
    padding: 2rem 1rem 2.5rem 1rem;
    margin-top: 1.5rem;
    border-top: 2px solid var(--white);
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
}

.footer-column hr {
    margin: 1.5rem -15px;
    opacity: unset;
}

@media (min-width: 769px) {
    .footer-content {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 4rem;
    }

    .footer-column {
        text-align: left;
    }

    .footer-column h5::after {
        left: 0;
        transform: none;
    }
}

/* Custom styles for slider text on mobile */
@media (max-width: 991.98px) {
    .slide-text-content {
        padding: 0px 0px 0px 10px;
    }
    .slide-text-content * {
        font-size: 2.8vw !important;
        line-height: 1.2 !important;
    }
}

/* === Header v4 Styles === */
.header-top {
    background-color: var(--white);
}

.header-logo {
    height: 80px;
}

.header-tagline {
    font-size: 0.8rem;
    color: #6c757d;
    line-height: 1.3;
    font-style: italic;
}

.main-nav {
    background-color: var(--dark-green-nav);
}

.margen-header {
    padding-left: 40px;
    padding-right: 40px;    
}

.margen-header2 {
    padding-left: 20px;
    padding-right: 20px;    
}

.header-v4 .main-nav .nav-item {
    border-right: 1px solid white;
    padding-left: 10px;
    padding-right: 10px;
}

.header-v4 .main-nav .nav-item:last-child {
    border-right: none;
}

.header-v4 .main-nav .container-fluid {
    padding: 0 2rem; /* Añadir padding horizontal */
}

.header-v4 .main-nav .nav-link {
    color: var(--white);
    padding: 0.5rem 3rem;
    font-size: 0.95rem;
    border-right: none; /* Se mueve al nav-item */
}

.header-v4 .main-nav .nav-link.active {
    background-color: var(--main-green);
}

.header-v4 .main-nav .nav-link:hover {
    background-color: rgba(255,255,255,0.1);
}

.header-v4 .main-nav .btn-empresas {
    background-color: var(--main-green);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    padding: 0.4rem 1.5rem;
    white-space: nowrap;
}
.header-v4 .main-nav .btn-empresas:hover {
    background-color: var(--main-green);
    color: var(--white);
    filter: brightness(90%);
}

.header-v4 .main-nav .btn-reserva {
    background-color: var(--main-orange);
    border-color: var(--main-orange);
    color: var(--white);
    border-radius: 50px;
    font-size: 0.9rem;
    padding: 0.4rem 1.5rem;
    white-space: nowrap;
}
.header-v4 .main-nav .btn-reserva:hover {
    background-color: var(--main-orange);
    color: var(--white);
    filter: brightness(90%);
}

@media (min-width: 992px) {
    .info-card {
        background-color: #eff7ed;
    }
}

/* ========================================= */
/* === UNIFIED SCROLL SNAP SLIDER STYLES === */
/* ========================================= */
.therapist-slider-section {
    background-color: #e6e6e6;
}
.therapist-scroll-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0; /* No gap on container, handled by padding on items */
    scrollbar-width: none; /* Firefox */
}

.therapist-scroll-container::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.therapist-slide-item {
    flex: 0 0 100%; /* Default Mobile: 1 slide per view */
    scroll-snap-align: start;
    padding: 0 10px;
    box-sizing: border-box;
}

/* Desktop: 2 slides per view */
@media (min-width: 992px) {
    .therapist-slide-item {
        flex: 0 0 50%; 
        padding: 0 15px;
    }
}

/* --- Universal Card Base (Mobile First) --- */
.therapist-card-universal {
    background-color: var(--white);
    border-radius: 2rem;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.therapist-card-universal .img-wrapper {
    width: 230px;
    height: 230px;
    margin: 0 auto 1.5rem auto;
    border-radius: 1rem;
    overflow: hidden;
    background-color: #e8f1ed;
    padding: 0.5rem;
    flex-shrink: 0;
}

.therapist-card-universal .img-wrapper img {
    border-radius: 0.75rem;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.therapist-card-universal .content-wrapper {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Empuja botones al fondo */
}

.therapist-card-universal span {
    font-weight: 700;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

/* Lista de especialidades en móvil: Centrada pero con bullets a la izquierda */
.therapist-card-universal .specialties-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-align: left;
    font-size: 0.9rem;
    color: var(--text-color);
    display: inline-block; /* Truco para centrar el bloque */
}

.therapist-card-universal .specialties-list p {
    margin-bottom: 0.5rem;
    padding-left: 1.2em;
    position: relative;
}

.therapist-card-universal .specialties-list p::before {
    content: '\2022';
    position: absolute;
    left: 0;
    color: var(--text-color);
}

.therapist-card-universal .university {
    font-weight: 700;
    color: #000 !important;
}

/* Botones en móvil: Apilados */
.therapist-card-universal .buttons-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
}

.therapist-card-universal .btn {
    width: 80%;
    border-radius: 1.5rem;
    padding: 0.75rem;
    font-weight: 600;
    font-size: 1.3rem;
    border: none;
    text-decoration: none;
}

.therapist-card-universal .btn-reservar {
    background-color: var(--main-orange);
    color: var(--white);
}
.therapist-card-universal .btn-ver-mas {
    background-color: var(--button-green);
    color: var(--white);
}


/* --- Universal Card Desktop Transformation --- */
@media (min-width: 992px) {
    .therapist-card-universal {
        flex-direction: row;
        align-items: flex-start;
        padding: 1.5rem;
        text-align: left;
    }

    .therapist-card-universal .img-wrapper {
        width: 140px;
        height: 140px;
        margin: 0 1.5rem 0 0;
        padding: 0; /* Sin padding interno en desktop según diseño anterior */
        background-color: transparent;
    }
    
    .therapist-card-universal .img-wrapper img {
        border-radius: 1rem; /* Radio de borde un poco mayor */
    }

    .therapist-card-universal .content-wrapper {
        display: flex;
        flex-direction: column;
        height: 100%;
    }

    .therapist-card-universal span {
        font-size: 1.4rem;
        font-weight: 800;
        font-style: italic;
        margin-bottom: 0.5rem;
        text-align: left;
    }

    .therapist-card-universal .specialties-list {
        display: block; /* Quitar inline-block */
        margin-bottom: 1rem;
        line-height: 1.3;
    }

    .therapist-card-universal .specialties-list p {
        padding-left: 0; /* Quitar sangría de bullet */
        margin-bottom: 0.2rem;
    }
    
    .therapist-card-universal .specialties-list p::before {
        content: none; /* Quitar bullet */
    }

    /* Botones en Desktop: Side by side, alineados a la derecha */
    .therapist-card-universal .buttons-wrapper {
        flex-direction: row;
        justify-content: flex-end;
        gap: 1rem;
        margin-top: auto;
        width: auto; /* Reset width */
    }

    .therapist-card-universal .btn {
        width: auto; /* Reset width */
        min-width: 100px;
        padding: 0.5rem 1.2rem;
        font-size: 0.95rem;
        border-radius: 2rem;
    }
    
    /* Orden de botones en desktop: Ver más primero, luego Reservar */
    .therapist-card-universal .btn-ver-mas {
        order: 1;
    }
    .therapist-card-universal .btn-reservar {
        order: 2;
    }
}

/* --- Custom Scroll Navigation Buttons --- */
.scroll-control-prev,
.scroll-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.scroll-control-prev:hover,
.scroll-control-next:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.scroll-control-prev {
    left: 0; /* Mobile position */
}

.scroll-control-next {
    right: 0; /* Mobile position */
}

@media (min-width: 992px) {
    .scroll-control-prev {
        left: -60px; /* Desktop out of container */
    }
    .scroll-control-next {
        right: -60px; /* Desktop out of container */
    }
}

.scroll-control-prev-icon,
.scroll-control-next-icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-repeat: no-repeat;
    background-position: 50%;
    background-size: 100% 100%;
}

.scroll-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.scroll-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

@media (min-width: 992px) {
    .btn-lg-custom {
        font-size: 1.3rem !important;
        padding: 0.8rem 3rem !important;
        font-weight: 600 !important;
        max-width: 275px;
        width: 100%;
    }
}

/* --- News Section Unified (SEO Friendly) --- */
.news-container-universal {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    scrollbar-width: none;
    padding-bottom: 1rem; /* Space for shadow */
}

.news-container-universal::-webkit-scrollbar {
    display: none;
}

.news-slide-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 0 10px; /* Gutter for mobile */
    box-sizing: border-box;
}

.news-section .section-title-block {
    text-align: center;
    margin-bottom: 2rem;
}

.news-controls {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    pointer-events: none; /* Allow clicking through the empty space */
    z-index: 5;
    display: flex;
    justify-content: space-between;
    padding: 0;
}

.news-control-btn {
    pointer-events: auto; /* Re-enable clicking on buttons */
    width: 40px;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.4);
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color 0.3s;
}

.news-control-btn:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

/* Desktop Transformation */
@media (min-width: 992px) {
    .news-section .container {
        position: relative;
    }
    
    .news-section .row-desktop-layout {
        align-items: baseline;
    }

    /* Title Block on Left */
    .news-section .section-title-block {
        text-align: left;
        margin-bottom: 0;
        padding-right: 2rem;
        padding-left: 2rem;
    }

    .news-section .btn-ver-mas-blog {
        width: 100%;
        max-width: 200px;
        text-align: center;
        display: inline-block;
    }

    .news-section .section-title-black {
        font-size: 1.7rem;
    }

    /* Grid Layout for Cards */
    .news-container-universal {
        display: flex;
        flex-wrap: wrap; /* Allow wrapping */
        overflow-x: visible; /* Disable scroll */
        scroll-snap-type: none;
        gap: 1.5rem; /* Desktop gutter */
        justify-content: flex-end; /* Align to right if needed */
    }

    .news-slide-item {
        flex: 0 0 calc(33.333% - 1rem); /* 3 Columns minus gap */
        padding: 0; /* Reset mobile padding */
        max-width: calc(33.333% - 1rem);
    }

    .news-controls {
        display: none; /* Hide mobile controls */
    }
    
    /* Card styling adjustments for Desktop */
    .news-card {
        height: 100%;
        box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.08); /* Softer shadow */
        border: none;
    }
    .news-card img {
        height: 130px; /* Further reduced height */
        object-fit: cover;
    }
    .news-card .card-body {
        padding: 1rem; /* Reduced padding */
    }
    .news-card .card-title {
        font-size: 0.9rem; /* Compact title */
        text-align: left;
        margin-bottom: 0.5rem;
    }
    .news-card-content p {
        text-align: left;
        font-size: 0.9rem;
    }
    .news-card-footer {
        text-align: left;
    }
}

/* --- Unified Video Slider Styles --- */
.videos-container-universal {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 0;
    scrollbar-width: none;
    padding: 0 0 1rem 0; /* Full width, no side padding */
}
.videos-container-universal::-webkit-scrollbar {
    display: none;
}

.video-slide-item {
    flex: 0 0 100%;
    scroll-snap-align: center;
    padding: 0 20px; /* Explicit padding to create side gutters */
    box-sizing: border-box;
}

.video-card {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center; /* Force center alignment of children */
}

.video-card .video-wrapper {
    width: 100%;
    /* Ensure wrapper keeps its existing green border styles from previous css blocks if defined, or redefine here if missing */
    border: 5px solid var(--main-green);
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    padding-top: 56.25%;
    box-shadow: inset 0 0 0 5px var(--white);
}

.video-card .video-title-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: lighter;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 1rem;
    font-size: 1rem;
    width: 100%; /* Ensure full width for centering */
}

.video-card .video-title-link i {
    color: #f5843b;
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

/* Desktop Transformation for Videos */
@media (min-width: 992px) {
    .videos-container-universal {
        display: flex;
        flex-wrap: wrap;
        overflow-x: visible;
        scroll-snap-type: none;
        gap: 1.5rem;
        justify-content: flex-end;
        padding: 0;
    }

    .video-slide-item {
        flex: 0 0 calc(33.333% - 1rem);
        max-width: calc(33.333% - 1rem);
        padding: 0;
    }
    
    .video-card {
        align-items: flex-start; /* Reset alignment for desktop */
    }

    .video-card .video-title-link {
        text-align: left;
        justify-content: flex-start;
        font-size: 0.9rem;
        margin-top: 0.5rem;
    }
    
    .therapist-videos-section .section-title-black {
        font-size: 1.7rem;
    }
    .section-title-block {
        text-align: left !important;
    }

}

/* --- Desktop Footer Styles --- */
@media (min-width: 992px) {
    .footer-title-desk {
        display: block;
        font-size: 1.2rem;
        font-weight: 500;
        margin-bottom: 1rem;
    }
    
    .footer-links-desk {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-links-desk li {
        margin-bottom: 0.3rem;
    }
    
    .footer-links-desk a {
        color: var(--white);
        text-decoration: none;
        font-size: 1rem;
        font-weight: 400;
    }
    
    .footer-links-desk a:hover {
        text-decoration: underline;
    }
    
    .footer-contact-desk a {
        color: var(--white);
        text-decoration: none;
        font-size: 1.1rem;
    }

    .footer-contact-desk a:hover {
        text-decoration: underline;
    }

    .footer-contact-desk p {
        font-size: 1.1rem;
        display: flex;
        align-items: center;
    }
    
    .footer-social-desk {
        display: flex;
        gap: 0.5rem;
    }
    
    .footer-social-desk a {
        color: var(--white);
        font-size: 2.5rem; /* Large icons */
        line-height: 1;
        text-decoration: none;
    }
    
    .footer-social-desk a:hover {
        opacity: 0.8;
    }

    .footer-schedule-desk {
        font-size: 1rem;
        line-height: 1.4;
    }

    .footer {
        padding: unset;
    }

    .footer-bottom {
        padding: 1.5rem 1rem 1.4rem 1rem;
    }
    .footer-bottom p {
        font-size: 1rem;
    }
}

.main-nav .dropdown-item {
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s;
}
.main-nav .dropdown-item:hover {
    color: var(--white);
    background-color: var(--main-green);
}

@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
    }
}

.main-nav .dropdown-menu {
    background-color: var(--dark-green-nav);
    border-radius: 0 0 0.25rem 0.25rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    padding: 0;
    margin-top: 0;
}