/* =================================
   PROYECTO URABÁ - CUSTOM STYLES
   ================================= */

/* Variables CSS */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #2c5530;
    --accent-color: #ffcc02;
    --text-dark: #2c3e50;
    --text-light: #6c757d;
    --background-light: #f8f9fa;
    --white: #ffffff;
    --gradient-primary: linear-gradient(135deg, #ff6b35 0%, #ff8c69 100%);
    --gradient-secondary: linear-gradient(135deg, #2c5530 0%, #4a7c59 100%);
    --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 5px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Estilos para la sección Sobre Nosotros */
.about-card {
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.project-card {
    transition: var(--transition);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.project-icon {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-card h4 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

#about ul li {
    position: relative;
    padding-left: 10px;
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Reset y configuración base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Utilidades */
.rounded-lg {
    border-radius: var(--border-radius) !important;
}

.section {
    position: relative;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.4;
    max-width: 700px;
    margin: 10 auto;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Navegación */
.navbar {
    background: rgba(255, 255, 255, 1);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    will-change: background-color, backdrop-filter;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.navbar.transparent {
    background: rgba(255, 255, 255, 0.4) !important;
    backdrop-filter: blur(15px) saturate(1.3);
    -webkit-backdrop-filter: blur(15px) saturate(1.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.navbar.transparent .navbar-nav .nav-link {
    color: rgba(44, 62, 80, 0.95) !important;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
}

.navbar.transparent .navbar-brand .logo {
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.4)) drop-shadow(0 1px 6px rgba(44, 85, 48, 0.5));
}

.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-dark) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand .logo {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 8px rgba(44, 85, 48, 0.3));
    transition: all 0.4s ease;
}

.navbar-brand:hover .logo {
    filter: drop-shadow(0 2px 12px rgba(44, 85, 48, 0.5));
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.2rem;
    transition: all 0.4s ease;
    position: relative;
    font-size: 0.9rem;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 100%;
}

.navbar-nav .btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 6px 16px;
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--transition);
    color: white !important;
}

.navbar-nav .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white !important;
}

/* Navbar Toggler */
.navbar-toggler {
    border: 1px solid rgba(44, 62, 80, 0.3);
    border-radius: 8px;
    padding: 4px 8px;
    transition: var(--transition);
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(255, 107, 53, 0.25);
    border-color: var(--primary-color);
}

.navbar-toggler:hover {
    border-color: var(--primary-color);
    background-color: rgba(255, 107, 53, 0.1);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2844, 62, 80, 0.8%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Hero Section */
.hero-section {
    color: var(--white);
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

/* Video Background */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;
    /* Optimizaciones para reproducción fluida */
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
}

.hero-video-fallback {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(44, 85, 48, 0.8), rgba(44, 85, 48, 0.9)), 
                url('../img/hero-bg.jpg') center/cover no-repeat;
    z-index: -3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(44, 85, 48, 0.7);
    opacity: 1;
    z-index: -1;
}

.hero-content {
    padding-top: 50px;
    position: relative;
    z-index: 2;
}

.hero-logo {
    max-width: 300px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    transition: var(--transition);
}

.hero-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4));
}

.hero-subtitle {
    display: inline-block;
    background: var(--gradient-primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-buttons .btn {
    border-radius: 25px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.hero-buttons .btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.hero-buttons .btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
}

.hero-buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
    color: var(--secondary-color);
}

/* Hero Stats */
.hero-stats {
    padding-top: 45px;
    position: relative;
    z-index: 2;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1.2rem;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 1rem;
    width: 100%;
}

.stat-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--white);
    flex-shrink: 0;
}

.stat-card h3 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin: 0;
    line-height: 1;
}

.stat-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounce 2s infinite;
}

.scroll-indicator a {
    color: var(--white);
    font-size: 1.5rem;
    opacity: 0.7;
    transition: var(--transition);
}

.scroll-indicator a:hover {
    opacity: 1;
    color: var(--accent-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Animación de latido suave */
@keyframes heartbeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.05);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(1);
    }
    100% {
        transform: scale(1);
    }
}

/* About Section */
.objectives {
    margin-top: 1.8rem;
}

.objective-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    padding: 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
}

.objective-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.objective-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
    color: var(--white);
    font-size: 1.1rem;
}

.objective-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.objective-content p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.90rem;
}

.about-image img {
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    margin-top: 10px;
}

.about-image img:hover {
    transform: scale(1.02);
}

