@media screen and (max-width:1395px) {
    .sec-18 .container-fluid {
        max-width: 100%;
    }

    .sec-18 h1 {
        font-weight: 700;
        color: #fff;
        margin-bottom: 1rem;
        font-size: 80PX;
        transition: color 0.3s ease;
    }

    .sec-18 h3 {
        font-weight: 700;
        color: #fff;
        margin-bottom: 1rem;
        font-size: 30PX;
    }

    .sec-18 p {
        font-size: 18PX;
        font-weight: 300;
        line-height: 1.5;

    }
}

@media screen and (max-width:1074px) {
    header .redes {
        display: none;
    }
}

@media screen and (max-width:1024px) {

    .item .content {
        top: 42%;
        left: 30px;
        width: 90%;
        transform: translateY(-50%);

    }

    .content .title {
        font-size: 25px;
    }

    .content .name {
        font-size: 70px;
    }

    .content .des {
        font-size: 20px;
    }

    .content .des .dsct {
        font-size: 25px;
    }

    /* Image Section */
    .sec-1 img {
        max-width: 100%;
        border-radius: 15px;
    }

    /* Content Section */
    .sec-1 .content1 h1 {
        font-size: 50px;
        color: #003f63;
        font-weight: 300;
    }

    .sec-1 .content1 .mora {
        color: #943993;
        font-weight: bold;
        font-size: 80px;
    }

    .sec-1 .content1 .azul {
        color: #025D99;
        font-weight: bold;
        font-size: 80px;

    }

    .sec-1 .content1 p {
        font-size: 1.3rem;
        color: #4a4a4a;
        line-height: 1.7;
        max-width: 100%;
    }

}

@media screen and (max-width: 999px) {
    header {
        padding-left: 50px;
    }

    .item .content {
        top: 42%;
        left: 30px;
        width: 90%;
        transform: translateY(-50%);

    }

    .content .title {
        font-size: 25px;
    }

    .content .name {
        font-size: 65px;
    }

    .content .des {
        font-size: 20px;
    }

    .content .des .dsct {
        font-size: 25px;
    }

    /* Estilo para el subtítulo (NUESTROS) */
    .subtitulo {
        font-size: 30px;
        font-weight: 300;
        color: #943993;
        letter-spacing: 5px;
        margin-bottom: 0;
    }

    /* Estilo para el título principal (SERVICIOS) */
    .titulo {
        font-size: 50px;
        font-weight: 700;
        color: #0056b3;
        letter-spacing: 8px;
        margin-top: 0;
    }

    .underline {
        width: 100px;
        height: 5px;
        background-color: #007bff;
        margin: 20px auto;
        animation: underline-animation 2s infinite alternate;
        /* Animación simple y continua */
    }

    .sec-18 h1 {
        font-weight: 700;
        color: #fff;
        margin-bottom: 1rem;
        font-size: 60PX;
        transition: color 0.3s ease;
    }

    .sec-18 h3 {
        font-weight: 700;
        color: #fff;
        margin-bottom: 1rem;
        font-size: 30PX;
    }

    .sec-18 p {
        font-size: 18PX;
        font-weight: 300;
        line-height: 1.5;

    }

}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .sec-6 .h2 {
        font-size: 2rem;
    }

    .sec-6 .description {
        font-size: 1.1rem;
    }

    .sec-6 .card-body h4 {
        font-size: 1.3rem;
    }

    .sec-7 h1 {
        font-size: 2.5rem;
    }

    .sec-7 p {
        font-size: 1.2rem;
    }

    .sec-9 img {
        max-width: 50%;
    }

    .accordion label {
        font-size: 1.3rem;
    }

    .accordion .content p,
    .accordion .content ul li {
        font-size: 1rem;
    }

    .sec-9 .card {
        margin-bottom: 20px;
        /* Añadir espaciado inferior en pantallas pequeñas */
    }

    .sec-11 h1 {
        font-size: 2.5rem;
    }

    .sec-11 p.lead {
        font-size: 1.2rem;
    }

    .sec-12 h4 {
        font-size: 1.5rem;
        /* Tamaño más pequeño en pantallas pequeñas */
        text-align: center;
    }

    .sec-12 p.lead {
        font-size: 1.1rem;
        /* Ajuste de fuente para pantallas pequeñas */
        text-align: center;
        padding: 15px;
    }

    .implant-img {
        height: 200px;
        /* Ajusta para pantallas más pequeñas */
    }

    .sec-16 .clinic-card {
        margin-bottom: 1rem;
    }

    .sec-18 h1 {
        font-weight: 700;
        color: #fff;
        margin-bottom: 1rem;
        font-size: 50PX;
        transition: color 0.3s ease;
    }

    .sec-18 h3 {
        font-weight: 700;
        color: #fff;
        margin-bottom: 1rem;
        font-size: 30PX;
    }

    .sec-18 p {
        font-size: 18PX;
        font-weight: 300;
        line-height: 1.5;

    }
}


