.enlace-animado {
    position: relative;
    color: #0c86c3;
    text-decoration: none;
    padding-bottom: 5px;
    display: inline-block;
}

.enlace-animado::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: 0;
    left: 0;
    color: #0c86c3;
    background-color: #0c86c3;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

.enlace-animado:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.enlace-animado.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

th {
    padding: 10px;
}

body {
    background: linear-gradient(to bottom, #00ae98 0%, #a3fafe 25%);
    min-height: 100vh;
    background-attachment: fixed;
    margin: 0;
    padding-left: 60px;
    /* Space for sidebar */
    transition: padding-left 0.3s ease;
}

@media (max-width: 768px) {
    body {
        padding-left: 0;
    }

    .main-header .site-logo {
        height: 60px;
        /* Smaller logo */
    }

    .main-header {
        padding: 10px 0;
    }
}


/* Carousel Styles */
.carousel-container {
    position: relative;
    width: 80%;
    margin: 50px auto;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    aspect-ratio: 16 / 9;
    /* Mantener proporción base */
}

.carousel-slide {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    flex-shrink: 0;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    font-size: 24px;
    border-radius: 50%;
    transition: background-color 0.3s;
    z-index: 101;
}

.carousel-btn:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.prev-btn {
    left: 20px;
}

.next-btn {
    right: 20px;
}

/* Header and Navigation Styles */
.main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
}

.logo-container {
    margin-bottom: 20px;
    display: inline-block;
    transition: transform 0.3s ease;
    text-decoration: none !important;
}

.logo-container:hover {
    transform: scale(1.05);
    text-decoration: none !important;
}

.site-logo {
    height: 120px;
    width: auto;
    display: block;
    margin: 0 auto;
}

.decorative-image-container {
    text-align: center;
    margin-top: 10px;
    margin-bottom: -10px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.decorative-render {
    width: 100%;
    max-width: 1100px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

.welcome-greeting {
    text-align: center;
    color: #0c86c3;
    font-size: 1.5rem;
    font-weight: 500;
    margin-top: 5px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.2);
    min-height: 1.8rem;
}

.site-title {
    color: #1f7db5;
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 20px;
    margin-bottom: 10px;
    letter-spacing: 8px;
    text-align: center;
    text-decoration: none !important;
}

.main-nav table {
    margin: 0 auto;
}

/* Ayuda Page Styles */
.ayuda-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.carousel-footer {
    text-align: center;
    margin-top: 20px;
    color: #0c86c3;
    font-weight: 600;
}

.presiona-aqui {
    color: #0c86c3;
    text-decoration: underline;
    font-weight: bold;
}

.presiona-aqui:hover {
    color: #1a5e80;
}

.ayuda-intro {
    text-align: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: #0c86c3;
    line-height: 1.8;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.dropdown-section {
    text-align: center;
    margin-bottom: 50px;
}

.dropdown-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: #1f6fa5;
}

.custom-dropdown {
    position: relative;
    width: 280px;
    margin: 0 auto;
}

.dropdown-button {
    width: 280px;
    padding: 18px;
    background: linear-gradient(90deg, #1f7db5, #16689b);
    color: white;
    border: none;
    border-radius: 40px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.dropdown-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 134, 195, 0.4);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-button:hover .dropdown-arrow {
    transform: translateY(2px);
}

.dropdown-menu {
    display: none;
    position: absolute;
    background: white;
    border-radius: 10px;
    width: 280px;
    margin-top: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.dropdown-menu.show {
    display: block;
}

.dropdown-item {
    padding: 12px;
    cursor: pointer;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: #e8f4ff;
}

.content-section {
    margin-top: 40px;
}

.estado-content {
    display: none;
}

.estado-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.estado-content h2 {
    text-align: center;
    color: #0c86c3;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.recurso-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #0c86c3;
}

.recurso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.recurso-card h3 {
    color: #0c86c3;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.recurso-card .telefono {
    font-size: 1.4rem;
    color: #00ae98;
    font-weight: bold;
    margin: 15px 0;
}

.recurso-card p {
    color: #666;
    line-height: 1.6;
}

.coming-soon {
    text-align: center;
    font-size: 1.2rem;
    color: #0c86c3;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ayuda-intro {
        font-size: 1rem;
        padding: 15px;
    }

    .custom-dropdown {
        width: 100%;
        max-width: 300px;
    }

    .recursos-grid {
        grid-template-columns: 1fr;
    }

    .estado-content h2 {
        font-size: 1.5rem;
    }
}

.cuadro {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #0c86c3;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Contenedor de las 3 tarjetas */
.contenedor-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px auto;
    flex-wrap: wrap;
    width: 90%;
}

/* Cada tarjeta */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(12, 134, 195, 0.3);
}

.dropdown-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 134, 195, 0.4);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-button:hover .dropdown-arrow {
    transform: translateY(2px);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    margin-top: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #0c86c3;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, #e8f5fa 0%, #d4eef7 100%);
    padding-left: 30px;
}

