.hero {

    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}


.heroSwiper,
.heroSwiper .swiper-slide {

    width: 100%;
    height: 100%;
}

.slide {

    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background-size: cover;
    background-position: center;
}



.slide1 {

    background: url("../video/نیروگاه\ زباله\ سوزی_1.gif") center/cover;
    opacity: 0.8;
}

/* .slide2 {

    background: url("../images/slider/3.jpg") center/cover;
}

.slide3 {

    background: url("../images/slider/4.jpg") center/cover;
} */


.overlay {

    position: absolute;
    inset: 0;

    background:
        linear-gradient(90deg,
            rgba(4, 0, 58, .88),
            rgba(4, 0, 58, .55),
            rgba(0, 0, 0, .15));

    z-index: 1;
}


.hero-content {

    position: relative;

    z-index: 5;

    width: 650px;

    margin-right: 8%;
}

.hero-content span {

    color: #0ea5ff;

    font-size: 14px;

    letter-spacing: 5px;

    display: block;

    margin-bottom: 20px;
}

.hero-content h1 {

    color: #fff;

    font-size: 65px;

    margin-bottom: 25px;

    line-height: 1.2;
}

.hero-content p {

    color: white;

    font-size: 22px;

    opacity: .9;
}


.buttons {

    display: flex;

    gap: 20px;

    margin-top: 45px;
}

.btn-primary {

    padding: 16px 40px;

    border-radius: 50px;

    background: #0ea5ff;

    color: #fff;

    text-decoration: none;

    transition: .4s;
}

.btn-primary:hover {

    transform: translateY(-5px);
}

.btn-secondary {

    padding: 16px 40px;

    border-radius: 50px;

    background: #fff;
    color: #0ea5ff;

    text-decoration: none;
}


.swiper-pagination-bullet {

    width: 12px;
    height: 12px;

    background: white;

    opacity: .4;
}

.swiper-pagination-bullet-active {

    width: 35px;

    border-radius: 30px;

    background: #0ea5ff;
}



#particles-js {

    position: absolute;

    inset: 0;

    z-index: 2;

    pointer-events: none;
}


.hero-content {

    z-index: 4;
}

.swiper-pagination {

    z-index: 5;
}

@media (max-width:1024px) {

    .hero-content {

        width: 80%;
        margin: 0 auto;
        text-align: center;

    }

    .hero-content h1 {

        font-size: 52px;

    }

    .hero-content p {

        font-size: 20px;

    }

    .buttons {

        justify-content: center;

    }

}

@media (max-width:768px) {

    .hero {

        height: 90vh;

    }

    .hero-content {

        width: 90%;
        margin: auto;
        padding: 0 15px;
        text-align: center;

    }

    .hero-content span {

        font-size: 12px;
        letter-spacing: 3px;

    }

    .hero-content h1 {

        font-size: 36px;
        line-height: 1.4;
        margin-bottom: 20px;

    }

    .hero-content p {

        font-size: 16px;
        line-height: 30px;

    }

    .buttons {

        display: flex;
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin-top: 35px;

    }

    .btn-primary,
    .btn-secondary {

        width: 100%;
        text-align: center;
        padding: 15px;

    }

    .swiper-pagination {

        bottom: 25px !important;

    }

}

@media (max-width:480px){

    .hero{

        height:85vh;

    }

    .hero-content{

        width:92%;

    }

    .hero-content span{

        font-size:11px;

    }

    .hero-content h1{

        font-size:28px;

    }

    .hero-content p{

        font-size:15px;
        line-height:28px;

    }

    .buttons{

        margin-top:25px;

    }

    .btn-primary,
    .btn-secondary{

        font-size:15px;
        padding:14px;

    }

}