.dnav-accent {
  height: 3px;
  /* background: linear-gradient(90deg, #e2b85f, #be8a38, #14304f); */
  /* background: linear-gradient(90deg, #0492c2, #0378a0, #0492c2); */
  background: #0492c2 !important;
}
.dnav-wrap {
  /* background: rgba(251, 245, 234, 0.95) !important; */
  background: #0492c2 !important;
  backdrop-filter: saturate(150%) blur(12px);
  -webkit-backdrop-filter: saturate(150%) blur(12px);
  border-bottom: 1px solid rgba(20, 48, 79, 0.08);
}
.dnav-wrap .navbar {
  /* background: transparent !important; */
  background: white !important;
}
.dnav-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}
.dnav-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
}
.dnav-brand b {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-weight: 800;
  font-size: 21px;
  /* color: #14304f; */
  color: #0492c2;
  letter-spacing: -0.01em;
  line-height: 1;
  margin: 0;
}
.dnav-brand b span {
  /* color: #be8a38; */
  color: #f7631b;
}
.dnav-wrap .custom-nav .nav-link {
  color: #1c3e63 !important;
  font-weight: 600;
  font-size: 14.5px;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}
.dnav-wrap .custom-nav .nav-link:hover {
  color: #be8a38 !important;
}
.dnav-lang {
  /* display: inline-flex; */
  border: 1px solid rgba(20, 48, 79, 0.15);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
  margin-right: 14px;
  margin-top: 3px;
  margin-left: 5px;
  width: 80px;
  /* عرض ثابت */
  flex-shrink: 0;
  /* min-width: 90px; */
  display: flex;
  justify-content: center;
}
.dnav-wrap .header-right {
  position: relative;
  display: flex;
  align-items: center;
  /* gap: 12px; */
  gap: 6px;
  flex-shrink: 0;
  justify-content: center;
}

.dnav-lang button {
  font-family: "IBM Plex Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 7px 13px;
  border: none;
  background: none;
  cursor: pointer;
  /* color: #5c6b7a; */
  color: black;
  transition: 0.2s;
  line-height: 1;
}
.dnav-lang :hover {
  /* transform: translateY(-3px);  */
  /* رفعة بسيطة تعطي شعوراً بالتفاعل */
  box-shadow: 0 5px 15px rgba(4, 146, 194, 0.3);
  /* background-image: linear-gradient(to left, #f7631b, #0492c2); */
  /* background-image: linear-gradient(to bottom, #f7631b, #0492c2); */
  background-image: linear-gradient(to bottom, #f7631b, #f7631b);
  color: white;
  opacity: 0.8;
  cursor: pointer;
}
.dnav-lang button.on {
  /* background: #14304f; */
  background: #0492c2;
  color: #fff;
}

.dnav-wrap .menu-btn {
  padding: 8px 20px;
  /* background: linear-gradient(180deg, #e2b85f, #be8a38) !important; */
  background-color: #0492c2 !important;
  color: var(--bs-white) !important;
  /* box-shadow: 0 4px 14px rgba(4, 146, 194, 0.35); */
  /* color: #0c1e33 !important; */
  border: none !important;
  /* box-shadow: 0 6px 16px rgba(190, 138, 56, 0.32); */
  font-weight: 700;
  margin-top: 3px;
  border-radius: 50px;
}
.dnav-wrap .menu-btn:hover {
  /* background-image: linear-gradient(to bottom, #f7631b, #0492c2); */
  background-image: linear-gradient(to bottom, #f7631b, #f7631b);
  /* background-image: #f7631b; */
  transform: translateY(-3px); /* رفعة بسيطة تعطي شعوراً بالتفاعل */
  box-shadow: 0 5px 15px rgba(4, 146, 194, 0.3); /* ظل ناعم بنفس لون الزر */
  color: var(--bs-light) !important;
}

/* #google_translate_element {
  position: absolute !important;
  left: -9999px !important;
  height: 0 !important;
  overflow: hidden;
}
.goog-te-banner-frame,
.goog-te-balloon-frame,
.skiptranslate {
  display: none !important;
} */
body {
  top: 0 !important;
}
.goog-tooltip,
.goog-tooltip:hover {
  display: none !important;
}
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}

.dropdown {
  position: relative;
  display: inline-block;
  width: auto;
  /* margin-top: 10px; */
}
.dropdown a {
  color: black;
}
.dropdown a:hover {
  color: #0492c2;
}

.dropdown-menu {
  display: none;
  position: absolute;
  /* top: 130%; */
  margin-top: 0px !important;
  text-align: left;
  left: 0 important;
  right: auto !important;
  /* background: #fff; */
  /* background: #f5f7fa; */
  background: #f1f4f8;
  /* min-width: 220px; */
  min-width: auto;
  width: max-content;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  /* border: 1px solid rgba(4, 146, 194, 0.12); */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  background-color: transparent;
  animation: fadeIn 0.3s;
  z-index: 1000;
  /* z-index: 9999; */
  /* padding: 10px; */
  padding: 5px 0;
  border-radius: 0;
  gap: 10px;
}

.dropdown-menu li {
  list-style: none;
  margin: 0;
}

.dropdown-menu a {
  display: block;
  padding: 12px 15px;
  margin-top: 3px;
  text-decoration: none;
  color: black;
  font-size: 13px;
  gap: 5px;
}
/* فتح/قفل القائمة بالضغط (للموبايل) */
.dropdown.open > .dropdown-menu {
  display: block !important;
}

.dropdown > a {
  position: relative;
  display: inline-block;
  padding: 5px 0;
  text-decoration: none;
  /* color: #14304f; */
  color: black;
  /* font-weight: 600; */
}

.dropdown > a::before,
.dropdown > a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #ff6b00; /* لون الخط */
  transition: 0.3s ease;
}

