.page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
header {
    position: sticky;
    top: 0;
    z-index: 999;
    background-color: white; /* Asegura visibilidad */
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Opcional: sombra para distinguir el menú */
}

/* Importar fuentes */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}



.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 40px;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    width: 180px; /* Ajuste para mejor adaptabilidad */
    max-width: 100%;
    height: auto;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 40px;
    text-align: center;
	align-content:center;
	
}

.nav-links a {
    text-decoration: none;
    color: #003366;
    font-weight: 500;
	font-size: 20px;
}

.nav-links .active {
    border-bottom: 6px solid #A36D9C;
}

/* .btn-contacto { */
    /* background: #f9b5c6; */
    /* padding: 8px 15px; */
    /* border-radius: 20px; */
    /* color: #fff; */
    /* text-decoration: none; */
/* } */

.responsive-only {
    display: none; /* Ocultar por defecto */
}

/* Mostrar solo cuando el menú móvil esté activo */
@media screen and (max-width: 768px) {
    .responsive-only {
        display: block;
    }
}


/* Estilos para el icono hamburguesa */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle .bar {
    height: 3px;
    width: 25px;
    background-color: #333;
    margin: 4px 0;
    transition: 0.4s;
}

/* Estilos responsivos */
@media (max-width: 1024px) {
    .navbar {
        padding: 5px 20px;
    }

    .nav-links {
        gap: 30px;
    }

    .content h1 {
        font-size: 4rem;
    }

    .content p {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        top: 60px;
        right: 0;
        background-color: #fff;
        width: 100%;
        height: calc(100vh - 60px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .btn-contacto {
        display: none; /* Ocultar el botón en versiones móviles */
    }
	

    .content h3 {
        font-size: 3rem;
    }

    .content p {
        font-size: 0.9rem;
    }

    .hero {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 120px;
    }

    .content h1 {
        font-size: 2.5rem;
    }

    .content p {
        font-size: 0.8rem;
    }

    .btn-cta {
        padding: 8px 15px;
        font-size: 0.9rem;
    }

    .hero {
        height: 200px;
    }
}

.hero {
    background: url('images/Banner manos.webp') center/cover no-repeat;
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #003366;
}

.content h1 {
    font-size: 5rem;
}

.content p {
    font-size: 1.2rem;
	text-align:left;
}

.btn-cta {
    background: #003366;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    margin-top: 10px;
    display: inline-block;
}

/* SECCION 2 */
.section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 469px;
    background: url('images/banner doctoras.webp') no-repeat center center/cover;
    padding: 20px;
}

.content {
    max-width: 450px;
    text-align: center;
    margin-right: 60px;
}

.highlight {
    font-size: 60px;
    text-align: center;
    color: #0a2b57;
	font-weight: normal;
}

.highlight2 {
    font-size: 60px;
    text-align: center;
    color: #0a2b57;
    font-weight: bold;
}

.texto1 {
    color: #0a2b57;
    font-size: 18px;
    line-height: 1.5;
    text-align: center;
}


/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
    .section {
        background: url('images/banner_1.webp') no-repeat center center/cover;
        height:900px;  /* Altura fija, puedes ajustar según necesites */
        justify-content: center; /* Centra el contenido horizontalmente */
        align-items: flex-start; /* Coloca el contenido en la parte superior */
        padding: 20px 10px; /* Espaciado superior e inferior */
    }

    .content {
        max-width: 100%;
        margin: 0 10px;
        padding-top: 20px; /* Espacio extra desde la parte superior */
		max-height: 100%;
    }

    .highlight, .highlight2 {
        font-size: 36px; /* Reduce el tamaño del texto para pantallas pequeñas */
    }

    .texto1 {
        font-size: 16px; /* Ajusta el tamaño del texto */
    }
}

		
/* SECCION3 */
       .container {
    font-family: Arial, sans-serif;
    background-color: #0b2c48;
    color: white;
    text-align: center;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Versión escritorio */
    gap: 20px;
    padding: 50px;
    justify-items: center;
}

