@charset "UTF-8";
:root {
  --color-text: var(--color-black);
  --transition-timing: 0.3s;
}

/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Cairo", sans-serif;
}

body {
  background: #f9fafc;
  color: #222;
  direction: rtl;
  line-height: 1.7;
}
.video-loop {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  opacity: 0.2;
  z-index: -1;
  overflow: hidden;
}

/* الهيدر */
header {
  background: #004aad;
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  /* position: sticky; */
  top: 0;
  z-index: 2;
}

header .logo {
  font-size: 1.6rem;
  font-weight: bold;
}

header nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

/* الهيرو */
.hero {
  background: linear-gradient(135deg, #004aad, #00c896);
  color: #fff;
  text-align: center;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 2.4rem;
  margin-bottom: 15px;
}
.burger-menu__checkbox {
  display: none;
}
.burger-menu__checkbox {
  display: none;
}
h1 {
  display: inline-block;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.9;
  white-space: nowrap;
  overflow: hidden;
  direction: rtl;
  border-left: 3px solid rgba(255, 255, 255, 0.95);
  padding-left: 8px;
  animation: typing 5s steps(46, end) infinite, 1s step-end infinite;
}
nav {
  margin-right: 60px;
}
.declare p {
  color: white;
  font-weight: bold;
  font-size: 262px;
}
/* Toggle Component */
.toggle {
  display: flex; /* ✅ */
  gap: 1rem; /* ✅ */
  margin-right: auto; /* ✅ */
}
.toggle {
  margin-right: 620px;
  margin-top: 20px;
  margin-bottom: 20px;
  background-color: white;
  height: 90px;
  width: 280px;
  border-radius: 20px;
  text-align: center;
}
.toggle__title {
  margin-top: 25px;
  margin-right: 45px;
}
.toggle__label {
  margin-top: 25px;
}

.toggle__title {
  font-weight: bold; /* ✅ */
  font-size: 18px; /* ✅ */
}

.toggle__label {
  display: block; /* ✅ */
  position: relative; /* ✅ */
  background-color: black; /* ✅ */
  padding: 0.3rem 0.4rem; /* ✅ */
  border-radius: 1.5rem; /* ✅ */
  width: 4.5rem; /* ✅ */
  height: 2.2rem; /* ✅ */
  cursor: pointer; /* ✅ */
  direction: ltr;
  transition: background-color 0.3s; /* ✅ */
}

.toggle__label::after {
  content: ""; /* ✅ */
  width: 1.6rem; /* ✅ */
  height: 1.6rem; /* ✅ */
  border-radius: 50%; /* ✅ */
  display: block; /* ✅ */
  background-color: white; /* ✅ */
  transition: 0.3s; /* ✅ */
  direction: rtl;
}

.toggle__checkbox {
  display: none; /* ✅ */
}

.toggle__checkbox:checked + .toggle__label {
  background: white; /* ✅ */
}

.toggle__checkbox:checked + .toggle__label::after {
  transform: translateX(2.1rem); /* ✅ */
  background: green; /* ✅ */
}
html:has(.toggle__checkbox:checked) {
  body {
    background: black;
  }
  .toggle__title {
    color: white;
  }
  .toggle {
    background-color: #111;
  }
  .video-loop {
    display: none;
  }
  .hero {
    background: #1e1e1e;
  }
  .news-ticker {
    background: #1e1e1e;
  }
  .tips {
    background: #1e1e1e;
  }
  .tips p {
    color: white;
  }
  .countdown-section {
    background: #1e1e1e;
  }
  .exams {
    background: #1e1e1e;
  }
  .exams p {
    color: white;
  }
  p {
    color: #cccccc;
  }
  .box-shadow {
    color: rgba(255, 255, 255, 0.1);
  }
  .table {
    background: #1e1e1e;
    color: white;
  }
  h1 h2 h3 h4 h5 h6 {
    color: #ffffff;
  }
  .important-links {
    background: #1e1e1e;
  }
  .links-container {
    background-color: #1e1e1e;
  }
  .links-container a {
    background-color: #1e1e1e;
  }
}
@keyframes typing {
  0% {
    width: 0ch;
  }
  40% {
    width: 46ch;
  }
  60% {
    width: 46ch;
  }
  100% {
    width: 0ch;
  }
}

.palestine-simple {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  border-radius: 12px;
  margin: 20px auto;
  max-width: 1000px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.6);
  height: 230px;
}