.dropdown > a::before {
  top: 0;
  left: 50%;
}

.dropdown > a::after {
  bottom: 0;
  right: 50%;
}

.dropdown:hover > a::before {
  width: 100%;
  left: 0;
}

.dropdown:hover > a::after {
  width: 100%;
  right: 0;
}
.dropdown-menu a:hover {
  /* color: #0492c2; */
  color: #fff;
}

.dropdown:hover .dropdown-menu {
  display: block;
}
.dropdown-menu li a {
  position: relative;
  display: block;
  /* padding: 10px 20px; */
  margin-bottom: 10px;
  margin-top: 10px;
  /* color: #14304f; */
  /* color: black; */
  color: #f1f4f8;
  text-decoration: none;
  transition: 0.3s;
  /* padding: 12px 15px; */
  padding: 6px 7px;
  /* padding: 0; */
  /* border-radius: 6px; */
  /* margin: 0; */
  white-space: nowrap;
}
.dropdown-menu li:last-child {
  margin-bottom: 0;
}
.dropdown-menu li a::before,
.dropdown-menu li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  background: #ff6b00;
  transition: all 0.3s ease;
}

.dropdown-menu li a::before {
  top: 0;
  left: 50%;
}

.dropdown-menu li a::after {
  bottom: 0;
  right: 50%;
}

.dropdown-menu li a:hover::before {
  width: 100%;
  left: 0;
}

.dropdown-menu li a:hover::after {
  width: 100%;
  right: 0;
}
.dnav-links {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: nowrap;
  /* يمنع النزول لسطر جديد */
}

.dnav-links li {
  list-style: none;
  position: relative;
}
.custom-nav {
  display: flex;
  align-items: center;
  /* gap: 8px; */
  gap: 25px;
}

.custom-nav .nav-link {
  display: flex;
  align-items: center;
  height: 100%;
}

.custom-nav .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: middle;
}
.mobile-dropdown-btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 12px 0;
  /* color: #14304f; */
  color: black;
  font-size: 16px;
  cursor: pointer;
}

.mobile-dropdown-content {
  display: none;
  padding-left: 15px;
  margin-top: 8px;
}

.mobile-dropdown-content a {
  display: block;
  padding: 10px 0;
  text-decoration: none;
  color: #14304f;
}

.mobile-dropdown.active .mobile-dropdown-content {
  display: block;
}
#dnav-mobile {
  display: flex;
  flex-direction: column;
  gap: 12px; /* المسافة بين الروابط */
  padding: 20px;
}

