.imazin_hero_slider__container {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;
}

.imazin_hero_slider__container * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.imazin_hero_slider__container :active, 
.imazin_hero_slider__container :hover, 
.imazin_hero_slider__container :focus {
    outline: 0 !important;
    outline-offset: 0;
}

/* Background Images Container */
.imazin_hero_slider__slides-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

/* Background Images with Enhanced Zoom Animations */
.imazin_hero_slider__slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.645, 0.045, 0.355, 1);
    z-index: 1;
    will-change: transform, opacity;
    transform: scale(1.15);
}

.imazin_hero_slider__slide-bg.active {
    opacity: 1;
    z-index: 2;
    animation: imazin_hero_slider__zoomPan 20s ease-in-out infinite;
}

/* Enhanced zoom and pan animation with smooth transitions */
@keyframes imazin_hero_slider__zoomPan {
    0% { 
        transform: scale(1.15);
        filter: brightness(1) contrast(1);
    }
    25% {
        transform: scale(1.18);
        filter: brightness(1.05) contrast(1.05);
    }
    50% { 
        transform: scale(1.2);
        filter: brightness(1.1) contrast(1.1);
    }
    75% {
        transform: scale(1.18);
        filter: brightness(1.05) contrast(1.05);
    }
    100% { 
        transform: scale(1.15);
        filter: brightness(1) contrast(1);
    }
}

/* Add a smoother transition when switching slides */
.imazin_hero_slider__slide-bg.exiting {
    animation: imazin_hero_slider__zoomOut 1.2s ease-out forwards;
}

@keyframes imazin_hero_slider__zoomOut {
    0% { 
        transform: scale(1.1);
        opacity: 1;
    }
    100% { 
        transform: scale(1.2);
        opacity: 0;
    }
}

.imazin_hero_slider__slide-bg.entering {
    animation: imazin_hero_slider__zoomIn 1.2s ease-out forwards;
}

@keyframes imazin_hero_slider__zoomIn {
    0% { 
        transform: scale(1.2);
        opacity: 0;
    }
    100% { 
        transform: scale(1.15);
        opacity: 1;
    }
}

.imazin_hero_slider__slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.65) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    backdrop-filter: blur(1px);
}

/* Slide Content */
.imazin_hero_slider__slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 3;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
    pointer-events: none;
    padding: 20px;
}

.imazin_hero_slider__slide-content.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.imazin_hero_slider__content-wrapper {
    max-width: 1200px;
    width: 100%;
    padding: 40px 20px;
}

/* Title with perspective rotation */
.imazin_hero_slider__title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.6);
    line-height: 5.1rem;
    opacity: 0;
    transform: perspective(500px) rotateX(15deg) translateY(30px);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.4s;
    color: #fff;
}

.imazin_hero_slider__title span {
    display: inline-block;
    position: relative;
/*     text-shadow: 0 0 20px rgba(255, 214, 36, 0.3); */
}

.imazin_hero_slider__slide-content.active .imazin_hero_slider__title {
    opacity: 1;
    transform: perspective(500px) rotateX(0) translateY(0);
}

/* Description with scale animation */
.imazin_hero_slider__desc {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    margin-bottom: 3rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.6s;
    color: rgba(255, 255, 255, 0.9);
    padding: 0 10px;
}

