:root {
    --primary-blue: #004aad;
    --secondary-orange: #ad6f44;
    --bg-color: #dd8d15cb;
    --text-color: #333;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.text-primary-custom {
    color: var(--primary-blue);
}

.text-secondary-custom {
    color: var(--secondary-orange);
}

.bg-primary-custom {
    background-color: var(--primary-blue);
}

.bg-secondary-custom {
    background-color: var(--secondary-orange);
}

/* Navbar */
.navbar {
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-weight: bold;
    color: var(--primary-blue) !important;
    font-size: 1.5rem;
}

.nav-link {
    color: var(--primary-blue) !important;
    font-weight: 500;
}

.nav-link:hover {
    color: var(--secondary-orange) !important;
}

/* Hero Section */
.hero-section {
    background-color: white;
    /* padding-bottom: 1rem 0; */
    text-align: center;
    border-bottom: 5px solid var(--secondary-orange);
}

.hero-title {
    color: var(--primary-blue);
    font-weight: 800;
    font-size: 3.5rem;
}

.hero-subtitle {
    color: var(--text-color);
    font-size: 1.5rem;
    font-style: italic;
    margin-top: 1rem;
}

/* Cards */
.mission-card,
.vision-card,
.values-card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 100%;
}

.mission-card:hover,
.vision-card:hover,
.values-card:hover {
    transform: translateY(-5px);
}

.mission-card p,
.vision-card p {
    font-size: 1.2rem;
    text-align: justify;
}

.card-title {
    color: var(--secondary-orange);
    font-weight: bold;
    text-transform: uppercase;
    border-bottom: 2px solid var(--primary-blue);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.values-list {
    list-style: none;
    padding: 0;
}

.values-list li {
    font-size: 1.2rem;
    margin-bottom: 10px;
    /* color: var(--primary-blue); */
    /* font-weight: bold; */
}



/* Footer */
footer {
    background-color: var(--primary-blue);
    color: white;
    padding: 1rem 0;
    /* Reduced padding */
    margin-top: 3rem;
}

.stack-card {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    transform: scale(0.92) translateY(10px);
    opacity: 0.8;
    transition: all 0.5s ease;
    background: #fff;
}

.stack-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 1rem;
}

.stack-card.active {
    z-index: 3;
    transform: scale(1);
    opacity: 1;
}

.stack-card.next {
    z-index: 2;
    transform: scale(0.95) translateY(12px);
}

.stack-card.prev {
    z-index: 1;
    transform: scale(0.9) translateY(24px);
}

.stack-wrapper {
    position: relative;
    width: 320px;
    height: 460px;
    margin: 0 auto; /* centra la baraja */
}

/* Flechas */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2.2rem;
    color: #6c757d;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.arrow:hover {
    color: #0d6efd;
    transform: translateY(-50%) scale(1.15);
}

.arrow.left {
    left: -60px; /* controla separación */
}

.arrow.right {
    right: -60px;
}



/* Benefits Section */
.benefit-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    padding: 20px;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    height: 100%;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--secondary-orange);
}

.benefit-title {
    color: var(--primary-blue);
    font-weight: bold;
    margin-bottom: 5px;
}

/* Hero Logo */
.hero-logo {
    width: 100%;
    max-height: 850px;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.beneficio-img {
    max-width: 260px;
    width: 100%;
    height: auto;
}

.info-img {
    max-width: 270px;
    width: 100%;
    height: auto;
    min-height: 337px;
}

.contact-card {
    background: #ffffff;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}

.contact-card a {
    color: #0d6efd;
    text-decoration: none;
}

.contact-card a:hover {
    text-decoration: underline;
}

.modal-img {
    /* max-height: 70vh; */
    width: auto;
    margin: auto;
    display: block;
}

.img_info:hover{
    cursor: pointer;
}

/* Nuevos recuersos */

.evento-section {
    background-color: var(--secondary-orange);
    padding: 65px 20px;
}

.evento-wrapper {
    max-width: 1200px;
    margin: auto;
}

.evento-media {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

/* Video vertical */
.evento-video video {
    width: 320px;
    max-height: 560px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
    background: #000;
}

/* Imagen celular */
.evento-img img {
    width: 419px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.4);
    object-fit: cover;
}



@media (max-width: 576px) {
    .stack-wrapper {
        padding-bottom: 56px; /* espacio para flechas */
    }

    .arrow {
        top: auto;
        bottom: -48px;
        transform: none;
        font-size: 1.8rem;
    }

    .arrow.left {
        left: 40px;
    }

    .arrow.right {
        right: 40px;
    }

    .evento-img img {
        max-width: 320px;
    }

}
