@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100..900&display=swap');

:root{
    --maincolor:#2ec8a6;
    --secondcolor:#f8a803;
    --thirdcolor:#f4ab01;
    --textcolor:#333;
}
*{
    margin:0; 
    padding:0;
    box-sizing: border-box;
    outline: none; 
    border:none;
    text-decoration: none;
    text-transform: capitalize;
    transition:all .2s linear;
    font-family: "Inter", sans-serif;
    text-transform: none;
}

html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

/* Estilo original para pantallas grandes */
.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
}

.whatsapp-button img {
    width: 100px;
    height: auto;
    border-radius: 50%;
}

/* Ajuste para pantallas pequeñas (móviles) */
@media (max-width: 768px) {
    .whatsapp-button {
        bottom: 10px; /* Menor distancia del borde inferior */
        right: 10px;  /* Menor distancia del borde derecho */
    }

    .whatsapp-button img {
        width: 60px;  /* Tamaño más pequeño para pantallas móviles*/
}
}

/*Inicia sesion encabezado*/
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    text-transform: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 7%;
    width: 100%;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.1);
    z-index: 1000;
    background-color: white !important;

}
.logo{
    width: 150px;
}
.logo img{
    width: 100%;
}
.navbar a{
    color: var(--textcolor);
    font-size: 1.7rem;
    margin: 1rem;
    position: relative;
    transition: 0.5s;
    text-transform: none;
}
.navbar a:hover{
    color: var(--maincolor);
}

.navbar a::after{
    content: "";
    background-color: var(--maincolor);
    width: 0;
    position: absolute;
    height: 0.2rem;
    left: 0;
    margin-top: 0.5rem;
    top: 100%;
    transition: 0.5s;
}
.navbar a:hover::after{
    width: 100%;
}

#menu-bars{
    color: var(--textcolor);
    font-size: 2.5rem;
    cursor: pointer;
    margin-right: 1rem;
    display: none;
}
#menu-bars:hover{
    color: var(--maincolor);
}
.right-icons .btn{

    padding: 1.2rem 2rem;
    font-size: 1.7rem;
    background: var(--maincolor);
    color: white;
    text-decoration: none;
    cursor: pointer;
}

.right-icons .btn:hover{
    background-color: var(--secondcolor);
}

/*icono del muñequito - inicio de sesion*/
.right-icons .icons {
    height: 4.5rem;
    width: 4.5rem;
    line-height: 4.5rem;
    text-align: center;
    background: var(--maincolor);
    color: white;
    cursor: pointer;
    font-size: 2.5rem;
    margin-left: .3rem;
    border-radius: .5rem;
}
.right-icons .icons:hover {
  background-color: #a8583b;
  border: 0.2rem solid #e7ba80;
}

.right-icons .icons a {
    color: white !important; /* Forza el color del ícono a blanco */
}

/* Termina seccion Encabezado*/

