html{
    scroll-behavior: smooth;
}
*{
    font-family:font;
    margin: 0;
    box-sizing: border-box;
}
body{
    display: flex;
    justify-content: center;
    user-select: none;
}
.body{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
    width: 90%;
    height: auto;
    direction: rtl;
    font-family: font;
}
header{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    height: auto;
    align-items: center;
}
header img{
    width: 200px;
    height: auto;
}
header .head2{
    background-color: rgb(241, 101, 0);
    height: auto;
    border-radius: 5px;
    padding: 0 50px;
}
header h1 a{
    text-decoration: none;
    color: white;
    font-size: 32px;
}
nav {
    color: rgb(133, 133, 133) ;
    border: 5px solid rgb(247, 230, 209) ;
    background-color: rgb(247, 230, 209);
    border-radius: 20px;
    width: 100%;
}
nav .nav1 ,nav .nav2{
    font-size: 45px;
    margin: 0 auto;
    text-align: center;
}
@font-face{
    font-family: font;
    src: url(DigiTraficBold.ttf);
}
main{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.section{
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    
}
.sec1 {     
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.2);
    overflow: hidden;
    position: relative;
}
.slider-container {
    overflow: hidden;
    cursor: grab;
    touch-action: none;
}
.slider-container:active {
    cursor: grabbing;
}
.slider-track {
    display: flex;
    transition: transform 0.3s ease-out;
    will-change: transform;
}
.slide {
    flex: 0 0 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}
.slide img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}
.indicators {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    background: white;
}
.indicator {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}
.indicator.active {
    background: #2196F3;
    width: 24px;
    border-radius: 8px;
}
.sec1 .counter {
    text-align: center;
    font-size: 1rem;
    color: #555;
    padding-bottom: 20px;
    font-weight: 500;
}
main section .sec2{
    background-color: rgb(219, 219, 219);
    color:rgb(133, 133, 133) ;
    border-radius: 5px;
    padding: 10px 20px;
}

.sec2 h4{
    font-size: 19px;
}
.sec3 {     
    width: 100%;
    max-width: 900px;
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.2);
    overflow: hidden;
    position: relative;
}

.slider-container2 {
    overflow: hidden;
    cursor: grab;
    touch-action: none;
}
.slider-container2:active {
    cursor: grabbing;
}
.slider-track2 {
    display: flex;
    transition: transform 0.3s ease-out;
    will-change: transform;
}
.slide2 {
    flex: 0 0 100%;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    box-sizing: border-box;
}
.slide2 img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    
}
.indicators2 {
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 15px 0;
    background: white;
}
.indicator2 {
    width: 10px;
    height: 10px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-block;
}
.indicator2.active2 {
    background: #2196F3;
    width: 24px;
    border-radius: 8px;
}
article{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
main article .art1{
    background-color: rgb(247, 230, 209);
    color: rgb(255, 153, 0);
    border-radius: 5px;
    padding: 10px 20px;
}
main article .art2{
    border: 2px solid rgb(133, 133, 133,0.2) ;
    padding: 5px;
    border-radius: 5px;
}
.art2 .details{
    background-color:rgb(175, 175, 175) ;
    color:white ;
    cursor: pointer;
    margin-top: 7px;
    border-radius: 5px;
    padding: 3px;
}
.details summary{
    list-style: none;

}
.details summary::webkit-details-marker{
    display: none;
}
.details summary::before{
    content: "+";
    transition: transform 0.5s ;
    margin:0 5px;
    display: inline-block;
    font-weight: bold;
}
.details[open] summary::before{
    content: "-";
    
}
footer{
    color: white;
    border-radius: 5px;
}
.foot1{
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;

}
.foot1,.foot2{
    padding: 0 5px;
    background-color: rgb(61, 61, 61);
}
.foot1 h5{
    font-size: 16px;
}
.foot2 ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 10px;
    margin: 0;
    background-color: rgb(61, 61, 61);
}
.foot2 li {
    display: inline-block;
    margin: 0;
}
.foot2 a {
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #334155;
    padding: 8px 15px;
    border-radius: 30px;
    transition: 0.3s;
}
.foot2{
    font-size: 1.2rem;
}
footer .down{
    background-color: white;
    height: 100px;
}
.sticky{
    position: sticky;
    bottom: 0;
    display: flex;
    flex-direction: row;
    background-color: rgb(61, 61, 61);
    color: white;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    justify-content: space-around;
}
.sticky a{
    text-decoration: none;
    color: white;

}
.sticky .fab{
    font-size: large;
}
.fixed{
    font-size: x-large;
    text-align: center;
    position: fixed;
    width: 50px;
    height: 50px;
    right: 80px;
    bottom: 50px;
    background-color: rgb(175, 175, 175);
    border: 3px solid white;
    outline: 1px solid rgb(175, 175, 175);
    border-radius: 50%;
}
.fixed a{
    text-decoration: none;
    color: white;
}
@media (max-width:1200px){
    nav .nav1,nav .nav2{
        font-size: 36px;
    }
    header h1 a{
        font-size: 28px;
    }
    header .head2{
        padding: 0 41px;
    }
}
@media (max-width:768px){
    nav .nav1,nav .nav2{
        font-size: 28px;
    }
    header h1 a{
        font-size: 21px;
    }
    .sec2 h4{
        font-size: 16px;
    }
    body,p,li,.details summary{
        font-size: 14px;
    }
    header img{
        width: 150px;
    }
    header .head2{
        padding: 0 32px;
    }
    .fixed{
        right: 25px;
    }
}
@media (max-width:480px){
    nav .nav1,nav .nav2{
        font-size: 22px;
    }
    header img{
        width: 100px;
    }
    header h1 a{
        font-size: 17px;
    }
    .sec2 h4{
        font-size: 14px;
    }
    header .head2{
        padding: 0 23px;
    }
    .foot1 h5{
        font-size: 14px;
    }
    .fixed{
        right: 20px;
    }
    .foot2 ul{
        gap: 10px;
    }
    .foot2{
        font-size: 1rem;
    }
    .foot2 a{
        gap: 4px;
    }
}
@media (max-width:390px){
    nav .nav1,nav .nav2{
        font-size: 18px;
    }
        header img {
        width: 80px;
    }
    .foot2 ul{
        gap: 0px;
    }
    .foot2,.foot2 li{
        font-size: 0.8rem;
    }
    .slide,.slide2{
        min-height: 200px;
        padding: 1rem;
    }
}
@media (max-width:330px){
    header h1 a{
        font-size: 12px;
    }
    header.head2{
        padding: 0 10px;
    }
        nav .nav1,nav .nav2{
        font-size: 16px;
    }
    .foot2 a{
        padding: 5px 8px;
    }
    .foot1 p{
        font-size: 10px;
    }
    .art2 summary,.art2 p{
        font-size: 12px;
    }
    .fixed{
        right: 15px;
    }
    .sec2 h4,h3{
        font-size: 14px;
    }
    .sec2 p{
        font-size: 11px;
    }
}
@media (max-width:270px){
    header img {
        width: 60px;
    }
    header h1 a{
        font-size:10px ;
    }
    nav .nav1,nav.nav2{
        font-size:13px ;
    }
}
@media (max-width:230px){
    .sticky{
        font-size: small;
    }
    header h1 a{
        font-size: 8px;
    }
    header.head2{
        padding: 0 5px;
    }
}