.pillar {
    width: 250px;
    padding: 0px;
    border-radius: 70px;
    text-align: center;
}
.pillar h3{
   color:white;
}
.underline {
    width: auto;
    height: 7px;
    background-color: #0b2c48;
    margin: 0 auto 40px auto;
}

.blue {
    background-color: #1f6fb2;
}

.pink {
    background-color: #b2689e;
}

.pillar img {
    width: 100px;
    height: 100px;
    margin-bottom: 10px;
}

.texto2 {
    display: flex;
    justify-content: center;
    font-size: 30px;
    background-color: #0b2c48;
    padding-top: 30px;
    color: white;
}

/* Adaptación para tablets (pantallas entre 768px y 1024px) */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas medianas */
        padding: 30px;
    }

    .pillar {
        width: 200px;
    }

    .texto2 {
        font-size: 25px;
        padding-top: 20px; /* Espaciado superior reducido */
        line-height: 1.4; /* Mejor lectura */
        text-align: center; /* Alineación centrada */
    }
}

/* Adaptación para móviles (pantallas menores a 768px) */
@media (max-width: 768px) {
    .container {
        grid-template-columns: 1fr; /* 1 columna en pantallas pequeñas */
        padding: 20px;
    }

    .pillar {
        width: 100%;
        border-radius: 40px;
    }

    .pillar img {
        width: 80px;
        height: 80px;
    }

    .texto2 {
        font-size: 18px; /* Ajuste de tamaño para mejorar la legibilidad */
        padding-top: 15px; /* Espaciado superior ajustado */
        padding-left: 10px;
        padding-right: 10px; /* Añadimos un poco de espacio lateral para evitar que el texto se pegue */
        line-height: 1.4; /* Mejor legibilidad */
        text-align: center; /* Alineación centrada */
    }
}