.imazin_hero_slider__slide-content.active .imazin_hero_slider__desc {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Buttons Container */
.imazin_hero_slider__slide-buttons {
    display: flex;
    justify-content: center;
    gap: clamp(15px, 3vw, 30px);
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Button Base Styles - Beautiful Design */
.imazin_hero_slider__btn {
    position: relative;
    display: inline-block;
    border: none;
    cursor: pointer;
    min-width: 180px;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    z-index: 10;
    pointer-events: auto !important;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 50px !important;
    background: transparent;
    text-decoration: none !important;
}

.imazin_hero_slider__slide-content.active .imazin_hero_slider__btn {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.7s;
}

.imazin_hero_slider__btn:hover {
    transform: translateY(-5px) scale(1.05);
}

.imazin_hero_slider__btn span {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: clamp(0.9rem, 1.5vw, 1rem);
    font-weight: 500;
    letter-spacing: 1.5px;
/*     text-transform: uppercase; */
    width: 100%;
    padding: 18px 35px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);

    border-radius: 50px;
    z-index: 2;
    overflow: hidden;
}

/* Button Icon */
.imazin_hero_slider__btn-icon {
    font-size: 1.2rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Primary Button - Beautiful White Button */
.imazin_hero_slider__btn-primary span {
    color: #000 !important;
    background: #FFFFFF;
    border: 2px solid #FFFFFF;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.imazin_hero_slider__btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #FFD624, #FFE580, #FFD624);
    border-radius: 50px;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.imazin_hero_slider__btn-primary:hover::before {
    opacity: 1;
    transform: scale(1);
}

.imazin_hero_slider__btn-primary:hover span {
    color: #000 !important;
    border-color: #FFD624;
    box-shadow: 0 15px 30px rgba(255, 214, 36, 0.3);
}

.imazin_hero_slider__btn-primary:hover .imazin_hero_slider__btn-icon {
    transform: translateX(5px) rotate(15deg);
    color: #000 !important;
}

/* Secondary Button - Beautiful Border Button */
.imazin_hero_slider__btn-secondary span {
    color: #FFFFFF !important;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.imazin_hero_slider__btn-secondary::before,
.imazin_hero_slider__btn-secondary::after {
    content: '';
    position: absolute;
    border-radius: 50px;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.imazin_hero_slider__btn-secondary::before {
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #FFD624, #FFFFFF, #FFD624);
    opacity: 0;
    transform: scale(0.95);
}

.imazin_hero_slider__btn-secondary::after {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFD624;
    border-radius: 50px;
    opacity: 0;
    transform: scale(0.9);
}

.imazin_hero_slider__btn-secondary:hover::before {
    opacity: 1;
    transform: scale(1);
}

.imazin_hero_slider__btn-secondary:hover::after {
    opacity: 1;
    transform: scale(1);
}

.imazin_hero_slider__btn-secondary:hover span {
    color: #000 !important;
    border-color: transparent;
    box-shadow: 0 15px 30px rgba(255, 214, 36, 0.3);
}

.imazin_hero_slider__btn-secondary:hover .imazin_hero_slider__btn-icon {
    transform: translateX(5px) rotate(15deg);
    color: #000 !important;
}

/* Slider Navigation Dots */
.imazin_hero_slider__nav {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    display: flex;
    pointer-events: auto !important;
    gap: 12px;
}

.imazin_hero_slider__dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 0;
    background: transparent;
    pointer-events: auto !important;
}

.imazin_hero_slider__dot.active {
    background: #FFD624;
    border-color: #FFD624;
    transform: scale(1.3);
    box-shadow: 0 0 15px rgba(255, 214, 36, 0.7);
}

.imazin_hero_slider__dot:hover {
    border-color: #FFD624;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 214, 36, 0.5);
}

/* Subtle Progress Indicator */
.imazin_hero_slider__progress-indicator {
    position: absolute;
    bottom: 40px;
    right: 40px;
    z-index: 1000;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 1200px) {
    .imazin_hero_slider__content-wrapper {
        max-width: 900px;
    }
}

@media (max-width: 992px) {
    .imazin_hero_slider__container {
        height: 90vh !important;
    }
    
    .imazin_hero_slider__content-wrapper {
        max-width: 700px;
        padding: 30px 20px;
    }
    
    .imazin_hero_slider__title {
        font-size: clamp(2.2rem, 7vw, 3.5rem);
    }
    
    .imazin_hero_slider__progress-indicator {
        bottom: 80px;
        right: 20px;
    }
}

@media (max-width: 768px) {
    .imazin_hero_slider__container {
        height: 85vh !important;
    }
   .imazin_hero_slider__title {
    line-height: 3.5rem;
}
    .imazin_hero_slider__title {
        font-size: clamp(2rem, 6vw, 2.8rem);
    }
    
    .imazin_hero_slider__slide-buttons {
        gap: 15px;
    }
    
    .imazin_hero_slider__btn span {
        padding: 15px 30px;
    }
    
    .imazin_hero_slider__progress-indicator {
        bottom: 70px;
        right: 15px;
    }
}

@media (max-width: 576px) {
    .imazin_hero_slider__container {
        height: 80vh !important;
    }
    
    .imazin_hero_slider__slide-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .imazin_hero_slider__btn {
        width: 100%;
        max-width: 280px;
    }
    
    .imazin_hero_slider__progress-indicator {
        bottom: 65px;
        right: 10px;
    }
}

@media (max-width: 375px) {
    .imazin_hero_slider__progress-indicator {
        bottom: 60px;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .imazin_hero_slider__container {
        height: 100vh !important;
    }
    
    .imazin_hero_slider__slide-buttons {
        flex-direction: row;
        gap: 10px;
    }
    
    .imazin_hero_slider__btn {
        min-width: 150px;
    }
}