#dnav-mobile a,
#dnav-mobile .mobile-dropdown-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 12px 0;
  font-size: 16px;
}
#dnav-mobile,
#dnav-mobile * {
  text-align: left !important;
}
@media (max-width: 991px) {
  #dnav-mobile a,
  #dnav-mobile .mobile-dropdown-btn {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }
  /* على الموبايل: نوقف الـ hover اللي بيعلّق القائمة مفتوحة */

  .dropdown:hover > .dropdown-menu {
    display: none;
  }
  .dropdown.open > .dropdown-menu {
    display: block !important;
  }

  .mobile-dropdown-content a {
    padding: 12px 15px;
  }
  .navbar-collapse {
    padding-top: 15px;
  }

  .custom-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
  }

  .custom-nav .nav-link,
  .custom-nav .dropdown > a {
    width: 100%;
    text-align: left;
    padding: 12px 0;
    margin: 0;
  }

  /*.dropdown{
    width: 100%;
  }*/

  /* .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    margin-top: 8px;
    min-width: 100%;
  } */

  /*.dropdown-menu li{
    margin-bottom: 10px;
  } */
}
/* Language + Dark Mode in one row */
/* @media (max-width: 768px) {
  .dnav-lang {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
  }

  .dnav-lang button {
    margin: 0 !important;
    flex: 0 0 auto;
  } */

/* Dark mode button */
/* .theme-toggle,
  .dark-mode-toggle,
  #themeToggle,
  #darkModeToggle {
    margin: 0 0 0 5px !important;
    flex: 0 0 auto !important;
  }
} */

@media (max-width: 414px) {
  #dnav-mobile a,
  #dnav-mobile .mobile-dropdown-btn {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .mobile-dropdown-content a {
    padding: 12px 15px;
  }
  .navbar-collapse {
    padding-top: 15px;
  }
  .dropdown-menu li a {
    color: black;
  }
  .custom-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
  }

  .custom-nav .nav-link,
  .custom-nav .dropdown > a {
    width: 100%;
    text-align: left;
    padding: 12px 0;
    margin: 0;
  }

  /*.dropdown{
    width: 100%;
  }*/

  /* .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    padding-left: 20px;
    margin-top: 8px;
    min-width: 100%;
  } */

  /*.dropdown-menu li{
    margin-bottom: 10px;
  } */
  .dnav-wrap .menu-btn {
    font-size: 12px;
    padding: 10px 15px;
  }
}
@media (max-width: 375px) {
  #dnav-mobile a,
  #dnav-mobile .mobile-dropdown-btn {
    padding: 14px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  }

  .mobile-dropdown-content a {
    padding: 12px 15px;
  }
  .navbar-collapse {
    padding-top: 15px;
  }

  .custom-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
    width: 100%;
  }

  .custom-nav .nav-link,
  .custom-nav .dropdown > a {
    width: 100%;
    text-align: left;
    padding: 12px 0;
    margin: 0;
  }

  /*.dropdown{
    width: 100%;
  }*/

  /* .dropdown-menu {
    background: #96bbec;
  } */

  .dropdown-menu li a {
    /* margin-bottom: 10px; */
    color: #222;
  }
  .dnav-wrap .menu-btn {
    font-size: 11px;
    padding: 10px 15px;
  }
}

/* .lang-toggle {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
.lang-toggle button {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 7px 13px;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--muted);
  transition: 0.2s;
}
.lang-toggle button.on {
  background: var(--ink);
  color: #fff;
} */
/* img {
  max-width: 100%;
  display: block;
} */
/* .wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 18px;
} */
/* ==================================================
   NAVBAR FIX — TABLET / 1024px
   Keep all navbar items in one clean row
================================================== */

