/*==========================
        RESET
==========================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial,Helvetica,sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#fff;
    color:#1F2937;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
}

ul{
    list-style:none;
}

/*==========================
        HEADER
==========================*/

.header{
    position:fixed;
    top:0;
    width:100%;
    background:#fff;
    box-shadow:0 2px 15px rgba(0,0,0,.08);
    z-index:100;
}

.navbar{
    max-width:1200px;
    margin:auto;
    padding:18px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    font-size:30px;
    font-weight:bold;
    color:#111827;
}

.logo span{
    color:#0EA5A4;
}

.menu{
    display:flex;
    gap:30px;
}

.menu a{
    color:#4B5563;
    font-weight:600;
    transition:.3s;
}

.menu a:hover{
    color:#0EA5A4;
}

/*==========================
        HERO
==========================*/

.hero{
    height:100vh;
    display:flex;
    align-items:center;
    background:
    linear-gradient(rgba(10,25,47,.55),rgba(10,25,47,.55)),
    url("https://images.unsplash.com/photo-1576091160550-2173dba999ef?w=1600");
    background-size:cover;
    background-position:center;
}

.hero-content{
    max-width:1200px;
    margin:auto;
    padding:8%;
    color:white;
}

.hero span{
    color:#7DD3FC;
    letter-spacing:3px;
}

.hero h1{
    font-size:60px;
    margin:20px 0;
}

.hero p{
    max-width:600px;
    line-height:1.8;
    margin-bottom:35px;
}

.btn{
    display:inline-block;
    padding:15px 34px;
    border-radius:50px;
    background:#0EA5A4;
    color:white;
    transition:.3s;
}

.btn:hover{
    background:#08918f;
    transform:translateY(-4px);
}

/*==========================
        BENEFICIOS
==========================*/

.benefits{
    padding:90px 8%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.benefit{
    padding:35px;
    text-align:center;
    border:1px solid #E5E7EB;
    border-radius:20px;
    transition:.3s;
}

.benefit:hover{
    transform:translateY(-8px);
    box-shadow:0 15px 30px rgba(0,0,0,.08);
}

.benefit i{
    font-size:42px;
    color:#0EA5A4;
    margin-bottom:20px;
}

.benefit h3{
    margin-bottom:12px;
}

/*==========================
        TITULOS
==========================*/

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:#0EA5A4;
    font-weight:600;
}

.section-title h2{
    font-size:42px;
    margin-top:10px;
}

/*==========================
        SERVICIOS
==========================*/

.services{
    padding:100px 8%;
    background:#F8FAFC;
}

.cards{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.card{
    background:white;
    border-radius:20px;
    padding:40px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.05);
    transition:.35s;
}

.card:hover{
    transform:translateY(-8px);
}

.card i{
    font-size:42px;
    color:#0EA5A4;
    margin-bottom:20px;
}

.card h3{
    margin-bottom:15px;
}

/*==========================
        DOCTOR
==========================*/

.doctor{
    padding:100px 8%;
}

.doctor-content{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:50px;
    align-items:center;
}

.doctor-text span{
    color:#0EA5A4;
}

.doctor-text h2{
    font-size:42px;
    margin:15px 0;
}

.doctor-text p{
    color:#6B7280;
    line-height:1.8;
    margin-bottom:30px;
}

.doctor-photo{
    width:220px;
    height:220px;
    margin:auto;
    border-radius:50%;
    background:#E0F2FE;
    display:flex;
    justify-content:center;
    align-items:center;
}

.doctor-photo i{
    font-size:90px;
    color:#0EA5A4;
}

/*==========================
        OPINIONES
==========================*/

.reviews{
    padding:100px 8%;
    background:#F8FAFC;
}

.reviews h4{
    margin-top:20px;
    color:#FBBF24;
}

/*==========================
        CONTACTO
==========================*/

.contact{
    padding:100px 8%;
}

form{
    max-width:650px;
    margin:auto;
    display:flex;
    flex-direction:column;
    gap:20px;
}

input,
textarea{
    padding:16px;
    border:1px solid #D1D5DB;
    border-radius:12px;
}

textarea{
    height:150px;
    resize:none;
}

button{
    padding:16px;
    border:none;
    border-radius:12px;
    background:#0EA5A4;
    color:white;
    cursor:pointer;
    transition:.3s;
}

button:hover{
    background:#08918f;
}

/*==========================
        FOOTER
==========================*/

footer{
    background:#0F172A;
    color:white;
    text-align:center;
    padding:40px;
}

footer p{
    margin:10px 0;
    color:#CBD5E1;
}

footer span{
    color:#94A3B8;
    font-size:14px;
}

/*==========================
        RESPONSIVE
==========================*/

@media(max-width:900px){

.menu{
    display:none;
}

.hero h1{
    font-size:42px;
}

.benefits,
.cards,
.doctor-content{
    grid-template-columns:1fr;
}

.section-title h2{
    font-size:34px;
}

}

@media(max-width:600px){

.hero h1{
    font-size:34px;
}

.hero p{
    font-size:15px;
}

.services,
.doctor,
.reviews,
.contact,
.benefits{
    padding:80px 8%;
}

.card,
.benefit{
    padding:30px;
}

}
.navbar .home-link{
    padding:10px 18px;
    border:1px solid rgba(0, 0, 0, 0.55);
    border-radius:999px;
    background:rgba(18, 104, 161, 0.12);
    color: black;
}

.navbar .home-link:hover{
    background:#4a6b7b;
    color:#f8f8f8;
}