*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
}



body{
    width: 100%;
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    background-color: #dadada;
}
.slider-continer{
    margin-top: 100px;
    position: relative;
    width: 1200px;
    height: 550px;
    border: 3px solid #f1f1f1;
    box-shadow: 0 0 8px 2px rgba(0, 0, 0, 0.2);
    background-color: #111;
}
.slider-continer .slides{
    width: 100%;
    height: calc(100% - 40px);
    position: relative;
    overflow: hidden;
}
.slider-continer .slides img{
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
    object-position: 20%;
    top: 0;
    left: 0;
    display: none; /* important for this script */
}

.slider-continer .slides img:not(.active){
    top: 0;
    left: -100%;
}

@media (max-width: 605px) {
    .slider-continer{
        display: none;
    }
}

@media (max-width: 604px) {
    .page-container{
        margin-top: 12%;
    }
}


span.next, span.prev{
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 14px;
    color: #eee;
    font-size: 24px;
    font-weight: bold;
    transition: 0.5s;
    border-radius: 3px;
    user-select: none;
    cursor: pointer;
    z-index: 1;
}
span.next{
    right: 20px;
}
span.prev{
    left: 20px;
}
span.next:hover, span.prev:hover{
    background-color: #9b751c;
    opacity: 0.8;
    color: #222;
}

.dotsContainer{
    position: absolute;
    bottom: 5px;
    z-index: 3;
    left: 50%;
    transform: translateX(-50%);
}
.dotsContainer .dot{
    width: 15px;
    height: 15px;
    margin: 0px 2px;
    border: 3px solid #32daec;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}
.dotsContainer .active{
    background-color: #555; 
}

@keyframes next1{
    from{
        left: 0%
    }
    to{
        left: -100%;
    }
}
@keyframes next2{
    from{
        left: 100%
    }
    to{
        left: 0%;
    }
}
@keyframes prev1{
    from{
        left: 0%
    }
    to{
        left: 100%;
    }
}
@keyframes prev2{
    from{
        left: -100%
    }
    to{
        left: 0%;
    }
}

.page-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 30px 15px;
}

.main-content {
    width: 1050px;
    margin-top: 40px;
    background-color: #fff;
    font-family: "Josefin Sans", sans-serif;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.main-content h2 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #333;
}

.main-content p {
    font-size: 18px;
    color: #111;
    margin-bottom: 20px;
}

.info-cards {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    flex: 1;
    min-width: 280px;
    padding: 15px;
    background-color: #f1fcfd;
    border-left: 5px solid #1e76aa;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}


header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    z-index: 100;
    background-color: #fff;
    font-family: "Josefin Sans", sans-serif;
}

header .header-brand {
    font-size: 1.1rem;
    font-weight: 700;
    color: #111;
    text-transform: uppercase;
    white-space: nowrap;
}

header nav ul {
    display: flex;
    margin: 0;
    padding: 0;
}

header nav ul li {
    padding: 0 1rem;
}

header nav ul li a {
    font-size: 0.8rem;
    color: #111;
}

header .header-cases {
    display: none;
}

@media (min-width: 768px) {
    header {
        height: 85px;
        padding: 0 2rem;
    }

    header .header-brand {
        font-size: 1.5rem;
        border-right: 3px solid #111;
        padding-right: 2rem;
    }

    header nav ul li a {
        font-size: 1.2rem;
    }

    header .header-cases {
        display: block;
        font-size: 1rem;
        border: 1px solid #111;
        padding: 0.5rem 1rem;
    }
    
}

@media (min-width: 916px) {

    
}



.page-container .slider-continer{
    background-image: url(images/logo.png);
    background-repeat: no-repeat;
    background-position: top;

}




/*mobile*/
@media (max-width: 768px) {

   /* Burger button styles */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 110;
}

.burger span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #111;
    border-radius: 2px;
}

/* Show burger and collapse nav on small screens */
@media (max-width: 768px) {

    header {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 1rem;
    }

    header nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0.5rem 0;
    }

    header nav ul li {
        padding: 0.5rem 0;
    }

    header {
        flex-direction: column;
        align-items: flex-start;
        height: auto;
        padding: 1rem;
    }

    header nav ul {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
        padding: 0.5rem 0;
    }

    header nav ul li {
        padding: 0.5rem 0;
    }

    .slider-continer {
        width: 60%;
        height: auto;
        margin-top: 40px;
    }


    .burger {
        display: flex;
    }

    nav {
        display: none;
        flex-direction: row;
        width: 100%;
        background-color: #fff;
        position: absolute;
        top: 60px;
        left: 0;
        padding: 10px 20px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    nav.show {
        display: flex;
    }

    nav ul {
        flex-direction: column;
        width: 100%;
    }

    nav ul li {
        padding: 10px 0;
    }

    nav ul li a {
        font-size: 1rem;
    }
}
.main-content {
    width: 100%;
    margin-top: 20px;
    padding: 15px;
}

.main-content h2 {
    font-size: 22px;
}

.main-content p {
    font-size: 16px;
}

.info-cards {
    flex-direction: column;
}


}

@media (min-width: 768px) {
    .burger{
        display: none;
    }
}

/*equipo medico*/

.h1-medic-profile{
    text-align: center;
    margin-bottom: 4%;
    margin-top: 4%;
}

.team-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.doctor-card {
    background: #fff;
    border: 2px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.doctor-card:hover {
    transform: translateY(-5px);
}

.doctor-card img {
    width: 170px;
    height: 220px;
    border-radius: 5%;
    object-fit: cover;
    margin-bottom: 15px;
}

.doctor-card h2 {
    font-size: 20px;
    margin: 10px 0;
}

.extra-info {
    display: none;
    margin-top: 15px;
    margin-bottom: 2px;
    text-align: left;
    font-size: 22px;
    color: #555;
}

@media (max-width: 580px) {
    .doctor-card i.bi-instagram, .doctor-card i.bi-facebook {
        display: inline-block;
        text-align: center;
    }
}

.doctor-card i.bi-instagram {
    color: #E1306C;
    font-size: 22px;
}

.doctor-card i.bi-facebook {
    color: #3b5998;
    font-size: 22px;
}

.doctor-card a:hover i.bi-instagram {
  color: #C13584;
}

.doctor-card a:hover i.bi-facebook {
  color: #2d4373;
}

.show-more-btn {
    margin-top: 10px;
    padding: 8px 16px;
    background-color: #8dd1f8;
    color: rgb(84, 84, 84);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.show-more-btn:hover {
    background-color: #f05757;
    color: rgb(231, 231, 231);
    font-weight: 600;
}

.site-footer{
    margin-top: 0;
}