.hero-section,
.hero-section .swiper,
.hero-section .swiper-initialized,
.hero-section .swiper-horizontal,
.hero-section .swiper-pointer-events,
.hero-section .swiper-backface-hidden {
    position: relative;
    height: 500px !important;
    min-height: 500px !important;
    overflow: hidden;
}

.hero-section .swiper-wrapper {
    height: 500px !important;
}

.hero-section .swiper-slide {
    width: 100% !important;
    height: 500px !important;
}

.hero-section .hero-slide {
    width: 100%;
    height: 500px !important;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    z-index: 2;
}

.hero-content .container {
    position: relative;
    z-index: 3;
}

.hero-content h1,
.hero-content p,
.hero-content .btn {
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 600px;
    margin-bottom: 30px;
}

/* Navigation Controls */
.hero-section .swiper-button-next,
.hero-section .swiper-button-prev {
    z-index: 10;
}

@media (max-width: 768px) {
    .hero-section,
    .hero-section .swiper,
    .hero-section .swiper-initialized,
    .hero-section .swiper-wrapper,
    .hero-section .swiper-slide,
    .hero-section .hero-slide {
        height: 400px !important;
        min-height: 400px !important;
    }
}

.hero-section {
    position: relative;
    z-index: 1;
    margin-top: -76px; /* Adjust this value based on your header height */
}

.hero-slider {
    position: relative;
    z-index: 1;
}

.hero-slide {
    position: relative;
    background-size: cover;
    background-position: center;
}

.hero-content {
    padding-top: 120px; /* Add extra padding to account for header overlap */
    position: relative;
    z-index: 2;
}