* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
body {
  font-family: "IBM Plex Sans Arabic", sans-serif;
  direction: rtl;
  /* خلفيتان فوق بعض: الشفافية + التلاشي + الصورة */
  background-image: linear-gradient(to bottom, transparent 95%, #001f2d),
    /* التلاشي في الأسفل */
      linear-gradient(rgba(0, 31, 45, 0.7), rgba(0, 48, 71, 1)), url("back.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 100dvh;
  color: #f3f3f3;
  background-color: #001f2d;
}

.subcontainer{
  padding: 10px 20px;
  max-width: 1200px;
  margin: auto;
}
header {
  padding-top: 0 !important;
}
.un{
  text-decoration: underline;
}
li {
  list-style: none;
}

a,button {
  color: white;
  text-decoration: none;
}

.navbar {
  min-height: 70px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-branding {
  font-size: 2rem;
  color: white;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 60px;
}

.nav-link:hover,
.link:hover {
  color: rgb(208, 208, 208);
}

.hamburger {
  display: none;
  cursor: pointer;
  z-index: 9999;
}

.bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: 0.3s;
  background-color: white;
}

/* DROPDOWN */

.link {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  left: 0;
  top: calc(100% + 0.25rem);
  background-color: white;
  padding: 0.75rem;
  border-radius: 0.25rem;
  width: 120px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-10px);
  transition: 150ms ease;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dropdown-menu a {
  color: rgb(175, 52, 52);
}

.dropdown.active > .link + .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-logo {
  height: 40px;
  width: auto;
  display: block;
}

.text {
  text-align: center;
  font-size: 1.1rem;
  max-width: 660px;
  padding: 0px !important;
  margin: auto;
  /* background-color: #af1a1a; */
}
.int {
  /* background-color: rgb(120, 117, 115); */
  color: rgb(194, 197, 200);
  color: aliceblue;
  margin: auto;
  padding: 40px;
  padding-bottom: 10px;
  border-radius: 19px;
}
.mlhm {
  /* background-color: blue; */
  padding-top: 15px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around; 
  align-items: center; 
}

.youtube{
  /* background-color: crimson; */
  margin: 10px;
  display: flex;
  /* display: flex; */
  /* flex-direction: row; */
}

.video-center iframe {
  width: 520px;
  height:380px;
  border-radius: 15px; 
}

.twitter {
  background: linear-gradient(180deg, #3b7694, #1a5b81);
  padding: 40px 0;
  width: 100%;
  position: relative;
  z-index: 10; /* يظهر فوق الخلفية */
}
.tw-title {
  display: flex;
  align-items: center;
  gap: 8px; /* مسافة بين الشعار وكلمة تويتر */
}
.last-twit{
display: flex;
flex-direction: row;
}
.last-twit > p{
    background-color: rgb(95 118 127);
    border-radius: 10px;
    box-shadow: 8px 0px 0px rgb(26, 38, 55);
    color: #f4f4f4;
padding: 10px;
margin: 10px;
}

.tw-icon {
  width: 23px;
  height: 23px;
  filter: invert(1); /* ليظهر باللون الأبيض على الخلفيات الداكنة */
}
.dd {
  background-color: #002e43;
  padding: 18px 0px;
}
.fot {
  display: flex;
  justify-content: space-around;
}
.copy {
  /* background-color: aqua; */
  padding: 30px;
  display:flex;
  flex-direction: column;
  align-items: center;
  
  /* font-family: "Tahoma", sans-serif; */
  font-size: 13px;
  font-weight: 100;
}
.cpoy-p {
  color: #d8cdcd;
}
footer {
  background-color: #04131b;
  color: #f3f3f3;
  padding: 35px 0;
}

/* RESPONSIVE (PHONE MODE) */

@media (max-width: 1600px) {
  .container {
    width: 100%;
  }

  
}

@media (max-width: 1024px) {
  /* زر المنيو يظهر في الجوال */
  .hamburger {
    display: block;
    cursor: pointer;
    z-index: 9999;
    margin: 0;
    padding: 0;
  }

  /* ترتيب عناصر النافبار في الجوال:
     المنيو يمين - اللوقو ملاصق له من اليسار */
  .navbar {
    display: flex;
    flex-direction: row; /* المنيو على اليمين */
    align-items: center;
    justify-content: right; /* قربهم من بعض */
    gap: 10px; /* مسافة بسيطة بينهم */
  }

  .nav-branding {
    font-size: 1.8rem;
    margin: 0;
    padding: 0;
  }

  /* شكل X عند فتح المنيو */
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* القائمة تفتح من اليمين وتملأ الشاشة */
  .nav-menu {
    position: fixed;
    right: -100%;
    top: 0;
    width: 100%;
    height: 100vh;
    background-color: #171820;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 100px;
    gap: 25px;
    transition: 0.3s ease;
    text-align: center;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-item {
    margin: 0;
    padding: 0;
  }

  .nav-logo {
    height: 32px; /* حجم أصغر للجوال */
    margin-top: 10px;
  }

  /* دروب داون في الجوال */
  .dropdown-menu {
    display: none;
    position: static;
    background: none;
    opacity: 1;
    transform: none;
    box-shadow: none;
    padding: 0;
  }

  .dropdown.active .dropdown-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }


    .mlhm {

  padding-top: 15px;
  display:block;

  
  /* justify-content: space-around; */
  /* align-items: center;  */
  /* flex-wrap: wrap; */
}
.mlhm {
  /* display: flex; */
  /* flex-direction: column;  */
  /* align-items: center; */
  width: 100%;
  padding-top: 15px;
  /* background-color: #04131b; */
}

.youtube{
  /* background-color: crimson; */
  margin: 10px;
  /* width: auto; */
/* background-color: #832b2b; */
  /* display: flex; */
  /* flex-direction: row; */
}
.video-center iframe {
  width: 100%;
  height: 100%;
  aspect-ratio: 16/9;
  border-radius: 15px;
          height: auto;
  /* background-color: #f3f3f3; */
}
.last-twit{
display:block;
}
.last-twit > p{
  background-color: transparent;  
  border-radius: 0px;
    box-shadow: 0px 0px 0px rgb(26, 38, 55);
    color: #f4f4f4;
padding: 10px;
margin: 0px 0px;
margin-bottom: 10px;
}

}