@media (min-width: 992px) and (max-width: 1199.98px) {
  /* Outer navbar container */
  .dnav-wrap .container {
    max-width: 100% !important;
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .dnav-wrap .navbar {
    width: 100%;
    padding: 10px 12px !important;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
  }

  /* =========================
     LOGO
  ========================== */

  .dnav-brand {
    flex: 0 0 auto;

    display: flex;
    align-items: center;

    margin-right: 18px !important;

    white-space: nowrap;
  }

  .dnav-brand img {
    width: 48px !important;
    height: 48px !important;

    object-fit: contain;

    margin-right: 7px !important;
  }

  .dnav-brand b {
    font-size: 19px !important;
    white-space: nowrap;
  }

  /* =========================
     COLLAPSE AREA
  ========================== */

  #navbarCollapse {
    display: flex !important;
    align-items: center;
    justify-content: space-between;

    flex: 1 1 auto;

    min-width: 0;
  }

  /* =========================
     NAV LINKS
  ========================== */

  .custom-nav {
    display: flex !important;
    align-items: center;
    flex-direction: row !important;
    margin-left: 70px !important;
    margin-right: 10px !important;
    /* margin-top: 2px; */
    gap: 3px !important;
    white-space: nowrap;
  }

  .custom-nav .nav-link,
  .custom-nav > .dropdown > a {
    display: flex;
    align-items: center;
    padding: 10px 11px !important;
    margin: 0 !important;
    font-size: 13px !important;
    line-height: 1.2;
    white-space: nowrap;
  }

  /* =========================
     DROPDOWN
  ========================== */

  .custom-nav .dropdown {
    display: flex;
    align-items: center;

    position: relative;

    margin: 0 !important;
  }

  .custom-nav .dropdown > a {
    text-decoration: none;
  }

  /* =========================
     RIGHT SIDE
  ========================== */

  .header-right {
    display: flex !important;
    align-items: center;

    flex-direction: row !important;

    /* gap: 7px !important; */

    margin-left: auto !important;

    flex: 0 0 auto;

    white-space: nowrap;
  }

  /* =========================
     LANGUAGE
  ========================== */

  .dnav-lang {
    display: flex;
    align-items: center;

    flex-shrink: 0;

    margin: 0 !important;
  }

  .dnav-lang button {
    min-width: 36px !important;
    height: 30px !important;

    padding: 0 9px !important;

    font-size: 11px !important;
  }

  /* =========================
     START LEARNING
  ========================== */

  .menu-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    min-width: auto !important;
    width: 50%;
    /* padding: 10px 15px !important; */
    padding: 5px 10px !important;

    margin: 0 !important;

    font-size: 11px !important;

    white-space: nowrap;

    border-radius: 25px;
  }

  /* Burger stays hidden at 1024 */
  .navbar-toggler,
  .mobile-menu-icon {
    display: none !important;
  }
}
/* ---------- Breadcrumb ---------- */
.crumb {
  background: transparent;
  padding: 20px 0 4px;
}
.crumb .wrap {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: 0.9rem;
  /* color: var(--muted); */
  color: #eee;
}
.crumb a {
  /* color: var(--teal); */
  color: #eee;
  font-weight: 600;
}
.crumb i {
  font-size: 0.7rem;
}

/* ---------- Hero + Sidebar ---------- */
.top-grid {
  display: grid;
  /* grid-template-columns: 1fr 360px; */
  grid-template-columns: 2fr;
  gap: 24px;
  padding: 14px 0 6px;
}
.hero-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  min-height: 570px;
  margin-top: -10rem;
  display: flex;
  align-items: flex-end;
  /* background:
    linear-gradient(180deg, rgba(8, 26, 36, 0.35), rgba(8, 26, 36, 0.92)),
    radial-gradient(
      1200px 400px at 80% 10%,
      rgba(201, 168, 76, 0.25),
      transparent
    ),
    var(--ink); */
  background-image: url("../img/courses/power-bi-t.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.hero-card > * {
  position: relative;
  z-index: 1;
}
.hero-tech {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      circle at 78% 30%,
      rgba(201, 168, 76, 0.55) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 88% 55%,
      rgba(4, 146, 194, 0.6) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 70% 70%,
      rgba(201, 168, 76, 0.4) 0 2px,
      transparent 3px
    ),
    radial-gradient(
      circle at 92% 78%,
      rgba(4, 146, 194, 0.5) 0 2px,
      transparent 3px
    );
  opacity: 0.9;
  pointer-events: none;
}

/* .hero-inner {
  position: relative;
  padding: 34px 36px 38px;
  color: #fff;
  max-width: 560px;
} */
.hero-inner {
  position: relative;
  padding: 34px 36px 38px;
  color: #fff;
  max-width: 560px;
  transform: translateY(-20px);
}
.badge-featured {
  display: inline-block;
  /* background: var(--gold); */
  background: #0492c2;
  /* color: var(--ink); */
  color: white;
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  padding: 0.32rem 0.7rem;
  border-radius: 6px;
  margin-bottom: 16px;
}
/* .hero-inner h1 {
  font-size: 2.2rem;
  line-height: 1.12;
  margin-bottom: 14px;
  color: white;
} */
.hero-inner h1 {
  color: #fff;
  /* لون الجزء الأول */
  font-size: 2.2rem;
  line-height: 1.12;
  margin-bottom: 14px;
}

