@import url('https://fonts.googleapis.com/css2?family=Cairo&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Gulzar&display=swap');
*{
    margin: 0;
    padding: 0;
    font-family: 'Cairo', sans-serif;
    direction: rtl;
}
body{
    background-color: #F4F4F4;
}

.login-container{
    background:linear-gradient(to right,#8E2DE2,#4A00E0);
   display: flex;
   align-items: center;
   justify-content: center;
   height: 100vh;
   margin-top: -1.5rem;
}
.login-container .card-body{
    width: 60rem;
}
.login-container .card-body input{
    width: 30rem;
}
.login-container .card-body h1{
    font-size: 1.2rem;
    
}
:root{
    --first-color:#2C3BC4;
    --second-color:white;
    --third-color:#CC2727;
}




li{
    list-style:none;
}
a{
    text-decoration: none;
}



  
header{
    position: fixed;
    right: 0;
    top: 0;
    width: 100%;
    background-color: var(--first-color);
    box-shadow: 0px 4px 47px 0px rgba(0, 0, 0, 0.25);
    z-index: 10000;
}
.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 2rem;
}
.navbar .phone-menu{
    display: none;
}
.navbar .list ul{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
}
.navbar .list a{
    color: var(--second-color);
    opacity: .7;
}
.navbar .list a:hover{
    opacity: 1;
    border-bottom: 1px solid var(--second-color);
}
.navbar .list .home-item{
    background-color: var(--second-color);
    border-radius: 19px;
    padding: .5rem 2rem;
    opacity: 1;
    color: var(--first-color);
}
.navbar .list .home-item:hover{
    opacity: .5;
}

.has-dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    
    background-color: var(--first-color);
    width: 55rem;
    padding: 1rem;
}
.dropdown-chebak{
        width: 18rem;
        padding: 1rem;
        
}
.drop-link{
    font-size: 1.2rem;
    margin-bottom: .5rem;
}
.has-dropdown:hover .dropdown-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    z-index: 10000;
}

.image-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    width: 15rem;
    height: 15rem;
    border-radius: 10px;
    padding: .5rem;
    z-index: 10000;
}
.notimgcon{
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.chebak-container{
    height: 100%;
}
.image-container img {
    width: 150px;
    height: 150px;
}
.image-container h3{
    color: var(--second-color);
    font-size: .7rem;
    text-align: justify;
    font-weight: 100;
    
}
.image-container a {
    margin: 0;
    padding: 5px;
    background-color: var(--first-color);
    color: var(--second-color);
    font-size: .8rem;
    text-align: right;
}


.navbar .search{
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.navbar .search input{
    border: none;
}
.navbar .search input:focus{
    outline: none;
}

.navbar .search .inpt{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .5rem;
    border-radius: 19px;
    opacity: 0.2;
    background: #FFF;
}
.navbar .search .inpt input::placeholder{
    color: gray;
}
.navbar .search .inpt i{
    background-color: var(--second-color);
   font-size: 1.5rem;
}
.navbar .menu i{
    color: var(--second-color);
    font-size: 2.5rem;
    cursor: pointer;
}

@keyframes move {
    100% {
        transform: translate3d(0, 0, 1px) rotate(360deg);
    }
}

.navbar .langue{
    background-color: var(--second-color);
    opacity: 1;
    padding: .5rem;
    border-radius: 10px;
    
}
.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    object-fit: cover;
}


.home{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 70vh;
    background-position: center;
    background-size: cover;
    
}
.home h3{
    color: var(--second-color);
    font-size: 2rem;
    font-weight: 100;
    z-index: 10;
    font-family: 'Gulzar', serif;
    

}
.home h1{
    color: var(--second-color);
    font-size: 3rem;
    margin-top: 1rem;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    
}
.home h1 img{
    width: 50px;
}
.breaking{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--second-color);
    margin: 0 2rem;
    margin-top: -2rem;
    z-index: 100;
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.25);

}
.breaking h1{
    background-color: var(--third-color);
    color: var(--second-color);
    padding:1rem;
}
.breaking a{
    color: black;
    font-weight: bolder;
    padding: 0 1rem;
    font-size: 1rem;
}
.breaking h3{
    text-align: center;
}

