/* Top Slider Styles */
.hero-slider {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.hero-slider .swiper-slide {
    width: 100%;
    height: auto;
    padding: 30px 30px;
    /* Add padding to make image smaller */
    box-sizing: border-box;
    background-color: #fff;
    /* Ensure background is white */
}

.hero-slider .swiper-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    /* Changed to contain to respect padding */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    /* Optional: adds subtle depth like the example */
}

/* Ensure navigation buttons are visible and styled if needed */
.swiper-button-prev,
.swiper-button-next {
    width: 27px;
    /* Adjust based on actual image size if needed */
    height: 45px;
    /* Adjust based on actual image size if needed */
    margin-top: -22px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Hide default Swiper icons */
.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}

.swiper-pagination-bullet-active {
    background: #fff;
}

/* Adjustments for existing hero layout */
.hero-section {
    position: relative;
}



/* Corner Decorations */
.slider-corner {
    position: absolute;
    width: 0;
    height: 0;
    z-index: 10;
    border-style: solid;
}

/* Top Left - Yellow */
.slider-corner.top-left {
    top: 0;
    left: 0;
    border-width: 80px 80px 0 0;
    border-color: #ffcc00 transparent transparent transparent;
}

/* Top Right - Blue */
.slider-corner.top-right {
    top: 0;
    right: 0;
    border-width: 0 80px 80px 0;
    border-color: transparent #0099ff transparent transparent;
}

/* Bottom Left - Green */
.slider-corner.bottom-left {
    bottom: 0;
    left: 0;
    border-width: 80px 0 0 80px;
    border-color: transparent transparent transparent #66cc33;
}

/* Bottom Right - Pink */
.slider-corner.bottom-right {
    bottom: 0;
    right: 0;
    border-width: 0 0 80px 80px;
    border-color: transparent transparent #ff6699 transparent;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .slider-corner {
        border-width: 40px !important;
        /* Smaller triangles on mobile */
    }

    .slider-corner.top-left {
        border-width: 40px 40px 0 0 !important;
    }

    .slider-corner.top-right {
        border-width: 0 40px 40px 0 !important;
    }

    .slider-corner.bottom-left {
        border-width: 40px 0 0 40px !important;
    }

    .slider-corner.bottom-right {
        border-width: 0 0 40px 40px !important;
    }
}

/* Mobile specific fixes if needed */
@media (max-width: 768px) {
    .hero-slider .swiper-slide {
        padding: 20px;
        /* Smaller padding on mobile */
    }

    .hero-slider .swiper-slide img {
        height: auto;
        /* Allow height to adjust naturally */
    }
}