/* Hero Slider Styles */
.hero-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 90vh;
    min-height: 300px;
}

.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    background-repeat: no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
    background-attachment: scroll !important;
}

.hero-slide.active {
    opacity: 1;
}

.hero-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2rem;
    pointer-events: none;
    z-index: 10;
}

.hero-control {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: all;
    backdrop-filter: blur(10px);
}

.hero-control:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.hero-control:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.hero-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.hero-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-indicator.active,
.hero-indicator:hover {
    background: white;
    border-color: white;
}

.hero-indicator:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Hero content styling */
.hero-slide .container {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-slide .row {
    width: 100%;
    align-items: center;
}

.hero-content {
    color: white;
    text-align: left;
    padding: 2rem 0;
}

.hero-content h1 {
    color: white;
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.7);
}

.hero-content p {
    color: white;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    max-width: 90%;
}

/* Hero buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn-hero {
    padding: 15px 35px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    text-align: center;
    border: 2px solid transparent;
}

.btn-hero.btn-primary {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.btn-hero.btn-primary:hover {
    background: white;
    color: #007bff;
    border-color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.btn-hero.btn-outline {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-hero.btn-outline:hover {
    background: white;
    color: #333;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

/* Hero decoration */
.hero-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
}

.decoration-icon {
    font-size: 15rem;
    color: rgba(255, 255, 255, 0.1);
    text-align: center;
    position: relative;
}

.decoration-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.8;
    }
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.8rem;
    }

    .decoration-icon {
        font-size: 12rem;
    }
}

@media (max-width: 768px) {
    .hero-slider {
        min-height: 500px;
        height: 70vh;
    }

    .hero-content {
        text-align: center;
        padding: 1.5rem 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        justify-content: center;
        gap: 0.8rem;
    }

    .btn-hero {
        padding: 12px 25px;
        font-size: 0.9rem;
        min-width: 150px;
    }

    .hero-control {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .hero-controls {
        padding: 0 1rem;
    }

    .hero-indicators {
        bottom: 1rem;
    }

    .hero-indicator {
        width: 10px;
        height: 10px;
    }
}

@media (max-width: 576px) {
    .hero-slider {
        min-height: 450px;
        height: 60vh;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-content p {
        font-size: 0.95rem;
        margin-bottom: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    .btn-hero {
        width: 100%;
        max-width: 280px;
        padding: 14px 25px;
    }

    .hero-controls {
        padding: 0 0.5rem;
    }

    .hero-control {
        width: 35px;
        height: 35px;
        font-size: 12px;
    }
}

/* Loading animation for slider */
.hero-slide img {
    transition: transform 0.3s ease;
}

.hero-slide.active img {
    transform: scale(1.05);
}

/* Screen reader only content */
.sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {

    .hero-slide,
    .hero-control,
    .hero-indicator,
    .btn-hero {
        transition: none;
    }
}