/* Hero Slider Styles */
.hero-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: visible;
    background-color: #1a4d8f;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 77, 143, 0.85) 0%, rgba(37, 99, 168, 0.75) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5%;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    padding: 0 20px;
    max-width: 700px;
    position: relative;
    margin-right: auto;
}

.hero-content h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Static Advocate Image - Extends beyond hero section */
.advocate-image {
    position: absolute;
    right: 5%;
    bottom: -250px;
    width: 650px;
    height: 800px;
    z-index: 10;
    pointer-events: none;
}

.advocate-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    filter: drop-shadow(0 10px 40px rgba(0,0,0,0.4));
    animation: floatAdvocate 3s ease-in-out infinite;
}

@keyframes floatAdvocate {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@media (max-width: 1024px) {
    .advocate-image {
        width: 420px;
        height: 600px;
        right: 2%;
        bottom: -180px;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        height: 400px;
        overflow: hidden;
    }
    
    .hero-overlay {
        justify-content: center;
        padding-left: 0;
    }
    
    .hero-content {
        text-align: center;
        max-width: 100%;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .advocate-image {
        display: none;
    }
}


/* Centered Hero Overlay for other pages */
.hero-overlay-center {
    justify-content: center !important;
    padding: 0 5% !important;
}

.hero-overlay-center .hero-content {
    margin-right: 0 !important;
    max-width: 800px;
}