/* Cause Section */
#cause {
    background: url('../img/verde-fondo.png') center/cover no-repeat;
    position: relative;
}

#cause::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 247, 247, 0.377);
    z-index: 1;
}

#cause .container {
    position: relative;
    z-index: 2;
}

.cause-card {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.cause-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.cause-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.cause-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    filter: grayscale(100%); /* Aplicamos el efecto de escala de grises */
}

.cause-card:hover .cause-image img {
    filter: grayscale(0%); /* Al hacer hover, quitamos el efecto para ver la imagen en color */
    transform: scale(1.05);
}

.cause-content {
    padding: 2rem;
}

.cause-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.3;
}

.cause-content p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* Goal Section */
.goal-section {
    background: var(--gradient-secondary);
    border-radius: var(--border-radius);
    padding: 3rem;
    color: var(--white);
    text-align: center;
}

.goal-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.goal-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hashtag {
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 2rem;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

/* Botón con animación de latido en la sección goal */
.goal-section .btn-primary {
    animation: heartbeat 2s infinite;
    transition: var(--transition);
}

.goal-section .btn-primary:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

/* Botón con animación de latido en la sección hero */
.hero-section .btn-primary {
    animation: heartbeat 2s infinite;
    transition: var(--transition);
}

.hero-section .btn-primary:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

/* Botón de donación específico con color verde */
.btn-donation {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border: none !important;
    color: var(--white) !important;
}

.btn-donation:hover {
    background: linear-gradient(135deg, #218838 0%, #1ea87a 100%) !important;
    color: var(--white) !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Botón con animación de latido en la sección route */
#route .btn-primary {
    animation: heartbeat 2s infinite;
    transition: var(--transition);
}

#route .btn-primary:hover {
    animation-play-state: paused;
    transform: scale(1.1);
}

/* Route Section */
.route-info {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.route-detail {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.route-detail:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.route-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    color: var(--white);
    font-size: 1rem;
}

.route-content h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-size: 1.2rem;
}

.route-content p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.route-map img {
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.route-map img:hover {
    transform: scale(1.02);
}

/* Nuevos estilos para layout horizontal */
.route-map-large {
    text-align: center;
    margin-bottom: 0;
}

.route-map-large img {
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    max-height: 500px;
    width: 100%;
    object-fit: contain;
}

.route-map-large img:hover {
    transform: scale(1.02);
}

.route-info-card {
    background: var(--white);
    padding: 2rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    text-align: center;
    height: 100%;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.route-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.route-info-card .route-icon {
    margin: 0 auto 1rem auto;
    margin-right: auto;
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
}

.route-info-card h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.route-info-card p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.route-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.route-map img {
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.route-map img:hover {
    transform: scale(1.02);
}

/* Kit Section */
.kit-item {
    text-align: center;
    padding: 2rem 1rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.kit-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-medium);
}

.kit-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--white);
    font-size: 1.5rem;
}

.kit-item h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.kit-item p {
    color: var(--text-light);
    margin-bottom: 0;
    font-size: 0.9rem;
}

.services {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    margin-top: 2rem;
}

.services h3 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 1rem;
    background: var(--background-light);
    border-radius: 8px;
    transition: var(--transition);
}

.service-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

.service-item i {
    font-size: 1.2rem;
    color: var(--primary-color);
    transition: var(--transition);
}

.service-item:hover i {
    color: var(--white);
}

.kit-image img {
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
}

.kit-image img:hover {
    transform: scale(1.02);
}

/* Sponsors Section */
.sponsor-form {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.sponsor-form .form-control {
    border: 2px solid #eee;
    border-radius: 25px 0 0 25px;
    padding: 12px 20px;
    font-size: 1rem;
    transition: var(--transition);
}

.sponsor-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: none;
}

.sponsor-form .btn {
    border-radius: 0 25px 25px 0;
    padding: 12px 25px;
    background: var(--gradient-primary);
    border: none;
    font-weight: 600;
    transition: var(--transition);
}

.sponsor-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Footer */
.footer {
    background: var(--secondary-color) !important;
    color: var(--white);
    font-size: 0.8rem;
}

.footer p {
    font-size: 0.75rem;
    line-height: 1.2;
}

.footer-brand h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    font-size: 0.9rem;
}

.footer h5 {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.8rem;
}

.footer-links a:hover {
    color: var(--accent-color);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Botones personalizados */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 25px;
    padding: 10px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--gradient-primary);
}

