* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
@font-face {
    font-family: 'Bri';
    src: url('../font/Brinnan\ Light.otf') format('opentype'); /* Formato correcto */
}
@font-face {
    font-family: 'Bri';
    font-weight: bold;
    src: url('../font/Brinnan\ Bold.otf') format('opentype'); /* Formato correcto */
}

body {
    font-family: "Bri";
    color: white;
}

header {
    width: 100%;
    position: absolute; /* El header está posicionado sobre el contenido del hero-section */
    top: 0;
    left: 0;
    z-index: 10; /* Asegura que el header esté en la parte superior */
    background-color: transparent; /* Header transparente */
}

.nav-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 50px;
    width: 100%;
}

.navborder {
    width:  50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 2rem;
    border-bottom: 2px solid#4496D0;
}

.logo {
    width: 200px; /* Ajusta el tamaño del logo según sea necesario */
}

nav {
    display: flex;
    gap: 40px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #b0c4de;
}

.hero-section {
    height: 100vh;
    background-image: url('../img/WhatsApp\ Image\ 2024-05-08\ at\ 09.24.png'); /* Asegúrate de usar la imagen correcta aquí */
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(21, 50, 147, 0.371)); /* Gradiente de arriba hacia abajo */
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.hero-content h1 {
    font-weight: 300;
    font-family: "Bri";
    font-size: 70px;
    margin-bottom: 20px;
}

.btn-contacto {
    display: inline-block;
    padding: 10px 20px;
    background-color: #14407F;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 18px;
    margin-right: 10px;
}

.btn-down {
    display: inline-block;
    padding: 10px;
    background-color: transparent;
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.social-links {
    position: absolute;
    right: 10rem;
    top: 20rem;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.social-links img {
    width: 35px;
    padding: 4px;
    
    border: 1px solid rgb(205, 205, 205);
    border-radius: 50%;
    
}

.social-links a {
    color: white;
    font-size: 10px;
    text-decoration: none;
}
@media only screen and (max-width: 768px) {
    .nav-container {
        padding: 10px 20px;
    }

    .navborder {
        width: 100%; /* El menú ocupa todo el ancho de la pantalla */
        justify-content: space-around;
        padding-bottom: 1rem;
        border-bottom: 1px solid blue; /* Reducimos el tamaño del borde */
    }

    .logo {
        width: 150px; /* Reducimos el tamaño del logo en móviles */
    }

    nav {
        gap: 20px; /* Menor espacio entre los elementos del menú */
    }

    nav a {
        font-size: 16px; /* Tamaño de texto más pequeño */
    }

    .hero-content h1 {
        font-size: 40px; /* Texto más pequeño para encajar en pantallas pequeñas */
    }

    .btn-contacto {
        padding: 8px 15px;
        font-size: 16px;
    }

    .btn-down {
        font-size: 20px;
    }

    .social-links {
        right: 1rem; /* Ajuste para que las redes sociales se alineen mejor en móviles */
        top: auto;
        bottom: 2rem; /* Posicionamos las redes sociales en la parte inferior */
        gap: 10px;
    }

    .social-links img {
        width: 30px; /* Iconos de redes sociales más pequeños en móviles */
    }
}

@media only screen and (max-width: 480px) {
    .hero-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        text-align: center;
        width: 78%;
    
    }
    .hero-content h1 {
        font-size: 48px;
    }

    .btn-contacto {
        padding: 6px 12px;
        font-size: 14px;
    }

    .btn-down {
        font-size: 18px;
    }

    .navborder {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        padding-bottom: 1rem;
    }

    .social-links {
        right: 1rem;
        bottom: 1rem;
    }

    .logo {
        width: 180px; /* Logo más pequeño en pantallas muy pequeñas */
    }
}

.section-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    padding: 6rem;
}

.left-column,
.right-column {
    width: 50%;
}
.left-column{
    position: relative;

}

.left-column h1 {
    font-size: 40px;
    font-weight: bold;
    color: #003b8b;
    margin-bottom: 10px;
}

.left-column h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #666;
}

.left-column p {
    font-size: 18px;
    line-height: 26px;
    font-family: "Poppins", sans-serif;
    margin-bottom: 20px;
    color: #555;
    max-width: 90%;
}

.left-column img {
    width: 80%;
    border-radius: 10px;
    margin-top: 20px;
}

.right-column img {
    width: 80%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.right-column h2 {
    font-size: 38px;
    color: #003b8b;
    margin-bottom: 10px;
}

.right-column h4 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #666;
}

.right-column p {
    font-size: 18px;
    line-height: 26px;
    margin-bottom: 20px;
    color: #555;
    font-family: "Poppins", sans-serif;
    max-width: 90%;
}


.buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    padding: 10px 20px;
    background-color: #003b8b;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

.btn-secondary {
    padding: 10px 20px;
    background-color: transparent;
    color: #003b8b;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #003b8b;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .section-container {
        flex-direction: column;
        padding: 20px;
    }

    .left-column,
    .right-column {
        width: 100%;
        margin-bottom: 40px;
    }
    .left-column img,
    .right-column img{
        width: 100%;
       
    }
    .left-column h1 {
        font-size: 44px;
        font-weight: bold;
        color: #003b8b;
        margin-bottom: 10px;
    }
    .left-column p,
    .right-column p{
        max-width: 100%;
       
    }

    .buttons {
        justify-content: center;
    }
}

.consulta-section {
    background-color: #003b8b; /* Fondo azul */
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.consulta-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    background-color: #003b8b; /* Fondo del contenedor */
    padding: 20px;

}

.text-content {
    color: white;
    max-width: 70%;
}

