/* :root {
  --tib-primary: #062e63;
  --tib-secondary: #087fc1;
  --tib-orange: #ff7200;
  --tib-soft-orange: #fff1e6;
  --tib-text: #17243a;
  --tib-muted: #6b7280;
  --tib-background: #f5f8fc;
  --tib-white: #ffffff;
  --tib-success: #16865c;
} */

:root {
  --tib-primary: #062e63;
  --tib-secondary: #087fc1;

  --tib-accent: #0d6794;
  --tib-accent-dark: #0f5276;
  --tib-accent-light: #2da2d4;
  --tib-accent-soft: #e8f7f5;
  --tib-accent-rgb: 13, 148, 136;

  --tib-text: #17243a;
  --tib-muted: #6b7280;
  --tib-background: #f5f8fc;
  --tib-white: #ffffff;

  --tib-success: #16865c;
  --tib-warning: #f4a000;
  --tib-error: #d64545;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
}

html,
body {
  direction: rtl !important;
  font-family: "Cairo", "Tahoma", sans-serif !important;
  color: var(--tib-text);
  background-color: var(--tib-background);
  overflow-x: hidden;
}

body {
  margin: 0;
}

p,
a,
button,
input,
textarea,
select,
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: inherit;
}
















/* ==================================================
   TibRoots Navigation
================================================== */

.tibroots-header {
  top: 18px;
  height: auto !important;
  background: transparent !important;
  background-image: none !important;
}

.tibroots-header .tibroots-main-nav {
  position: relative;
  display: flex;
  min-height: 88px;
  padding: 0 22px;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(6, 46, 99, 0.07);
  border-radius: 18px;
  background-color: #ffffff;
  box-shadow: 0 12px 38px rgba(6, 46, 99, 0.09);
}

/* Logo */

.tibroots-header .tibroots-logo {
  display: flex !important;
  width: 215px;
  height: 76px;
  margin: 0 !important;
  padding: 7px 0;
  float: none !important;
  align-items: center;
  line-height: normal !important;
}

.tibroots-header .tibroots-logo img {
  width: 100% !important;
  max-width: 215px;
  max-height: 66px;
  object-fit: contain;
}

/* Main navigation */

.tibroots-header .tibroots-nav {
  display: flex;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  align-items: center;
  justify-content: flex-end;
  gap: 2px;
  direction: rtl;
}

.tibroots-header .tibroots-nav > li {
  position: relative;
  margin: 0;
  padding: 0 9px !important;
}

.tibroots-header .tibroots-nav > li > a {
  position: relative;
  display: flex !important;
  height: 88px !important;
  padding: 0 !important;
  align-items: center;
  justify-content: center;
  color: #17243a !important;
  font-family: "Cairo", sans-serif;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: normal !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap;
  opacity: 1 !important;
  transition: color 0.3s ease;
}

.tibroots-header .tibroots-nav > li > a:hover {
  color: #0d9488 !important;
}

/* Active link underline */

.tibroots-header .tibroots-nav > li.scroll-to-section > a::after {
  content: "";
  position: absolute;
  right: 50%;
  bottom: 20px;
  width: 0;
  height: 2px;
  border-radius: 5px;
  background-color: #0d9488;
  transform: translateX(50%);
  transition: width 0.3s ease;
}

.tibroots-header .tibroots-nav > li > a.active {
  color: #062e63 !important;
  font-weight: 700 !important;
}

.tibroots-header
  .tibroots-nav
  > li.scroll-to-section
  > a.active::after,
.tibroots-header
  .tibroots-nav
  > li.scroll-to-section
  > a:hover::after {
  width: 24px;
}
























.tibroots-header .tibroots-logout-form {
  width: 100%;
  margin: 0;
}

.tibroots-header .tibroots-logout-button {
  display: flex;
  width: 100%;
  min-height: 42px;
  padding: 10px 15px;
  align-items: center;
  gap: 8px;
  border: 0;
  background-color: transparent;
  color: #17243a;
  font-family: "Cairo", sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-align: right;
  cursor: pointer;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
}