.btn-lg {
    padding: 12px 32px;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.8rem;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin-bottom: 1rem;
        font-size: 0.95rem;
    }
    
    .hero-logo {
        max-width: 220px;
    }
    
    /* Optimización del video para móviles */
    .hero-video {
        object-position: center center;
    }
    
    /* En móviles, usar imagen de fondo si el video no funciona bien */
    @media (max-width: 576px) {
        .hero-video {
            display: none;
        }
        
        .hero-video-fallback {
            z-index: -1 !important;
        }
    }
    
    .objective-item {
        flex-direction: column;
        text-align: center;
    }
    
    .objective-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    .route-detail {
        flex-direction: column;
        text-align: center;
    }
    
    .route-icon {
        margin-right: 0;
        margin-bottom: 1rem;
        margin-left: auto;
        margin-right: auto;
    }
    
    /* Centrar botón en sección de recorrido en móvil */
    .route-info .btn {
        display: block;
        width: 100%;
        text-align: center;
    }
    
    .goal-section {
        padding: 2rem 1.5rem;
    }
    
    .goal-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .navbar-brand {
        font-size: 0.85rem;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-card-header {
        gap: 12px;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .stat-card h3 {
        font-size: 1.8rem;
    }
    
    .stat-card p {
        font-size: 0.85rem;
    }
    
    .objective-item,
    .kit-item {
        padding: 1.5rem;
    }
    
    .services {
        padding: 1.5rem;
    }
    
    .sponsor-form {
        padding: 1.5rem;
    }
    
    /* Centrar logo principal en móviles */
    .hero-content {
        text-align: center;
        padding-top: 60px;
    }
    
    .hero-logo {
        margin: 0 auto 2rem auto;
        display: block;
    }
}

/* Animaciones adicionales */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading spinner para imágenes */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Mejoras de accesibilidad */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Focus styles */
.btn:focus,
.form-control:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
}

/* Smooth scrolling enhancement */
@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

/* =================================
   PÁGINAS ADICIONALES
   ================================= */

/* Page Header */
.page-header {
    background: var(--gradient-secondary) !important;
    padding: 80px 0 80px;
    position: relative;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../img/pattern.png') repeat;
    opacity: 0.1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.min-vh-50 {
    min-height: 50vh;
}

.breadcrumb {
    background: none;
    padding: 0;
    margin: 0;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: var(--accent-color);
    font-weight: bold;
}

/* Info Cards */
.info-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-left: 4px solid var(--primary-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--white);
    font-size: 1.8rem;
}

.info-card h3 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li strong {
    color: var(--text-dark);
    min-width: 120px;
    flex-shrink: 0;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-list li {
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-list i {
    color: var(--primary-color);
    width: 16px;
}

/* Cause Highlight */
.cause-highlight {
    background: linear-gradient(135deg, var(--background-light) 0%, var(--white) 100%);
    border-radius: var(--border-radius);
    padding: 3rem;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.cause-highlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cause-highlight .cause-icon {
    width: 100px;
    height: 100px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--white);
    font-size: 2.5rem;
    box-shadow: var(--shadow-medium);
}

.cause-highlight h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}

.cause-highlight .lead {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Responsive adjustments for info pages */
@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .info-card {
        padding: 2rem 1.5rem;
    }
    
    .cause-highlight {
        padding: 2rem 1.5rem;
    }
    
    .info-list li {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .info-list li strong {
        min-width: auto;
        margin-bottom: 0.25rem;
    }
}

/* =================================
   WHATSAPP FLOATING BUTTON
   ================================= */

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 2px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.6);
    color: white;
    text-decoration: none;
}

.whatsapp-float:focus {
    outline: none;
    color: white;
    text-decoration: none;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Responsive adjustments for WhatsApp button */
@media (max-width: 768px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        width: 55px;
        height: 55px;
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    .whatsapp-float {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}

/* =================================
   MAIN SPONSORS CAROUSEL
   ================================= */

.sponsors-carousel {
    overflow: hidden;
    position: relative;
    background: transparent;
    padding: 2rem 0;
    margin: 2rem 0;
}

.sponsors-carousel::before,
.sponsors-carousel::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.sponsors-carousel::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}

.sponsors-carousel::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}

.sponsors-track {
    display: flex;
    width: 200%;
    animation: sponsorScroll 30s linear infinite;
}

.sponsor-item {
    flex: 0 0 12.5%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
}

.sponsor-item img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.sponsors-carousel:hover .sponsors-track {
    animation-play-state: paused;
}