.palestine-simple h2 {
  font-size: 2rem;
  color: #00ff88; /* أخضر بسيط */
  margin-bottom: 10px;
}

.palestine-simple p {
  font-size: 1.2rem;
  color: #ddd;
  border-top: 1px solid #444;
  padding-top: 10px;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}
body {
  margin: 0;
  font-family: "Cairo", sans-serif;
  background: #f9f9f9;
}
/* Important Links Section */
.important-links {
  background: #f9fafc;
  padding: 50px 20px;
  text-align: center;
}

.important-links h2 {
  color: #004aad;
  font-size: 2rem;
  margin-bottom: 30px;
}

.links-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  max-width: 2000px;
  margin: auto;
}

.link-box {
  background: white;
  padding: 25px 15px;
  border-radius: 12px;
  text-decoration: none;
  color: #222;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-box span {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
}

.link-box p {
  font-weight: 600;
  color: #004aad;
  margin-right: -5px;
}

.link-box:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  background: linear-gradient(135deg, #004aad, #00c896);
  color: white;
}

.link-box:hover p {
  color: white;
}

.news-ticker {
  background: #004aad;
  overflow: hidden;
  white-space: nowrap;
  border: 2px solid #ccc;
  padding: 10px 0;
  direction: ltr;
  position: relative;
  margin-left: 10px;
  margin-right: 10px;
  border-radius: 10px;
}

.news-track {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 15s linear infinite;
}

.news-track span {
  margin: 0 50px;
  font-size: 18px;
  color: white;
  font-weight: bold;
}

/* حركة لا نهائية */
@keyframes ticker {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

/* المواد */
.h2-subjects {
  display: flex;
  justify-content: center;
  color: #004aad;
  margin-top: 30px;
}
.subjects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 25px;
  padding: 40px 20px;
  max-width: 1100px;
  margin: auto;
  text-align: center;
}

.circle {
  background: white;
  border-radius: 50%;
  width: 180px;
  height: 180px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
}

.circle span {
  font-weight: 600;
  color: #014f9d;
  z-index: 2;
  transition: color 0.3s ease;
}