.tibroots-header .tibroots-logout-button:hover {
  background-color: var(--tib-accent-soft, #e8f7f5);
  color: var(--tib-accent, #0d9488);
}










/* ==================================================
   Dropdown
================================================== */

.tibroots-header .tibroots-nav li.has-sub {
  padding-left: 22px !important;
  padding-right: 9px !important;
}

.tibroots-header .tibroots-nav li.has-sub::after {
  top: 37px !important;
  right: auto !important;
  left: 7px !important;
  color: #062e63 !important;
  font-size: 11px;
}

.tibroots-header
  .tibroots-nav
  li.has-sub
  ul.sub-menu {
  top: 72px !important;
  right: 0;
  left: auto;
  width: 210px !important;
  padding: 8px !important;
  overflow: visible !important;
  border: 1px solid rgba(6, 46, 99, 0.08);
  border-radius: 13px !important;
  background-color: #ffffff;
  box-shadow: 0 18px 40px rgba(6, 46, 99, 0.13) !important;
  direction: rtl;
}

.tibroots-header
  .tibroots-nav
  li.has-sub
  ul.sub-menu
  li {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.tibroots-header
  .tibroots-nav
  li.has-sub
  ul.sub-menu
  li
  a {
  display: flex !important;
  width: 100%;
  height: auto !important;
  min-height: 42px;
  padding: 9px 13px !important;
  align-items: center;
  border: 0 !important;
  border-radius: 8px;
  background-color: transparent !important;
  color: #17243a !important;
  font-family: "Cairo", sans-serif;
  font-size: 12px !important;
  font-weight: 600 !important;
  line-height: 1.6 !important;
  text-align: right;
  text-transform: none !important;
}

.tibroots-header
  .tibroots-nav
  li.has-sub
  ul.sub-menu
  li
  a:hover {
  padding-right: 17px !important;
  padding-left: 13px !important;
  background-color: #e8f7f5 !important;
  color: #0d9488 !important;
}
/* ==================================================
   Language
================================================== */

.tibroots-header .nav-language {
  margin-right: 4px !important;
  padding-right: 13px !important;
  border-right: 1px solid rgba(6, 46, 99, 0.12);
}

.tibroots-header .nav-language .language-link {
  width: 38px;
  height: 38px !important;
  padding: 0 !important;
  border-radius: 9px;
  background-color: #f5f8fc;
  color: #087fc1 !important;
  direction: ltr;
  font-family: "Open Sans", sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
}

.tibroots-header .nav-language .language-link:hover {
  background-color: #eaf5fb;
  color: #062e63 !important;
}

/* ==================================================
   Login Button
================================================== */

.tibroots-header .nav-login {
  padding: 0 5px !important;
}

.tibroots-header .nav-login > a {
  height: 42px !important;
  padding: 0 14px !important;
  gap: 7px;
  border: 1px solid #062e63;
  border-radius: 9px;
  background-color: #ffffff;
  color: #062e63 !important;
}

.tibroots-header .nav-login > a::after {
  display: none !important;
}

.tibroots-header .nav-login > a:hover {
  border-color: #062e63;
  background-color: #062e63;
  color: #ffffff !important;
}

/* ==================================================
   Main CTA
================================================== */

.tibroots-header .nav-start {
  padding: 0 0 0 4px !important;
}

.tibroots-header .nav-start > a {
  height: 42px !important;
  padding: 0 17px !important;
  border: 1px solid var(--tib-accent, #0d9488);
  border-radius: 9px;
  background-color: var(--tib-accent, #0d9488);
  color: #ffffff !important;
  font-weight: 700 !important;
  box-shadow: 0 8px 18px rgba(var(--tib-accent-rgb, 13, 148, 136), 0.18);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.tibroots-header .nav-start > a::after {
  display: none !important;
}

.tibroots-header .nav-start > a:hover {
  border-color: #062e63;
  background-color: #062e63;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(6, 46, 99, 0.2);
}

/* ==================================================
   Sticky Header
================================================== */

.tibroots-header.background-header {
  top: 0 !important;
  height: auto !important;
  padding: 9px 0;
  background: rgba(245, 248, 252, 0.94) !important;
  box-shadow: none !important;
  backdrop-filter: blur(12px);
}

.tibroots-header.background-header .tibroots-main-nav {
  min-height: 72px;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(6, 46, 99, 0.1);
}

.tibroots-header.background-header .tibroots-logo {
  height: 64px;
}

.tibroots-header.background-header .tibroots-logo img {
  max-height: 56px;
}

.tibroots-header.background-header
  .tibroots-nav
  > li
  > a {
  height: 72px !important;
}

.tibroots-header.background-header
  .tibroots-nav
  > li.scroll-to-section
  > a::after {
  bottom: 12px;
}

.tibroots-header.background-header
  .tibroots-nav
  li.has-sub::after {
  top: 29px !important;
}

.tibroots-header.background-header
  .tibroots-nav
  li.has-sub
  ul.sub-menu {
  top: 61px !important;
}

/* ==================================================
   Medium Desktop
================================================== */

@media (max-width: 1200px) {
  .tibroots-header .tibroots-main-nav {
    padding: 0 15px;
  }

  .tibroots-header .tibroots-logo {
    width: 185px;
  }

  .tibroots-header .tibroots-logo img {
    max-width: 185px;
  }

  .tibroots-header .tibroots-nav > li {
    padding: 0 5px !important;
  }

  .tibroots-header .tibroots-nav > li > a {
    font-size: 11px !important;
  }

  .tibroots-header .nav-login > a,
  .tibroots-header .nav-start > a {
    padding-right: 11px !important;
    padding-left: 11px !important;
  }
}
/* ==================================================
   Mobile Navigation
================================================== */

@media (max-width: 991px) {
  .tibroots-header {
    top: 10px;
  }

  .tibroots-header .container {
    max-width: calc(100% - 20px);
    padding: 0;
  }

  .tibroots-header .tibroots-main-nav {
    display: block;
    min-height: 74px;
    padding: 0 18px;
    border-radius: 14px;
  }

  .tibroots-header .tibroots-logo {
    width: 175px;
    height: 74px;
    padding: 8px 0;
  }

  .tibroots-header .tibroots-logo img {
    max-width: 175px;
    max-height: 58px;
  }

  .tibroots-header .menu-trigger {
    display: block !important;
    top: 18px !important;
    right: auto !important;
    left: 19px !important;
  }

  .tibroots-header .menu-trigger span,
  .tibroots-header .menu-trigger span::before,
  .tibroots-header .menu-trigger span::after {
    background-color: #062e63 !important;
  }

  .tibroots-header .menu-trigger.active span {
    background-color: transparent !important;
  }

  .tibroots-header .menu-trigger.active span::before,
  .tibroots-header .menu-trigger.active span::after {
    background-color: #062e63 !important;
  }

  .tibroots-header .tibroots-nav {
    position: absolute;
    top: 74px;
    right: 0;
    left: 0;
    display: none;
    width: 100%;
    max-height: calc(100vh - 105px);
    padding: 10px 13px 15px !important;
    overflow-y: auto;
    border: 1px solid rgba(6, 46, 99, 0.08);
    border-radius: 0 0 14px 14px;
    background-color: #ffffff;
    box-shadow: 0 18px 35px rgba(6, 46, 99, 0.12);
  }

  .tibroots-header .tibroots-nav > li {
    width: 100%;
    padding: 0 !important;
    border-bottom: 1px solid rgba(6, 46, 99, 0.06);
  }

  .tibroots-header .tibroots-nav > li:last-child {
    border-bottom: 0;
  }

  .tibroots-header .tibroots-nav > li > a {
    width: 100%;
    height: 49px !important;
    padding: 0 12px !important;
    justify-content: flex-start;
    color: #17243a !important;
    font-size: 13px !important;
    text-align: right;
  }

  .tibroots-header
    .tibroots-nav
    > li.scroll-to-section
    > a::after {
    display: none;
  }

  .tibroots-header .tibroots-nav > li > a.active {
    border-radius: 8px;
    background-color: var(--tib-accent-soft, #e8f7f5);
    color: var(--tib-accent, #0d9488) !important;
  }

  /* Mobile dropdown */

  .tibroots-header .tibroots-nav li.has-sub {
    padding: 0 !important;
  }

  .tibroots-header .tibroots-nav li.has-sub::after {
    top: 17px !important;
    right: auto !important;
    left: 18px !important;
    color: #062e63 !important;
  }

  .tibroots-header
    .tibroots-nav
    li.has-sub
    ul.sub-menu {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 5px 14px 10px !important;
    border: 0;
    border-radius: 0 !important;
    background-color: #f5f8fc;
    box-shadow: none !important;
    transform: none !important;
  }

  .tibroots-header
    .tibroots-nav
    li.has-sub
    ul.sub-menu
    li
    a {
    min-height: 41px;
    padding-right: 20px !important;
  }

  /* Mobile action buttons */

  .tibroots-header .nav-language {
    margin: 7px 0 0 !important;
    padding: 0 !important;
    border: 0;
  }

  .tibroots-header .nav-language .language-link {
    width: 100%;
    height: 43px !important;
    justify-content: center;
  }

  .tibroots-header .nav-login,
  .tibroots-header .nav-start {
    margin-top: 8px;
    padding: 0 !important;
    border: 0;
  }

  .tibroots-header .nav-login > a,
  .tibroots-header .nav-start > a {
    width: 100%;
    height: 45px !important;
    justify-content: center;
  }

  .tibroots-header.background-header {
    padding: 7px 0;
  }

  .tibroots-header.background-header
    .tibroots-main-nav {
    min-height: 70px;
  }

  .tibroots-header.background-header
    .tibroots-logo {
    height: 70px;
  }

  .tibroots-header.background-header
    .menu-trigger {
    top: 16px !important;
  }

  .tibroots-header.background-header
    .tibroots-nav {
    top: 70px;
  }
}

@media (max-width: 480px) {
  .tibroots-header .tibroots-logo {
    width: 150px;
  }

  .tibroots-header .tibroots-logo img {
    max-width: 150px;
  }
}

/* ==================================================
   TibRoots — EduWell Conflict Fixes
================================================== */

/* إلغاء المسافة العامة التي يضيفها القالب لكل section */

section.tibroots-banner,
section.tibroots-services {
  margin-top: 0 !important;
}

/* إزالة زخارف وصورة خلفية البانر الأصلية */

.tibroots-banner .header-text::after,
.tibroots-banner .right-image::after {
  display: none !important;
  content: none !important;
}

/* إلغاء إزاحة الصورة الأصلية */

.tibroots-banner .right-image {
  margin: 0 !important;
  padding: 0 !important;
  text-align: center;
}

/* التأكد من تطبيق ألوان TibRoots */

.tibroots-banner .header-text h6 {
  color: var(--tib-accent, #0d9488) !important;
  text-transform: none !important;
}

.tibroots-banner .header-text h2 {
  color: var(--tib-primary, #062e63) !important;
}

.tibroots-banner .header-text h2 em {
  color: var(--tib-accent, #0d9488) !important;
}

/* إلغاء التدرج البنفسجي للقالب */

.tibroots-banner .main-button-gradient a {
  background: var(--tib-accent, #0d9488) !important;
  color: var(--tib-white, #ffffff) !important;
  text-transform: none !important;
  box-shadow: 0 10px 24px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.2);
}

.tibroots-banner .main-button-gradient a:hover {
  background: var(--tib-primary, #062e63) !important;
  color: var(--tib-white, #ffffff) !important;
  opacity: 1 !important;
}

/* إصلاح عنوان قسم المميزات */

.tibroots-services .tibroots-section-heading {
  padding-top: 0 !important;
  margin-top: 0 !important;
  margin-bottom: 48px !important;
}

.tibroots-services .tibroots-section-heading h6 {
  color: var(--tib-accent, #0d9488) !important;
  text-transform: none !important;
}

.tibroots-services .tibroots-section-heading h4 {
  color: var(--tib-primary, #062e63) !important;
}

.tibroots-services .tibroots-section-heading h4 em {
  color: var(--tib-accent, #0d9488) !important;
}

/* القالب يضيف padding وmargin إلى .services .item */

.tibroots-services .tibroots-services-carousel .item {
  margin: 0 !important;
  padding: 10px 8px 25px !important;
  border-radius: 0 !important;
  text-align: initial !important;
}

/* التأكد من ظهور البطاقة */

.tibroots-services .tibroots-service-card {
  display: block !important;
  min-height: 330px;
  padding: 32px 25px 27px !important;
  border: 1px solid rgba(6, 46, 99, 0.08) !important;
  border-radius: 18px !important;
  background: #ffffff !important;
  text-align: right !important;
  box-shadow: 0 12px 35px rgba(6, 46, 99, 0.07) !important;
}

/* إصلاح الأيقونات */

.tibroots-services .tibroots-service-card .icon {
  display: flex !important;
  width: 72px !important;
  height: 72px !important;
  min-height: 72px !important;
  margin: 0 0 23px auto !important;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background-color: var(--tib-background, #f5f8fc);
  color: var(--tib-primary, #062e63);
  line-height: normal !important;
}

.tibroots-services .tibroots-service-card:hover .icon {
  background-color: var(--tib-accent-soft, #e8f7f5) !important;
  color: var(--tib-accent, #0d9488) !important;
}

.tibroots-services .tibroots-service-card .icon i {
  font-size: 31px;
}

/* إلغاء تنسيقات النص القديمة */

.tibroots-services .tibroots-service-card h4 {
  margin: 0 0 13px !important;
  color: var(--tib-primary, #062e63) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  text-align: right !important;
}

.tibroots-services .tibroots-service-card p {
  margin: 0 0 20px !important;
  color: var(--tib-muted, #6b7280) !important;
  font-size: 14px;
  line-height: 1.9;
  text-align: right !important;
}





















/* ==================================================
   TibRoots Courses Section
================================================== */

section.tibroots-courses {
  position: relative;
  margin-top: 0 !important;
  padding: 95px 0 105px !important;
  overflow: hidden;
  background-color: #f5f8fc !important;
}

.tibroots-courses::before {
  content: "";
  position: absolute;
  top: 110px;
  left: -170px;
  width: 370px;
  height: 370px;
  border-radius: 50%;
  background-color: rgba(8, 127, 193, 0.05);
  pointer-events: none;
}

.tibroots-courses::after {
  content: "";
  position: absolute;
  right: -130px;
  bottom: -170px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background-color:
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.05);
  pointer-events: none;
}

/* Main Tabs Container */

.tibroots-courses .tibroots-course-tabs {
  position: relative;
  z-index: 2;
  padding: 24px;
  border: 1px solid rgba(6, 46, 99, 0.08);
  border-radius: 24px;
  background-color: #ffffff;
  box-shadow: 0 20px 55px rgba(6, 46, 99, 0.08);
}

/* ==================================================
   Stage Menu
================================================== */

.tibroots-courses .tibroots-stage-menu {
  display: flex;
  height: 100%;
  flex-direction: column;
  gap: 13px;
}

.tibroots-courses .tibroots-stage-menu > div {
  position: relative;
  min-height: 86px;
  margin: 0 !important;
  padding: 16px !important;
  overflow: hidden;
  border: 1px solid rgba(6, 46, 99, 0.09) !important;
  border-radius: 14px !important;
  background: #f5f8fc !important;
  color: #17243a !important;
  cursor: pointer;
  text-align: right !important;
  box-shadow: none !important;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.tibroots-courses .tibroots-stage-menu > div::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 4px;
  height: 0;
  border-radius: 0 10px 10px 0;
  background-color: var(--tib-accent, #0d9488);
  transition: height 0.3s ease;
}

.tibroots-courses .tibroots-stage-menu > div:hover {
  border-color: rgba(8, 127, 193, 0.22) !important;
  background-color: #ffffff !important;
  transform: translateX(-3px);
}

.tibroots-courses .tibroots-stage-menu > div.active {
  border-color:
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.22)
    !important;

  background:
    var(--tib-accent-soft, #e8f7f5)
    !important;

  color: #062e63 !important;

  box-shadow:
    0 10px 25px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.09)
    !important;
}

.tibroots-courses
  .tibroots-stage-menu
  > div.active::before {
  height: 100%;
}

.tibroots-courses .stage-menu-content {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 13px;
}

.tibroots-courses .stage-icon {
  display: flex;
  width: 47px;
  height: 47px;
  flex: 0 0 47px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background-color: #ffffff;
  color: #087fc1;
  font-size: 19px;
  box-shadow: 0 5px 15px rgba(6, 46, 99, 0.06);
  transition: all 0.3s ease;
}

.tibroots-courses
  .tibroots-stage-menu
  > div.active
  .stage-icon {
  background-color: var(--tib-accent, #0d9488);
  color: #ffffff;
}

.tibroots-courses .stage-text {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 3px;
}

.tibroots-courses .stage-text strong {
  color: #062e63;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

.tibroots-courses .stage-text small {
  color: #6b7280;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
}

/* Remove original gradient border */

.tibroots-courses .gradient-border::after,
.tibroots-courses .gradient-border::before {
  display: none !important;
  content: none !important;
}
/* ==================================================
   Course Content
================================================== */

.tibroots-courses ul.tibroots-course-content {
  min-height: 420px;
  margin: 0 !important;
  padding: 0 !important;
}

.tibroots-courses ul.tibroots-course-content > li {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tibroots-courses .tibroots-featured-course {
  display: flex !important;
  width: 100%;
  min-height: 420px;
  direction: ltr;
  overflow: hidden;
  border: 1px solid rgba(6, 46, 99, 0.07);
  border-radius: 18px;
  background-color: #ffffff;
}

/* Course Image */

.tibroots-courses .course-cover {
  position: relative;
  width: 39% !important;
  min-height: 420px;
  margin: 0 !important;
  float: none !important;
  flex: 0 0 39%;
  overflow: hidden;
}

.tibroots-courses .course-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(6, 46, 99, 0.03) 25%,
      rgba(6, 46, 99, 0.55) 100%
    );
  pointer-events: none;
}

.tibroots-courses .course-cover img {
  width: 100% !important;
  height: 100% !important;
  min-height: 420px;
  border-radius: 0 !important;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.tibroots-courses
  .tibroots-featured-course:hover
  .course-cover img {
  transform: scale(1.05);
}

.tibroots-courses .course-stage {
  position: absolute;
  bottom: 22px;
  left: 20px;
  z-index: 3;
  display: inline-flex;
  min-height: 38px;
  padding: 7px 14px;
  align-items: center;
  gap: 7px;
  border-radius: 30px;
  background-color: var(--tib-accent, #0d9488);
  color: #ffffff;
  direction: rtl;
  font-size: 12px;
  font-weight: 700;
  box-shadow:
    0 8px 20px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.25);
}

/* Course Information */

.tibroots-courses .course-information {
  width: 61% !important;
  padding: 32px 34px !important;
  float: none !important;
  flex: 1;
  direction: rtl;
  text-align: right !important;
}
  /* margin: 0 !important; */

.tibroots-courses .course-topline {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.tibroots-courses .course-code {
  display: inline-flex;
  min-height: 31px;
  padding: 5px 12px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background-color: #eaf5fb;
  color: #087fc1;
  direction: ltr;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.tibroots-courses .course-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #16865c;
  font-size: 12px;
  font-weight: 700;
}

.tibroots-courses .course-status i {
  font-size: 8px;
}

.tibroots-courses .course-information h4 {
  margin: 0 0 15px !important;
  color: #062e63 !important;
  font-size: 27px !important;
  font-weight: 800 !important;
  line-height: 1.5 !important;
  text-align: right !important;
}

.tibroots-courses .course-information p {
  min-height: 92px;
  margin: 0 0 22px !important;
  color: #6b7280 !important;
  font-size: 14px !important;
  line-height: 1.95 !important;
  text-align: right !important;
}

/* Course Metadata */

.tibroots-courses .course-meta {
  display: flex;
  margin-bottom: 25px;
  padding: 16px 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  border-top: 1px solid rgba(6, 46, 99, 0.07);
  border-bottom: 1px solid rgba(6, 46, 99, 0.07);
}

.tibroots-courses .course-meta span {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 7px 11px !important;
  align-items: center;
  gap: 7px;
  border: 0 !important;
  border-radius: 8px;
  background-color: #f5f8fc;
  color: #17243a !important;
  font-size: 12px !important;
  font-weight: 600;
}

.tibroots-courses .course-meta span i {
  color: #087fc1;
  font-size: 14px;
}

/* Course Footer */

.tibroots-courses .course-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.tibroots-courses .course-instructor {
  display: flex;
  align-items: center;
  gap: 11px;
}

.tibroots-courses .instructor-avatar {
  display: flex;
  width: 45px;
  height: 45px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--tib-accent-soft, #e8f7f5);
  color: var(--tib-accent, #0d9488);
  font-size: 18px;
}

.tibroots-courses
  .course-instructor
  > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tibroots-courses .course-instructor small {
  color: #6b7280;
  font-size: 10px;
}

.tibroots-courses .course-instructor strong {
  color: #062e63;
  font-size: 13px;
  font-weight: 700;
}

.tibroots-courses .course-button a {
  display: inline-flex;
  min-height: 45px;
  padding: 8px 18px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--tib-accent, #0d9488);
  border-radius: 9px;
  background-color: var(--tib-accent, #0d9488);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow:
    0 8px 18px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.16);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.tibroots-courses .course-button a:hover {
  border-color: #062e63;
  background-color: #062e63;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(6, 46, 99, 0.15);
}

/* Browse All Courses */

.tibroots-courses .all-courses-action {
  margin-top: 35px;
  text-align: center;
}

.tibroots-courses .all-courses-action a {
  display: inline-flex;
  min-height: 48px;
  padding: 9px 22px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #062e63;
  border-radius: 9px;
  background-color: transparent;
  color: #062e63;
  font-size: 14px;
  font-weight: 700;
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.tibroots-courses .all-courses-action a:hover {
  border-color: var(--tib-accent, #0d9488);
  background-color: var(--tib-accent, #0d9488);
  color: #ffffff;
  transform: translateY(-2px);
}

/* ==================================================
   Tablet
================================================== */

@media (max-width: 991px) {
  section.tibroots-courses {
    padding: 75px 0 85px !important;
  }

  .tibroots-courses .tibroots-stage-menu {
    margin-bottom: 25px;
  }

  .tibroots-courses .tibroots-stage-menu {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .tibroots-courses .tibroots-featured-course {
    min-height: auto;
  }

  .tibroots-courses .course-cover,
  .tibroots-courses .course-cover img {
    min-height: 390px;
  }
}

/* ==================================================
   Mobile
================================================== */

@media (max-width: 767px) {
  section.tibroots-courses {
    padding: 60px 0 70px !important;
  }

  .tibroots-courses .tibroots-course-tabs {
    padding: 14px;
    border-radius: 17px;
  }

  .tibroots-courses .tibroots-stage-menu {
    display: flex;
    flex-direction: column;
  }

  .tibroots-courses .tibroots-stage-menu > div {
    min-height: 76px;
  }

  .tibroots-courses .tibroots-featured-course {
    flex-direction: column;
    direction: rtl;
  }

  .tibroots-courses .course-cover {
    width: 100% !important;
    min-height: 250px;
    flex: none;
  }

  .tibroots-courses .course-cover img {
    min-height: 250px;
    max-height: 280px;
  }

  .tibroots-courses .course-information {
    width: 100% !important;
    padding: 25px 20px !important;
  }

  .tibroots-courses .course-information h4 {
    font-size: 23px !important;
  }

  .tibroots-courses .course-information p {
    min-height: auto;
  }

  .tibroots-courses .course-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .tibroots-courses .course-button a {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .tibroots-courses .course-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .tibroots-courses .course-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .tibroots-courses .course-meta span {
    width: 100%;
  }
}























/* Keep EduWell CTA design, change TibRoots colors only  simple cta*/

/* .simple-cta {
  background:
    linear-gradient(
      135deg,
      rgba(6, 46, 99, 0.94) 0%,
      rgba(8, 127, 193, 0.9) 55%,
      rgba(255, 114, 0, 0.86) 100%
    ),
    url("../images/cta-bg.png") center center / cover no-repeat !important;
} */

/* ==================================================
   Original Simple CTA — Teal Theme
================================================== */

.simple-cta h6,
.simple-cta h4,
.simple-cta p {
  font-family: "Cairo", sans-serif;
  text-transform: none !important;
}

.simple-cta h6 {
  color: var(--tib-accent-light, #99f6e4) !important;
}

.simple-cta h4 {
  color: #ffffff !important;
}

.simple-cta p {
  color: rgba(255, 255, 255, 0.85) !important;
}

.simple-cta .white-button a {
  color: #062e63 !important;
  background-color: #ffffff !important;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
  text-transform: none !important;
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.simple-cta .white-button a:hover {
  color: #ffffff !important;
  background-color: var(--tib-accent, #0d9488) !important;
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.24);
}

/* ==================================================
   TibRoots CTA Section
================================================== */

section.tibroots-cta {
  position: relative;
  margin-top: 0 !important;
  padding: 90px 0 !important;
  overflow: hidden;
  background-color: #ffffff !important;
}

.tibroots-cta .tibroots-cta-wrapper {
  position: relative;
  overflow: hidden;
  padding: 65px 70px;
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 8% 15%,
      rgba(var(--tib-accent-rgb, 13, 148, 136), 0.18),
      transparent 34%
    ),
    linear-gradient(
      135deg,
      #062e63 0%,
      #073d79 54%,
      #087fc1 100%
    );
  box-shadow: 0 25px 65px rgba(6, 46, 99, 0.18);
}

.tibroots-cta .tibroots-cta-wrapper::before {
  content: "";
  position: absolute;
  top: -160px;
  right: -110px;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 50%;
}

.tibroots-cta .tibroots-cta-wrapper::after {
  content: "";
  position: absolute;
  right: 80px;
  bottom: -220px;
  width: 440px;
  height: 440px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 50%;
}

/* ==================================================
   CTA Content
================================================== */

.tibroots-cta .tibroots-cta-content {
  position: relative;
  z-index: 3;
  text-align: right;
}

.tibroots-cta .cta-label {
  display: inline-flex;
  min-height: 37px;
  margin-bottom: 18px;
  padding: 7px 14px;
  align-items: center;
  gap: 8px;
  border:
    1px solid
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.3);
  border-radius: 30px;
  background-color:
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.13);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(7px);
}

.tibroots-cta .cta-label i {
  color: var(--tib-accent-light, #99f6e4);
}

.tibroots-cta .tibroots-cta-content h4 {
  max-width: 590px;
  margin: 0 0 20px !important;
  color: #ffffff !important;
  font-size: 39px !important;
  font-weight: 800 !important;
  line-height: 1.55 !important;
  text-align: right !important;
}

.tibroots-cta .tibroots-cta-content h4 em {
  display: inline;
  color: var(--tib-accent-light, #2dd4bf) !important;
  font-style: normal;
}

.tibroots-cta .tibroots-cta-content > p {
  max-width: 610px;
  margin: 0 0 25px !important;
  color: rgba(255, 255, 255, 0.78) !important;
  font-size: 15px !important;
  line-height: 2 !important;
  text-align: right !important;
}

/* ==================================================
   CTA Features
================================================== */

.tibroots-cta .cta-features {
  display: flex;
  margin-bottom: 30px;
  flex-direction: column;
  gap: 11px;
}

.tibroots-cta .cta-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.tibroots-cta .cta-feature i {
  color: #77deb8;
  font-size: 16px;
}

/* ==================================================
   CTA Buttons
================================================== */

.tibroots-cta .cta-actions {
  display: flex;
  margin-bottom: 24px;
  align-items: center;
  flex-wrap: wrap;
  gap: 13px;
}

.tibroots-cta .cta-primary-button,
.tibroots-cta .cta-secondary-button {
  display: inline-flex;
  min-height: 51px;
  padding: 10px 23px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  transition:
    transform 0.3s ease,
    background-color 0.3s ease,
    border-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease;
}

.tibroots-cta .cta-primary-button {
  border: 1px solid var(--tib-accent, #0d9488);
  background-color: var(--tib-accent, #0d9488);
  color: #ffffff !important;
  box-shadow:
    0 12px 25px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.24);
}

.tibroots-cta .cta-primary-button:hover {
  border-color: #ffffff;
  background-color: #ffffff;
  color: #062e63 !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(6, 46, 99, 0.18);
}

.tibroots-cta .cta-secondary-button {
  border: 1px solid rgba(255, 255, 255, 0.45);
  background-color: rgba(255, 255, 255, 0.06);
  color: #ffffff !important;
}

.tibroots-cta .cta-secondary-button:hover {
  border-color: var(--tib-accent-light, #99f6e4);
  background-color:
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.18);
  color: #ffffff !important;
  transform: translateY(-3px);
}

/* Support Link */

.tibroots-cta .cta-help {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
}

.tibroots-cta .cta-help i {
  color: var(--tib-accent-light, #99f6e4);
}

.tibroots-cta .cta-help a {
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  transition: color 0.3s ease;
}

.tibroots-cta .cta-help a:hover {
  color: var(--tib-accent-light, #99f6e4) !important;
}

/* ==================================================
   CTA Image
================================================== */

.tibroots-cta .tibroots-cta-image {
  position: relative;
  z-index: 3;
  min-height: 430px;
  margin: 0 !important;
  padding: 25px !important;
  text-align: center;
}

.tibroots-cta .cta-image-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 390px;
  height: 390px;
  border-radius: 50%;
  background:
    linear-gradient(
      145deg,
      rgba(var(--tib-accent-rgb, 13, 148, 136), 0.2),
      rgba(255, 255, 255, 0.04)
    );
  transform: translate(-50%, -50%);
}

.tibroots-cta .cta-image-circle::before {
  content: "";
  position: absolute;
  inset: 28px;
  border:
    1px solid
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.22);
  border-radius: 50%;
}

.tibroots-cta .tibroots-cta-image > img {
  position: relative;
  z-index: 2;
  width: 100% !important;
  max-width: 430px;
  height: 400px;
  margin: 0 auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(0, 0, 0, 0.2));
}

/* ==================================================
   Floating Cards
================================================== */

.tibroots-cta .cta-floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  min-width: 205px;
  padding: 13px 15px;
  align-items: center;
  gap: 11px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  background-color: rgba(255, 255, 255, 0.92);
  direction: rtl;
  text-align: right;
  box-shadow: 0 15px 35px rgba(6, 46, 99, 0.17);
  backdrop-filter: blur(10px);
}

.tibroots-cta .cta-floating-card-top {
  top: 55px;
  right: 0;
}

.tibroots-cta .cta-floating-card-bottom {
  bottom: 45px;
  left: 0;
}

.tibroots-cta .floating-icon {
  display: flex;
  width: 43px;
  height: 43px;
  flex: 0 0 43px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background-color: var(--tib-accent-soft, #e8f7f5);
  color: var(--tib-accent, #0d9488);
  font-size: 18px;
}

.tibroots-cta .floating-icon.success-icon {
  background-color: rgba(22, 134, 92, 0.11);
  color: #16865c;
}

.tibroots-cta .cta-floating-card > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tibroots-cta .cta-floating-card strong {
  color: #062e63;
  font-size: 12px;
  font-weight: 800;
}

.tibroots-cta .cta-floating-card small {
  color: #6b7280;
  font-size: 10px;
}

/* ==================================================
   Remove Original Template Styles
================================================== */

.tibroots-cta.simple-cta {
  background-image: none !important;
}

.tibroots-cta.simple-cta::before,
.tibroots-cta.simple-cta::after {
  display: none !important;
  content: none !important;
}

.tibroots-cta.simple-cta h6,
.tibroots-cta.simple-cta h4,
.tibroots-cta.simple-cta p {
  text-transform: none !important;
}

/* ==================================================
   Tablet
================================================== */

@media (max-width: 991px) {
  section.tibroots-cta {
    padding: 75px 0 !important;
  }

  .tibroots-cta .tibroots-cta-wrapper {
    padding: 50px 42px;
  }

  .tibroots-cta .tibroots-cta-image {
    min-height: 360px;
    margin-bottom: 35px !important;
  }

  .tibroots-cta .tibroots-cta-image > img {
    height: 340px;
  }

  .tibroots-cta .tibroots-cta-content {
    text-align: center;
  }

  .tibroots-cta .tibroots-cta-content h4,
  .tibroots-cta .tibroots-cta-content > p {
    margin-right: auto !important;
    margin-left: auto !important;
    text-align: center !important;
  }

  .tibroots-cta .cta-features {
    display: inline-flex;
    align-items: flex-start;
    text-align: right;
  }

  .tibroots-cta .cta-actions,
  .tibroots-cta .cta-help {
    justify-content: center;
  }
}

/* ==================================================
   Mobile
================================================== */

@media (max-width: 767px) {
  section.tibroots-cta {
    padding: 60px 0 !important;
  }

  .tibroots-cta .tibroots-cta-wrapper {
    padding: 38px 22px;
    border-radius: 20px;
  }

  .tibroots-cta .tibroots-cta-content h4 {
    font-size: 28px !important;
  }

  .tibroots-cta .tibroots-cta-content > p {
    font-size: 14px !important;
  }

  .tibroots-cta .tibroots-cta-image {
    min-height: 300px;
    padding: 10px !important;
  }

  .tibroots-cta .tibroots-cta-image > img {
    height: 280px;
  }

  .tibroots-cta .cta-image-circle {
    width: 275px;
    height: 275px;
  }

  .tibroots-cta .cta-floating-card {
    min-width: 175px;
    padding: 10px 12px;
  }

  .tibroots-cta .cta-floating-card-top {
    top: 20px;
    right: -10px;
  }

  .tibroots-cta .cta-floating-card-bottom {
    bottom: 15px;
    left: -10px;
  }

  .tibroots-cta .cta-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .tibroots-cta .cta-primary-button,
  .tibroots-cta .cta-secondary-button {
    width: 100%;
  }

  .tibroots-cta .cta-help {
    align-items: flex-start;
    line-height: 1.8;
    text-align: right;
  }
}

@media (max-width: 480px) {
  .tibroots-cta .cta-floating-card {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    width: 100%;
    min-width: 0;
    margin-top: 10px;
  }

  .tibroots-cta .tibroots-cta-image {
    min-height: auto;
  }

  .tibroots-cta .tibroots-cta-image > img {
    height: 240px;
  }
}

/* ==================================================
   TibRoots Contact — Keep Original Template Design
================================================== */

/*
  نحافظ على ترتيب الخريطة والنموذج كما هو في القالب،
  مع إعادة اتجاه المحتوى الداخلي إلى العربية.
*/

.tibroots-contact-layout {
  direction: ltr;
}

.tibroots-contact-layout > [class*="col-"] {
  direction: ltr;
}

/* Arabic Typography */

.contact-us,
.contact-us input,
.contact-us textarea,
.contact-us button {
  font-family: "Cairo", sans-serif !important;
}

.contact-us .section-heading h6,
.contact-us .section-heading h4,
.contact-us .section-heading p {
  text-transform: none !important;
}

.contact-us .section-heading h6 {
  color: var(--tib-accent, #0d9488) !important;
}

.contact-us .section-heading h4 {
  color: var(--tib-primary, #062e63) !important;
}

.contact-us .section-heading h4 em {
  color: var(--tib-accent, #0d9488) !important;
  font-style: normal;
}

/* ==================================================
   Form Fields
================================================== */

.contact-us #contact input,
.contact-us #contact textarea {
  direction: rtl;
  text-align: right;
}

.contact-us #contact input::placeholder,
.contact-us #contact textarea::placeholder {
  color: var(--tib-muted, #6b7280);
  opacity: 0.8;
}

.contact-us #contact input:focus,
.contact-us #contact textarea:focus {
  border-color: var(--tib-accent, #0d9488) !important;
  outline: none;
  box-shadow:
    0 0 0 3px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.1);
}

/* ==================================================
   Contact Cards
================================================== */

.contact-us .contact-info .icon {
  background:
    linear-gradient(
      145deg,
      var(--tib-accent, #0d9488) 0%,
      var(--tib-accent-dark, #0f766e) 100%
    ) !important;
  color: #ffffff !important;
}

.contact-us .contact-info .icon i {
  color: #ffffff !important;
}

.contact-us .contact-info h4 {
  color: var(--tib-primary, #062e63) !important;
  font-family: "Cairo", sans-serif;
  font-weight: 700;
}

.contact-us .contact-info span a {
  color: var(--tib-accent, #0d9488) !important;
  font-size: inherit;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 0.3s ease;
}

.contact-us .contact-info span a:hover {
  color: var(--tib-primary, #062e63) !important;
}

/* ==================================================
   Demo Form Note
================================================== */

.contact-us .contact-form-note {
  display: flex;
  margin: 14px 4px 0;
  align-items: flex-start;
  gap: 7px;
  color: var(--tib-muted, #6b7280);
  font-size: 11px;
  line-height: 1.8;
  text-align: right;
}

.contact-us .contact-form-note i {
  margin-top: 4px;
  color: var(--tib-accent, #0d9488);
}

/* ==================================================
   Submit Button
================================================== */

.contact-us #form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--tib-accent, #0d9488) !important;
  background:
    var(--tib-accent, #0d9488)
    !important;
  color: #ffffff !important;
  text-transform: none !important;
  box-shadow:
    0 10px 24px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.2);
  transition:
    background-color 0.3s ease,
    border-color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.contact-us #form-submit:hover {
  border-color: var(--tib-primary, #062e63) !important;
  background:
    var(--tib-primary, #062e63)
    !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(6, 46, 99, 0.2);
}

/* ==================================================
   Social Icons
================================================== */

.contact-us .social-icons li a {
  border-color:
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.28)
    !important;

  background-color:
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.1)
    !important;

  color: var(--tib-accent, #0d9488) !important;
}

.contact-us .social-icons li a i {
  color: inherit !important;
}

.contact-us .social-icons li a:hover {
  border-color: var(--tib-accent, #0d9488) !important;
  background-color: var(--tib-accent, #0d9488) !important;
  color: #ffffff !important;
}

/* ==================================================
   Footer
================================================== */

.contact-us .copyright {
  direction: rtl;
  font-family: "Cairo", sans-serif;
  line-height: 2;
}

.contact-us .copyright strong {
  color: #ffffff;
}

.contact-us .copyright a {
  color: var(--tib-accent-light, #99f6e4) !important;
  font-weight: 600;
  transition: color 0.3s ease;
}

.contact-us .copyright a:hover {
  color: #ffffff !important;
}

.contact-us .footer-divider {
  display: inline-block;
  margin: 0 7px;
  opacity: 0.55;
}

/* ==================================================
   Contact Responsive
================================================== */

@media (max-width: 991px) {
  .tibroots-contact-layout {
    direction: rtl;
  }

  .contact-us #map {
    margin-bottom: 45px;
  }
}

@media (max-width: 575px) {
  .contact-us .contact-info {
    margin-bottom: 15px;
  }

  .contact-us .footer-divider {
    display: none;
  }

  .contact-us .copyright a {
    display: block;
  }
}






















/* ==================================================
   TibRoots Familiar Courses Grid
================================================== */

section.tibroots-course-grid-section {
  position: relative;
  margin-top: 0 !important;
  padding: 95px 0 105px !important;
  overflow: hidden;
  background-color: #ffffff;
}

.tibroots-course-grid-section::before {
  content: "";
  position: absolute;
  top: 120px;
  right: -170px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background-color: rgba(8, 127, 193, 0.045);
  pointer-events: none;
}

/* ==================================================
   Filters
================================================== */

.tibroots-course-filters {
  position: relative;
  z-index: 2;
  display: flex;
  margin: -12px 0 40px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.course-filter-button {
  min-height: 43px;
  padding: 8px 18px;
  border: 1px solid rgba(6, 46, 99, 0.12);
  border-radius: 30px;
  background-color: #ffffff;
  color: #17243a;
  font-family: "Cairo", sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}

.course-filter-button:hover {
  border-color: #087fc1;
  color: #087fc1;
  transform: translateY(-1px);
}

.course-filter-button.active {
  border-color: #062e63;
  background-color: #062e63;
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(6, 46, 99, 0.14);
}

/* ==================================================
   Grid
================================================== */

.tibroots-course-grid {
  position: relative;
  z-index: 2;
}

.course-grid-item {
  display: flex;
  margin-bottom: 28px;
}

/* ==================================================
   Course Card
================================================== */

.tibroots-course-card {
  display: flex;
  width: 100%;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(6, 46, 99, 0.08);
  border-radius: 18px;
  background-color: #ffffff;
  box-shadow: 0 12px 32px rgba(6, 46, 99, 0.07);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.tibroots-course-card:hover {
  border-color:
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.25);

  transform: translateY(-7px);
  box-shadow: 0 22px 45px rgba(6, 46, 99, 0.13);
}

/* ==================================================
   Course Image
================================================== */

.course-card-image {
  position: relative;
  display: block;
  height: 215px;
  overflow: hidden;
  background-color: #eaf1f8;
}

.course-card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      transparent 45%,
      rgba(6, 46, 99, 0.34) 100%
    );
  pointer-events: none;
}

.course-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tibroots-course-card:hover .course-card-image img {
  transform: scale(1.06);
}

.course-card-stage,
.course-card-format {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  min-height: 31px;
  padding: 5px 11px;
  align-items: center;
  gap: 6px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 700;
}

.course-card-stage {
  top: 15px;
  right: 15px;
  background-color: var(--tib-accent, #0d9488);
  color: #ffffff;
  box-shadow:
    0 7px 18px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.24);
}

.course-card-format {
  right: 15px;
  bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background-color: rgba(255, 255, 255, 0.92);
  color: #062e63;
  backdrop-filter: blur(7px);
}

/* ==================================================
   Card Content
================================================== */

.course-card-content {
  display: flex;
  padding: 23px;
  flex: 1;
  flex-direction: column;
  text-align: right;
}

.course-card-category {
  display: flex;
  margin-bottom: 12px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.course-card-category > span:first-child {
  color: #087fc1;
  font-size: 11px;
  font-weight: 700;
}

.course-card-code {
  display: inline-flex;
  padding: 4px 8px;
  border-radius: 6px;
  background-color: #f5f8fc;
  color: #6b7280;
  direction: ltr;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.course-card-content h3 {
  margin: 0 0 11px !important;
  font-size: 20px !important;
  line-height: 1.6 !important;
}

.course-card-content h3 a {
  color: #062e63;
  font-weight: 800;
  transition: color 0.3s ease;
}

.course-card-content h3 a:hover {
  color: var(--tib-accent, #0d9488);
}

.course-card-content > p {
  min-height: 78px;
  margin: 0 0 18px !important;
  color: #6b7280 !important;
  font-size: 13px !important;
  line-height: 1.9 !important;
  text-align: right !important;
}

/* ==================================================
   Instructor
================================================== */

.course-card-instructor {
  display: flex;
  margin-bottom: 18px;
  align-items: center;
  gap: 10px;
}

.course-instructor-icon {
  display: flex;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background-color: var(--tib-accent-soft, #e8f7f5);
  color: var(--tib-accent, #0d9488);
  font-size: 16px;
}

.course-card-instructor > span:last-child {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 1px;
}

.course-card-instructor small {
  color: #6b7280;
  font-size: 9px;
}

.course-card-instructor strong {
  color: #17243a;
  font-size: 12px;
  font-weight: 700;
}

/* ==================================================
   Metadata
================================================== */

.course-card-meta {
  display: flex;
  margin-top: auto;
  margin-bottom: 19px;
  padding: 14px 0;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(6, 46, 99, 0.07);
  border-bottom: 1px solid rgba(6, 46, 99, 0.07);
}

.course-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #6b7280;
  font-size: 10px;
  font-weight: 600;
}

.course-card-meta i {
  color: #087fc1;
  font-size: 12px;
}

/* ==================================================
   Course Button
================================================== */

.course-card-button {
  display: flex;
  min-height: 44px;
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid rgba(6, 46, 99, 0.14);
  border-radius: 9px;
  background-color: #f5f8fc;
  color: #062e63 !important;
  font-size: 13px;
  font-weight: 700;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.course-card-button:hover {
  border-color: var(--tib-accent, #0d9488);
  background-color: var(--tib-accent, #0d9488);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow:
    0 9px 22px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.2);
}































.course-card-price {
  display: flex;
  min-height: 32px;
  margin: -5px 0 16px;
  align-items: center;
  justify-content: flex-start;
  color: var(--tib-accent, #0d9488);
  font-size: 14px;
  font-weight: 800;
}

.course-filter-empty {
  margin: 10px 0 30px;
  padding: 28px 20px;
  border: 1px dashed rgba(6, 46, 99, 0.16);
  border-radius: 14px;
  background-color: #f5f8fc;
  color: #6b7280;
  font-size: 14px;
  text-align: center;
}











/* ==================================================
   Footer Button
================================================== */

.course-grid-footer {
  margin-top: 15px;
  text-align: center;
}

.course-grid-footer a {
  display: inline-flex;
  min-height: 50px;
  padding: 10px 24px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid #062e63;
  border-radius: 10px;
  background-color: #062e63;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.course-grid-footer a:hover {
  border-color: var(--tib-accent, #0d9488);
  background-color: var(--tib-accent, #0d9488);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 10px 24px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.2);
}

/* ==================================================
   Filtering Animation
================================================== */

.course-grid-item.course-hidden {
  display: none;
}

/* ==================================================
   Tablet
================================================== */

@media (max-width: 991px) {
  section.tibroots-course-grid-section {
    padding: 75px 0 85px !important;
  }

  .course-card-image {
    height: 205px;
  }
}

/* ==================================================
   Mobile
================================================== */

@media (max-width: 575px) {
  section.tibroots-course-grid-section {
    padding: 60px 0 70px !important;
  }

  .tibroots-course-filters {
    margin-bottom: 30px;
    justify-content: flex-start;
  }

  .course-filter-button {
    min-height: 39px;
    padding: 7px 14px;
    font-size: 11px;
  }

  .course-card-image {
    height: 210px;
  }

  .course-card-content {
    padding: 20px;
  }

  .course-card-content > p {
    min-height: auto;
  }
}
































































  /* ==================================================
   TibRoots Main Banner
================================================== */

.tibroots-banner {
  position: relative;
  overflow: hidden;
  padding: 180px 0 100px;
  background:
    radial-gradient(
      circle at 78% 42%,
      rgba(8, 127, 193, 0.10) 0,
      rgba(8, 127, 193, 0.04) 28%,
      transparent 55%
    ),
    #f5f8fc;
}

.tibroots-banner::before {
  content: "";
  position: absolute;
  top: 110px;
  left: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background:
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.05);
  pointer-events: none;
}

.tibroots-header-text {
  position: relative;
  z-index: 2;
  text-align: right;
}

.tibroots-header-text h6 {
  margin-bottom: 22px;
  color: var(--tib-accent, #0d9488);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
}

.tibroots-header-text h2 {
  margin-bottom: 24px;
  color: var(--tib-primary, #062e63);
  font-size: 58px;
  font-weight: 800;
  line-height: 1.3;
}

.tibroots-header-text h2 em {
  color: var(--tib-accent, #0d9488);
  font-style: normal;
}

.tibroots-header-text p {
  max-width: 610px;
  margin-bottom: 32px;
  color: var(--tib-muted, #6b7280);
  font-size: 18px;
  font-weight: 400;
  line-height: 2;
}

/* ==================================================
   Banner Actions
================================================== */

.banner-actions {
  display: flex;
  margin-bottom: 28px;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.tibroots-banner .main-button-gradient {
  margin: 0;
}

.tibroots-banner .main-button-gradient a {
  display: inline-flex;
  min-height: 54px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid var(--tib-accent, #0d9488);
  border-radius: 10px;
  background: var(--tib-accent, #0d9488);
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  box-shadow:
    0 10px 24px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.18);
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.tibroots-banner .main-button-gradient a:hover {
  border-color: var(--tib-primary, #062e63);
  background: var(--tib-primary, #062e63);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(6, 46, 99, 0.15);
}

.secondary-outline-button a {
  display: inline-flex;
  min-height: 54px;
  padding: 0 28px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid var(--tib-primary, #062e63);
  border-radius: 10px;
  background: #ffffff;
  color: var(--tib-primary, #062e63);
  font-size: 16px;
  font-weight: 700;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.secondary-outline-button a:hover {
  border-color: var(--tib-accent, #0d9488);
  background: var(--tib-accent, #0d9488);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 12px 25px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.16);
}

/* ==================================================
   Banner Features
================================================== */

.banner-features {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.banner-feature {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tib-text, #17243a);
  font-size: 14px;
  font-weight: 600;
}

.banner-feature i {
  color: var(--tib-success, #16865c);
  font-size: 17px;
}

/* ==================================================
   Banner Image
================================================== */

.tibroots-banner-image {
  position: relative;
  z-index: 1;
  text-align: center;
}

.tibroots-banner-image::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: -1;
  width: 520px;
  height: 520px;
  border:
    1px solid
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.14);
  border-radius: 50%;
  background:
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.035);
  transform: translate(-50%, -50%);
}

.tibroots-banner-image img {
  width: 100%;
  max-width: 620px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(
    0 25px 35px rgba(6, 46, 99, 0.12)
  );
}

/* ==================================================
   Tablet
================================================== */

@media (max-width: 991px) {
  .tibroots-banner {
    padding: 150px 0 70px;
  }

  .tibroots-header-text {
    margin-bottom: 50px;
    text-align: center;
  }

  .tibroots-header-text h2 {
    font-size: 46px;
  }

  .tibroots-header-text p {
    margin-right: auto;
    margin-left: auto;
  }

  .banner-actions,
  .banner-features {
    justify-content: center;
  }

  .tibroots-banner-image::before {
    width: 420px;
    height: 420px;
  }
}

/* ==================================================
   Mobile
================================================== */

@media (max-width: 575px) {
  .tibroots-banner {
    padding: 125px 0 55px;
  }

  .tibroots-header-text h6 {
    font-size: 15px;
  }

  .tibroots-header-text h2 {
    font-size: 35px;
    line-height: 1.4;
  }

  .tibroots-header-text p {
    font-size: 16px;
    line-height: 1.9;
  }

  .banner-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .banner-actions > div,
  .banner-actions a {
    width: 100%;
  }

  .banner-features {
    gap: 12px;
  }

  .banner-feature {
    width: 100%;
    justify-content: center;
  }

  .tibroots-banner-image::before {
    width: 310px;
    height: 310px;
  }
}







/* ==================================================
   TibRoots Services Section
================================================== */

.tibroots-services {
  position: relative;
  overflow: hidden;
  padding: 95px 0 105px;
  background-color: #ffffff;
}

.tibroots-services::before {
  content: "";
  position: absolute;
  top: 60px;
  right: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background:
    rgba(8, 127, 193, 0.05);
  pointer-events: none;
}

.tibroots-services::after {
  content: "";
  position: absolute;
  bottom: -150px;
  left: -110px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background:
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.05);
  pointer-events: none;
}

/* ==================================================
   Section Heading
================================================== */

.tibroots-section-heading {
  position: relative;
  z-index: 2;
  margin-bottom: 48px;
  text-align: center;
}

.tibroots-section-heading h6 {
  margin-bottom: 12px;
  color: var(--tib-accent, #0d9488);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}

.tibroots-section-heading h4 {
  margin-bottom: 18px;
  color: var(--tib-primary, #062e63);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.5;
}

.tibroots-section-heading h4 em {
  color: var(--tib-accent, #0d9488);
  font-style: normal;
}

.tibroots-section-heading p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--tib-muted, #6b7280);
  font-size: 16px;
  line-height: 1.9;
}

/* ==================================================
   Keep Owl Carousel Stable With RTL Content
================================================== */

.tibroots-services-carousel {
  direction: ltr;
}

.tibroots-services-carousel .item {
  direction: rtl;
  padding: 10px 8px 25px;
}

/* ==================================================
   Service Card
================================================== */

.tibroots-service-card {
  position: relative;
  min-height: 330px;
  padding: 32px 25px 27px;
  overflow: hidden;
  border: 1px solid rgba(6, 46, 99, 0.08);
  border-radius: 18px;
  background-color: #ffffff;
  text-align: right;
  box-shadow: 0 12px 35px rgba(6, 46, 99, 0.07);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease,
    border-color 0.3s ease;
}

.tibroots-service-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 0;
  height: 4px;
  background-color: var(--tib-accent, #0d9488);
  transition: width 0.35s ease;
}

.tibroots-service-card:hover {
  border-color:
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.25);

  transform: translateY(-8px);
  box-shadow: 0 22px 45px rgba(6, 46, 99, 0.13);
}

.tibroots-service-card:hover::before {
  width: 100%;
}

/* ==================================================
   Feature Icon
================================================== */

.tibroots-service-card .icon {
  display: flex;
  width: 72px;
  height: 72px;
  margin: 0 0 23px auto;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background-color: var(--tib-background, #f5f8fc);
  color: var(--tib-primary, #062e63);
  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

.tibroots-service-card .icon i {
  font-size: 31px;
  line-height: 1;
}

.tibroots-service-card:hover .icon {
  background-color: var(--tib-accent-soft, #e8f7f5);
  color: var(--tib-accent, #0d9488);
  transform: rotate(-4deg) scale(1.05);
}

/* ==================================================
   Card Content
================================================== */

.tibroots-service-card h4 {
  margin-bottom: 13px;
  color: var(--tib-primary, #062e63);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.5;
}

.tibroots-service-card p {
  min-height: 90px;
  margin-bottom: 20px;
  color: var(--tib-muted, #6b7280);
  font-size: 14px;
  line-height: 1.9;
}

.service-label {
  display: inline-flex;
  min-height: 31px;
  padding: 5px 13px;
  align-items: center;
  justify-content: center;
  border-radius: 30px;
  background-color: #f5f8fc;
  color: #087fc1;
  font-size: 12px;
  font-weight: 700;
}

/* ==================================================
   Owl Navigation
================================================== */

.tibroots-services .owl-nav {
  display: flex;
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.tibroots-services .owl-nav button.owl-prev,
.tibroots-services .owl-nav button.owl-next {
  display: inline-flex;
  width: 44px;
  height: 44px;
  margin: 0;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6, 46, 99, 0.12);
  border-radius: 50%;
  background-color: #ffffff;
  color: var(--tib-primary, #062e63);
  box-shadow: 0 7px 20px rgba(6, 46, 99, 0.08);
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.tibroots-services .owl-nav button.owl-prev:hover,
.tibroots-services .owl-nav button.owl-next:hover {
  border-color: var(--tib-accent, #0d9488);
  background-color: var(--tib-accent, #0d9488);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow:
    0 9px 22px
    rgba(var(--tib-accent-rgb, 13, 148, 136), 0.2);
}

.tibroots-services .owl-nav button span {
  display: block;
  margin-top: -3px;
  font-size: 27px;
  line-height: 1;
}

/* ==================================================
   Owl Dots
================================================== */

.tibroots-services .owl-dots {
  margin-top: 24px;
  text-align: center;
}

.tibroots-services .owl-dots .owl-dot span {
  display: block;
  width: 9px;
  height: 9px;
  margin: 4px;
  border-radius: 50%;
  background-color: rgba(6, 46, 99, 0.18);
  transition:
    width 0.3s ease,
    background-color 0.3s ease;
}

.tibroots-services .owl-dots .owl-dot.active span {
  width: 26px;
  border-radius: 10px;
  background-color: var(--tib-accent, #0d9488);
}

/* ==================================================
   Tablet
================================================== */

@media (max-width: 991px) {
  .tibroots-services {
    padding: 75px 0 85px;
  }

  .tibroots-section-heading h4 {
    font-size: 32px;
  }

  .tibroots-service-card {
    min-height: 315px;
  }
}

/* ==================================================
   Mobile
================================================== */

@media (max-width: 575px) {
  .tibroots-services {
    padding: 60px 0 70px;
  }

  .tibroots-section-heading {
    margin-bottom: 32px;
  }

  .tibroots-section-heading h4 {
    font-size: 27px;
  }

  .tibroots-section-heading p {
    font-size: 14px;
  }

  .tibroots-service-card {
    min-height: auto;
    padding: 27px 22px;
  }

  .tibroots-service-card p {
    min-height: auto;
  }
}