/* Premium Hero Enhancements for Netcom Rentals */

.hero-style1 {
    position: relative;
    z-index: 2;
    overflow: hidden;
    background-color: #ffffff;
}

.hero-img {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

/* Ensure clean transition between slides without aggressive hiding */
.swiper-slide {
    z-index: 1;
}

.swiper-slide-active {
    z-index: 3;
}

/* Content visibility management for smooth cross-fading */
.swiper-slide:not(.swiper-slide-active) {
    pointer-events: none;
}

.swiper-slide:not(.swiper-slide-active) .img-main,
.swiper-slide:not(.swiper-slide-active) .hero-1-content {
    opacity: 0 !important;
    visibility: hidden;
    transition: opacity 0.5s ease-out, visibility 0.5s;
}

.swiper-slide-active .img-main,
.swiper-slide-active .hero-1-content {
    opacity: 1 !important;
    visibility: visible;
}

.img-main {
    position: relative;
    width: 500px;
    /* Perfect square width */
    height: 500px;
    /* Perfect square height */
    display: flex !important;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    border-radius: 30px;
    /* Rounded corners for a premium square look */
    animation: float 6s ease-in-out infinite;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.img-main img,
.img-main video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    background: transparent !important;
}

.img-main:hover {
    transform: translateY(-10px) scale(1.02);
}

.img-main:hover img {
    transform: scale(1.1);
}

/* Shine Effect Removed as box is gone */

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    }

    50% {
        transform: scale(1.05);
        filter: drop-shadow(0 30px 60px rgba(58, 70, 175, 0.3));
    }

    100% {
        transform: scale(1);
        filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
    }
}

.img-main img {
    animation: pulse 8s ease-in-out infinite;
}

/* Animations removed as requested */
.swiper-slide-active .img-main {
    animation: float 6s ease-in-out infinite;
}

@keyframes glow {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* Additional Premium Touches for Hero Text */
.hero-title,
.hero-text,
.sub-title {
    color: var(--title-color) !important;
}

.text-theme {
    color: var(--theme-color) !important;
}

/* Button Refinement */
.hero-style1 .btn-group {
    margin-top: 40px;
    display: flex;
    gap: 20px;
}

.hero-style1 .th-btn.style2 {
    background-color: #ffffff !important;
    color: var(--theme-color) !important;
    border: 2px solid var(--theme-color) !important;
    transition: all 0.3s ease-in-out !important;
}

.hero-style1 .th-btn.style2:hover,
.hero-style1 .th-btn.style2:active {
    background-color: var(--theme-color) !important;
    color: #ffffff !important;
    border-color: var(--theme-color) !important;
}

/* Decorative Background Elements */
/* Decorative Background Elements Removed */

/* Floating dots decoration */
/* Floating decorations removed */

@media (max-width: 991px) {
    .img-main {
        width: 350px;
        height: 350px;
        margin: 40px auto 0;
    }

    .hero-img {
        justify-content: center;
    }

    .hero-title {
        font-size: 42px !important;
    }

    .hero-1-content {
        text-align: center;
    }

    .hero-style1 .btn-group {
        justify-content: center;
    }
}

@media (max-width: 767px) {
    .hero-title {
        font-size: 32px !important;
    }

    .img-main {
        width: 280px;
        height: 280px;
        border-radius: 30px;
        padding: 0;
    }
}