@media screen and (max-width: 690px) {

    header {
        margin-top: 50px;
        padding-left: 20px;
        height: auto;
    }

    header a {
        font-size: 14px;
        margin-right: 0;
    }

    .item .content {
        top: 42%;
        left: 10px;
        width: 90%;
        transform: translateY(-50%);

    }

    .content .title {
        font-size: 25px;
    }

    .content .name {
        font-size: 65px;
    }

    .content .des {
        font-size: 20px;
    }

    .content .des .dsct {
        font-size: 25px;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        background-color: #943993;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        padding: 15px;
        border-bottom: 1px solid white;
        text-align: center;
        font-size: 18px;
    }

    .menu-icon {
        display: flex;
    }

    .menu-icon.active .span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .menu-icon.active .span:nth-child(2) {
        opacity: 0;
    }

    .menu-icon.active .span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .sec-1 {
        min-height: 90vh;
    }

    .sec-1 img {
        max-width: 100%;
        border-radius: 15px;
    }

    .sec-1 .content1 h1 {
        font-size: 45px;
        color: #003f63;
        font-weight: 300;
    }

    .sec-1 .content1 .mora {
        color: #943993;
        font-weight: bold;
        font-size: 60px;
    }

    .sec-1 .content1 .azul {
        color: #025D99;
        font-weight: bold;
        font-size: 60px;

    }

    .sec-1 .content1 p {
        font-size: 1.3rem;
        color: #4a4a4a;
        line-height: 1.7;
        max-width: 100%;
    }

}

@media screen and (max-width:575px) {

   
    item .content {
        top: 35%;
        left: 10px;
        width: 90%;
        transform: translateY(-50%);

    }

    .content .title {
        font-size: 30px;
        font-weight: 500;
    }

    .content .name {
        margin-left: 10px;
        font-size: 60px;
        text-align: start;
        margin-top: 20px;
    }

    .content .des {
        font-size: 20px;
    }

    .content .des .dsct {
        font-size: 20px;
    }


    
    
    .sec-1 {
        min-height: 90vh;
    }

    .sec-1 img {
        max-width: 50%;
        border-radius: 15px;
    }

    .sec-1 .content1 h1 {
        font-size: 45px;
        color: #003f63;
        font-weight: 300;
    }

    .sec-1 .content1 .mora {
        color: #943993;
        font-weight: bold;
        font-size: 60px;
    }

    .sec-1 .content1 .azul {
        color: #025D99;
        font-weight: bold;
        font-size: 60px;

    }

    .sec-1 .content1 p {
        font-size: 1.3rem;
        color: #4a4a4a;
        line-height: 1.7;
    }

    /* Estilo para el subtítulo (NUESTROS) */
    .subtitulo {
        font-size: 25px;
        font-weight: 300;
        color: #943993;
        letter-spacing: 5px;
        margin-bottom: 0;
    }

    /* Estilo para el título principal (SERVICIOS) */
    .titulo {
        font-size: 40px;
        font-weight: 700;
        color: #0056b3;
        letter-spacing: 8px;
        margin-top: 0;
    }

    /* Estilo para el título principal (SERVICIOS) */
    .sec-4 .titulo {
        font-size: 35px;
        font-weight: 700;
        color: #0056b3;
        letter-spacing: 8px;
        margin-top: 0;
    }

    .underline {
        width: 100px;
        height: 5px;
        background-color: #007bff;
        margin: 20px auto;
        animation: underline-animation 2s infinite alternate;
        /* Animación simple y continua */
    }

    .logo-sec5 {
        max-width: 150px;
        margin-bottom: 20px;
    }

    .sec-5 .mora,
    .sec-5 .azul {
        font-size: 50px;
    }

    .sec-5 .telefono,
    .sec-5 .whatsapp {
        font-size: 1.2rem;
        padding: 8px 15px;
    }

    .logo-sec5 {
        max-width: 150px;
    }
}