/*Se inicia la sección Inicio*/
.main-home{
    padding: 2rem 7%;
    background-image: url(images/blurbg1.jpg);
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.home{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 6rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.home .home-left-content{
    flex: 1 1 40rem;
}
/*letra de somos la clinica san carlos*/
.home-left-content span{  
    /*color: var(--maincolor);*/
    font-weight: bolder;
    font-size: 70px;
    margin: 1rem 0;
    text-align: center;    
    /*color:#40cbea;*/
    color: #36cedc;
    -webkit-text-stroke: 2px black;
    text-transform: none;
    font-family: 'Kaushan Script', cursive;
    /*font-family: 'Poppins', sans-serif;  */
}
/*frase*/

.home-left-content h2{
    font-size: 48px;
    margin: 1rem 0;
    text-align: center;
    color: #fcc055;
     -webkit-text-stroke: 1px black;
    /*-webkit-text-stroke: 2px #3c55d1;*/
    text-transform: none;
    font-family: 'Poppins', sans-serif;      
}

/*Breve descripcion de lo que hacen*/
.home-left-content p{
    font-size: 1.7rem;
    color: var(--textcolor);
    color:black;
    text-transform: none;
    line-height: 3rem;
}

.home-btn{
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}
.home-btn a{
    display: inline-block;
    padding: 1.5rem 3rem;
    background-color: var(--maincolor);
    font-size: 1.5rem;
    color: black;
    color: var(--light-color);
    transition: 0.5s ease;
    text-transform: none;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.home-btn a:hover{
    padding: 1.5rem 2.5rem;
}

.homebtnsec{
    background:transparent !important;
    color: var(--textcolor) !important;
    border: 1px solid var(--maincolor);
}
.homebtnsec:hover{
    background-color: var(--secondcolor) !important;
    color: white !important;
}

.home .home-right-content{
    flex: 1 1 50rem;
}

.home .home-right-content img{
    width: 100%;
    margin-top: 4rem;
}
/*Te brindamos seguridad*/
.technology{
    padding: 3rem 7%;
}

.main-technology{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-top: -100px;
}
.inner-technology{
    flex: 1 1 300px;
    padding: 3rem 3rem;
    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;
    background-image: url(images/backgroung-pattern-1.png);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
    background-color: white;
    position: relative;
    z-index: 1;
}

.inner-technology span{
    width: 0;
    height: 100%;
    background: radial-gradient(circle at 10% 20%, rgb(222, 168, 248) 0%, rgb(168, 222, 248) 21.8%, rgb(189, 250, 205) 35.6%, rgb(243, 250, 189) 52.9%, rgb(250, 227, 189) 66.8%, rgb(248, 172, 172) 90%, rgb(254, 211, 252) 99.7%);    
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: 0.5s;
    
}
.inner-technology:hover span{
    width: 100%;
}

/* .inner-technology:hover{
    background: var(--maincolor);} */

.inner-technology:hover i{
    
    color: white;
}
.inner-technology:hover h2{
    color: blue;
}
.inner-technology:hover p{
    color: black;
    font-size: 1.7rem;
}
.inner-technology i{
    font-size: 70px;
    color: var(--maincolor);
}

.inner-technology h2{
    font-size: 2rem;
    padding: 1rem 0;
    text-transform: none;
    text-align: center;
    color:dodgerblue;
}
.inner-technology p{
    font-size: 1.7rem;
    line-height: 2.5rem;
    padding: 1rem 0;
    text-transform: none;
    text-align: justify;
}
/* La sección de inicio terminará */

/* Sección sobre nosotros */
.main-about{
    padding: 2rem 7%;
    width: 100%;
    background-image: url(images/backgroung-pattern-1.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
}
.main-about .about-heading{

    text-align: center;
    font-size: 40px;
    font-weight: bolder;
    color: var(--maincolor);
    border-bottom: 2px solid var(--secondcolor);
    width: 200px;
    margin: 0 auto;
    padding: 2rem 0;
}
.inner-main-about{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;    
}

.about-inner-content-left{
    flex: 1 1 40rem;
}
.about-inner-content-left img{
    width: 90%;
    padding: 2rem;
}
.about-inner-content{
    flex: 1 1 45rem;
}
.about-inner-content img{
    width: 100%;
}
.about-right-content h2{
    font-size: 30px;
    padding: 1.5rem 0;
    color: dodgerblue;
    font-weight: bolder;
    line-height: 4rem;
}
.about-right-content p{
    font-size: 1.7rem;
    padding: 1.5rem 0;
    color: var(--textcolor);
    color: black;
    font-family: "Inter", sans-serif;
    text-align: left;
    line-height: 2.5rem;
    text-transform: none;
}

.about-right-content b{
    font-size: 1.7rem;
    padding: 1.5rem 0;
    color: var(--textcolor);
    color: black;
    font-family: "Inter", sans-serif;
    text-align: left;
    line-height: 2.5rem;
    text-transform: none;
}

.aboutsec-content{
    line-height: 2.5rem !important;
    text-transform: none;
}
.aboutbtn{
    padding: 1.5rem 3rem;
    background-color: transparent;
    border: 1px solid var(--maincolor);
    margin-top: 0.5rem;
    cursor: pointer;
    font-size: 1.5rem;
    transition: 0.5s all;
}
.aboutbtn:hover{
    background-color: var(--secondcolor);
    color: black;
    border:none;
    padding: 1.5rem 3.5rem;
}



/*Termina sobre nosotros*/

/*Empieza equipo de trabajo*/

/*letra*/
.doc-details h2{
    color: #0078ff;
    font-size: 25px;
    font-weight: bolder; /* Aumenta el grosor de la letra */
    padding: 2rem 0;
    line-height: 4rem;
    margin-bottom: 2px; /* Espacio debajo del título */
    text-transform: none;
}

.doc-details h3{
    color: black;
    font-size: 20px;
    font-weight: bolder; /* Aumenta el grosor de la letra */
    padding: 2rem 0;
    line-height: 4rem;
    margin-bottom: 2px; /* Espacio debajo del título */
    text-transform: none;
}

.doc-details p {
    font-size: 25px;  /* Ajusta el tamaño de la fuente */
    line-height: 1.5; /* Altura de línea para mejor legibilidad */
    color: black; /* Color del texto */
    /*margin-bottom: 2px; /* Espacio debajo de cada párrafo */
    padding: 1.5rem 0;
    color: var(--textcolor);
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    text-transform: none;
}
/*Termina seccion doctores*/

/*Inicia nuestros servicios*/
.our-service{
    width: 100%;
    padding: 3rem 7%;
}
.service-heading h2{
    font-size: 40px;
    color: #2ec8a6;
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 3rem;
    text-transform: none;
}
.main-services{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4rem;
    text-align: center;
}
.inner-services{
    flex: 1 1 300px;
    padding: 3rem 2rem;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    border: 2px solid var(--textcolor);
    
}
.inner-services:hover{
    transform: translateY(-10px);
    border-bottom: 2px solid var(--maincolor);
    background-color: #f5f5f5;
}
.inner-services:hover .service-icon{
    width: 100px;
    height: 100px;
    border-radius: 0;
    background-color: var(--maincolor);
    
}
.inner-services:hover .service-icon i{
    color: white;
    transform: scale(1.1);
}

.service-icon{
    width: 100px;
    height: 100px;
    line-height: 100px;
    margin: 0 auto;
    border-radius: 50%;
    border: 1px solid var(--maincolor);
    background-color: #f5f5f5;
}
.service-icon i{
    font-size: 5rem;
    color: var(--maincolor);
    padding: 1rem;
}
.inner-services h3{
    font-size: 2rem;
    padding-top: 2rem;
    text-transform: none;
    color: #04a1bf;
}
.inner-services p{
    font-size: 1.7rem;
    padding: 1.5rem 0;
    line-height: 2.5rem;
    text-transform: none;
    color: black; /* Color del texto */
    color: var(--textcolor);    
}

.inner-services b{
    font-size: 1.7rem;
    padding: 1.5rem 0;
    line-height: 2.5rem;
    text-transform: none;
    color: black; /* Color del texto */
    color: var(--textcolor);    
}
/* Termina servicios */

/*inicia opiniones, blog*/
.main-review {
    padding: 2.5rem 7%;
    width: 100%;
}

.review-heading {
    text-align: center;
}

.review-heading h1 {
    font-size: 40px;
    color: var(--maincolor);
    padding-bottom: 3rem;
}

.review-inner-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
    text-align: center;
    padding: 4rem 0;
}

.review-box {
    flex: 1 1 300px;
    padding: 1rem;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-radius: 0 50px 0 0;
    border: 2px solid var(--maincolor);
    cursor: pointer;
    transition: 1s;
}

.review-box:hover {
    border-radius: 50px 0 0 0;
}

.review-box img {
    border-radius: 100%;
    width: 200px; /* Cambia este valor para ajustar el tamaño de la imagen */
    transition: 1s;
}

.review-box:hover img {
    transform: scale(1.1);
}

.review-stars {
    padding: 1rem 0;
}

.review-stars i {
    font-size: 2rem;
    color: var(--secondcolor);
    margin: 0.2rem;
}

.review-box h2 {
    font-size: 2rem;
    padding-top: 2rem;
    padding: 1rem 0;
    text-transform: none;
    color: blue;
}

.review-box p {
    font-size: 1.5rem;
    padding: 1rem 1rem;
    padding-bottom: 2rem;
    line-height: 2.5rem;
    text-transform: none;
    text-align: justify;
}

.review-video {
    width: 100%;
    border-radius: 10px;
    margin-top: 1rem;
}

.review-box:hover .review-video {
    transform: scale(1.05);
}

/*termina opiniones, blog*/

/*pie de pagina*/

.main-footer {
    padding: 4rem 7%;
    background-color: #f8f9fa; /* Fondo claro */
    color: var(--primary);
    border-top: .1rem solid var(--secondary);
    color: #333; /* Texto más oscuro */
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.1); /* Sombra más suave */
}

.footer-inner {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 20px;
}

.footer-content {
    flex: 1 1 200px;
    text-align: center;
    margin-bottom: 20px;
}

.footer-content h3 {
    color: #007BFF; 
    font-size: 2.2rem;
    padding: 1rem 0;
    text-transform: none;
    text-align: center;
}

.footer-content p {
    font-size: 1.5rem;
    padding: .5rem 0;
    line-height: 2;
    color: var(--light-color);
    color: black;
    text-transform: none;
}

.comments-link {
    color: #007BFF;
    text-decoration: none;
    font-weight: bold;
    margin-top: 10px;
    display: inline-block;
}

.comments-link:hover {
    text-decoration: underline;
}

.credit {
    margin-top: 3rem;
    padding-top: 3rem;
    font-size: 1.8rem;
    text-align: center;
    text-transform: none;
}

.credit span {
    color:#007BFF;
    border-top: .1rem solid var(--secondary)
  }

.fa-phone {
    margin-right: 10px;
    color: #007BFF; 
    font-size: 2rem;
}

.footer-content a i {
    font-size: 3rem; /* Tamaño del icono */
    color: #007BFF; /* Color del icono */
    margin-right: 10px;
}

.footer-content a:hover i {
    color: #0056b3; /* Color del icono al hacer hover */
}

/*termina pie de pagina*/



/* .doc-poster:hover img{
    transform: translateY(-20px);
}

.doc-poster::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, #f5f5f5 50%, transparent);
    z-index: 1;
    bottom: -220px;
    left: 0;
    transition: 0.5s;
}
.doc-poster:hover::after{
    bottom: -100px;
}
.details{
    color: black;
    font-size: 25px;
    position: absolute;
    bottom: 10px;
    left: 15px;
    z-index: 2;
}
.doc-poster:hover .details{
    bottom: 30px;
} */










@media (max-width:768px) {

    html{
        font-size: 55%;
    }

    .right-icons{
        display: flex;
        align-items: center;
    }

    #menu-bars{
        
        display: initial;
    }

    header{
        padding: 2rem;
        background-color: white;
    }

    .navbar{
        position: absolute;
        top: 100%;
        left: -100%;
        height: 100vh;
        width: 100%;
        background-color: white;
    }
    .navbar.active{
        left: 0;
    }
    .navbar a{
        display: block;
        margin: 2rem;
        padding: 1rem;
        border: 1px solid var(--textcolor);
    }

    .home .home-left-content{
        margin-top: 50px;
        padding: 2rem;
    }

    .home .home-left-content h2{
        font-size: 30px;
    }
    .main-technology{
        
        margin-top: 0;
    }

    .about-right-content h2{
        font-size: 20px;
    }
    
}