:root {
  --bg-light-grey: #d6d6d6;
  --primary-blue: #233d62;
  --accent-blue: #22a5e0;
  --font-family: "Somer", "Cairo", sans-serif;
}

html,
body {
  font-family: var(--font-family);
}

body {
  margin: 0;
  padding: 0;
}

ul,
li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 15px;
}

.site-header {
  padding: 20px 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 25px;
}

.main-navigation a {
  text-decoration: none;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 15px;
  padding-bottom: 5px;
  transition: 0.3s;
}

.main-navigation li.current-menu-item a,
.main-navigation a:hover {
  border-bottom: 2px solid var(--accent-blue);
}

.site-branding img {
  max-height: 60px;
  width: auto;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 25px;
  color: var(--primary-blue);
  font-weight: 700;
  font-size: 13px;
}

.header-info i {
  color: var(--accent-blue);
}

.contact-link,
.contact-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-blue);
  text-decoration: none;
}

.lang-switcher ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.lang-switcher a {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--primary-blue);
  border-radius: 6px;
  color: var(--primary-blue);
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  text-transform: uppercase;
  transition: 0.3s all ease;
}

.lang-switcher a:hover {
  background-color: var(--primary-blue);
  color: #ffffff;
}

.mobile-menu-info {
  display: none;
}

.menu-toggle {
  display: none;
  background: #fff;
  border: 1px solid var(--primary-blue);
  color: var(--primary-blue);
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 20px;
}

@media (max-width: 1024px) {
  .site-header {
    position: relative;
  }

  .menu-toggle {
    display: block;
    order: 1;
  }

  .desktop-only {
    display: none;
  }

  .header-container {
    padding: 10px 20px;
    position: relative;
  }

  .site-branding {
    order: 2;
  }

  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    z-index: 999;
    padding: 20px 0;
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
    border-top: 1px solid #eee;
  }

  .main-navigation.toggled {
    display: block;
  }

  .main-navigation ul {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin: 0 0 20px 0;
    padding: 0 0 20px 0;
    border-bottom: 1px solid #eee;
    list-style: none;
  }

  .mobile-menu-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
  }

  .mobile-menu-info .lang-switcher ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .mobile-menu-info .contact-link,
  .mobile-menu-info .contact-location {
    font-size: 13px;
    justify-content: center;
  }
}

/* ================================
   Wakib Soft Background Shapes
================================ */

.wakib-section {
  position: relative !important;
  overflow: hidden !important;
  isolation: isolate;
}

.wakib-section > .container {
  position: relative;
  z-index: 2;
}

.wakib-shape {
  position: absolute !important;
  display: block !important;
  width: 760px !important;
  height: 760px !important;
  min-width: 760px !important;
  min-height: 760px !important;
  background: #eef8ff !important;
  border-radius: 50% !important;
  filter: blur(70px) !important;
  opacity: 1 !important;
  z-index: 1 !important;
  pointer-events: none !important;
}

.wkb-top-left {
  top: -380px !important;
  left: -380px !important;
}

.wkb-top-right {
  top: -380px !important;
  right: -380px !important;
}

.wkb-center-left {
  top: 50% !important;
  left: -380px !important;
  transform: translateY(-50%) !important;
}

.wkb-center-right {
  top: 50% !important;
  right: -380px !important;
  transform: translateY(-50%) !important;
}

.wkb-bottom-left {
  bottom: -380px !important;
  left: -380px !important;
}

.wkb-bottom-right {
  bottom: -380px !important;
  right: -380px !important;
}

.wkb-full-left {
  top: 50% !important;
  left: -520px !important;
  width: 1050px !important;
  height: 1050px !important;
  min-width: 1050px !important;
  min-height: 1050px !important;
  transform: translateY(-50%) !important;
}

.wkb-full-right {
  top: 50% !important;
  right: -520px !important;
  width: 1050px !important;
  height: 1050px !important;
  min-width: 1050px !important;
  min-height: 1050px !important;
  transform: translateY(-50%) !important;
}

.hero-video {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

.hero-loader-dot {
  width: 42px;
  height: 42px;
  border: 4px solid rgba(255, 255, 255, 0.35);
  border-top-color: white;
  border-radius: 50%;
  animation: heroLoaderSpin 0.8s linear infinite;
}

@keyframes heroLoaderSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ================================
   Front page video header only
================================ */

.front-video-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;

  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  box-shadow: none;
}

.front-video-header .header-container {
  position: relative;
  z-index: 51;
}

.front-video-header .main-navigation a,
.front-video-header .header-info,
.front-video-header .header-info a,
.front-video-header .header-info span,
.front-video-header .header-info i,
.front-video-header .lang-switcher a {
  color: var(--primary-blue);
}

/* زر الموبايل */
.front-video-header .menu-toggle {
  color: var(--primary-blue);
}
/* ================================
   Wakib Buttons - Gradient Hover
================================ */

.wakib-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  min-height: 44px;
  padding: 0 34px;

  border-radius: 9999px;
  font-weight: 700;
  font-size: 15px;
  line-height: 1;

  text-decoration: none;
  cursor: pointer;

  transition:
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease,
    transform 0.35s ease;
}