.sponsor-item:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.1);
}

@keyframes sponsorScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Alternative reverse animation for variety */
.sponsors-track.reverse {
    animation: sponsorScrollReverse 35s linear infinite;
}

@keyframes sponsorScrollReverse {
    0% {
        transform: translateX(-50%);
    }
    100% {
        transform: translateX(0);
    }
}

/* Responsive adjustments for sponsors carousel */
@media (max-width: 768px) {
    .sponsors-carousel {
        padding: 1.5rem 0;
        margin: 1.5rem 0;
    }
    
    .sponsors-carousel::before,
    .sponsors-carousel::after {
        width: 60px;
    }
    
    .sponsor-item {
        flex: 0 0 16.666%;
        padding: 0 1rem;
        min-height: 100px;
    }
    
    .sponsor-item img {
        max-height: 60px;
    }
    
    .sponsors-track {
        animation-duration: 25s;
    }
}

@media (max-width: 480px) {
    .sponsors-carousel {
        padding: 1rem 0;
        margin: 1rem 0;
    }
    
    .sponsors-carousel::before,
    .sponsors-carousel::after {
        width: 40px;
    }
    
    .sponsor-item {
        flex: 0 0 25%;
        padding: 0 0.5rem;
        min-height: 80px;
    }
    
    .sponsor-item img {
        max-height: 50px;
    }
    
    .sponsors-track {
        animation-duration: 20s;
    }
}

/* =================================
   FAQ & POLICY PAGES STYLES
   ================================= */

/* Page Header */
.page-header {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 140px 0 80px;
    text-align: center;
}

.page-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* FAQ Categories */
.faq-category {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    height: 100%;
}

.faq-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.faq-category-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--white);
}

.faq-category h4 {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.faq-category p {
    color: var(--text-light);
    margin: 0;
}

/* Accordion Styles */
.accordion-item {
    border: none;
    background: var(--white);
    margin-bottom: 1rem;
    border-radius: var(--border-radius) !important;
    box-shadow: var(--shadow-light);
    overflow: hidden;
}

.accordion-button {
    background: var(--white);
    border: none;
    padding: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.accordion-button:not(.collapsed) {
    background: var(--background-light);
    color: var(--primary-color);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ff6b35'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
    line-height: 1.7;
}

.accordion-body ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.accordion-body li {
    margin-bottom: 0.5rem;
}

/* Policy Page Styles */
.policy-icon {
    font-size: 4rem;
    color: var(--primary-color);
}

.policy-content {
    margin-top: 2rem;
}

.policy-section {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-light);
}

.policy-section h3 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--background-light);
}

.policy-section h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.policy-text {
    line-height: 1.7;
    color: var(--text-dark);
}

.policy-text p {
    margin-bottom: 1rem;
}

.policy-text ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.policy-text li {
    margin-bottom: 0.75rem;
}

.policy-text strong {
    color: var(--secondary-color);
}

.contact-info {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 1.5rem;
}

.contact-info h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

.last-updated {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 1rem;
    color: var(--text-light);
}

/* Responsive adjustments for FAQ and Policy pages */
@media (max-width: 768px) {
    .page-header {
        padding: 120px 0 60px;
    }
    
    .page-title {
        font-size: 2.5rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .faq-category {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .faq-category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .policy-section {
        padding: 1.5rem;
    }
    
    .accordion-button {
        padding: 1rem;
        font-size: 1rem;
    }
    
    .accordion-body {
        padding: 1rem;
    }
}

/* Estilos para centrar los textos en las secciones de patrocinadores */
#main-sponsors h2, 
#main-sponsors p,
#main-sponsors .section-title,
#main-sponsors .section-subtitle,
#main-sponsors .text-muted {
    text-align: center !important;
}

#sponsors h2,
#sponsors p,
#sponsors .section-title,
#sponsors .section-subtitle,
#sponsors .sponsor-form {
    text-align: center !important;
}

#sponsors .input-group {
    margin: 0 auto;
    max-width: 90%;
}

/* Centrado forzado para secciones específicas */
#cause .section-subtitle,
#route .section-subtitle,
#kit .section-subtitle,
#sponsors .section-subtitle,
#main-sponsors .section-subtitle {
    text-align: center !important;
    margin: 0 auto !important;
    display: block !important;
    width: 100% !important;
}

/* Asegurar centrado completo de contenedores */
.text-center.w-100 {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.text-center.w-100 p {
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
}
