:root {
  --brand-primary: #0a2d47;
  --brand-accent: #ffb800;
  --brand-teal: #0aa6a6;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

/*english font*/

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-ExtraLight.ttf") format("truetype");
  font-weight: 200;
  font-style: normal;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("../fonts/IBMPlexSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}


/* 2) Font variables */
:root{
  --font-ar: "IBM Plex Sans Arabic", sans-serif;
  --font-en: "IBM Plex Sans", sans-serif;
}

/* 3) Default (English / LTR) */
html, body{
  font-family: var(--font-en);
}

/* 4) Arabic pages (best) */
html[lang="ar"], html[dir="rtl"],
html[lang="ar"] body, html[dir="rtl"] body :not(i[class^="fa"]):not(i[class*=" fa"]):not(.ms-qcb-glyph){
  font-family: var(--font-ar);
}

/* 5) If you have mixed content inside one page, apply by lang attribute */
[lang="ar"] *:not(i[class^="fa"]):not(i[class*=" fa"]):not(.ms-qcb-glyph){ font-family: var(--font-ar) !important; }
[lang="en"] *:not(i[class^="fa"]):not(i[class*=" fa"]):not(.ms-qcb-glyph){ font-family: var(--font-en) !important; }

/* Navbar */
.navbar {
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.navbar.scrolled {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.navbar .nav-link {
  font-weight: 600;
}

/* .navbar-brand img {
  height: 36px;
} */

.lead{
  font-size: 1.5rem;
    font-weight: 500;
}
/* Buttons */
.btn-brand {
  background: var(--brand-teal);
  color: #fff;
  border: none;
}

.btn-brand:hover {
  background: #088c8c;
  color: #fff;
}

.btn-z {
  background: var(--brand-primary);
  color: #fff;
  border: none;
}

.btn-z:hover {
  background: #088c8c;
  color: #fff;
}

.btn-ghost {
  border: 2px solid var(--brand-teal);
  color: var(--brand-teal);
  background: #fff;
}

.btn-ghost:hover {
  background: var(--brand-teal);
  color: #fff;
}

.btn-outline-light-custom {
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
}

.btn-outline-light-custom:hover {
  background: #f3f3f3;
  color: #111;
}

 .hero{
      min-height:400px;
      display:flex; align-items:center;
      color:#fff; position:relative; overflow:hidden;
      border-radius:0 0 28px 28px;
      background: url("../../images/banner.jpg") center/cover no-repeat;
    }
    .hero::before{
      content:""; position:absolute; inset:0;
      background: linear-gradient(90deg, rgba(0,0,0,.45), rgba(0,0,0,.15));
    }
    .hero .content{ position:relative; z-index:2; }

/* Hero slider */
/* .hero-slide {
  min-height: 540px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding-block: 4rem;
}

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(10, 45, 71, 0.85),
    rgba(10, 45, 71, 0.55)
  );
  inset: 0;
  position: absolute;
} */

.carousel-caption {
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  text-align: start;
  padding: 2rem;
}

.carousel-caption .wrap {
  max-width: 780px;
  color: #fff;
  position: relative;
  z-index: 3;
}

/* Hide slider arrows */
.carousel-control-prev,
.carousel-control-next {
  display: none !important;
}

/* Sections */
.section-pad {
  padding: 4rem 0;
}
.section-pad-sm {
  padding: 2rem 0;
}
/* Feature icons */
/* .feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #eef7f7;
} */

.underline-none{
  text-decoration: none;
}
/* الصورة داخل الأيقونة */
.feature-icon img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* كروت الموارد */
.resource-card {
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.resource-card:hover {
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
}

/* أيقونة الموارد داخل الكارت */
.resource-icon {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #eef7f7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-teal);
}

.resource-icon i {
  font-size: 1.3rem;
}


/* Footer */
.footer {
  background: #0b2033;
  color: #d8e2ef;
  padding: 1rem 0;
}

.footer a {
  color: #cfe5ff;
  text-decoration: none;
}

.footer a:hover {
  color: #fff;
}

.badge-soft {
  background: #eef7f7;
  color: #0a2d47;
}

/* Dropdown arrows */
.nav-dropdown .dropdown-toggle::after,
.mega-dropdown .dropdown-toggle::after {
  display: none;
}

.dropdown-arrow {
  font-size: 0.55rem;
  margin-inline-start: 0.25rem;
  transition: transform 0.15s ease;
}

.nav-dropdown.show .dropdown-arrow,
.mega-dropdown.show .dropdown-arrow {
  transform: rotate(180deg);
}

/* Mega dropdown */
.mega-dropdown .dropdown-menu {
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0 !important; 
  border-radius: 24px;
  border: none;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  min-width: min(860px, 100vw - 2rem);
  padding: 1.5rem;
}

.mega-link {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.6rem 0.8rem;
  border-radius: 999px;
  text-decoration: none;
  color: #111827;
  transition: 0.15s ease;
}

.mega-link:hover {
  background: #f3f4ff;
}

.mega-link-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: #f4f4f5;
  color: #4b5563;
  flex-shrink: 0;
}

.mega-link-title {
  font-weight: 600;
  font-size: 0.95rem;
}

.mega-link-sub {
  font-size: 0.8rem;
  color: #6b7280;
}

.mega-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid #e5e7eb;
  padding: 1.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.mega-card-badge {
  font-size: 0.7rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #fff7e6;
  color: #b45309;
  align-self: flex-start;
  font-weight: 600;
}

.mega-card-img {
  border-radius: 16px;
  width: 100%;
  object-fit: cover;
}

/* RTL helpers */
[dir="rtl"] .text-start {
  text-align: right !important;
}

[dir="rtl"] .text-end {
  text-align: left !important;
}

/* Floating Request Demo button */
.request-demo-floating {
  position: fixed;
  z-index: 1050;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: var(--brand-teal);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  text-decoration: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.request-demo-floating:hover {
  background: #088c8c;
  color: #fff;
}

.max-w-200{
  max-width: 200px;
}

/* SIGNUP CTA SECTION */
.signup-cta {
  background-color: #f5fbff;
  position: relative;
  overflow: hidden;
}

.signup-title {
  font-size: clamp(1.8rem, 2.3vw + 1rem, 2.4rem);
  line-height: 1.3;
}

.signup-title .text-brand {
  display: block;
  color: var(--brand-teal, #00928f);
}

.signup-panel {
  background: #fff;
  border-radius: 1.5rem;
  border: 2px solid #0059b2;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
  direction: ltr;
}

.signup-domain-suffix {
  background: #f2f6fb;
  border-left: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.signup-panel .form-control {
  border-radius: 0.75rem;
}

.signup-panel .input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
}

.signup-panel .input-group .input-group-text {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* زر أساسي بنفس ألوان Trainovas */
.btn-brand {
  background-color: var(--brand-teal, #00928f);
  border-color: var(--brand-teal, #00928f);
  color: #fff;
  font-weight: 600;
}

.btn-brand:hover {
  background-color: #007a76;
  border-color: #007a76;
}

/* ملاحظة تحت الفورم */
.signup-note {
  text-align: center;
}

/* GROW SECTION */
.grow-section {
  background-color: #f0f0e8;
}

.grow-image-wrapper {
  margin-inline: auto;
}

.grow-image-wrapper img {
  border-radius: 1.5rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.12);
  display: block;
  width: 100%;
}

.grow-icon img {
  height: 56px;
  width: auto;
}

.grow-title {
  font-size: clamp(1.9rem, 2.4vw + 1rem, 2.6rem);
  line-height: 1.3;
}

.text-brand {
  color: var(--brand-teal, #00928f);
}

.text-z {
  color: var(--brand-primary, #0a2d47);
}

.grow-title .text-brand {
  color: var(--brand-teal, #00928f);
}

.border-h{height: 200px;}

.bg-banner{background-color: #e8e8e8;}

.bg-banner-mob{background-color: #e8e8e8;}

.ai-core-section{
  background: url(../../images/ai-core-bg.jpg) no-repeat; background-position: center; background-size: cover;
  padding: 5em 0;
  color: white;
}

.ai-core-section i{
  color: white !important;
}

.curved-section {
    position: relative;
    background: url(../../images/ai-core-bg.jpg) center/cover no-repeat;
    padding: 120px 0;
    overflow: hidden;
}

/* الانحناء العلوي */
.curved-section::before {
    content: "";
    position: absolute;
    left: 50%;
    top: -80px;                 /* يتحكم في مقدار القص من الأعلى */
    transform: translateX(-50%);
    width: 120%;                /* أكبر من عرض السكشن قليلاً */
    height: 160px;              /* ارتفاع الكيرف */
    background: #ffffff;        /* لون الخلفية خارج السكشن */
    border-bottom-left-radius: 50% 100%;
    border-bottom-right-radius: 50% 100%;
}

/* الانحناء السفلي (نفس الشكل لكن معكوس) */
.curved-section::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -80px;              /* يتحكم في مقدار القص من الأسفل */
    transform: translateX(-50%);
    width: 120%;
    height: 160px;
    background: #ffffff;
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
}

.curved-section, .curved-section i{
  color: white !important;
}

.support-link {
  font-weight: 600;
  text-decoration: none;
  color: var(--brand-teal, #00928f);
  display: inline-flex;
  align-items: center;
}

.support-link i {
  font-size: 0.95rem;
}

.support-link:hover {
  text-decoration: underline;
}

/* pricing --------------------------------------------------------------------*/
/* =========================================
   Pricing Page - Trainovas
   ========================================= */



/* Hero */
.pricing-hero-section {
  background: linear-gradient(135deg, #0a2e3f 0%, #085a64 55%, #00928f 100%);
  color: #fff;
}
.pricing-hero-section p {
  opacity: 0.9;
}

/* Billing controls */
.pricing-controls-section .billing-toggle-pill {
  background: #ffffff;
  border-radius: 999px;
  padding: 3px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.06);
}
.btn-billing-toggle {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 0.9rem;
  color: #555;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.btn-billing-toggle.active {
  background: var(--trainovas-primary);
  color: #fff;
}
.billing-badge-save {
  background: var(--trainovas-accent);
  color: #000;
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 0.7rem;
}

/* Tags */
.pricing-badge-pill {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.8rem;
  background-color: #e8f3f2;
  color: #245a59;
}

/* Plan cards */
.pricing-plans-section {
  background-color: #f5f7fb;
}

.pricing-plan-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px 20px 22px;
  box-shadow: 0 14px 30px rgba(4, 29, 43, 0.06);
  border: 1px solid #e2e5f0;
  display: flex;
  flex-direction: column;
}

.pricing-plan-header {
  margin-bottom: 12px;
}

.pricing-plan-name {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-plan-users span {
  display: inline-block;
  font-size: 0.85rem;
  padding: 4px 10px;
  border-radius: 999px;
  background: #f3f6fb;
  color: #556176;
}

.pricing-plan-price {
  margin: 14px 0;
}

.pricing-price-main {
  font-size: 1.6rem;
  font-weight: 700;
}

.pricing-price-period {
  font-size: 0.9rem;
  font-weight: 400;
  margin-left: 4px;
}

.pricing-price-sub {
  font-size: 0.8rem;
}

/* Features */
.pricing-plan-features ul li {
  font-size: 0.85rem;
  margin-bottom: 6px;
}

/* Buttons */
.pricing-plan-card .btn-primary {
  background: var(--trainovas-primary);
  border-color: var(--trainovas-primary);
}

.pricing-plan-card .btn-outline-primary {
  color: var(--trainovas-primary);
  border-color: var(--trainovas-primary);
}

.pricing-plan-card .btn-outline-primary:hover {
  background: var(--trainovas-primary);
  color: #fff;
}

/* Popular plan */
.pricing-plan-popular {
  border: 2px solid var(--trainovas-accent);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
  position: relative;
}

.pricing-popular-label {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--trainovas-accent);
  color: #000;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 14px;
  border-radius: 999px;
}
.justify{text-align: justify;}

/*video*/
 .video-card{
      position:relative;
      border-radius: var(--radius);
      overflow:hidden;
      cursor:pointer;
      background:#0f172a;
      box-shadow: 0 10px 22px rgba(0,0,0,.08);
      isolation:isolate;
    }
    .video-card .preview{
      width:100%;
      aspect-ratio:16/9;
      object-fit:cover;
      display:block;
      background:#000;
    }
    .video-card .title-overlay{
      position:absolute; inset:0;
      display:flex; align-items:flex-end;
      padding:14px;
      background: linear-gradient(0deg, var(--overlay), rgba(0,0,0,0) 55%);
      transition: opacity .25s ease;
      z-index:2;
    }
    .video-card .title-overlay .badge{
      background: rgba(255,255,255,.18);
      backdrop-filter: blur(6px);
      border: 1px solid rgba(255,255,255,.22);
      font-size: 1.1rem;
      font-weight: 500;
      
    }
    .video-card .play-icon{
      position:absolute;
      top: 40%;
    right: 40%;
    width: 60px;
    height: 60px;
      border-radius:999px;
      display:grid; place-items:center;
      background: rgba(0,0,0,.35);
      border: 1px solid rgba(255,255,255,.18);
      color:#fff;
      z-index:3;
      transition: transform .2s ease;
      user-select:none;
    }


    @media (hover:hover){
      .video-card:hover .title-overlay{ opacity:0; }
      .video-card:hover .play-icon{ transform: scale(1.06); }
    }

    .modal-video-wrap{
      position:relative;
      width:100%;
      aspect-ratio:16/9;
      background:#000;
      border-radius:14px;
      overflow:hidden;
    }
    .modal-video-wrap video{
      width:100%;
      height:100%;
      object-fit:contain;
      display:block;
    }

    .modal-nav-btn{
      position:absolute;
      top:50%;
      transform: translateY(-50%);
      z-index:5;
      width:44px; height:44px;
      border-radius:999px;
      display:grid; place-items:center;
      border:1px solid rgba(255,255,255,.25);
      background: rgba(0,0,0,.45);
      color:#fff;
      backdrop-filter: blur(6px);
    }
    .modal-nav-btn.prev{ left:10px; }
    .modal-nav-btn.next{ right:10px; }

 
    /* Force-hide poster instantly on hover until video plays */
.video-card.poster-hide video.preview {
  opacity: 0;
}

/* When hovering normally, video can show */
.video-card.is-hovering video.preview {
  opacity: 1;
}
.video-card.is-hovering .play-icon{ opacity:0; }

/* ===== Split background (50% tinted / 50% white) + responsive stacking ===== */

.split-panels{
  /* Full-width background split */
  background: linear-gradient(to right, #f7f7f4 0 50%, #fcfcfc 50% 100%);
  padding: 48px 0;
}

.split-inner{
  /* Centered content area */
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 16px;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.panel{
  /* Optional: keep content readable */
  padding: 28px 0;
  border-radius: 16px;
/*   box-shadow: 0 8px 22px rgba(0,0,0,.06);
 */  height: 100%;
}

.panel-title{
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.2;
}

.panel-text{
  margin: 0;
  /* font-size: 16px; */
  line-height: 1.75;
}

/* Panel backgrounds (helps when stacking on mobile) */
.panel--tinted{ background: #f0f0e8; }
.panel--white{ background: #ffffff; }

/*section title*/
.section-title {
  position: relative;
  display: inline-block;
  padding: 0 30px;
  font-weight: 600;
}

/* Right line */
.section-title::before,
.section-title::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 20px;
  height: 3px;
  background-color: #ff8c00; /* orange */
  transform: translateY(-50%);
}

/* Left */
.section-title::before {
  left: 0;
}

/* Right */
.section-title::after {
  right: 0;
}

#Therapy .card {
    height: 535px;
}

hr{opacity: .1;}

.video-thumb img{
  width:100%;
  height:250px;   
  object-fit:cover;
  display:block;
  border-radius:12px;
  cursor:pointer;
}

.title-h{height: 70px;
}
[dir="ltr"] .title-h{height: 80px;}

/* Mobile: stack vertically (both portrait & landscape) */
@media (max-width: 767.98px){
  #Therapy .card {
    height: auto;
}
  .split-panels{
    /* Remove 50/50 split, make each row background clear */
    background: none;
    padding: 28px 0;
  }

  .split-inner{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .panel{
    box-shadow: 0 6px 18px rgba(0,0,0,.06);
  }
}
.fixed-w-h{width: 180px; height: 150px;}

/* Responsive */
@media (max-width: 991.98px) {
  .pricing-controls-section .container {
    align-items: flex-start !important;
  }
}


/* end pricing------------------------------------------------------------------------------*/

@media (max-width: 1180px) {
  .request-demo-floating{display: none;}
 .mega-dropdown .dropdown-menu {
    left: auto;
    transform: translateX(0);
    margin-top: 0 !important; 
    min-width: min(660px, 100vw - 2rem);
  }
    .navbar .navbar-collapse {
    max-height: calc(100vh - 100px); /* حسب ارتفاع الـ navbar تقريباً */
    overflow-y: auto;
  }
  .title-h{height: auto;
}
[dir="ltr"] .title-h{height: auto;}
}

@media (max-width: 932px) {
  .bg-banner{background-color: transparent;}
  
}

/* موبايل */
@media (max-width: 767.98px) {
  .hero{
      min-height:250px;
    }
  .signup-panel {
    padding: 1.25rem;
  }
  .max-w-200{
  max-width: 180px;
}
/* .grow-section {
    text-align: center;
  }
 */
  .grow-title {
    font-size: 1.8rem;
  }

  .grow-icon img {
    margin-inline: auto;
  }
}