.content-section {
    margin-top: 40px;
}

.estado-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.estado-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.estado-content h2 {
    text-align: center;
    color: #0c86c3;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.recurso-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #0c86c3;
}

.recurso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.recurso-card h3 {
    color: #0c86c3;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.recurso-card .telefono {
    font-size: 1.4rem;
    color: #00ae98;
    font-weight: bold;
    margin: 15px 0;
}

.recurso-card p {
    color: #666;
    line-height: 1.6;
}

.coming-soon {
    text-align: center;
    font-size: 1.2rem;
    color: #0c86c3;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ayuda-intro {
        font-size: 1rem;
        padding: 15px;
    }

    .custom-dropdown {
        width: 100%;
        max-width: 300px;
    }

    .recursos-grid {
        grid-template-columns: 1fr;
    }

    .estado-content h2 {
        font-size: 1.5rem;
    }
}

.cuadro {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #0c86c3;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Contenedor de las 3 tarjetas */
.contenedor-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px auto;
    flex-wrap: wrap;
    width: 90%;
}

/* Cada tarjeta */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.dropdown-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(12, 134, 195, 0.4);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
}

.dropdown-button:hover .dropdown-arrow {
    transform: translateY(2px);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-radius: 15px;
    margin-top: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.dropdown-menu.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    padding: 15px 25px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #0c86c3;
    font-weight: 600;
    border-bottom: 1px solid #e0e0e0;
}

.dropdown-item:last-child {
    border-bottom: none;
}

.dropdown-item:hover {
    background: linear-gradient(90deg, #e8f5fa 0%, #d4eef7 100%);
    padding-left: 30px;
}

.content-section {
    margin-top: 40px;
}

.estado-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.estado-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.estado-content h2 {
    text-align: center;
    color: #0c86c3;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.recurso-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #0c86c3;
}

.recurso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.recurso-card h3 {
    color: #0c86c3;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.recurso-card .telefono {
    font-size: 1.4rem;
    color: #00ae98;
    font-weight: bold;
    margin: 15px 0;
}

.recurso-card p {
    color: #666;
    line-height: 1.6;
}

.coming-soon {
    text-align: center;
    font-size: 1.2rem;
    color: #0c86c3;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ayuda-intro {
        font-size: 1rem;
        padding: 15px;
    }

    .custom-dropdown {
        width: 100%;
        max-width: 300px;
    }

    .recursos-grid {
        grid-template-columns: 1fr;
    }

    .estado-content h2 {
        font-size: 1.5rem;
    }
}

.cuadro {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #0c86c3;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Contenedor de las 3 tarjetas */
.contenedor-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px auto;
    flex-wrap: wrap;
    width: 90%;
}

/* Cada tarjeta */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.member {
    margin-bottom: 10px;
    text-align: left;
}

/* Estilos para Enfermedades de Temporada */
.enfermedad-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    /* Center vertically */
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.95);
    /* Card background moved here */
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    width: 100%;
    /* Ensure full width */
}

.video-container {
    flex: 0 0 40%;
    /* Fixed width for video, adjust as needed */
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Optional: if "encima" meant slightly overlapping or popping out */
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: scale(1.05);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.info-container {
    flex: 1;
    min-width: 300px;
    /* Background removed from here */
    padding: 20px;
}

.info-container h2 {
    color: #0c86c3;
    margin-bottom: 20px;
    font-size: 2.5rem;
    /* Slightly larger */
}

.estado-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.estado-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.estado-content h2 {
    text-align: center;
    color: #0c86c3;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.recurso-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #0c86c3;
}

.recurso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.recurso-card h3 {
    color: #0c86c3;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.recurso-card .telefono {
    font-size: 1.4rem;
    color: #00ae98;
    font-weight: bold;
    margin: 15px 0;
}

.recurso-card p {
    color: #666;
    line-height: 1.6;
}

.coming-soon {
    text-align: center;
    font-size: 1.2rem;
    color: #0c86c3;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
    color: #0c86c3;
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: bold;
    border-bottom: 2px solid #a3fafe;
    padding-bottom: 10px;
    display: inline-block;
}

.info-card p {
    color: #555;
    line-height: 1.8;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .ayuda-intro {
        font-size: 1rem;
        padding: 15px;
    }

    .custom-dropdown {
        width: 100%;
        max-width: 300px;
    }

    .recursos-grid {
        grid-template-columns: 1fr;
    }

    .estado-content h2 {
        font-size: 1.5rem;
    }
}

.cuadro {
    text-align: center;
    font-size: 1rem;
    font-weight: 600;
    color: #0c86c3;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    width: 90%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Contenedor de las 3 tarjetas */
.contenedor-cards {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin: 30px auto;
    flex-wrap: wrap;
    width: 90%;
}

/* Cada tarjeta */
.card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 20px;
    width: 300px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    text-align: center;
}

.member {
    margin-bottom: 10px;
    text-align: left;
}

/* Estilos para Enfermedades de Temporada */
.enfermedad-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    align-items: center;
    /* Center vertically */
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.95);
    /* Card background moved here */
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    width: 100%;
    /* Ensure full width */
}