/* SECCION_4 */
.banner4 {
            width: 100%;
            max-height: auto; /* Ajusta la altura según necesidad */
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .banner4 img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
		
/* banners */
.banner {
            width: 100%;
            max-height: auto; /* Ajusta la altura según necesidad */
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .banner img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
/* SECCION_5 */
.container2 {
    display: flex;
    max-width: auto;
    background: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.text-section {
    width: 50%;
    padding: 40px;
    background: linear-gradient(to right, #d4c2d9, #e6eaf0);
}

.texto3 {
    color: #1d1b45;
    font-size: 50px;
    text-align: center;
	font-weight:normal;
}

.text-section p {
    color: #1d1b45;
    line-height: 1.6;
    text-align: justify;
}

.image-section {
    width: 100%;
}

.image-section img {
    width: 100vh;
    height: 100%;
    object-fit: cover;
}

/* MEDIA QUERIES PARA ADAPTAR A PANTALLAS MÁS PEQUEÑAS */
@media (max-width: 768px) {
    .container2 {
        flex-direction: column; /* Cambia la disposición a columna en pantallas pequeñas */
    }

    .text-section, .image-section {
        width: 100%; /* Ambas secciones ocuparán todo el ancho */
    }

    .text-section {
        padding: 20px; /* Menos padding en pantallas pequeñas */
    }

    .texto3 {
        font-size: 30px; /* Ajusta el tamaño de fuente para pantallas más pequeñas */
    }

    .image-section img {
        width: 100%; /* Asegura que la imagen ocupe el 100% del ancho */
        height: auto; /* Mantiene la proporción de la imagen */
    }
}

/* SECCION_6 */
.consulta-ginecologica {
    background-color: #f0ebf1;
    padding: 10px;
    text-align: center;
}

.consulta-ginecologica .texto3 {
    font-size: 24px;
    font-weight: bold;
    color: #00274d;
    background-color: #ffffff;
    max-width: 100%;
    padding: 20px;
    /* border-top: 1px solid #ccc; */
    /* border-bottom: 1px solid #ccc; */
}

.resaltado {
    color: #006699;
}

.contenedor {
    display: flex;
    flex-wrap: wrap; /* Permite que los bloques se acomoden en varias líneas si no caben */
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.underline2 {
    width: 80%;
    max-width: 1180px;
    height: 7px;
    background-color: #f0ebf1;
    margin: 0 auto 40px auto;
}

.bloque {
    width: 22%; /* Reduce ligeramente para evitar sobrecargas */
    max-width: 280px; /* Evita que se vea demasiado grande en pantallas grandes */
    min-width: 200px; /* Asegura un mínimo de tamaño en móviles */
    border-radius: 50px;
    color: white;
    text-align: center;
    margin-top: 30px;
    padding: 30px 15px;
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.5);
}

.interrogatorio {
    background-color: #1d5c99;
}

.exploracion {
    background-color: #a477a6;
}

.bloque h3 {
    font-size: 18px;
    font-weight: bold;
	color:white;
}

.bloque p {
    font-size: 14px;
    margin-top: 10px;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .bloque {
        width: 30%; /* Aumenta el tamaño para aprovechar el espacio */
    }
}

@media (max-width: 768px) {
    .contenedor {
        flex-direction: column; /* Apila los bloques verticalmente */
        align-items: center;
    }
    .bloque {
        width: 80%; /* Usa más ancho en móviles */
    }
}

@media (max-width: 480px) {
    .consulta-ginecologica .texto3 {
        font-size: 20px; /* Reduce el tamaño de la fuente en pantallas pequeñas */
    }
    .bloque {
        width: 90%; /* Usa casi todo el ancho disponible */
    }
}

/* SECCION_7 */

.body2 {
            margin: 0;
            font-family: Arial, sans-serif;
            background: linear-gradient(to bottom, #d3b2d6, #add8e6);
            color: #0a2f4d;
            text-align: center;
			padding-bottom: 30px;
        }
        .container7 {
            padding: 20px;
        }
        
        .cards {
            display: flex;
            justify-content: center;
            gap: 20px;
            flex-wrap: wrap;
            margin-top: 20px;
        }
        .card {
            background: #e6f2f9;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            padding: 20px;
            width: 300px;
            transition: transform 0.3s;
        }
        .card:hover {
            transform: translateY(-10px);
        }
        .icon {
            font-size: 50px;
            margin-bottom: 15px;
        }
        .title {
            font-size: 0.9rem;
            font-weight: bold;
            margin-bottom: 5px;
			background-color: #ffffff;
			max-width: 100%;
            padding: 10px;
            border-top: 1px solid #ccc;
            border-bottom: 1px solid #ccc;
			
        }
        .description {
            font-size: 1rem;
            line-height: 1.5;
			font-weight: normal;
        }
        @media (max-width: 768px) {
            h1 {
                font-size: 2rem;
            }
            .card {
                width: 90%;
            }
        }

/* SECCION_8 */

	.banner8 {
            width: 100%;
            max-height: auto; /* Ajusta la altura según necesidad */
            overflow: hidden;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .banner8 img {
            width: 100%;
            height: auto;
            object-fit: cover;
        }
        
/* <!-- SECCION_9 -->BANNER HTML*/
.section-container2 { 
    display: flex;
    height: 100%;
    background: url('images/doctora driana fondo.webp') no-repeat center center/cover;
    color: white;
    padding: 50px;
}

.text-column {
    width: 50%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-left: auto;
}

.text-column h3 {
    font-size: 2.5em;
    margin-bottom: 10px;
	color:white;
}

.text-column p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.text-column ul {
    list-style-type: none;
    padding: 0;
}

.text-column li {
    margin-bottom: 15px;
    padding-left: 20px;
    position: relative;
}

.text-column li::before {
    content: '\25A0';
    position: absolute;
    left: 0;
    color: #ff69b4;
}

/* Adaptación para tablets y pantallas medianas */
@media (max-width: 1024px) {
    .section-container2 {
        padding: 30px;
    }

    .text-column {
        width: 100%;
        padding: 20px;
    }

    .text-column h1 {
        font-size: 2em;
    }

    .text-column p {
        font-size: 1.1em;
    }
}

/* Adaptación para pantallas pequeñas y cambio de fondo */
@media (max-width: 768px) {
    .section-container2 {
        flex-direction: column;
        padding: 20px;
        text-align: center;
        background: url('images/doctora fondo azul.webp') no-repeat center center/cover; /* Cambio de fondo */
		height: 1154px;;
    }

    .text-column {
        width: 100%;
        /* padding: 15px; */
        margin-left: 0;
		margin-top: 650px;
		
    }

    .text-column h1 {
        font-size: 1.8em;
    }

    .text-column p {
        font-size: 1em;
    }
}

/* Adaptación para pantallas muy pequeñas */
@media (max-width: 480px) {
    .section-container2 {
        padding: 10px;
        background: url('images/doctora fondo azul.webp') no-repeat center center/cover; /* Asegurando el cambio para pantallas muy pequeñas */
    }

    .text-column {
        padding: 10px;
    }

    .text-column h1 {
        font-size: 1.5em;
    }

    .text-column p {
        font-size: 0.9em;
    }
}




/* SECCION_10 */

.body_10 {
    font-family: Arial, sans-serif;
    text-align: center;
    background: linear-gradient(to bottom, #b89bb3, #accef1);
    color: #333;
    padding: 20px;
}

.texto_10 {
    color: #004080;
    font-size: 40px;
    font-weight: normal;
    background-color: #f0ebf0;
    width: 100%;
    padding: 20px;
    margin-bottom: 50px;
    /* border-top: 1px solid #ccc; */
    /* border-bottom: 1px solid #ccc; */
    display: block;
    box-sizing: border-box;
    text-align: center;
}

.texto_101 {
    color: #003366;
    font-size: 24px;
    font-weight: normal;
    margin-bottom: 30px;
    display: block;
}

.slider-container {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: auto;
    overflow: hidden;
	
	
}

.slider {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    margin-bottom: 50px;
	
}

.paquete {
    width: 100%;
    flex: 0 0 100%;
    background: #d9534f;
    border-radius: 25px;
    padding: 20px;
    text-align: center;
    box-sizing: border-box;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.paquete h3 {
    width: 400px;
    padding-top: 20px;
    margin: -20px -20px 10px -20px;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    font-size: 24px;
	color:white;
}

.underline_h3 {
    width: 400px;
    height: 7px;
    background-color: #accef1;
    margin: 0 auto 40px auto;
    margin-top: 30px;
}

.paquete img {
    width: 300px;
    height: auto;
    margin-bottom: 10px;
}

.precio {
    font-size: 60px;
    font-weight: bold;
}

.paquete {
    position: relative;
    display: inline-block;
    font-size: 20px;
    color: #fff;
}

.paquete del {
    text-decoration: none;
    position: relative;
    font-size: 40px;
}

.paquete del::after {
    content: "";
    position: absolute;
    top: 50%;
    left: -5%;
    width: 110%;
    height: 5px;
    background-color: white;
    transform: rotate(-10deg);
}

.paquete p {
    font-size: 20px;
}

.nav-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

/* Estilos Responsivos */
@media (max-width: 768px) {
    .texto_10 {
        font-size: 30px;
        padding: 15px;
    }
    
    .texto_101 {
        font-size: 20px;
    }
    
    .slider-container {
        max-width: 100%;
    }
    
    .paquete h3, .underline_h3 {
        width: auto;
		align-items: center;
    }
    
    .paquete img {
        width: 100%;
        max-width: 250px;
    }
    
    .precio {
        font-size: 40px;
    }
}

@media (max-width: 480px) {
    .texto_10 {
        font-size: 25px;
        padding: 10px;
    }
    
    .texto_101 {
        font-size: 18px;
    }
    
    .paquete h3 {
        font-size: 20px;
    }
    
    .paquete img {
        max-width: 200px;
    }
    
    .precio {
        font-size: 30px;
    }
}

		
		
/* SECCION_11 */
.body_11 {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #0B3D60;
            color: white;
            text-align: center;
        }
        .container_11_i {
            max-width: 1100px;
            margin: 0 auto;
            padding: 20px;
        }
        .texto_11 {
            font-size: 28px;
            text-transform: uppercase;
            font-weight: bold;
            margin-bottom: 20px;
        }
        .section-wrapper {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        .section_11 {
            background-color: #3C7CA6;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
            position: relative;
        }
        .section_11 h2 {
            font-size: 18px;
            text-transform: uppercase;
            margin-bottom: 10px;
        }
        .section_11 p {
            font-size: 14px;
        }
        .maya-number {
            font-size: 40px;
            display: block;
            text-align: center;
            color: #A9D6F2;
            font-weight: bold;
            margin-bottom: 10px;
        }
        .top-section, .bottom-section {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
            margin-bottom: 20px;
        }
        @media (max-width: 768px) {
            .top-section, .bottom-section {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        @media (max-width: 480px) {
            .top-section, .bottom-section {
                grid-template-columns: 1fr;
            }
        }
		
		

	/* SECCION12 */
		iframe {
        width: 400px;
        border-radius: 20px;
		}
	.texto_footer{
		text-align: left; 
		max-width: 460px;
		line-height: 1.6;
	}
	.texto4 {
            color: #fffff;
			font-size: 14px;
			text-align:left; 
			font-weight: normal;
	}
	
	.texto5 {
            color: #fff;
			font-size: 14px;
			text-align:left;
			font-weight: bold;
	}

/* FLECHA DE REGRESO */
#irArriba {
  position: fixed;
  bottom: 110px;
  right: 240px;
  background-color: #333;
  color: white;
  border: none;
  padding: 12px 16px;
  border-radius: 10%;
  cursor: pointer;
  font-size: 30px;
  display: none; /* Oculto por defecto */
  box-shadow: 0 4px 6px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: background-color 0.3s;
}

#irArriba:hover {
  background-color: pink;
}

/* RESPONSIVO PARA TABLETS */
@media (max-width: 1024px) {
  #irArriba {
    right: 40px;
    bottom: 90px;
    font-size: 28px;
    padding: 10px 14px;
  }
}

/* RESPONSIVO PARA MÓVILES */
@media (max-width: 768px) {
  #irArriba {
    right: 20px;
    bottom: 70px;
    font-size: 26px;
    padding: 8px 12px;
  }
}
/* FOOTER */


   footer {
            background-color: #033C5A;
            color: white;
            padding: 5px 0;
            display: flex;
            justify-content: space-around;
            align-items: center;
            flex-wrap: wrap; /* Permite que los elementos se ajusten en pantallas pequeñas */
        }

        footer div {
            margin: 10px;
        }

        .texto_footer {
            text-align: left;
        }

        /* Imágenes responsivas */
        img {
            max-width: 100%;
            height: auto;
        }

        iframe {
            width: 100%;
            max-width: 400px;
        }

        /* Media Query para pantallas menores a 768px (tablets y móviles) */
        @media (max-width: 768px) {
            footer {
                flex-direction: column;
                text-align: center;
            }

            .texto_footer {
                text-align: center;
                padding: 0 20px;
            }

            footer div:first-child {
                display: flex;
                flex-direction: column;
                align-items: center;
            }

            footer div:first-child div {
                display: none; /* Oculta la línea vertical en pantallas pequeñas */
            }

            iframe {
                height: 200px;
            }
        }

        /* Media Query para pantallas muy pequeñas (<480px) */
        @media (max-width: 480px) {
            iframe {
                height: 150px;
            }

            footer div {
                margin: 5px 0;
            }

            .texto_footer {
                font-size: 14px;
            }

            .texto_footer p {
                margin: 5px 0;
            }
        }
