@import url("https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&family=Cairo:wght@200..1000&family=Cascadia+Code:ital,wght@0,200..700;1,200..700&family=Lalezar&family=Noto+Kufi+Arabic:wght@100..900&family=Readex+Pro:wght@160..700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Special+Gothic+Condensed+One&family=Vazirmatn:wght@100..900&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap");
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&family=Cairo:wght@200..1000&family=Cascadia+Code:ital,wght@0,200..700;1,200..700&family=Lalezar&family=Noto+Kufi+Arabic:wght@100..900&family=Readex+Pro:wght@160..700&family=Roboto:ital,wght@0,100..900;1,100..900&family=Special+Gothic+Condensed+One&family=Vazirmatn:wght@100..900&family=Zain:ital,wght@0,200;0,300;0,400;0,700;0,800;0,900;1,300;1,400&display=swap');
:root {
  --main-color: #060633;
  --red-color: #870a0a;
  --text-color: rgb(37, 37, 37);
  --title-color: #0000;
  --primery-color: rgb(34, 0, 255);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  transition: 0.5s ease-in-out;
  scroll-behavior: smooth;
}
body {
  background-color: rgb(241, 241, 241);
  font-size: 14px;
  font-family: "Readex Pro", sans-serif;
  font-optical-sizing: auto;
  font-weight: normal;
  font-style: normal;
  font-variation-settings: "HEXP" 0;
}
a {
  color: var(--text-color);
  text-decoration: none;
}
img {
  width: 100%;
}
li {
  list-style: none;
}
/* ==header */