/* زرار الدخول */
.circle a {
  margin-top: 10px;
  padding: 6px 14px;
  background: #00c184;
  color: white;
  border-radius: 20px;
  font-size: 0.9rem;
  text-decoration: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

/* لما  امر بالماوس */
.circle:hover {
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  background: linear-gradient(135deg, #014f9d, #00c184);
  transform: translateY(-15px);
}
.circle:hover span {
  color: white;
}
.circle:hover a {
  opacity: 1;
}

.h2-channels {
  display: flex;
  justify-content: center;
  color: #004aad;
  margin-top: 30px;
  margin-bottom: 50px;
}
.channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  row-gap: 50px;
  margin-bottom: 40px;
}
.p-channels-4 {
  margin-right: 125px;
}
.p-channels-5 {
  margin-right: 145px;
}
.p-channels-10 {
  margin-right: 125px;
}

.channels img {
  border-radius: 50%;
  width: 180px;
  height: 180px;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.channels a {
  text-decoration: none;
  margin-right: 30px;
  font-size: 20px;
  color: #00c896;
}
a p {
  margin-right: 100px;
  margin-top: 20px;
  font-size: 22px;
}
.img-channel:hover {
  transform: scale(1.06);
}
.exams-section {
  width: 50%;
  padding: 70px 20px;
  background: linear-gradient(135deg, #0077b6, #00b4d8);
  color: white;
  text-align: center;
  border-radius: 20px;
  margin: 50px auto;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
  transition: 0.3s ease-in-out;
}

.exams-section:hover {
  transform: scale(1.02);
}

.exams-section h2 {
  font-size: 32px;
  margin-bottom: 15px;
}

.exams-section p {
  font-size: 18px;
  margin-bottom: 25px;
}

.exams-btn {
  display: inline-block;
  background: white;
  color: #0077b6;
  padding: 12px 28px;
  border-radius: 8px;
  font-size: 18px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
}

.exams-btn:hover {
  background: #e8f8ff;
}

/* كورسات  */
.h2-course {
  color: #004aad;
  display: flex;
  justify-content: center;
  font-size: 35px;
  padding-bottom: 70px;
  padding-top: 60px;
}
.vedio-address {
  color: #00c184;
  display: flex;
  justify-content: center;
  font-size: 25px;
  padding-bottom: 20px;
  padding-top: 40px;
}

.video-container {
  display: flex;
  justify-content: center;
  margin: 40px 0; /* مسافة فوق وتحت */
}

.video-walled {
  width: 150%;
  height: 600px;
  max-width: 1100px;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}
/* حاوية الزر للتوسيط والتحكم في المسافات */
.goto-courses-wrap {
  display: flex;
  justify-content: center; /* توسيط أفقي */
  margin: 26px 0 40px; /* مسافة أعلى وأسفل قابلة للتعديل */
  padding: 0 16px;
}

/* تصميم الزر */
.goto-courses-btn {
  display: inline-block;
  background: linear-gradient(90deg, #00c896 0%, #0077d9 100%);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 700;
  box-shadow: 0 8px 20px rgba(4, 21, 55, 0.12);
  transition: transform 0.18s cubic-bezier(0.2, 0.9, 0.2, 1), box-shadow 0.18s,
    filter 0.18s;
  letter-spacing: 0.2px;
  text-align: center;
  direction: rtl;
}

/* النصائح */
.tips {
  background: #f9f9f9;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  max-width: 1100px;
  margin: 30px auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  animation: fadeSlide 2s ease-in-out;
}

/* عنوان الحديث */
.tips h2 {
  font-size: 28px;
  margin-bottom: 15px;
  color: #2c3e50;
}

/* نص الحديث */
.tips p {
  font-size: 20px;
  line-height: 1.8;
  color: #333;
  font-weight: 500;
  animation: fadeIn 4s ease-in-out;
}

/* أنميشن */
@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
/* الفوتر */
footer {
  background: #004aad;
  color: #fff;
  text-align: center;
  padding: 20px;
  font-size: 28px;
}
.coming-soon {
  font-size: 2rem;
  font-weight: 700;
  color: #014f9d;
  text-align: center;
  margin: 40px 0;
  letter-spacing: 3px;
  position: relative;
  display: inline-block;
  padding: 10px 20px;
}

:root {
  --bg: #f7fbff;
  --card: #ffffff;
  --accent: #004aad;
  --accent-2: #00c896;
  --muted: #6b7280;
  --glass: rgba(255, 255, 255, 0.6);
  --shadow: 0 10px 30px rgba(4, 21, 55, 0.08);
}
.FAV {
  border-radius: 50%;
}

* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  margin: 0;
  font-family: "Cairo", sans-serif;
  direction: rtl;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px;
}

/* Section */
.countdown-section {
  background: linear-gradient(180deg, #f3f9ff, var(--bg));
  padding: 28px 12px;
}

/* Hero */
.countdown-hero {
  text-align: right;
  margin-bottom: 18px;
}
.countdown-hero h2 {
  color: var(--accent);
  font-size: 1.6rem;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.countdown-hero .lead {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Countdown boxes */
.countdown {
  display: flex;
  gap: 14px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 6px 0 12px;
}

.time-box {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 1),
    rgba(250, 255, 250, 0.95)
  );
  border-radius: 12px;
  padding: 14px 18px;
  min-width: 98px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.time-box:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(4, 21, 55, 0.12);
}

.time-num {
  font-size: 2.1rem;
  font-weight: 800;
  color: var(--accent-2);
  letter-spacing: 1px;
  display: block;
  padding: 4px 6px;
  background: linear-gradient(
    90deg,
    rgba(0, 200, 150, 0.08),
    rgba(0, 74, 173, 0.06)
  );
  border-radius: 8px;
}

/* 微 animation pulse on change */
.time-num.animated {
  animation: pop 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes pop {
  0% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  60% {
    transform: scale(1.08);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.time-label {
  color: var(--muted);
  font-weight: 700;
  margin-top: 6px;
  font-size: 0.85rem;
}

/* note text */
.countdown-note {
  text-align: center;
  color: var(--muted);
  margin-top: 10px;
  font-size: 0.95rem;
}

.contact-with-me {
  display: flex;
  justify-content: center;
  gap: 30px;
}
.contact-with-me a:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}
@media (max-width: 425px) {
  header {
    display: flex;
    padding: 0%;
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .logo {
    display: none;
  }
  .subject h2 {
    margin-top: -20px;
    font-size: 30px;
    color: #0077b6;
  }
  .countdown-note {
    padding-top: 40px;
    font-weight: bold;
    font-size: 13px;
  }
  header button {
    display: none;
  }
  .burger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 0.5rem;
    margin-left: 270px;
  }
  .burger-menu-bar {
    height: 0.3rem;
    width: 3.375rem;
    background-color: white;
    transition: 0.2s ease-in-out;
    margin-right: 20px;
  }
  header:has(.burger-menu__checkbox:checked) .burger-menu-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  header:has(.burger-menu__checkbox:checked) .burger-menu-bar:nth-child(2) {
    opacity: 0;
    visibility: hidden;
  }
  header:has(.burger-menu__checkbox:checked) .burger-menu-bar:nth-child(3) {
    transform: translateY(-14px) rotate(-45deg);
  }
  .burger-menu__checkbox:checked + nav {
    margin-right: -10px;
    opacity: 1;
  }
  nav {
    position: absolute;
    margin-top: -460px;
    gap: 25px;
    top: 525px;
    margin-right: -900px;
    z-index: 1;
    padding-right: 25px;
    transition: 0.4s ease-in-out;
    opacity: 1;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    color: #000;
    background-color: rgba(0, 74, 173, 0.9);
    padding-bottom: 20px;
    padding-top: 10px;
    border-radius: 15px;
  }
  .toggle {
    margin-right: 40px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: white;
    height: 90px;
    width: 280px;
    border-radius: 20px;
    text-align: center;
  }
  .toggle__title {
    margin-top: 25px;
    margin-right: 45px;
  }
  .toggle__label {
    margin-top: 25px;
  }
  html:has(.toggle__checkbox:checked) {
    body {
      background: black;
    }
    .video-loop {
      display: none;
    }
    .hero {
      background: #1e1e1e;
    }
    .news-ticker {
      background: #1e1e1e;
    }
    .tips {
      background: #1e1e1e;
    }
    .tips p {
      color: white;
    }
    .countdown-section {
      background: #1e1e1e;
    }

    .exams {
      background: #1e1e1e;
    }
    .exams p {
      color: white;
    }
    p {
      color: #cccccc;
    }
    .box-shadow {
      color: rgba(255, 255, 255, 0.1);
    }
    .table {
      background: #1e1e1e;
      color: white;
    }
    h1 h2 h3 h4 h5 h6 {
      color: #ffffff;
    }
    .important-links {
      background: #1e1e1e;
    }
    .links-container {
      background-color: #1e1e1e;
    }
    .links-container a {
      background-color: #1e1e1e;
    }
    .toggle {
      background-color: #1e1e1e;
    }
    .toggle__title {
      color: white;
    }
    .active {
      padding-top: 290px;
    }
  }
  nav {
    font-weight: bold;
  }
  nav a {
    color: #111;
  }
  nav a:hover {
    color: black;
  }

  .declare p {
    font-size: 15px;
    overflow: hidden;
    white-space: nowrap;
  }
  .hero {
    height: 250px;
  }
  .links-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  h1 {
    font-weight: normal;
    display: none;
  }
  .palestine-simple h2 {
    font-size: 1.1rem;
    color: #00ff88; /* أخضر بسيط */
    margin-bottom: 10px;
  }
  .palestine-simple {
    width: 300px;
    height: 180px;
  }
  .contact-with-me {
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  .contact-with-me img {
    width: 30px;
    height: 30px;
    overflow: hidden;
  }
  .contact-with-me a:hover {
    transform: translateY(-5px);
    transition: 0.3s;
  }

  .news-track {
    display: inline-block;
    padding-left: 100%;
    animation: ticker 8s linear infinite;
  }
  .news-title {
    display: none;
  }
  .exams-section {
    width: 60px;
    margin: 0px;
  }

  .channels {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* علشان يبقى سهل في الموبايل */
    margin-right: 17px;
    padding-left: 30px;
    padding-top: 20px;
    text-align: center;
  }
  .p-channels-1 {
    margin-right: 25px;
  }

  .channels p {
    font-size: 20px;
    margin-right: 25px;
  }
  .p-channels-2 {
    margin-left: -25px;
    margin-top: 10px;
  }
  .p-channels-4 {
    margin-left: 40px;
    margin-right: 500px;
  }
  .p-channels-5 {
    margin-right: 58px;
  }
  .p-channels-10 {
    margin-right: -200px;
  }
  .channels {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* علشان يبقى سهل في الموبايل */
    margin-right: 17px;
    padding-left: 30px;
    padding-top: 20px;
    text-align: center;
  }

  .tips p {
    font-size: 18px;
  }
  .tips h2 {
    font-size: 30px;
  }
  .vedio-address {
    font-size: 20px;
  }
  .video-walled {
    height: 300px;
    width: 400px;
  }
  .video-container {
    overflow: hidden;
  }
  footer p {
    font-size: 13px;
  }
  nav a {
    color: black;
  }
  .exams-section {
    margin: auto;
    width: 350px;
    height: 300px;
  }
  .exams-section h2 {
    font-size: 23px;
    margin-top: -35px;
  }

  .exams-section p {
    font-size: 18px;
    margin-bottom: 25px;
  }

  .exams-btn {
    display: inline-block;
    background: white;
    color: #0077b6;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 18px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
  }
}
@media (max-width: 430px) and (min-width: 425px) {
  .logo {
    display: none;
  }
  h1 {
    display: none;
  }

  .burger-menu {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 0.5rem;
    margin-left: 290px;
  }
  .burger-menu-bar {
    height: 0.3rem;
    width: 3.375rem;
    background-color: white;
    transition: 0.5s ease-in-out;
  }
  header:has(.burger-menu__checkbox:checked) .burger-menu-bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  header:has(.burger-menu__checkbox:checked) .burger-menu-bar:nth-child(2) {
    opacity: 0;
    visibility: hidden;
  }
  header:has(.burger-menu__checkbox:checked) .burger-menu-bar:nth-child(3) {
    transform: translateY(-12px) rotate(-45deg);
  }

  .burger-menu__checkbox:checked + nav {
    margin-right: -220px;
    opacity: 1;
  }
  nav {
    position: absolute;
    gap: 25px;
    top: 50px;
    margin-left: 150px;
    z-index: 1;
    padding-right: 10px;
    transition: 0.5s ease-in-out;
    opacity: 1;
    font-size: 20px;
    display: flex;
    flex-direction: column;
    color: #000;
    background-color: rgba(0, 74, 173, 0.3);
    margin-right: 0;
    padding-bottom: 20px;
    padding-top: 10px;
  }
  .toggle {
    margin-right: 70px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: white;
    height: 90px;
    width: 280px;
    border-radius: 20px;
    text-align: center;
  }
  .toggle__title {
    margin-top: 25px;
    margin-right: 45px;
  }
  .toggle__label {
    margin-top: 25px;
  }
  html:has(.toggle__checkbox:checked) {
    body {
      background: black;
    }
    .video-loop {
      display: none;
    }
    .hero {
      background: #1e1e1e;
    }
    .news-ticker {
      background: #1e1e1e;
    }
    .tips {
      background: #1e1e1e;
    }
    .tips p {
      color: white;
    }
    .countdown-section {
      background: #1e1e1e;
    }
    .exams {
      background: #1e1e1e;
    }
    .exams p {
      color: white;
    }
    p {
      color: #cccccc;
    }
    .box-shadow {
      color: rgba(255, 255, 255, 0.1);
    }
    .table {
      background: #1e1e1e;
      color: white;
    }
    h1 h2 h3 h4 h5 h6 {
      color: #ffffff;
    }
    .important-links {
      background: #1e1e1e;
    }
    .links-container {
      background-color: #1e1e1e;
    }
    .links-container a {
      background-color: #1e1e1e;
    }
    .toggle {
      background-color: #1e1e1e;
    }
    .toggle__title {
      color: white;
    }
    .active {
      padding-top: 290px;
    }
  }
  .channels {
    display: flex;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-right: 17px;
    padding-left: 30px;
    padding-top: 20px;
    padding-bottom: 10px;
  }
  .p-channels-1 {
    margin-right: 25px;
  }

  .channels p {
    font-size: 20px;
    margin-right: 25px;
  }
  .p-channels-2 {
    margin-left: -25px;
    margin-top: 10px;
  }
  .p-channels-4 {
    margin-left: 40px;
    margin-right: 500px;
  }
  .p-channels-5 {
    margin-right: 58px;
  }
  .p-channels-10 {
    margin-right: 4000px;
  }
  .palestine-simple h2 {
    font-size: 1.5rem;
    color: #00ff88; /* أخضر بسيط */
    margin-bottom: 10px;
  }
  .palestine-simple {
    width: 400px;
    height: 180px;
  }
  .logo {
    font-size: 48px;
    padding-right: 60px;
  }

  .channels {
    grid-template-columns: repeat(1, 1fr);
  }

  .links-container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .vedio-address {
    font-size: 22px;
  }
  .contact-with-me {
    display: flex;
    justify-content: center;
    gap: 30px;
  }
  .contact-with-me img {
    width: 50px;
    height: 50px;
    overflow: hidden;
  }
  .contact-with-me a:hover {
    transform: translateY(-5px);
    transition: 0.3s;
  }
}
/* للتابلت (من 601px لحد 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
  .hero h1 {
    font-size: 1.5rem;
    margin-bottom: 15px;
  }
  .toggle {
    margin-right: 225px;
    margin-top: 20px;
    margin-bottom: 20px;
    background-color: white;
    height: 90px;
    width: 280px;
    border-radius: 20px;
    text-align: center;
  }
  .toggle__title {
    margin-top: 25px;
    margin-right: 45px;
  }
  .toggle__label {
    margin-top: 25px;
  }
  html:has(.toggle__checkbox:checked) {
    body {
      background: black;
    }
    .video-loop {
      display: none;
    }
    .hero {
      background: #1e1e1e;
    }
    .news-ticker {
      background: #1e1e1e;
    }
    .tips {
      background: #1e1e1e;
    }
    .tips p {
      color: white;
    }
    .countdown-section {
      background: #1e1e1e;
    }
    .exams {
      background: #1e1e1e;
    }
    .exams p {
      color: white;
    }
    p {
      color: #cccccc;
    }
    .box-shadow {
      color: rgba(255, 255, 255, 0.1);
    }
    .table {
      background: #1e1e1e;
      color: white;
    }
    h1 h2 h3 h4 h5 h6 {
      color: #ffffff;
    }
    .important-links {
      background: #1e1e1e;
    }
    .links-container {
      background-color: #1e1e1e;
    }
    .links-container a {
      background-color: #1e1e1e;
    }
    .toggle {
      background-color: #1e1e1e;
    }
    .toggle__title {
      color: white;
    }
  }
  .exams {
    height: 250px;
    width: 500px;
    margin-right: 140px;
  }
  .gif {
    width: 300px;
    height: 300px;
    margin-top: -120px;
    margin-right: -25px;
  }
  .channels {
    grid-template-columns: repeat(2, 1fr);
  }
  .links-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  footer p {
    font-size: 26px;
  }
}