.text-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: white;
}

.text-content p {
    font-size: 24px;
    line-height: 1.5;
    color: white;
    width: 101%;
}

.btn-container {
    max-width: 20%;
}

.btn-consulta {
    display: inline-block;
    padding: 10px 20px;
    background-color: white;
    color: #003b8b;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    border: 2px solid #003b8b;
    transition: background-color 0.3s, color 0.3s;
}

.btn-consulta:hover {
    background-color: #003b8b;
    color: white;
    border: 2px solid white;
}

/* Responsividad para móviles */
@media (max-width: 768px) {
    .consulta-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .text-content {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .text-content p {
        font-size: 24px;
        line-height: 1.5;
        color: white;
        width: 100%;
    }
    .btn-container {
        max-width: 100%;
        text-align: left;
    }

    .btn-consulta {
        width: 100%;
    }
}




.condiciones-titulo {
    color: #003b8b;
    font-size: 45px;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}

.columna-izquierda, .columna-derecha {
    width: 48%; /* Ajusta el ancho de las columnas */
}
.condiciones-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 50px;
}
.condicion-item {
    margin-bottom: 20px;
    border-radius: 10px;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    flex-basis: 450px;
    flex-grow: 1;
}

.condicion-item:hover {
    transform: translateY(-5px);
}

.condicion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.icono-texto {
    display: flex;
    align-items: center;
    gap: 10px;
}

.condicion-icono {
    width: 73px;
    height: 48px;
    margin-right: 1rem;
    object-fit: contain ;
}
img.condicion-icono.dolor {
    height: 55px;
    width: 50px;
}

.condicion-titulo {
    text-align: left;
    font-size: 24px;
    color: #003b8b;
}

.condicion-simbolo {
    font-size: 40px;
    font-weight: bold;
    color: #003b8b;
}

.condiciones-section {
    padding: 6rem;
    max-width: 100%;
    background-color: #E9ECEF;
    margin: auto;
    text-align: center;
}
.condicion-detalles {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease-out;
    margin-top: 20px;
    text-align: left;
    font-size: 16px;
    color: #555;
}

.condicion-descripcion {
    margin: 0;
    font-family: "Poppins",sans-serif;
    line-height: 28px;
}

.condicion-item.open .condicion-detalles {
    max-height: 500px; /* Altura máxima para animación */
}

@media (max-width: 768px) {
    .condicion-item {
        width: 100%;
    }
    
    .condiciones-section {
        padding: 0px;
        max-width: 100%;
        margin: auto;
        text-align: center;
    }
    .condicion-titulo {
        text-align: left;
        font-size: 22px;
        color: #003b8b;
    }
    .condiciones-titulo {
        color: #003b8b;
        font-size: 35px;
        margin-top: 0rem;
        padding-top: 3rem;
        margin-bottom: 2rem;
    }
}
@media (max-width: 768px) {
    .columna-izquierda, .columna-derecha {
        width: 100%; /* Ajusta el ancho a 100% en pantallas pequeñas */
    }
}
.tratamientos-section {
    padding: 40px;
    max-width: 1400px;
    margin: auto;
    text-align: center;
}

.tratamientos-titulo {
    color: #333;
    font-size: 40px;
    margin-bottom: 40px;
}

.tratamientos-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.tratamiento-card {
    background-color: #fff;
    border-radius: 15px;
    width: calc(25% - 20px); /* Ajuste para espacio entre tarjetas */
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}
img.flecha {
    position: relative;
    top: 1rem;
}

.tratamiento-card:hover {
    transform: scale(1.05);
}

.tratamiento-content {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 15px;
    background-color: #003b8b;
    color: white;
}
.tratamiento-content2 {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
    border-radius: 15px;
    background-color: #ffffff;
    color: #003b8b;
}


.tratamiento-content h3 {
    font-size: 20px;
    text-align: center;
    padding: 10px;
    margin: 0;
}

.tratamiento-imagen {
    background-size: cover;
    background-position: center;
    width: 100%;
    height: 100%;
    border-radius: 15px;
}

@media (max-width: 768px) {
    .tratamiento-card {
        width: calc(50% - 20px); /* Dos columnas en pantallas más pequeñas */
    }
}

@media (max-width: 480px) {
    .tratamiento-card {
        width: 100%; /* Una columna en pantallas muy pequeñas */
    }
}

.footer {
    background-color: #e0e0e0; /* Color gris claro */
    padding: 40px 20px;
    text-align: center;
    font-family: "Poppins", sans-serif;
}

.footer-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
}

.footer-logo img {
    width: 280px; /* Tamaño del logo */
}

.divider{
    height: 100px;
}
.footer-info, .footer-social, .footer-agenda {
    flex: 1;
    margin: 20px;
    text-align: center;
}

.footer-info h3, .footer-social h3, .footer-agenda h3 {
    color: #000;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.footer-info p, .footer-agenda p, .footer-social p {
    font-size: 16px;
    color: #333;
    margin: 5px 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-icons a {
    color: #333; /* Color de los íconos */
    font-size: 30px; /* Tamaño de los íconos */
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: #003b8b; /* Color al hacer hover */
}
.footer-bottom {
    margin-top: 20px;
    border-top: 1px solid #ccc;
    padding-top: 20px;
    font-size: 14px;
    color: #555;
    align-items: center;
    display: flex;
    justify-content: center;
}
.footer-bottom i {
    margin-left: 5px;
    font-size: 16px;
}
img.molca {
    width: 18px;
}


@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-info, .footer-social, .footer-agenda {
        margin: 10px 0;
    }
    
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
}

.whatsapp-float a {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-decoration: none;
}