header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  background-color: white;
  z-index: 2;
}
header .container{
  width: 90%;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header .container .right .logo{
width: 130px;
}
header .container .right .onwer{
  color: rgba(72, 71, 71, 0.598);
}  
header .container .left{
  display: flex;
align-items: center;
gap: 20px;
}
header .container .left ul{
  display: flex;
  gap: 30px;
  
}
header .container .left ul a{
  padding: 8px 10px;
  border-radius: 3px;
  font-size: 17px;
  transition: 0.2s;
   font-family: "Readex Pro", sans-serif;
  font-optical-sizing: auto;
  font-weight: bold;
  font-style: normal;
  font-variation-settings:
    "HEXP" 0;
}
header .container .left ul a:hover{
  background-color: #31313109;
  border-bottom: 1px solid #060633;
}
header .container .left ul a.active{
  background-color: #060633;
  color: white;
border-bottom: 4px solid var(--red-color);
}
header .container  .search button{
  padding: 8px 10px;
  border: 0;
  outline: 0;
  font-size: 17px;
border-radius: 4px;
cursor: pointer;
}
header .container  .search button:hover{
  background-color: #060633;
  color: white;
}
header .container .login a{
background-color: #060633;
color: white;
border-radius: 6px;
padding: 8px 10px;
}
.right_2{
  display: flex;
  align-items: center;
  gap: 20px;
}
/* ===urgent */
.urgent{
  margin-top: 140px;
  width: 100%;
  margin-top: 170px;
}
.urgent .container{
  display: flex;
  align-items: center;
  background:linear-gradient(to right ,#870a0a 70%, #000  ) ;
overflow: hidden;
  color: white;
  
}
.urgent .container .urgent_title{
  background-color: rgb(99, 0, 0);
  padding: 10px;
  font-size: 20px;
  
}
.urgent .container marquee{
  width: 100%;
  direction: ltr;
}
/* --slider */
.slider{
  margin-top: 10px;
  display: flex;
  height: 450px;
  gap: 10px;
  padding: 20px;
}
.slider img{
  height: 100%;
}
.slider .big_card {
  position: relative;
}
.slider h1{
  font-size: 18px;
position: absolute;
bottom: 0;
right: 0;
left: 0;
color: white;
background: linear-gradient(to top , #0000007e 70%,#00000000 );
padding: 20px;
}
.slider .small_card{
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
position: relative;
}
.slider .small_card .card{
  position: relative;
    width: 400px;
max-height: 200px;
}
.slider .small_card .card img{
}
.sec_title{
  margin: 10px;
  font-size: 15px;
  position: relative;
  padding-right: 20px;
}
.sec_title::after{
content: '';
position: absolute;
top: 0;
right: 0;
bottom: 0;
width: 10px;
background-color: var(--main-color);
}
/* ==news */
.news{
  margin-top: 100px;
}

.news .container{
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.news .container .card{
  width: 300px;
  background-color: white;
}
.news .container .card img{
  height: 180px;
}
.news .container .card .content{
  padding: 10px;
}
.news .container .card .content h3{
  font-size: 18px;
  padding-right: 20px;
  position: relative;
}
.news .container .card .content h3::after{
  content: '';
  position: absolute;
 height: 10px;
  width: 10px;
  right: 0;
  background-color: darkred;
  border-radius: 50%;
  bottom: 0;
  top: 10px;
}
.news .container .card .content p,.news .container .card .content i{
  margin-top: 10px;
  font-weight: 200;
}
.news .more{
  text-align: center;
  display: flex;
  justify-content: center;
  margin-top: 20px;
  font-size: 14px;

}
.news .more a{
  border: 1px solid #0000007e;
  padding: 5px 20px;
  border-radius: 20px;
  transition: 0.2s;
}
.news .more a:hover ,.news .more a i:hover {
background-color: #060633;
color: white;
}
/* ==footer */
footer {
  background-color: #060633;
  color: white;
  margin-top: 50px;
  padding: 20px;
}

.footer-top {
  padding: 50px 0 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.footer-logo img {
  width: 250px;
  margin-bottom: 15px;
}

.footer-logo p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: white;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: #870a0a;
  transform: translateY(-3px);
}

.footer-links h3, 
.footer-contact h3 {
  font-size: 20px;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50px;
  height: 2px;
  background-color: #870a0a;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #ddd;
  transition: all 0.3s ease;
}

.footer-links ul li a:hover {
  color: white;
  padding-right: 5px;
}

.footer-contact ul li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ddd;
}

.footer-contact ul li i {
  color: #870a0a;
}

.footer-bottom {
  padding: 20px 0;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright p {
  color: #aaa;
  font-size: 14px;
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: #aaa;
  font-size: 14px;
  transition: all 0.3s ease;
}

.footer-nav a:hover {
  color: white;
}
.close_menu_btn , .open_menu_btn{
  display: none;
}
 header .bootom{
text-align: center;
margin-bottom: 10px;
}
 header .bootom h3{
  font-size: 13px;
  color: var(--main-color);
 }
.dahsboard{
  text-align: center;
  display: flex;
  flex-direction: column;
  padding: 30px;
  width: 50%;
  margin: auto;
}
.dahsboard img{
  width: 30%;
  margin: auto;
}
.dahsboard h3{
  margin-bottom: 10px;
  opacity: 0.4;

}
.dahsboard input , .dahsboard select , .dahsboard textarea{
  padding: 10px;
  border: 0;
  background-color: white;
  border-radius: 30px;
  border: 1px solid #0000003a;
}
.dahsboard button{
  padding: 10px;
  background-color: var(--main-color);
  color: white;
  border-radius: 30px;
  border: 0;
  outline: 0;
}
.moreDahsboard{
  display: flex;
  justify-content: center;
  gap: 20px;
}
.moreDahsboard a{
  background-color: var(--main-color);
  color: white;
  padding: 5px 10px;
  border-radius: 5px;
}
.details{
  padding-top: 200px;
  width: 80%;
  margin: auto;
}
.details img{
  width: 100%;
}
.details .icons{
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 20px;
}
.details .icons a{
  background-color: var(--main-color);
  color: white;
  padding: 10px;
  
}
.details h1{
  margin: 10px;
  font-size: 42px;
position: relative;
padding-right: 20px;
}
.details h1::after{
content: '';
position: absolute;
width: 10px;
top: 0;
bottom: 0;
right: 0;
background-color: darkred;
}
.details #content{
  font-size: 20px;
  margin-top: 10px;
  line-height: 40px;
width: 100%;
}
.details #date{
  margin: 14px;
  background-color: var(--main-color);
  width: 140px;
  text-align: center;
  color: white;
  display: flex;
  justify-content: center;
  gap: 10px;
}
.details #type{
  margin-top: 20px;
  text-align: center;
  background-color: var(--main-color);
  padding: 20px;
  color: wheat;
 
}
/* ==abut */
.about{
  margin-top: 180px;
}
.about .container{
  padding: 20px;
}
.about .container p{
  font-size: 18px;
  line-height: 30px;
}
.about.N2{
margin-top: 20px;
}
@media (max-width : 900px) {
  .dahsboard{
    width: 80%;

  }
  .dahsboard img{
    width: 50%;
  }
  .details h1{
    font-size: 23px;
  }
}
@media (max-width: 1200px){
  header .container .left ul{
    position: fixed;
    background-color: white;
    right: -100%;
    bottom: 0;
    top: 0;
    flex-direction: column;
    padding: 40px;
    padding-right: 60px;
  }
  .close_menu_btn{
    position: absolute;
    display: block;
    top: 10px;
    right: 10px;
    font-size: 22px;
  }
  .open_menu_btn{
    font-size: 20px;
    display: block;
  }
   header .container .left ul.active{
    right: 0;
   }
} 
@media (max-width: 768px) {
  .footer-bottom .container {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  body{
    font-size: 12px;
  }
}
@media (max-width: 1100px){
  .slider{
    flex-direction: column;
    height: auto;
  }
  .slider .card img{
    width: 100%;
    object-fit: contain;
  }
    .slider .small_card{
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
    .slider .card{
      width: 400px;
          object-fit: contain;
          overflow: hidden;
    }
} 
@media (max-width: 600px) {
  .slider .small_card {
    width: 100%;

  }
    .slider .small_card .card{
      width: 100%;
    }
}
.card.pinned { position: relative;}
.card .badge {
  position:absolute; top:8px; right:8px; 
  background:#f0b400; color:#000; padding:4px 8px; border-radius:8px;
  font-size:12px; font-weight:700;
}
