.swiper {
    width: 100%;
    height: auto;
}

.swiper-slide {
    display: flex;
    flex-direction: column;
    background-color: #fff;
}

.heroImageSide {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
}

.heroImageSide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.heroContentSide {
    padding: 2rem;
    text-align: center;
    background-color: #fff;
}

.heroContentSide h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #111827;
}

.heroContentSide p {
    font-size: 1.1rem;
    color: #4b5563;
    margin-bottom: 1.5rem;
}

.heroContentSide a {
    width: 150px;
    background-color: #2563eb;
    color: #fff;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
}

/* Desktop styles */
@media screen and (min-width: 768px) {
    .swiper {
        height: 60vh;
    }

    .swiper-slide {
        flex-direction: row;
    }

    .heroImageSide,
    .heroContentSide {
        flex: 1;
        height: 100%;
    }

    .heroImageSide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .heroContentSide {
        text-align: left;
        padding: 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .heroContentSide h2 {
        font-size: 2.5rem;
    }

    .heroContentSide p {
        font-size: 1.2rem;
    }
}

/* Swiper UI styling */
.swiper-button-next,
.swiper-button-prev {
    color: #1b1a19;
}

.swiper-pagination-bullet {
    background-color: #fd2a0f;
}

.swiper-pagination-bullet-active {
    background-color: #b13838;
}

@media screen and (max-width: 767px) {
    .heroContentSide {
        padding: 1rem; /* reduced from 2rem */
    }

    .heroContentSide h2 {
        font-size: 1.5rem;
    }

    .heroContentSide p {
        font-size: 1rem;
    }

    .heroContentSide a {
        padding: 0.6rem 1rem;
        width: auto;
    }
    .myHeroSwiper{
    padding-bottom: 40px;
}
}