.wakib-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;

  background: linear-gradient(135deg, #002e94 0%, #22a5e0 100%);
  opacity: 0;

  transition:
    opacity 0.35s ease,
    transform 0.45s ease;

  transform: scaleX(0);
  transform-origin: right;
  border-radius: inherit;
}

html[dir="ltr"] .wakib-btn::before {
  transform-origin: left;
}

.wakib-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(34, 165, 224, 0.28);
}

.wakib-btn:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.wakib-btn i,
.wakib-btn svg {
  transition: transform 0.35s ease;
}

.wakib-btn:hover i,
.wakib-btn:hover svg {
  transform: translateX(-4px);
}

html[dir="ltr"] .wakib-btn:hover i,
html[dir="ltr"] .wakib-btn:hover svg {
  transform: translateX(4px);
}

/* الزر الأزرق الممتلئ */
.wakib-btn-primary {
  background: #002e94;
  color: #ffffff;
  border: 1px solid #002e94;
  box-shadow: 0 12px 28px rgba(0, 46, 148, 0.22);
}

.wakib-btn-primary:hover {
  color: #ffffff;
  border-color: #22a5e0;
}

/* الزر الأبيض بإطار أزرق */
.wakib-btn-outline {
  background: #ffffff;
  color: #002e94;
  border: 1px solid #002e94;
}

.wakib-btn-outline:hover {
  color: #ffffff;
  border-color: #22a5e0;
}

/* ================================
   Wakib Vector Background
================================ */

.wakib-vector-bg {
  position: relative;
  overflow: hidden;
}

.wakib-vector-bg::before {
  content: "";
  position: absolute;
  background-image: url("./images/Vector.png");
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  opacity: 1;
  pointer-events: none;
  z-index: 0;
}

.wakib-vector-bg > * {
  position: relative;
  z-index: 1;
}

.wakib-vector-bg::before {
  width: 420px;
  height: 280px;
}

/* positions */

.vector-top-right::before {
  top: 40px;
  right: 0;
}

.vector-top-left::before {
  top: 40px;
  left: 0;
}

.vector-center-right::before {
  top: 50%;
  right: 0;
  transform: translateY(-50%);
}

.vector-center-left::before {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
}

.vector-bottom-right::before {
  bottom: 40px;
  right: 0;
}

.vector-bottom-left::before {
  bottom: 40px;
  left: 0;
}

/* sizes */

.vector-small::before {
  width: 280px;
  height: 190px;
}

.vector-medium::before {
  width: 420px;
  height: 280px;
}

.vector-large::before {
  width: 560px;
  height: 370px;
}

.vector-xl::before {
  width: 720px;
  height: 480px;
}

/* opacity */

.vector-light::before {
  opacity: 0.25;
}

.vector-normal::before {
  opacity: 0.45;
}

.vector-visible::before {
  opacity: 0.75;
}

/* responsive */

@media (max-width: 768px) {
  .wakib-vector-bg::before {
    width: 300px;
    height: 200px;
  }
}

/* ================================
   Soft header for selected pages only
================================ */

.soft-page-header {
  position: relative;
  z-index: 50;
  background: linear-gradient(
    180deg,
    rgba(238, 248, 255, 1) 0%,
    rgba(238, 248, 255, 0.88) 65%,
    rgba(238, 248, 255, 0.45) 100%
  );
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: none;
}

.soft-page-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -32px;
  height: 32px;
  background: linear-gradient(
    180deg,
    rgba(238, 248, 255, 0.45),
    rgba(238, 248, 255, 0)
  );
  pointer-events: none;
}

.soft-page-header .main-navigation a,
.soft-page-header .header-info,
.soft-page-header .header-info a,
.soft-page-header .header-info span,
.soft-page-header .header-info i,
.soft-page-header .lang-switcher a,
.soft-page-header .menu-toggle {
  color: var(--primary-blue, #002e94);
}

/* ================================
   Plain page header
   هيدر أبيض بسيط
================================ */

/* ================================
   Plain page header with soft top glow
================================ */

.plain-page-header {
  position: relative;
  z-index: 50;
  overflow: visible;

  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.plain-page-header::before {
  content: "";
  position: absolute;

  top: -420px;
  right: -520px;

  width: 1050px;
  height: 1050px;

  background: #eef8ff;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 1;

  z-index: -1;
  pointer-events: none;
}

.plain-page-header::after {
  display: none;
}

.plain-page-header .header-container {
  position: relative;
  z-index: 2;
}

.plain-page-header .main-navigation a,
.plain-page-header .header-info,
.plain-page-header .header-info a,
.plain-page-header .header-info span,
.plain-page-header .header-info i,
.plain-page-header .lang-switcher a,
.plain-page-header .menu-toggle {
  color: var(--primary-blue, #002e94);
}

.course-card {
  box-shadow: 0 18px 45px rgba(0, 46, 148, 0.16) !important;
  border: 1px solid rgba(0, 46, 148, 0.08);
}

.course-card:hover {
  box-shadow: 0 26px 65px rgba(0, 46, 148, 0.24) !important;
}