.news-ads{
    display: flex;
    justify-content: space-between;
    padding-left: 2rem;
    margin-bottom:2rem ;
}
.news{
    padding: 0 2rem;
    margin-top: 3rem;
    flex-basis: 60%;
}
.news img{
    width: 800px;
}
.news h2,.news p{
    margin-top: .5rem;
}
.news a{
    font-size: 1.2rem;
}
.news .new{
    display: flex;
    background-color: var(--second-color);
    border-radius: 20px;
    padding:.5rem .3rem;
    margin-bottom: 1rem;
    gap: .5rem;
}

.news .new img{
    width: 150px;
}
.news .new .title{
    font-size: 1.2rem;
    font-weight: bolder;
    padding:.2rem .5rem;
}
.news .new .right{
    width: 15rem;
    border-radius: 10px;
}
.news .new .left{
    width: 70%;
}

.news .new .description{
    font-size: 1rem;
    font-weight: 100;
    color: rgba(0, 0, 0, 0.50);
    padding:.2rem .5rem;
    margin-left: 1rem;
}

.news .big-news{
    background-color: var(--second-color);
    border-radius: 20px;
    padding:1rem .3rem;
    margin-bottom: 1rem;

}
.news .big-news .top{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 28rem;
    border-radius: 10px 10px 0 0;
}
.news .big-news img{
    width: 870px;
    border-radius: 15px;
}
.news .big-news .title{
    padding:  .5rem;
}
.news .big-news .description{
    font-weight: 100;
    color: rgba(0, 0, 0, 0.50);
    font-size: 1rem;
    padding: 0 .5rem;
}
.news .big-news .more{
    display: flex;
    justify-content: flex-end;
    padding: 0 1rem;
}
.news .big-news .more a{
    background-color: var(--first-color);
    color: var(--second-color);
    padding: .5rem 4rem;
    border-radius: 10px;
}
.news .big-news .more a:hover{
    opacity: .7;
}

.news .new:hover {
    cursor: pointer;
    background-color: #121745; /* Change this to the color you want */
    color: var(--second-color);
    transition: background-color 0.3s ease; /* Adjust the duration and timing function as needed */
}

