/* Hero Section - Perfectly Aligned */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.hero-section {
    position: relative;
    height: calc(100vh - 120px); /* 60px topbar + 60px navbar */
    min-height: 400px;
    overflow: hidden;
    color: white;
    margin: 0;
    padding: 0;
}

.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(26, 58, 95, 0.8) 0%, rgba(26, 58, 95, 0.5) 100%);
}

.hero-section .container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 10%;
    box-sizing: border-box;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: left;
    margin-right: auto;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content .subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-lg {
    padding: 0.8rem 2rem;
    font-size: 1rem;
    border-radius: 50px;
    display: inline-block;
}

/* Slider Controls */
.slider-prev,
.slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-prev:hover,
.slider-next:hover {
    background: var(--accent-orange);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 2rem;
}

.slider-next {
    right: 2rem;
}

/* Slider Indicators - Centered at Bottom */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 1rem;
    z-index: 10;
    margin: 0 auto;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--accent-orange);
    transform: scale(1.2);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .hero-section .container {
        padding-left: 8%;
    }
    .hero-content h1 {
        font-size: 3rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        height: calc(100vh - 130px); /* Adjusted for mobile */
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
    .hero-content .subtitle {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 450px;
    }
    .hero-section .container {
        padding-left: 5%;
        padding-right: 5%;
    }
    .hero-content h1 {
        font-size: 2.2rem;
    }
    .slider-prev,
    .slider-next {
        display: none;
    }
    .slider-indicators {
        bottom: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        height: calc(100vh - 120px);
        min-height: 400px;
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .hero-content .subtitle {
        font-size: 1.1rem;
    }
    .btn-lg {
        padding: 0.7rem 1.8rem;
    }
}

@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.8rem;
    }
    .slider-indicators {
        bottom: 1rem;
    }
}