/* .hero-inner h1 span { */
/* color: #c9a84c; */
/* لون & Visualization */
/* } */
.hero-card h1 .gold {
  color: #f7631b;
}
.hero-inner p {
  /* color: #cfe0e8; */
  color: white;
  font-size: 1rem;
  margin-bottom: 22px;
}
.btn-preview {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 0.7rem 1.2rem;
  border-radius: 10px;
  font-weight: 600;
  backdrop-filter: blur(3px);
}
.btn-preview:hover {
  /* background: var(--gold); */
  background: #0492c2;
  border-color: var(--gold);
  /* color: var(--ink); */
  color: white;
}
.btn-preview .pi {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  /* background: var(--gold); */
  background: #0492c2;
  /* color: var(--ink); */
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}
.side-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 16px 40px rgba(3, 120, 160, 0.08);
  align-self: start;
  position: sticky;
  top: 96px;
}
.price {
  /* font-family: var(--display); */
  font-size: 2.1rem;
  font-weight: 800;
  /* color: var(--ink); */
  color: black;
  margin-right: 2.5rem;
}

.price small {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.btn-enroll {
  width: 100%;
  background: var(--gold);
  color: var(--ink);
  border: none;
  font-weight: 700;
  padding: 0.85rem;
  border-radius: 11px;
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-size: 1rem;
  cursor: pointer;
}
.btn-enroll:hover {
  background: var(--teal);
  color: #fff;
}
.btn-wish {
  width: 100%;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 600;
  padding: 0.8rem;
  border-radius: 11px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
}
.btn-wish:hover {
  border-color: var(--gold);
  color: var(--teal);
}
.meta {
  list-style: none;
  margin: 20px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--line);
}
.meta li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 0.93rem;
}
.meta li .k {
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.meta li .k i {
  color: var(--teal);
  width: 18px;
  text-align: center;
}
.meta li .v {
  font-weight: 600;
}
@media (max-width: 900px) {
  .top-grid {
    grid-template-columns: 1fr;
  }
  .side-card {
    position: static;
  }
  .dnav-links,
  .dnav-cta {
    display: none;
  }
  .dnav-burger {
    display: block;
  }
  .hero-inner h1 {
    font-size: 0.9rem;
  }
  .hero-inner p {
    font-size: 0.9rem;
    text-align: justify;
  }
  .btn-preview {
    font-size: 14px;
    padding: 0.4rem 0.2rem;
  }
  .btn-preview .pi {
    width: 23px;
    height: 23px;
  }
}
/* .share{display:flex;align-items:center;gap:10px;margin-top:16px;padding-top:14px;border-top:1px solid var(--line);font-size:.9rem;color:var(--muted)}
.share a{width:32px;height:32px;border:1px solid var(--line);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--teal)}
.share a:hover{background:var(--teal);color:#fff;border-color:var(--teal)} */
/************************
Pyemtn Css
************************/
#cardPaymentModal {
  display: none;
}
.submit-payment-btn {
  width: 100%;
  border: none;
  padding: 14px;
  border-radius: 10px;
  background: #c9a84c;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.payment-btn {
  width: 100%;
  margin: 25px 0;
  padding: 14px;
  border: none;
  border-radius: 12px;
  background: #c9a84c;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.payment-btn:hover {
  transform: translateY(-2px);
}
.paid-course-btn {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  background: #c9a84c;
  color: #fff;
}
/* Overlay */
.popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 9999;

  justify-content: center;
  align-items: center;

  padding: 20px;
  overflow-y: auto;
}

/* Form Container */
.payment-form-popup {
  width: 100%;
  max-width: 650px;
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);

  max-height: 90vh;
  overflow-y: auto;
}

/* Close Button */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 32px;
  cursor: pointer;
  color: #666;
  transition: 0.3s;
}

.close-btn:hover {
  color: #dc3545;
}

/* Heading */
.payment-form-popup h2 {
  text-align: center;
  margin-bottom: 10px;
  font-size: 28px;
  color: #222;
}

.popup-subtitle {
  text-align: center;
  color: #666;
  margin-bottom: 25px;
  font-size: 15px;
}

/* Form Groups */
.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
}

/* Inputs */
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #dcdcdc;
  border-radius: 10px;
  font-size: 15px;
  transition: 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #0dcaf0;
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 202, 240, 0.15);
}

/* File Input */
input[type="file"] {
  padding: 10px;
}

/* Terms */
.terms-box {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0;
}