@media (max-width: 425px) {

    item .content {
        top: 35%;
        left: 10px;
        width: 90%;
        transform: translateY(-50%);

    }

    .content .title {
        font-size: 20px;
        font-weight: 400;
    }

    .content .name {
        font-size: 50px;
        text-align: start;
        margin-top: 20px;
    }

    .content .des {
        font-size: 20px;
    }

    .content .des .dsct {
        font-size: 20px;
    }

    


    .subtitulo {
        font-size: 20px;
        font-weight: 300;
        color: #943993;
        letter-spacing: 5px;
        margin-bottom: 0;
    }

    /* Estilo para el título principal (SERVICIOS) */
    .titulo {
        font-size: 40px;
        font-weight: 700;
        color: #0056b3;
        letter-spacing: 8px;
        margin-top: 0;
    }

    .underline {
        width: 100px;
        height: 5px;
        background-color: #007bff;
        margin: 20px auto;
        animation: underline-animation 2s infinite alternate;
        /* Animación simple y continua */
    }

    .sec-1 {
        min-height: 90vh;
    }

    .sec-1 img {
        max-width: 50%;
    }

    .sec-1 .content1 h1 {
        font-size: 30px;
        color: #003f63;
        font-weight: 300;
    }

    .sec-1 .content1 .mora {
        color: #943993;
        font-weight: bold;
        font-size: 40px;
    }

    .sec-1 .content1 .azul {
        color: #025D99;
        font-weight: bold;
        font-size: 40px;

    }

    .sec-1 .content1 p {
        font-size: 1rem;
        color: #4a4a4a;
        line-height: 1.7;
    }

    /* Estilo para el subtítulo (NUESTROS) */
    .subtitulo {
        font-size: 25px;
        font-weight: 300;
        color: #943993;
        letter-spacing: 5px;
        margin-bottom: 0;
    }

    /* Estilo para el título principal (SERVICIOS) */
    .titulo {
        font-size: 30px;
        font-weight: 700;
        color: #0056b3;
        letter-spacing: 8px;
        margin-top: 0;
    }

    /* Estilo para el título principal (SERVICIOS) */
    .sec-4 .titulo {
        font-size: 25px;
        font-weight: 700;
        color: #0056b3;
        letter-spacing: 8px;
        margin-top: 0;
    }

    .underline {
        width: 100px;
        height: 5px;
        background-color: #007bff;
        margin: 20px auto;
        animation: underline-animation 2s infinite alternate;
        /* Animación simple y continua */
    }

    .logo-sec5 {
        max-width: 100px;
        margin-bottom: 20px;
    }

    .sec-5 .mora,
    .sec-5 .azul {
        font-size: 35px;
    }

    .sec-5 .telefono,
    .sec-5 .whatsapp {
        font-size: 1.2rem;
        padding: 8px 15px;
    }

    .logo-sec5 {
        max-width: 150px;
    }
}


@media screen and (max-width:320px) {

    .item .content {
        top: 45%;
        left: 10px;
        width: 90%;
        transform: translateY(-50%);

    }

    .content .title {
        font-size: 20px;
        font-weight: 400;
    }

    .content .name {
        font-size: 40px;
        text-align: start;
    }

    .content .des {
        font-size: 16px;
    }

    .content .des .dsct {
        font-size: 20px;
    }

}