/* HERO OVERLAY - WORKING VERSION WITH HORIZONTAL BUTTONS */

/* Hero Section Base */
.hero-section {
    position: relative !important;
    overflow: hidden !important;
    min-height: 100vh !important;
    width: 100% !important;
}

.hero-slider {
    position: relative !important;
    width: 100% !important;
    min-height: 100vh !important;
}

.hero-slide {
    position: relative !important;
    min-height: 100vh !important;
    width: 100% !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    transition: opacity 0.5s ease-in-out !important;
}

.hero-slide.active {
    display: flex !important;
    opacity: 1 !important;
}

.hero-slide:not(.active) {
    display: none !important;
    opacity: 0 !important;
}

/* OVERLAY STYLES - FULL COVERAGE - LIGHTER */
.hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.3) !important;
    z-index: 5 !important;
    pointer-events: none !important;
    display: block !important;
}

.hero-overlay-enhanced {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(
        135deg,
        rgba(30, 58, 138, 0.4) 0%,
        rgba(15, 23, 42, 0.5) 40%,
        rgba(0, 0, 0, 0.4) 100%
    ) !important;
    z-index: 6 !important;
    pointer-events: none !important;
    display: block !important;
}

/* Content positioning */
.hero-slide .container {
    position: relative !important;
    z-index: 10 !important;
    height: 100% !important;
}

.hero-slide .row {
    position: relative !important;
    z-index: 10 !important;
    min-height: 100vh !important;
}

.hero-content {
    position: relative !important;
    z-index: 10 !important;
    color: #ffffff !important;
    text-align: center !important;
    padding: 3rem 2rem !important;
}

/* Universal white text for all hero content */
.hero-content *,
.hero-content h1,
.hero-content h2,
.hero-content h3,
.hero-content p,
.hero-content span,
.hero-slide h1,
.hero-slide h2,
.hero-slide p {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    -moz-text-fill-color: #ffffff !important;
}

/* Text enhancement for visibility - Pure White */
.hero-title,
.hero-content h1,
.hero-content .hero-title,
h1.hero-title {
    color: #ffffff !important;
    background-color: transparent !important;
    text-shadow: 
        2px 2px 4px rgba(0, 0, 0, 0.8),
        1px 1px 2px rgba(0, 0, 0, 0.9),
        0 0 10px rgba(0, 0, 0, 0.6) !important;
    font-weight: 700 !important;
    font-size: 3.5rem !important;
    -webkit-text-fill-color: #ffffff !important;
    -webkit-background-clip: text !important;
    -moz-text-fill-color: #ffffff !important;
}

.hero-description,
.hero-content p,
.hero-content .hero-description,
p.hero-description {
    color: #ffffff !important;
    background-color: transparent !important;
    text-shadow: 
        1px 1px 3px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(0, 0, 0, 0.6) !important;
    font-weight: 500 !important;
    font-size: 1.25rem !important;
    -webkit-text-fill-color: #ffffff !important;
    -moz-text-fill-color: #ffffff !important;
}

.hero-badge,
.hero-content .hero-badge,
.hero-content span.hero-badge {
    color: #ffffff !important;
    background: rgba(245, 158, 11, 0.9) !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7) !important;
    font-weight: 600 !important;
    -webkit-text-fill-color: #ffffff !important;
    -moz-text-fill-color: #ffffff !important;
}

/* HERO BUTTONS - FORCE HORIZONTAL LAYOUT ON ALL SCREENS */
.hero-buttons,
.hero-content .hero-buttons,
div.hero-buttons {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.5rem !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    margin: 2rem auto 0 auto !important;
}

.hero-buttons .btn,
.hero-content .hero-buttons .btn,
.hero-buttons a.btn,
.hero-buttons .btn-primary-custom,
.hero-buttons .btn-donate-hero,
.hero-buttons a.btn-primary-custom,
.hero-buttons a.btn-donate-hero {
    padding: 1rem 2rem !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    border-radius: 50px !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 180px !important;
    max-width: 220px !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
    white-space: nowrap !important;
    margin: 0 !important;
}

.btn-donate-hero,
a.btn-donate-hero {
    background: #dc2626 !important;
    border: 2px solid #dc2626 !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.3) !important;
}

.btn-donate-hero:hover,
a.btn-donate-hero:hover {
    background: #b91c1c !important;
    border-color: #b91c1c !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(220, 38, 38, 0.4) !important;
}

.btn-primary-custom,
a.btn-primary-custom {
    background: #f59e0b !important;
    border: 2px solid #f59e0b !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3) !important;
}

.btn-primary-custom:hover,
a.btn-primary-custom:hover {
    background: #d97706 !important;
    border-color: #d97706 !important;
    color: white !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4) !important;
}

/* RESPONSIVE - KEEP HORIZONTAL ON DESKTOP/TABLET */
@media (min-width: 769px) {
    .hero-buttons,
    .hero-content .hero-buttons {
        flex-direction: row !important;
        gap: 2rem !important;
        flex-wrap: nowrap !important;
    }
    
    .hero-buttons .btn {
        min-width: 200px !important;
        max-width: 240px !important;
    }
}

/* TABLET - STILL HORIZONTAL */
@media (min-width: 577px) and (max-width: 768px) {
    .hero-buttons,
    .hero-content .hero-buttons {
        flex-direction: row !important;
        gap: 1.5rem !important;
        flex-wrap: nowrap !important;
    }
    
    .hero-buttons .btn {
        padding: 0.875rem 1.5rem !important;
        font-size: 1rem !important;
        min-width: 160px !important;
        max-width: 180px !important;
    }
}

/* MOBILE - STACK ONLY ON VERY SMALL SCREENS */
@media (max-width: 576px) {
    .hero-buttons,
    .hero-content .hero-buttons {
        flex-direction: column !important;
        gap: 1rem !important;
    }
    
    .hero-buttons .btn {
        padding: 0.8rem 1.5rem !important;
        font-size: 0.95rem !important;
        min-width: 200px !important;
        max-width: 250px !important;
        width: auto !important;
    }
}