.terms-box label {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

/* Submit Button */
.submit-payment-btn {
  width: 100%;
  border: none;
  /* background: #0dcaf0; */
  background: #494746;
  /* background: #0f0e0e; */
  color: #fff;
  padding: 14px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.submit-payment-btn:hover {
  background: #f7631b;
  transform: translateY(-2px);
}

/* Success Message */
#paymentSuccess {
  text-align: center;
  padding: 20px 10px;
}

#paymentSuccess i {
  font-size: 35px;
  color: #28a745;
  /* color: #f7631b; */
  margin-bottom: 3px;
  margin-left: 15px;
}

#paymentSuccess h3 {
  margin-bottom: 10px;
}

/* Tablet */
@media (max-width: 768px) {
  .payment-form-popup {
    padding: 25px 20px;
  }

  .payment-form-popup h2 {
    font-size: 24px;
  }
}

/* Mobile */
@media (max-width: 576px) {
  .popup {
    padding: 10px;
  }

  .payment-form-popup {
    width: 100%;
    padding: 20px 15px;
    border-radius: 15px;
  }

  .payment-form-popup h2 {
    font-size: 22px;
  }

  .popup-subtitle {
    font-size: 14px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 14px;
    padding: 11px 12px;
  }

  .submit-payment-btn {
    font-size: 13px;
    padding: 6px 8px;
  }

  .close-btn {
    font-size: 28px;
    top: 10px;
    right: 15px;
  }

  .terms-box {
    gap: 8px;
  }

  .terms-box label {
    font-size: 13px;
  }
}
/* =========================================================
   COURSE DETAIL — FULL RESPONSIVE CSS
   Desktop / Laptop / Tablet / Mobile
   ========================================================= */

/* ---------- General protection ---------- */

body {
  max-width: 100%;
  overflow-x: hidden;
}

img,
video,
svg {
  max-width: 100%;
}

/* =========================================================
   <= 1200px
   ========================================================= */
@media (max-width: 1200px) {
  .container {
    width: min(100% - 40px, 1120px);
  }

  .layout {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 34px;
  }

  .hero-grid {
    gap: 34px;
  }
}

/* =========================================================
   <= 1024px — Tablet landscape / small laptop
   ========================================================= */
@media (max-width: 1024px) {
  .container {
    width: min(100% - 36px, 960px);
  }

  /* Main page */
  .layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Enrollment card */
  .rail {
    position: static;
    top: auto;
    width: 100%;
    max-width: 560px;
    margin: 0 0 34px;
  }

  /* Hero */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 42px 0 50px;
  }

  .artifact {
    max-width: 620px;
    width: 100%;
    transform: none;
  }

  /* Certificate */
  .cert-wrap {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  /* Cards */
  .aud-grid,
  .fmt-grid,
  .rel-grid,
  .assess-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    gap: 28px;
  }
}

/* =========================================================
   <= 992px — Tablet
   ========================================================= */
