.hero-slider {
    width: 100%;
    padding: 10px 0;
    overflow-x: auto;
    white-space: nowrap;
    scroll-snap-type: x mandatory;
}

.hero-slider::-webkit-scrollbar {
    height: 4px;
}

.hero-slider::-webkit-scrollbar-thumb {
    background: #bfc8d6;
    border-radius: 10px;
}

/* SCROLL CONTAINER */
.hero-scroll-container {
    display: flex;
    gap: 30px;
    padding-left: 50px; /* added space from the left */
    padding-right: 20px;
}

/* EACH SLIDE */
.hero-slide {
    min-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 60px; /* space between image and text */
    scroll-snap-align: start;
    padding: 40px 0;
    box-sizing: border-box;
}

/* IMAGE */
.hero-img {
    width: 45%; /* slightly bigger for balance */
    max-width: 450px;
    border-radius: 20px;
    object-fit: cover;
    flex-shrink: 0;
}

/* TEXT */
.hero-text {
    width: 50%;
    color: white;
}

.hero-text h1 {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: #ffffffcc; /* slightly lighter for readability */
}

.hero-btn {
    display: inline-block;
    padding: 14px 28px;
    background: #1e5bff;
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-btn:hover {
    background: #164dcf;
    transform: translateY(-3px);
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .hero-slide {
        flex-direction: column;
        gap: 30px;
        padding-left: 20px;
        padding-right: 20px;
    }

    .hero-img, .hero-text {
        width: 100%;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 36px;
    }
}
