.elementor-widget-smarteco_hero_slider {
    min-height: 400px;
}

.smarteco-hero-slider-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
}

.hero-slider {
    width: 100%;
     height: 100% !important;
    min-height: 400px !important;
}

.hero-slider .swiper-wrapper {
    height: 100% !important;
    position: relative;
    width: 100%;
    display: flex;
}

.hero-slider .swiper-slide {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    flex-shrink: 0;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center;
    will-change: transform;
}

.hero-slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.hero-slider-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0 5%;
}

.hero-content-inner {
    max-width: 1200px;
    width: 100%;
}

.hero-slider-subtitle {
    font-size: 18px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
    color: #ffffff;
    opacity: 0.9;
}

.hero-slider-title {
    font-size: 64px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: #ffffff;
}

.hero-slider-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ffffff;
    opacity: 0.95;
    max-width: 400px;
}

.hero-slider-button-wrapper {
    margin-top: 30px;
}

.hero-slider-button {
    display: inline-block;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: #ffffff;
    background-color: #007bff;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-slider-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.hero-slider-pagination {
    position: absolute;
    bottom: 24px !important;
    left: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    padding: 0 20px;
}

.hero-slider-pagination.pagination-left {
    justify-content: flex-start;
}

.hero-slider-pagination.pagination-center {
    justify-content: center;
}

.hero-slider-pagination.pagination-right {
    justify-content: flex-end;
}

.hero-slider .swiper-pagination-bullet {
    position: relative;
    width: 6px;
    height: 6px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    opacity: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
}

.hero-slider .swiper-pagination-bullet.swiper-pagination-bullet-active {
    width: 80px !important;
    height: 6px;
    border-radius: 6px;
}

.hero-slider .swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: inherit;
    /*border: 2px solid rgba(255, 255, 255, 0.8);*/
    box-sizing: border-box;
}

.hero-slider .swiper-pagination-bullet .progress-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background-color: #ffffff;
    border-radius: inherit;
    transition: width 0.1s linear;
}

.hero-slider .swiper-pagination-bullet-active .progress-fill {
    animation: fillProgressHorizontal var(--autoplay-delay, 5000ms) linear forwards;
}

@keyframes fillProgressHorizontal {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}


.hero-slider .swiper-pagination-bullet-active {
    background-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 1024px) {
    .hero-slider-title {
        font-size: 48px;
    }
    
    .hero-slider-subtitle {
        font-size: 16px;
    }
    
    .hero-slider-description {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .hero-slider-title {
        font-size: 36px;
    }
    
    .hero-slider-subtitle {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .hero-slider-description {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .hero-slider-button {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .hero-slider-pagination {
        bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero-slider-title {
        font-size: 28px;
    }
    
    .hero-slider-subtitle {
        font-size: 12px;
    }
    
    .hero-slider-description {
        font-size: 13px;
    }
    
    .hero-slider-button {
        padding: 10px 25px;
        font-size: 13px;
    }
    
    .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
    }
}

.swiper-slide-active .hero-slider-subtitle,
.swiper-slide-active .hero-slider-title,
.swiper-slide-active .hero-slider-description,
.swiper-slide-active .hero-slider-button-wrapper {
    animation: fadeInUp 0.8s ease forwards;
    opacity: 0;
}

.swiper-slide-active .hero-slider-subtitle {
    animation-delay: 0.2s;
}

.swiper-slide-active .hero-slider-title {
    animation-delay: 0.4s;
}

.swiper-slide-active .hero-slider-description {
    animation-delay: 0.6s;
}

.swiper-slide-active .hero-slider-button-wrapper {
    animation-delay: 0.8s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