@media (max-width: 992px) {
  .hero h1 {
    font-size: clamp(24px, 5vw, 430px);
  }

  .layout {
    padding: 42px 0 80px;
  }

  .section {
    padding: 18px 0 42px;
  }

  .glance {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .curr-summary {
    flex-wrap: wrap;
  }
}

/* =========================================================
   <= 768px — Tablet portrait / large mobile
   ========================================================= */
@media (max-width: 768px) {
  .container {
    width: 100%;
    padding-left: 18px;
    padding-right: 18px;
  }

  /* ---------- Hero ---------- */

  /* .hero-grid {
    padding: 34px 0 44px;
  }

  .breadcrumb {
    margin-left: 22px;
  }
  .tags {
    margin-left: 20px;
  } */
  .hero h1 {
    font-size: clamp(20px, 8vw, 26px);
    line-height: 1.08;
    margin-left: 20px;
  }

  /*.hero-lede {
    font-size: 14px;
    max-width: 100%;
    text-align: justify;
    margin-left: 22px;
  }

  .hero-meta,
  .metabits {
    gap: 12px 16px;
    margin-left: 10px;
  } */

  /* .hero-cta {
    width: 70%;
    justify-content: space-around;
    gap: 10px;
  }

  .hero-cta .btn {
    flex: 1 1 190px;
  } */

  .artifact {
    max-width: 80%;
  }

  .chart-row {
    grid-template-columns: 1fr;
  }

  /* ---------- Page layout ---------- */
  .eyebrow {
    margin-left: 14px;
  }
  .eyebrow::before {
    margin-left: 14px;
  }
  .layout {
    padding: 34px 0 76px;
  }

  .section {
    padding: 14px 0 36px;
  }

  .section-title {
    font-size: clamp(20px, 6vw, 30);
  }

  /* ---------- Grids ---------- */

  .obj-grid,
  .aud-grid,
  .assess-grid,
  .fmt-grid,
  .rel-grid,
  .kpis,
  .row2 {
    grid-template-columns: 1fr;
  }

  /* Target Audience */

  .aud-grid {
    gap: 12px;
  }

  .aud {
    width: 100%;
  }

  /* Prerequisites */

  .prereq li {
    padding: 13px 14px;
  }

  /* ---------- Curriculum ---------- */

  .curr-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .curr-summary .s {
    min-width: 0;
  }

  .curr-summary .expand-all {
    grid-column: 1 / -1;
    width: 100%;
  }

  .mod-head {
    width: 100%;
  }

  /* ---------- Footer ---------- */

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* =========================================================
   <= 600px
   ========================================================= */
@media (max-width: 600px) {
  .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* Hero */

  .hero h1 {
    font-size: clamp(28px, 8.5vw, 38px);
  }

  .hero-cta {
    flex-direction: column;
  }

  .hero-cta .btn {
    width: 100%;
    flex: none;
  }

  /* Overview */

  .glance {
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  /* Instructor */

  .instructor {
    align-items: flex-start;
    padding: 15px;
  }

  /* Audience */

  .aud {
    padding: 16px;
  }

  /* Footer */

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }

  /* Modal */

  .modal {
    padding: 12px;
  }

  .modal-card {
    max-height: calc(100dvh - 24px);
    overflow-y: auto;
  }
}

/* =========================================================
   <= 480px — Mobile
   ========================================================= */
@media (max-width: 480px) {
  .container {
    padding-left: 13px;
    padding-right: 13px;
  }

  /* ---------- Hero ---------- */

  .hero-grid {
    padding: 28px 0 36px;
  }

  .hero h1 {
    font-size: 30px;
  }

  .tags {
    gap: 6px;
  }

  .tag {
    font-size: 10px;
  }

  .rating,
  .metabit {
    font-size: 12px;
  }

  /* Video / Artifact */

  .artifact-top {
    padding-left: 12px;
    padding-right: 12px;
  }

  .artifact-title {
    font-size: 11px;
    max-width: 55%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* ---------- Sections ---------- */

  .layout {
    padding: 28px 0 70px;
  }

  .section {
    padding: 10px 0 30px;
  }

  .section-head {
    margin-bottom: 18px;
  }

  .section-title {
    font-size: 25px;
    line-height: 1.15;
  }

  /* ---------- Overview stats ---------- */

  .glance {
    grid-template-columns: 1fr 1fr;
  }

  .glance .g {
    padding: 12px;
  }

  /* ---------- Prerequisites ---------- */

  .prereq li {
    gap: 10px;
    padding: 12px;
  }

  .auto-pre-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;
    border-radius: 8px;
  }

  .auto-pre-icon::before {
    font-size: 17px;
  }

  /* ---------- Target Audience ---------- */

  .aud .ic {
    width: 36px;
    height: 36px;
    margin-bottom: 10px;
  }

  .auto-aud-icon::before {
    font-size: 21px;
  }

  /* ---------- Curriculum ---------- */

  .curr-summary {
    grid-template-columns: 1fr 1fr;
  }

  .curr-summary .s:nth-child(3) {
    grid-column: 1 / -1;
  }

  .mod-head {
    padding: 14px 12px;
    gap: 9px;
  }

  .mod-num {
    flex: 0 0 auto;
  }

  .mod-title {
    min-width: 0;
  }

  .mod-title b {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .lessons li {
    gap: 8px;
  }

  /* ---------- Enrollment ---------- */

  .enroll-card {
    border-radius: 14px;
  }

  .enroll-top,
  .enroll-body {
    padding-left: 15px;
    padding-right: 15px;
  }
}

/* =========================================================
   <= 425px
   ========================================================= */
@media (max-width: 425px) {
  .hero h1 {
    font-size: 23px;
  }

  .hero-meta {
    display: grid;
    gap: 10px;
  }

  .metabits {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .glance {
    grid-template-columns: 1fr 1fr;
  }

  /* Price */

  .price-row {
    flex-wrap: wrap;
  }

  .price {
    font-size: 26px;
  }

  /* Prerequisites / Audience */

  .prereq b,
  .aud b {
    font-size: 13px;
  }

  .pre-desc,
  .aud p {
    font-size: 12px;
  }
}

/* =========================================================
   <= 390px
   ========================================================= */
@media (max-width: 390px) {
  .container {
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero h1 {
    font-size: 27px;
  }

  .glance {
    grid-template-columns: 1fr;
  }

  /* Curriculum stats */

  .curr-summary {
    grid-template-columns: 1fr;
  }

  .curr-summary .s:nth-child(3) {
    grid-column: auto;
  }

  .curr-summary .expand-all {
    grid-column: auto;
  }

  .instructor {
    gap: 10px;
  }
}

/* =========================================================
   <= 375px
   ========================================================= */
@media (max-width: 375px) {
  .hero h1 {
    font-size: 26px;
  }

  .section-title {
    font-size: 23px;
  }

  .btn {
    font-size: 13px;
    padding: 11px 16px;
  }

  .prereq li {
    padding: 10px;
  }

  .aud {
    padding: 14px;
  }
}

/* =========================================================
   <= 360px
   ========================================================= */
@media (max-width: 360px) {
  .container {
    padding-left: 10px;
    padding-right: 10px;
  }

  .hero h1 {
    font-size: 25px;
  }

  .artifact-badge {
    font-size: 9px;
  }

  .module {
    border-radius: 10px;
  }

  .mod-head {
    padding: 12px 10px;
  }
}

/* =========================================================
   <= 320px — Very small mobile
   ========================================================= */
@media (max-width: 320px) {
  .container {
    padding-left: 8px;
    padding-right: 8px;
  }

  .hero h1 {
    font-size: 23px;
  }

  .section-title {
    font-size: 21px;
  }

  .tag {
    font-size: 9px;
    padding-left: 8px;
    padding-right: 8px;
  }

  .prereq li {
    gap: 8px;
  }

  .auto-pre-icon {
    width: 29px;
    height: 29px;
    min-width: 29px;
  }

  .aud {
    padding: 12px;
  }
}

/* =========================================================
   Accessibility
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 768px) {
  .subnav-inner {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;

    overflow-x: auto;
    overflow-y: hidden;

    padding: 10px 12px;

    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .subnav-inner::-webkit-scrollbar {
    display: none;
  }

  .subnav-inner a {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;

    font-size: 13px;
    line-height: 1.2;

    padding: 7px 10px;
  }
}

@media (max-width: 480px) {
  .subnav-inner {
    gap: 6px;
    padding: 8px 10px;
  }

  .subnav-inner a {
    font-size: 12px;
    padding: 6px 8px;
  }
}
/* =====================================================
   NAVBAR FIX — TABLET & MOBILE
   ===================================================== */

@media (max-width: 768px) {
  /* مساحة آمنة يمين ويسار الصفحة */
  .nav .container,
  .nav-inner {
    width: 100%;
    max-width: 100%;
    padding-left: 18px !important;
    padding-right: 18px !important;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }

  /* ترتيب عناصر الناف */
  .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  /* البراند */
  .brand {
    display: flex;
    align-items: center;
    min-width: 0;
    flex: 1;
  }

  .brand img {
    flex-shrink: 0;
  }

  .brand-txt {
    min-width: 0;
  }

  /* إخفاء روابط الديسكتوب */
  .nav-links {
    display: none !important;
  }

  /* زر القائمة */
  .hamburger,
  .ham {
    display: flex !important;
    align-items: center;
    justify-content: center;

    flex: 0 0 42px;
    width: 42px;
    height: 42px;

    margin: 0 !important;
    padding: 0;

    position: relative;
    right: auto;
    left: auto;
  }

  /* Mobile menu */
  .mobile-menu {
    width: 100%;
    max-width: 100%;
    left: 0;
    right: 0;

    padding-left: 18px;
    padding-right: 18px;

    box-sizing: border-box;
  }

  .mobile-menu a {
    width: 100%;
    box-sizing: border-box;
  }
}
@media (max-width: 768px) {
  .container {
    width: 100%;
    max-width: 100%;
    padding-left: 18px;
    padding-right: 18px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
  }
}
@media (max-width: 768px) {
  .nav-inner {
    width: 100%;
    padding-left: 0 !important;
    padding-right: 0 !important;

    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}
