section{
    margin: 0;
    padding: 0;
}
*{
    box-sizing: border-box;
    list-style-type: none;
    text-decoration: none;!important;
    padding: 0;
    margin: 0;
    direction: rtl;
    font-family: 'vazir';
}
a{
    text-decoration: none;
    padding: 0;
    margin: 0;
}
ul,li{
    padding: 0;
    margin: 0;
}


.navbar1{
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: linear-gradient(140deg, #053a41, #010634 74%);

}
.menu{
    width: 100%;
    max-width: 72rem;
    margin: 0 auto;
    padding: 10px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.menu .logo{
    width: 5%;
}
.menu .hamburger-menu{
    width: 40px;
    height: 40px;
    cursor: pointer;

}
.menu .hamburger-menu .bar{
    position: relative;
    width: 30px;
    height: 3px;
    background: #eee;
    transition: .4s ease-in-out;


}
.menu .hamburger-menu .bar::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #eee;
    transition: .4s ease-in-out;
}
.menu .hamburger-menu .bar::after{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: #eee;
    transition: .4s ease-in-out;

}
.bar::before{
    transform: translateY(-10px);
}
.bar::after{
    transform: translateY(10px);
}

.offcanvas{
    background: linear-gradient(140deg, #053a41, #010634 74%);
}
.offcanvas-header h5{
    background-color: #008a93;
    border-radius: 50px 0 50px 0px;
    padding: 15px;
    font-size: 15px;
    color: white;
    transition: all .3s ease-in-out;
    position: relative;
}
.offcanvas-header h5::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: .5s;
    transform: scale(.9);
    color: #850303;
    border-radius: 50px 0 50px 0;

}
.offcanvas-header h5:hover::before {
    transform: scale(1);
    box-shadow: 0 0 15px #850303;
    border-radius: 0 50px 0 50px;

}
.offcanvas-header h5:hover {
    border-radius: 0 50px 0 50px;
    box-shadow: 0 0 5px #850303;
    text-shadow: 0 0 5px #850303;
    color:#850303 ;

}
.links ul li {
    margin: 10px 0;

}
.links ul li a{
    position: relative;
    color: #666;
    padding: 20px 10px;
    transition: .3s ease-out;
    font-size: 10px;
    background: #333333;
    text-align: center;
    border-radius: 10px;
    margin: 10px 0;
    display: block;

}
.links ul li a::before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 5px;
    transition: .5s;
    transform: scale(.9);
    color: #ff9200;
}
.links ul li a:hover::before {
    transform: scale(1);
    box-shadow: 0 0 15px #ff9200;
}

.links ul li a:hover{
    color: #ff9200;
    box-shadow: 0 0 5px #ff9200;
    text-shadow: 0 0 5px #ff9200;}

/*body*/




#body{
    width: 100%;
    background-image: url('smart-city-abstract-polygon-pattern-connection.jpg');
    background-size: cover;
    background-attachment: fixed;
    height: 100vh;
}




.container-1 {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    height: 100vh; /* ارتفاع قابل تنظیم */
    width: 100%; /* عرض قابل تنظیم */
}

.sentence {

    opacity: 0;
    color: #ec0505;
    transition: all .5s ease-out, top 2s ease-out; /* تغییر در opacity و موقعیت */
    transform:scale(.1) rotate(40deg) perspective(200px) translateX(100px);
}

.sentence.visible {
    opacity: 1;

    transform:scale(1) rotate(0deg) perspective(0) translateX(0);
    color: #f0e8ff;


}
.sentence.visible h4{
    color: #ffffff;
    border-radius: 5px 20px ;
    background-color: teal;
    padding: 5px;
    font-weight: bold;


}
.sentence.visible h5{
    color: teal;
    padding: 5px;
    border-radius: 20px 5px ;
    background-color: #eefcee;
    font-weight: bold;

}

.line-wrapper {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff9a9e, #fad0c4, #ff9a9e);
    display: flex;
    justify-content: flex-start;
    overflow: hidden;
}
.line-1 {
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff9a9e, #fad0c4, #ff9a9e);
    animation: moveLine 3s linear infinite, changeColor 30s linear infinite;
}

@keyframes moveLine {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

@keyframes changeColor {
    0% {
        background: linear-gradient(90deg, #f0e8ff, rgba(15, 18, 23, 0.8));

    }
    10% {
        background: linear-gradient(90deg, rgba(204, 0, 0, 0.23), #cc0000);
    }
    20%{
        background: linear-gradient(90deg, rgba(253, 7, 196, 0.23), #7a058c);

    }
    30%{
        background: linear-gradient(90deg, rgb(48, 83, 147), #108bcc);

    }
    40%{
        background: linear-gradient(90deg, rgb(12, 85, 206), #15363d);

    }
    50%{
        background: linear-gradient(90deg, rgb(8, 79, 56), #12e393);

    }
    60%{
        background: linear-gradient(90deg, rgb(27, 70, 31), #0ede50);

    }
    70%{
        background: linear-gradient(90deg, rgb(40, 52, 8), #70cb01);

    }
    80%{
        background: linear-gradient(90deg, rgb(136, 132, 46), #e5e206);

    }
    90%{
        background: linear-gradient(90deg, rgb(121, 50, 20), #de570e);

    }
    60%{
        background: linear-gradient(90deg, rgb(80, 9, 9), #de0e0e);

    }

}


@media screen and (max-width: 600px) {
    .sentence p{
        font-size: 15px; /* در صفحات کوچکتر، اندازه فونت بزرگتر می‌شود */
    }
    .sentence h4{
        font-size: 18px;
    }
    .sentence h5{
        font-size: 18px;
    }



}

@media screen and (max-width: 400px) {
    .sentence p{
        font-size: 12px; /* در صفحات خیلی کوچک، اندازه فونت حتی بزرگتر می‌شود */
    }
    .sentence h4{
        font-size: 14px;
    }
    .sentence h5{
        font-size: 14px;
    }



}





#footer{
    width: 100%;
    background: url("thunderstorm-city (2).jpg");
    background-size: cover;
    background-attachment: fixed;

}
#footer section{
    position: relative;
    bottom: 0;
    right: 0;
}
.overlay-1{

    background: rgba(40, 37, 37, 0.4);
    width: 100%;
    height: 100%;
}





.footer-title{
    text-align: center;
    border-radius: 10px;
    background-color: #232121;
    color: #54504b;
    transition: all .3s ease-in-out;
    padding: 5px 0;
    margin: 5px 0 ;


}


.footer-title:hover::before {
    transform: scale(1);
    box-shadow: 0 0 15px #ff9200;
}

.footer-title:hover{
    color: #ff9200;
    box-shadow: 0 0 5px #ff9200;
    text-shadow: 0 0 5px #ff9200;}

.footer-text{
    color: white;
    transition: all.3s ease-in-out;
}
.footer-text:hover{
    color: #ff9200;
    text-shadow:3px 2px 4px rgba(176, 103, 5, 0.89);
}
.cursor {
    cursor: pointer;
}