.news .big-news:hover {
    cursor: pointer;
    background-color: #121745; /* Change this to the color you want */
    color: var(--second-color);
    transition: background-color 0.3s ease; /* Adjust the duration and timing function as needed */
}
.news .new:hover h3,
.news .big-news:hover h3 {
    color:var(--second-color); /* Your desired text color here */;
}
.news .new:hover a,
.news .big-news:hover a {
    color:var(--second-color); /* Your desired text color here */;
}
.news .notif-img{
    width: 100%;
}
.ads{
    width: 20%;
    background-color: var(--second-color);
    border-radius: 20px;
    padding: 1rem;
    margin-top: 3rem;
}
.ads h3{
    color: var(--first-color);
    font-size: 1.8rem;
}
.ads .radio-player{
    background-color: #F4F4F4;
    width: 100%;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    padding-right: .5rem;
    margin-bottom: 1rem;
}
.ads .radio-player h2{
    font-size: 1rem;
    padding-right: .5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ads .radio-player img{
    width: 40px;
    
}
.ads .radio-player button{
    background-color: var(--first-color);
    color: var(--second-color);
    border: none;
    border-radius: 8px;
    padding: .5rem 1rem;
}

.ads .ad{
    height: 8.5rem;
    border-radius: 11px;
    display: flex;
    align-items: flex-end;
    padding: .5rem;
    background-position: center;
    background-size: cover;
    margin-bottom: 1rem;
}
.ads .ad a{
    color: var(--second-color);
    font-size: 1rem;
}

.news .contact-form {
    max-width: 600px;
    margin: 50px auto;
    padding: 20px;
    background-color: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.news .form-row {
    margin-bottom: 20px;
}

.news .half {
    width: 48%;
    display: inline-block;
}

.news .full {
    width: 100%;
}

.news label {
    display: block;
    margin-bottom: 8px;
}

.news input,.news textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.news button {
    background-color: #4caf50;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.news button:hover {
    background-color: #45a049;
}
.accordion {
    width: 100%;
    margin-top: 2rem;
}

.accordion-section {
    margin: 1.5rem 0;
    background-color: #F4F4F4;
    
}

.accordion-header {
    color: var(--second-color);
    padding: 1rem;
    cursor: pointer;
    background:linear-gradient(to left,#24C6DC,#514A9D);
    border-radius: 20px;
    font-size: 1.3rem;
    width: 25rem;
}

.accordion-content {
    display: none;
    padding: 10px;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
}
.maktab{
    justify-content: flex-start;
    align-items: flex-start;
}
.accordion-content p {
    margin: 0;
    color: black;
    margin: .4rem 0;
}
.accordion-content a{
    color: black;
    font-size: .9rem;
    border-bottom: 1px solid black;
}
.accordion-content li{
    color: black;
}
.citoyen{
    padding: 2rem;
    margin: 4rem 0;
}
.citoyen h1{
    color: var(--first-color);
    font-size: 3.2rem;
}
.citoyens,.ijra2at{
    margin-top: 2rem;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(3,1fr);
    justify-content: center;
    align-items: center;
    
}
.ijra{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: .7rem;
    background-color: var(--second-color);
    color: var(--first-color);
    width: 15rem;
    height: 10rem;
    margin-bottom: 1rem;
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    transition: background-color .5s ease;
}
.ijra:hover{
    background-color: var(--first-color);
    color: var(--second-color);
}
.ijra:hover a{
    color: var(--second-color);
}
.ijra a{
    font-size: 1.3rem;
    color: var(--first-color);
    text-align: center;
}
.ijra img{
    width: 80px;
}
.cit{
    width: 23rem;
    height: 23rem;
    background-color: var(--second-color);
    display: flex;
    align-items: flex-end;
    padding: .5rem;
    margin-bottom: 1rem;
    box-shadow: 0px 4px 25px 0px rgba(0, 0, 0, 0.25);
    border-radius: 5px;
    transition: transform .5s ease;
}
.cit:hover{
    transform: translateY(-15px);
        cursor: pointer;
}
.cit a{
    color: var(--second-color);
    font-size: 1.2rem;
}
.cit1{
    background:linear-gradient(to top,rgba(0,0,0,0.7),rgba(0,0,0,0.1)),url(./imgs/documents.jpg);
    background-position: center;
    background-size: cover;
}
.cit2{
    background:linear-gradient(to top,rgba(0,0,0,0.7),rgba(0,0,0,0.1)),url(./imgs/admin.jpg);
    background-position: center;
    background-size: cover;
}
.cit3{
    background:linear-gradient(to top,rgba(0,0,0,0.7),rgba(0,0,0,0.1)),url(./imgs/court.jpg);
    background-position: center;
    background-size: cover;
}
.cit4{
    background:linear-gradient(to top,rgba(0,0,0,0.7),rgba(0,0,0,0.1)),url(./imgs/ijra.jpg);
    background-position: center;
    background-size: cover;
}
.cit5{
    background:linear-gradient(to top,rgba(0,0,0,0.7),rgba(0,0,0,0.1)),url(./imgs/airport.jpg);
    background-position: center;
    background-size: cover;
}
.cit6{
    background:linear-gradient(to top,rgba(0,0,0,0.7),rgba(0,0,0,0.1)),url(./imgs/commune.png);
    background-position: center;
    background-size: cover;
}
.cit12{
    background:linear-gradient(to top,rgba(0,0,0,0.7),rgba(0,0,0,0.1)),url(./imgs/family.jpg);
    background-position: center;
    background-size: cover;
}
.cit13{
    background:linear-gradient(to top,rgba(0,0,0,0.7),rgba(0,0,0,0.1)),url(./imgs/service.jpg);
    background-position: center;
    background-size: cover;
}
.cit14{
    background:linear-gradient(to top,rgba(0,0,0,0.7),rgba(0,0,0,0.1)),url(./imgs/medical.jpg);
    background-position: center;
    background-size: cover;
}
.map{
    display: flex;
    justify-content: center;
    align-items: center;
}


.all-dashboard{
   background: linear-gradient(to right,#134E5E,#71B280);
    background-size: cover;
    background-position: center;
    padding: 2rem 0;
}
#dynamic-content-container label{
    color: var(--second-color);
}

.dash-title h2{
    font-size: 1rem;
}
.dash-nav{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10rem;
}
.control-dash{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8rem;
    margin-top: 3rem;
}
.control-dash h2{
    color: var(--second-color);
    font-size: 2rem;
    cursor: pointer;
}
.news-control,.control-notif{
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 3rem;
    
}
.show-not{
    color: black;
    opacity: .5;
}
.news-control h1,.control-notif h1{
    color: var(--second-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}
.news-control .form-floating,.control-notif .form-floating{
    margin-bottom: 1rem;
}
.news-control button,.control-notif button{
    margin-bottom: 1.5rem;
    margin-top: 1.5rem;
}
.news-control .img-inpt,.control-notif .img-inpt{
    margin: 2rem 0;
}
.control-notif{
    display: none;
}
.dairas{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.dairas-img{
    width: 500px;
}
footer{
    margin-top: 2rem;
    background: #121745;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 2rem;
}
footer .foot{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
footer .foot h2{
    color: #219ebc;
    margin-bottom: 1rem;
}
footer ul{
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: center;
}
footer ul a{
        color: var(--second-color);
        font-size: .9rem;
        text-align: center;
}
footer ul a:hover{
    color: #90e0ef;
}
.copywrite{
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 1rem 0;
    background: #0D0E1A;
}
.copywrite h2{
    color: var(--second-color);
    font-weight: 100;
    font-size: 1.2rem;
}
.copywrite .social-icons{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.copywrite i{
    color: var(--second-color);
    font-size: 2rem;
}
.copywrite i:hover{
    color: #90e0ef;
}

.links{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10rem;
    
}
.hlink ul{
    margin-bottom: 2rem;
}
.hlink h3{
    font-size: 1.5rem;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
}

.pagination li {
    margin: 0 5px;
    padding: 5px 10px;
}

.pagination a {
    font-size: 14px; /* Adjust the font size as needed */
}
.pagination svg{
    width: 50px;
}
.voirplushome{
    width: 90%;
    background-color: var(--first-color);
    padding: 1rem;
    color: white;
    border-radius: 10px;
    text-align: center;
}
@media only screen and (max-width: 1000px){
    .copywrite{
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .news img{
        width: 300px;
    }
    .links{
        flex-direction: column;
    }
    .navbar .list ul{
        position: absolute;
        flex-direction: column;
        background-color: var(--first-color);
        padding: 1rem 2rem;
        top: 3rem;
        right: -200%;
        transition: .5s ease-in-out;
    }
    .navbar .list .show{
        right: 0;
    }
    .navbar{
        padding: .5rem 1rem;
    }
    .navbar .phone-menu{
        display: block;
    }
    .navbar .phone-menu i{
        color: var(--second-color);
        font-size: 2rem;
    }
    .navbar .menu{
        display: none;
    }
    .news-ads{
        flex-direction: column;
        padding: 1rem .5rem;
    }
    .home{
        height: 50vh;
    }
    .background{
        height: 55vh;
    }
    .home h3{
        text-align: center;
        font-size: 1rem;
    }
    .home h1{
        text-align: center;
        font-size: 2rem;
    }
    .breaking{
        margin: 0 1rem;
        margin-top: -1rem;
        gap: .5rem;
    }
    .breaking h1{
        font-size: 1rem;
        padding: 1rem;
    }
    .breaking h3{
        font-size: .7rem;
        text-align: center;
    }
    .breaking a{
        font-size: .7rem;
        text-align: center;
    }
    .news{
        flex-basis: 100%;
        padding: 0 .5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .news .new .title{
        font-size: 1rem;
    }
    .news .new .description{
        font-size: .8rem;
    }
    .news .new {
        width: 100%;
    }
    .news .new .right{
        width: 10rem;
    }
    .news .big-news{
        width: 95%;
    }
    .news .big-news img{
        width: 500px;
    }

    .ads{
        width: 90%;
    }
    .citoyen{
        margin: 1rem 0;
    }
    .citoyen h1{
        text-align: center;
        font-size: 1.5rem;
    }
    .citoyens,.ijra2at{
       display: grid;
       grid-template-columns: repeat(2,1fr);
       flex-direction: column;
       justify-content: center;
       align-items: center;
    }
    .accordion-header{
        width: 20rem;
    }
    .cit,.ijra{
       width: 10rem;
       height: 10rem;
        
    }
    .ijra img{
        width: 50px;
    }
    .dairas-img{
        width: 250px;
    }
    footer{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1rem;
    }
    .accordion-content img{
        width: 200px;
    }
}

@media only screen and (max-width: 1400px){
    .navbar .list a{
        font-size: .6rem;
    }
}