body {
    font-size: 16px;
    margin: 0;
    padding: 0;
}

.hidden-content {
    display: none;
}

.navbar-brand img {
    width: 250px;
}

.hero {
    position: relative;
    /* Reemplaza con tu imagen */
    background-size: cover;
    background-position: center;
    height: 80vh;
    color: white;
}

.hero-bg-home {
    background-image: url('../imgs/hero-home.webp');
}

.hero-bg-elcancer {
    background-image: url('../imgs/hero-elcancer.webp');
    background-position: center;
    border-radius: 0 0 0 0;
}

.hero-bg-tipocancer {
    background-image: url('../imgs/hero-tipodecancer.webp');
    background-position: center;
    border-radius: 0 0 35px 35px;
    box-shadow: 0px -10px 15px rgba(0, 0, 0, 0.2);
}

.hero-bg-queHago {
    background-image: url('../imgs/V&C-QueHago1.webp');
    background-position: center;
    border-radius: 0 0 0 0;
}

.hero-bg-investigacion {
    background-image: url('../imgs/V&C-Investigacion1.webp');
    background-position: center;
    border-radius: 0 0 0 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    /* Fondo oscuro semi-transparente */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 20px;
}

.hero .btn {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
}

.sec-cards-main {
    width: 100%;
    position: relative;
    top: -90px;
}

.custom-card {
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
    border: 1px solid #ddd;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-height: 550px;
}

.custom-card p {
    font-weight: 700;
    line-height: 1.5;
}

.custom-card small {
    font-size: 1rem;
}

.custom-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.custom-card img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 5px;
}

.custom-card .btn {
    border-radius: 15px;
}

.custom-card-tdc {
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 15px;
    border: 1px solid #ddd;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.custom-card-tdc:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.custom-card-tdc img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 5px;
}

.custom-card-tdc .btn {
    border-radius: 15px;
}

.card-ak {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(135deg, #009CA0, #5bbff0);
    border-radius: 15px;
    padding: 20px;
    /* width: 350px; */
    height: auto;
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.1);
    color: white;
    position: relative;
    overflow: hidden;
}

.card-ak-content {
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.card-ak-content h3 {
    margin: 0;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
}

.card-ak-content .icon {
    margin-left: 8px;
    font-size: 1rem;
}

.card-ak-content .specialty {
    font-size: 1rem;
    opacity: 0.9;
    margin: 5px 0;
}

.appointment {
    background-color: rgba(63, 58, 58, 0.2);
    padding: 5px 10px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    gap: 5px;
}

.card-ak-image img {
    width: 50%;
    height: auto;
    /* border-radius: 50%; */
    position: absolute;
    top: 0;
    bottom: 10px;
    right: 10px;
    z-index: 2;
    /* box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3); */
}

div.text-container {
font-family: 'Arial', sans-serif; /* Fuente legible */
font-size: 16px; /* Tamaño de fuente adecuado para móviles */
line-height: 1.6; /* Altura de línea para mejorar la legibilidad */
color: #333; /* Color de texto oscuro */
padding: 16px; /* Espaciado interno */
}

div.text-container h1 {
font-size: 35px; /* Tamaño de encabezado */
font-weight: bold; /* Negrita para destacar */
margin-bottom: 12px; /* Separación inferior */
color: #1f3d84; /* Color de título */
}

div.text-container h2 { 
font-size: 25px;  /* Tamaño de encabezado */
font-weight: 100; /* Negrita para destacar */
margin-bottom: 5px; /* Separación inferior */
color: #1f3d84; /* Color de título */
}

div.text-container p {
margin-bottom: 16px;
/* Espaciado entre párrafos */
text-align: justify;
}

.highlight-section {
    background-color: #002855;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
}
.highlight-section h4 {
    color: #fff;
}
.highlight-section li i {
    color: #ff7f50;
}
.icon-circle {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.icon-circle img {
    width: 75px;
}

/* ___________________________ */

.medical-section {
    background-color: #009ca0; /* Fondo claro */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.medical-image {
    background-image: url('../imgs/V&C-Cancer4.webp'); /* Reemplazar con la URL de tu imagen */
    background-size: cover;
    background-position: center;
    height: 100%;
}
.content-title {
    color: #004085; /* Azul profesional */
}
.content-text {
    color: #495057;
}
.btn-learn-more {
    background-color: #0069d9;
    color: #fff;
    transition: background-color 0.3s ease;
}
.btn-learn-more:hover {
    background-color: #0056b3;
}

.img-tc-1 {
    width: 100%;
    float: right; margin-left: 15px;
    margin-top: 15px;
}

.hidde-element {
    display: none;
}

.card-h-custom {
    border-radius: 1.9rem 1.9rem 0px 0px !important;
    display: flex;
    flex-wrap: wrap; /* Permite que los elementos pasen a la siguiente línea */
    gap: 10px; /* Espaciado entre los divs */
}

.card-h-custom-item {
    width: calc(33.33% - 10px); /* Divide el espacio en 3 columnas */
    font-size: 20px;
}

.id_prot {
    width: 10%;
    display: flex; justify-content: center; align-items: center;
}

.id_prot span {
    font-size: 2rem; font-weight: lighter;
}

.tit_prot {
    width: 85%;
}

.fech_prot {
    padding-top: 1rem;
    padding-bottom: 1rem;
    width: 100%;
    text-align: center;
    color: #70B62C;
}


@media (min-width: 992px) {
    .sec-cards-main {
        width: 70%;
        position: relative;
        top: -90px;
    }

    .custom-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-direction: column;
        flex: 1;
    }

    .custom-card img {
        width: 100%;
        height: auto;
    }

    .img-tc-1 {
        width: 40%;
        float: right; margin-left: 15px;
        margin-top: 15px;
    }


    .card-h-custom {
        border-radius: 1.9rem 1.9rem 0px 0px;
    }

    .id_prot {
        width: 10%; display: flex; justify-content: center; align-items: center;
    }

    .id_prot span {
        font-size: 2rem; font-weight: lighter;
    }

    .tit_prot {
        width: 60%;
    }
    
    .fech_prot {
        width: 25%;
        text-align: right;
        color: #70B62C;
    }
}