*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, Helvetica, sans-serif;
}

body{
    background:#f4f6f9;
    color:#333;
    padding-top:80px;
}

/* HEADER */
header{
    position:fixed;
    top:0;
    width:100%;
    background:white;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 60px;
    box-shadow:0 2px 10px rgba(0,0,0,.1);
    z-index:1000;
}

.logo{
    height:50px;
}

nav a{
    margin-left:20px;
    text-decoration:none;
    color:#7a5a8b;
    font-weight:bold;
}

/* HERO */
.hero-acreditaciones{
    height:55vh;
    background:
    linear-gradient(rgba(49,32,58,.75), rgba(49,32,58,.75)),
    url("imagenes/banner/banner1.jpg") center/cover;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    color:white;
}

.overlay h1{
    font-size:48px;
    margin-bottom:15px;
}

/* PERFIL */
.doctor-profile{
    padding:80px 10%;
    background:white;
}

.doctor-container{
    display:flex;
    gap:50px;
    align-items:center;
    flex-wrap:wrap;
}

.doctor-container img{
    width:320px;
    height:320px;
    object-fit:cover;
    border-radius:50%;
    border:6px solid #7a5a8b;
}

.doctor-info{
    flex:1;
}

.doctor-info h2{
    margin-bottom:20px;
    color:#31203a;
}

.doctor-info p{
    line-height:1.8;
    margin-bottom:15px;
}

/* SLIDER */
.certificaciones{
    padding:80px 10%;
    text-align:center;
}

.slider-container{
    position:relative;
    overflow:hidden;
    max-width:900px;
    margin:auto;
}

.slider-track{
    display:flex;
    transition:.5s ease;
}

.slide{
    min-width:100%;
    background:white;
    padding:30px;
    border-radius:15px;
    box-shadow:0 5px 15px rgba(0,0,0,.1);
}

.slide img{
    width:100%;
    max-height:450px;
    object-fit:contain;
    margin-bottom:20px;
}

.slider-btn{
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    background:#7a5a8b;
    color:white;
    border:none;
    width:45px;
    height:45px;
    border-radius:50%;
    cursor:pointer;
    font-size:20px;
}

.prev{ left:10px; }
.next{ right:10px; }

/* EXPERIENCE */
.experience{
    padding:80px 10%;
    text-align:center;
    background:white;
}

.experience h2{
    margin-bottom:20px;
}

.experience p{
    max-width:800px;
    margin:auto;
    line-height:1.8;
    margin-bottom:30px;
}

.btn{
    background:#6eb2ab;
    padding:14px 28px;
    color:white;
    text-decoration:none;
    border-radius:8px;
}

/* FOOTER */
.footer{
    background:#31203a;
    color:white;
    text-align:center;
    padding:25px;
}

/* RESPONSIVE */
@media(max-width:768px){

    .doctor-container{
        flex-direction:column;
        text-align:center;
    }

    .overlay h1{
        font-size:32px;
    }

    .doctor-container img{
        width:240px;
        height:240px;
    }

    header{
        padding:15px 20px;
    }

    nav{
        display:none;
    }
}