/* Hero Slider Styles */
.hero {
    position: relative;
    padding: 0;
    height: 600px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    z-index: 1;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out, transform 1.2s ease-in-out;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.05);
    filter: brightness(0.85);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
}

.slide-caption {
    position: absolute;
    bottom: 80px;
    left: 50px;
    background: rgba(28, 124, 84, 0.9);
    color: white;
    padding: 15px 25px;
    font-size: 24px;
    font-weight: 600;
    border-radius: 4px;
    transform: translateX(-50px) translateY(0);
    opacity: 0;
    transition: all 1s ease 0.8s;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 2;
    border-left: 4px solid var(--accent-color);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.5px;
}

.hero-slide.active .slide-caption {
    transform: translateX(0) translateY(0);
    opacity: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 180px 20px 0;
    color: var(--white-color);
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    border-radius: 10px;
    padding: 30px;
    margin-top: 150px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--white-color);
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.hero-controls {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    z-index: 3;
}

.hero-control {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white-color);
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.hero-control:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active, 
.hero-indicator:hover {
    background: var(--white-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@media screen and (max-width: 768px) {
    .hero-content h2 {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .slide-caption {
        left: 30px;
        bottom: 70px;
        font-size: 20px;
        padding: 10px 20px;
    }
    
    .hero-controls {
        padding: 0 20px;
    }
    
    .hero-control {
        width: 40px;
        height: 40px;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .slide-caption {
        left: 15px;
        bottom: 60px;
        font-size: 18px;
        padding: 8px 16px;
    }
    
    .hero-indicators {
        padding: 6px 12px;
    }
    
    .hero-indicator {
        width: 10px;
        height: 10px;
    }
}
