:root{
    --medical-blue:#005D9F;
    --teal:#00A8A8;
    --dark:#23313F;
    --light:#F7FAFC;
    --white:#FFFFFF;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Segoe UI',Arial,sans-serif;
    line-height:1.7;
    color:var(--dark);
    background:#ffffff;
    overflow-x:hidden;
}

img{
    max-width:100%;
    display:block;
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}

/* ===================================
   HEADER
=================================== */

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:#ffffff;
    box-shadow:0 3px 15px rgba(0,0,0,.08);
    z-index:1000;
}

.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 0;
}

.logo{
    font-size:30px;
    font-weight:700;
    color:var(--medical-blue);
}

.logo span{
    color:var(--teal);
}

.nav-links{
    display:flex;
    gap:30px;
}

.nav-links a{
    text-decoration:none;
    color:var(--dark);
    font-weight:600;
    transition:.3s;
}

.nav-links a:hover{
    color:var(--medical-blue);
}

.language-switcher select{
    padding:8px 12px;
    border:1px solid #ddd;
    border-radius:6px;
    background:#fff;
}

/* ===================================
   HERO
=================================== */

.hero{
    min-height:100vh;
    background:
        linear-gradient(
            rgba(0,93,159,.75),
            rgba(0,168,168,.55)
        ),
        url('../images/medical-hero.jpg');

    background-size:cover;
    background-position:center center;
    background-repeat:no-repeat;

    display:flex;
    align-items:center;
    justify-content:center;

    text-align:center;
    color:white;

    padding:120px 20px 80px;
}

.hero-content{
    max-width:900px;
}

.hero h1{
    font-size:60px;
    line-height:1.1;
    margin-bottom:25px;
}

.hero p{
    font-size:23px;
    max-width:750px;
    margin:auto;
}

.btn{
    display:inline-block;
    margin-top:35px;
    background:white;
    color:var(--medical-blue);
    padding:15px 35px;
    border-radius:8px;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
}

.btn:hover{
    transform:translateY(-3px);
    box-shadow:0 10px 25px rgba(0,0,0,.15);
}

/* ===================================
   SECTIONS
=================================== */

section{
    padding:90px 0;
}

.section-title{
    text-align:center;
    margin-bottom:50px;
}

.section-title h2{
    font-size:42px;
    color:var(--medical-blue);
    margin-bottom:10px;
}

.section-title p{
    color:#555;
}

/* ===================================
   CARDS
=================================== */

.services{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(300px,1fr));
    gap:30px;
}

.card{
    background:white;
    border-radius:14px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.card:hover{
    transform:translateY(-8px);
}

.card img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.card-content{
    padding:25px;
}

.card-content h3{
    color:var(--medical-blue);
    margin-bottom:15px;
}

.card-content ul{
    padding-left:20px;
}

/* ===================================
   ENBIO
=================================== */

.enbio{
    background:var(--light);
}

.enbio-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
    align-items:center;
}

.enbio-grid img{
    width:100%;
    max-width:650px;
    height:auto;
    object-fit:contain;
    display:block;
    margin:auto;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
    background:white;
}

.enbio h2{
    color:var(--medical-blue);
    margin-bottom:20px;
}

.enbio p{
    margin-bottom:20px;
}

/* ===================================
   ADVANTAGES
=================================== */

.advantages{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.adv-item{
    background:var(--light);
    padding:22px;
    border-left:5px solid var(--teal);
    border-radius:8px;
    font-weight:500;
}

/* ===================================
   ABOUT
=================================== */

#about img{
    width:100%;
    border-radius:14px;
    margin-bottom:35px;
    box-shadow:0 10px 25px rgba(0,0,0,.10);
}

/* ===================================
   CONTACT
=================================== */

.contact{
    background:linear-gradient(
        135deg,
        var(--medical-blue),
        var(--teal)
    );

    color:white;
    text-align:center;
}

.contact h2{
    color:white;
    margin-bottom:20px;
}

.contact img{
    max-width:700px;
    width:100%;
    margin:30px auto;
    border-radius:14px;
    box-shadow:0 10px 30px rgba(0,0,0,.20);
}

.contact a{
    color:white;
    text-decoration:none;
    font-weight:600;
}

.contact a:hover{
    text-decoration:underline;
}

/* ===================================
   FOOTER
=================================== */

.footer{
    background:var(--dark);
    color:white;
    text-align:center;
    padding:40px 20px;
}

.footer p{
    margin-bottom:10px;
}

/* ===================================
   MOBILE
=================================== */

@media (max-width: 992px){

    .hero h1{
        font-size:48px;
    }

    .enbio-grid{
        grid-template-columns:1fr;
    }

}

@media (max-width: 768px){

    .navbar{
        flex-direction:column;
        gap:15px;
    }

    .nav-links{
        flex-wrap:wrap;
        justify-content:center;
        gap:15px;
    }

    .hero{
        padding-top:180px;
    }

    .hero h1{
        font-size:34px;
    }

    .hero p{
        font-size:18px;
    }

    .section-title h2{
        font-size:32px;
    }

    .card img{
        height:220px;
    }

}

@media (max-width: 480px){

    .hero h1{
        font-size:30px;
    }

    .hero p{
        font-size:16px;
    }

    .btn{
        width:100%;
        text-align:center;
    }

}

.contact p{
    font-size:18px;
    margin-bottom:10px;
}

.contact strong{
    font-size:22px;
}

.contact a{
    color:#ffffff;
    font-weight:600;
    text-decoration:none;
}

.contact a:hover{
    text-decoration:underline;
}