.video-container {
    flex: 0 0 40%;
    /* Fixed width for video, adjust as needed */
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* Optional: if "encima" meant slightly overlapping or popping out */
    transform: scale(1.02);
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: scale(1.05);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

.info-container {
    flex: 1;
    min-width: 300px;
    /* Background removed from here */
    padding: 20px;
}

.info-container h2 {
    color: #0c86c3;
    margin-bottom: 20px;
    font-size: 2.5rem;
    /* Slightly larger */
}

.estado-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.estado-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.estado-content h2 {
    text-align: center;
    color: #0c86c3;
    font-size: 2rem;
    margin-bottom: 30px;
    font-weight: bold;
}

.recursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.recurso-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 5px solid #0c86c3;
}

.recurso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.recurso-card h3 {
    color: #0c86c3;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: bold;
}

.recurso-card .telefono {
    font-size: 1.4rem;
    color: #00ae98;
    font-weight: bold;
    margin: 15px 0;
}

.recurso-card p {
    color: #666;
    line-height: 1.6;
}

.coming-soon {
    text-align: center;
    font-size: 1.2rem;
    color: #0c86c3;
    padding: 60px 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .ayuda-intro {
        font-size: 1rem;
        padding: 15px;
    }

    .custom-dropdown {
        width: 100%;
        max-width: 300px;
    }

    .recursos-grid {
        grid-template-columns: 1fr;
    }

    .estado-content h2 {
        font-size: 1.5rem;
    }
}

/* Video Cards Styles (Anatomia) */
.video-cards-container {
    display: grid;

    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
    margin-bottom: 40px;
    padding: 20px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.video-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    width: 300px;
    overflow: hidden;
    text-align: center;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.video-wrapper {
    width: 100%;
    height: 180px;
    background-color: black;
    /* "lo negro" */
    margin-bottom: 15px;
    border-radius: 20px 20px 0 0;
    /* Optional: if we want rounded top corners for the video too, but the card has overflow hidden so it should be fine */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-card h3 {
    color: #0c86c3;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0;
    text-transform: uppercase;
}

.video-card p {
    color: #0c86c3;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
}

/* Salud Mental Page Styles */
.salud-mental-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.section-title {
    color: #0c86c3;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.info-container {
    background: white;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
    min-height: 150px;
}

.split-container {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 30px;
    text-align: left;
    margin-bottom: 50px;
}

.text-side {
    flex: 1;
    min-width: 300px;
}

.text-side h3 {
    color: #0c86c3;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.video-side {
    flex: 1;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    background: black;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-side video {
    width: 100%;
    height: auto;
    border-radius: 15px;
}

.image-side {
    flex: 1;
    min-width: 300px;
    border-radius: 15px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-side img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .split-container {
        flex-direction: column;
    }

    .carousel-container {
        width: 100% !important;
        /* Full width to cover gaps */
        margin: 10px 0 !important;
        aspect-ratio: 2 / 1;
        border-radius: 0;
        /* Optional: remove radius if it looks better full width */
    }

    .carousel-slide img {
        height: 100% !important;
    }
}

@media (max-width: 768px) {
    .video-cards-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 20px 0;
        gap: 30px;
    }

    .video-card {
        width: 90%;
        max-width: 350px;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .main-header .site-logo {
        height: 90px !important;
    }
}

/* Verificados PAMACEA Section */
.verificados-section {
    background: rgba(255, 255, 255, 0.5);
    border-radius: 30px;
    padding: 40px 20px;
    margin-top: 50px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.verificados-title {
    color: #1f7db5;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 5px;
}

.verificados-subtitle {
    color: #1f7db5;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 30px;
}

.verificados-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.verificado-card {
    width: 350px;
    max-width: 100%;
}

.verificado-card img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 6px 15px rgba(31, 125, 181, 0.4);
    transition: transform 0.3s ease;
}

.verificado-card img:hover {
    transform: scale(1.03);
}

.verificados-footer {
    color: #1f7db5;
    font-weight: bold;
    font-size: 1.1rem;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}

@media (max-width: 1100px) {
    .verificados-grid {
        gap: 20px;
    }

    .verificado-card {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .verificados-title {
        font-size: 1.8rem;
    }

    .verificado-card {
        width: 100%;
        max-width: 400px;
    }
}