/* RTL + Arabic font overrides for Finazze template */

@font-face {
  font-family: 'Mazaj';
  src: url('/__l5e/assets-v1/dbc44d10-52af-4d53-aa5a-9bc2f5c468fc/Mazaj-Black-1.otf') format('opentype'),
       url('/__l5e/assets-v1/25fc51b9-4bca-4232-981e-ced331b3876e/Mazaj-Black-1-2.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

body, p, a, span, li, button, input, textarea, select, label, .vl-btn1, .vl-btn2 {
  font-family: 'IBM Plex Sans Arabic', 'Tajawal', system-ui, -apple-system, sans-serif !important;
  font-feature-settings: "kern", "liga", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Mazaj', 'Tajawal', 'IBM Plex Sans Arabic', system-ui, sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: -0.01em !important;
  line-height: 1.35 !important;
}
h1 { font-weight: 900 !important; line-height: 1.25 !important; letter-spacing: -0.02em !important; }
h5 { font-weight: 500 !important; letter-spacing: 0 !important; }
p { font-weight: 400 !important; line-height: 1.9 !important; }

html[dir="rtl"] body { text-align: right; }

/* Flip directional arrow icons (fa-arrow-right etc.) */
html[dir="rtl"] .fa-arrow-right,
html[dir="rtl"] .fa-long-arrow-alt-right,
html[dir="rtl"] .fa-chevron-right,
html[dir="rtl"] .fa-angle-right,
html[dir="rtl"] .vl-btn1 i,
html[dir="rtl"] .vl-btn2 i,
html[dir="rtl"] .arrow-icon img,
html[dir="rtl"] .btn-arrow img {
  transform: scaleX(-1);
  display: inline-block;
}

/* Common list resets (bullets kept on right by default) */
html[dir="rtl"] ul { padding-right: 0; }

/* Fix floats that may have been hardcoded */
html[dir="rtl"] .float-start { float: right !important; }
html[dir="rtl"] .float-end { float: left !important; }

/* Text alignment helpers used in template */
html[dir="rtl"] .text-start { text-align: right !important; }
html[dir="rtl"] .text-end { text-align: left !important; }

/* Navbar spacing */
html[dir="rtl"] .navbar-nav .nav-item { margin-left: 0; margin-right: 0; }
html[dir="rtl"] .header-right, html[dir="rtl"] .header-left { direction: rtl; }

/* Ensure headings breathe with Arabic diacritics */
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 { line-height: 1.5; }
html[dir="rtl"] p { line-height: 1.9; }

/* Cards / feature blocks that used margin-left as a decorative gap */
html[dir="rtl"] [class*="ms-"] { margin-right: revert; }
html[dir="rtl"] [class*="me-"] { margin-left: revert; }

/* Breadcrumb separator flip */
html[dir="rtl"] .breadcrumb-item + .breadcrumb-item::before {
  transform: scaleX(-1);
  display: inline-block;
}

/* Keep numeric-heavy blocks LTR for readability (prices, counters, phone) */
.ltr-num, .odometer, .price-text, .counter, .phone {
  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}

/* Preloader / loading text keep centered */
html[dir="rtl"] .preloader { direction: rtl; }

/* Contact form inputs align right */
html[dir="rtl"] input, html[dir="rtl"] textarea, html[dir="rtl"] select { text-align: right; }

/* Slick / Swiper arrows visual flip */
html[dir="rtl"] .slick-prev, html[dir="rtl"] .swiper-button-prev { transform: scaleX(-1); }
html[dir="rtl"] .slick-next, html[dir="rtl"] .swiper-button-next { transform: scaleX(-1); }

/* Neutralize character-split animation (breaks Arabic ligatures) */
.text-anime-style-1, .text-anime-style-2, .text-anime-style-3,
.text-anime-style-4, .text-anime-style-5 {
  opacity: 1 !important;
  visibility: visible !important;
}
.text-anime-style-1 .word, .text-anime-style-2 .word, .text-anime-style-3 .word,
.text-anime-style-4 .word, .text-anime-style-5 .word,
.text-anime-style-1 .char, .text-anime-style-2 .char, .text-anime-style-3 .char,
.text-anime-style-4 .char, .text-anime-style-5 .char {
  display: inline !important;
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

/* Keep legacy preloaders disabled, but allow the custom home loader to show */
.preloader:not(.hadaf-preloader) { display: none !important; }
/* legacy */
.preloader { transition: opacity .4s; }
.preloader.loaded:not(.hadaf-preloader), body.loaded .preloader:not(.hadaf-preloader) { opacity: 0; pointer-events: none; visibility: hidden; }

/* ===== Hero1 image area position fixes for RTL ===== */
html[dir="rtl"] .hero1-section-area .hero-images-area { left: auto; right: 100px; }
@media (max-width: 991px) {
  html[dir="rtl"] .hero1-section-area .hero-images-area { right: 0; }
}
html[dir="rtl"] .hero1-section-area .hero-images-area .elements1 { left: auto; right: -50px; }
html[dir="rtl"] .hero1-section-area .hero-images-area .elements2 { right: auto; left: 0; }
html[dir="rtl"] .hero1-section-area .hero-images-area .elements3 { left: auto; right: -50px; }
html[dir="rtl"] .hero1-section-area .hero-images-area .elements4 { right: auto; left: -100px; }
.hero1-section-area .hero-images-area .elements4 { bottom: auto !important; top: 50% !important; animation: float-elem4 3.5s ease-in-out infinite !important; }
@keyframes float-elem4 { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }
.hero1-section-area .hero-images-area .elements5 { bottom: auto !important; top: 60px !important; transform-origin: center center; filter: brightness(0) saturate(100%) invert(70%) sepia(95%) saturate(900%) hue-rotate(2deg) brightness(85%) contrast(110%) !important; }

/* Raise the main hero figure slightly upward */
.hero1-section-area .hero-images-area .img1 { margin-top: -70px !important; }
@media (max-width: 991px) {
  .hero1-section-area .hero-images-area .img1 { margin-top: -44px !important; }
}

/* Flip decorative arrow element in hero1 */
html[dir="rtl"] .hero1-section-area .hero-images-area .elements1 { transform: scaleX(-1); }

/* Flip hero1 main person image for RTL */
html[dir="rtl"] .hero1-section-area .hero-images-area .img1 img { transform: scaleX(-1); }

/* Flip main person/hero images across all hero variants for RTL
   (About sections intentionally NOT flipped — they contain charts/text that
   must stay readable.) */
html[dir="rtl"] .hero2-section-area .hero-images-area .img1 img,
html[dir="rtl"] .hero3-section-area .hero-images-area .img1 img,
html[dir="rtl"] .hero4-section-area .hero-images-area .img1 img,
html[dir="rtl"] .hero5-section-area .hero-images-area .img1 img {
  transform: scaleX(-1);
  transform-origin: center center;
}

/* ===== About1 section RTL fixes ===== */
/* Anchor decorative chart at the bottom, protruding well past the right edge */
html[dir="rtl"] .about1-section-area .about-images-area,
html[dir="rtl"] .aboutinner-section-area .about-images-area {
  overflow: visible;
}
html[dir="rtl"] .about1-section-area .about-images-area .elements6,
html[dir="rtl"] .aboutinner-section-area .about-images-area .elements6 {
  left: auto;
  right: -170px;
  bottom: -20px;
  top: auto;
  width: 320px;
  max-width: 320px;
  height: auto;
  z-index: 3;
}
@media (max-width: 1199px) {
  html[dir="rtl"] .about1-section-area .about-images-area .elements6 {
    right: -100px;
    width: 260px;
    max-width: 260px;
  }
}
@media (max-width: 991px) {
  html[dir="rtl"] .about1-section-area .about-images-area .elements6 {
    right: 0;
    width: 200px;
    max-width: 200px;
  }
}
/* Slightly smaller heading in Arabic to keep it on 2 lines */
html[dir="rtl"] .about1-section-area .about-heading h2 {
  font-size: clamp(28px, 3.2vw, 44px) !important;
  line-height: 1.35 !important;
}
/* Flip the icon inside pera-box to the right side */
html[dir="rtl"] .about1-section-area .about-heading .pera-box .icons,
html[dir="rtl"] .aboutinner-section-area .about-heading .pera-box .icons {
  left: auto;
  right: 20px;
}
/* Reserve space for the icon on the right side (was padding-left in LTR) */
html[dir="rtl"] .about1-section-area .about-heading .pera-box .text,
html[dir="rtl"] .aboutinner-section-area .about-heading .pera-box .text {
  padding-left: 0;
  padding-right: 80px;
}
/* Make the feature card stretch the full width of the text column */
html[dir="rtl"] .about1-section-area .about-heading .pera-box {
  width: 100%;
  max-width: none;
}
/* Add breathing room between image column and text column in RTL */
html[dir="rtl"] .about1-section-area .about-images-area {
  padding: 0 0 0 50px;
}
@media (max-width: 991px) {
  html[dir="rtl"] .about1-section-area .about-images-area { padding: 0; }
}

/* ===== Project1 section: keep original LTR visual order =====
   Card on the left, numbered column in the middle, image on the right,
   with the chart hanging bottom-right outside the image — as in the
   original design. We only flip the row order; content stays RTL so the
   slider/JS keeps working. */
html[dir="rtl"] .project1-section .row.align-items-center {
  direction: ltr;
}
html[dir="rtl"] .project1-section .row.align-items-center > [class*="col-"] {
  direction: rtl;
}
html[dir="rtl"] .project1-section .all-images .images-area {
  overflow: visible;
}
/* Keep the floating chart/card in the original design spot */
html[dir="rtl"] .project1-section .all-images .images-area .elements7 {
  right: -60px;
  left: auto;
  bottom: 30px;
  width: auto;
  max-width: none;
  height: auto;
}

/* Partners strip above hero */
.partners-strip-area {
  padding: 28px 0 8px;
  background: transparent;
}
.partners-strip-area .partners-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  flex-wrap: wrap;
}
.partners-strip-area .partner-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 80px;
}
.partners-strip-area .partner-logo img {
  max-height: 80px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  filter: none;
  opacity: .95;
  transition: opacity .3s ease, transform .3s ease;
}
.partners-strip-area .partner-logo img:hover {
  opacity: 1;
  transform: translateY(-2px);
}
@media (max-width: 768px) {
  .partners-strip-area .partners-logos { gap: 32px; }
  .partners-strip-area .partner-logo,
  .partners-strip-area .partner-logo img { height: 56px; max-height: 56px; }
}

/* Inline partners row above hero heading */
.partners-inline {
  justify-content: flex-start !important;
  gap: 28px !important;
  margin-bottom: 8px;
}
.partners-inline .partner-logo,
.partners-inline .partner-logo img {
  height: 52px !important;
  max-height: 52px !important;
  max-width: 150px !important;
}

/* Force partners inline row on one line */
.partners-inline {
  flex-wrap: nowrap !important;
  gap: 18px !important;
}
.partners-inline .partner-logo {
  flex: 0 1 auto;
  min-width: 0;
}
.partners-inline .partner-logo img {
  height: 44px !important;
  max-height: 44px !important;
  max-width: 120px !important;
  width: auto !important;
}

/* Remove empty space above hero (no header now), expanded downward */
.hero1-section-area {
  padding-top: 0 !important;
  padding-bottom: 30px !important;
  margin: 16px clamp(12px, 2.5vw, 32px) !important;
  border-radius: clamp(18px, 2.5vw, 36px) !important;
  overflow: hidden !important;
}
@media (max-width: 576px) {
  .hero1-section-area {
    margin: 10px !important;
    border-radius: 18px !important;
    padding-top: 0 !important;
    padding-bottom: 20px !important;
  }
}

/* Service section: same rounded edges as hero */
.service1-section-area {
  margin: 0 clamp(12px, 2.5vw, 32px) !important;
  border-radius: clamp(18px, 2.5vw, 36px) !important;
  overflow: hidden !important;
}
@media (max-width: 576px) {
  .service1-section-area {
    margin: 0 10px !important;
    border-radius: 18px !important;
  }
}
body { padding-top: 0 !important; margin-top: 0 !important; background-color: #F4F5FA !important; }

/* Hero title as the original reference image for a 100% visual match,
   with hidden live text for SEO/accessibility. */
.hero-title-img {
  margin: 12px 0 0 !important;
  line-height: 0 !important;
  text-align: right !important;
  display: inline-block;
}
@media (max-width: 991px) {
  .hero-title-img { text-align: center !important; }
}
@media (max-width: 767px) {
  .hero-title-img { margin-top: 8px !important; }
}
.hero-title-img .hero-title-image {
  width: clamp(280px, 42vw, 640px);
  max-width: 100%;
  height: auto;
  display: block;
  margin-right: 24px;
}
.hero-title-img .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Keep hero text content just below the header */
.hero1-section-area .heading-area { margin-top: 0 !important; }
@media (max-width: 991px) { .hero1-section-area .heading-area { margin-top: 0 !important; } }

/* Hero description elegant word-by-word reveal */
.hero-desc-reveal {
  position: relative;
  overflow: visible;
  font-size: clamp(14px, 1.05vw, 17px) !important;
  line-height: 1.9 !important;
  font-weight: 500;
  max-width: 620px;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(56,189,248,0.08) 50%, rgba(255,255,255,0) 100%);
  background-size: 200% 100%;
  background-repeat: no-repeat;
  background-position: 200% 0;
  padding: 6px 0;
  animation: heroDescShimmer 6s ease-in-out 1.8s infinite;
}
@media (max-width: 991px) {
  .hero-desc-reveal { max-width: 100%; font-size: 15px !important; }
}
.hero-desc-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(14px) rotateX(-30deg);
  transform-origin: 50% 100%;
  filter: blur(6px);
  animation: heroWordIn 0.7s cubic-bezier(.2,.7,.2,1) forwards;
  margin-inline-end: 0.28em;
  will-change: transform, opacity, filter;
}
.hero-desc-reveal .word.accent {
  background: linear-gradient(120deg, #38bdf8, #a78bfa 55%, #f472b6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 700;
}
@keyframes heroWordIn {
  0%   { opacity: 0; transform: translateY(14px) rotateX(-30deg); filter: blur(6px); }
  60%  { opacity: 1; filter: blur(0); }
  100% { opacity: 1; transform: translateY(0) rotateX(0);        filter: blur(0); }
}
@keyframes heroDescShimmer {
  0%,100% { background-position: 200% 0; }
  50%     { background-position: -200% 0; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-desc-reveal .word { opacity: 1; transform: none; filter: none; animation: none; }
  .hero-desc-reveal { animation: none; }
}



/* ===== Target Audience — professional orbit map ===== */
.aud-signal {
  --aud-ink: #0f172a;
  --aud-muted: #667085;
  --aud-gold: #b88a1e;
  --aud-sky: #1ea7d8;
  position: relative;
  width: min(100%, 650px);
  margin: 2px auto 0;
  isolation: isolate;
}
.aud-signal__intro {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  margin-bottom: 12px;
}
.aud-signal__intro span {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 5px 12px 6px;
  border: 1px solid rgba(15,23,42,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.68);
  color: var(--aud-ink);
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 10px 30px rgba(15,23,42,.07);
}
.aud-signal__intro strong {
  color: var(--aud-muted);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 700;
  line-height: 1.7;
}
.aud-signal__map {
  position: relative;
  height: 300px;
  border-radius: 32px 10px 32px 10px;
  background:
    radial-gradient(circle at 50% 50%, rgba(88,28,135,.12) 0 96px, transparent 130px),
    radial-gradient(circle at 15% 20%, rgba(30,167,216,.10), transparent 40%),
    radial-gradient(circle at 85% 80%, rgba(184,138,30,.10), transparent 40%),
    linear-gradient(135deg, rgba(255,255,255,.92), rgba(248,244,255,.6));
  border: 1px solid rgba(88,28,135,.14);
  box-shadow: 0 30px 70px rgba(15,23,42,.12), inset 0 1px 0 rgba(255,255,255,.85);
  overflow: hidden;
}
.aud-signal__map::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px dashed rgba(88,28,135,.18);
  border-radius: 24px 8px 24px 8px;
  pointer-events: none;
}
.aud-signal__map::after {
  content: "";
  position: absolute;
  inset-inline-start: -60px;
  top: 0;
  width: 140px;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(88,28,135,.14), transparent);
  transform: skewX(18deg);
  animation: audScan 6s ease-in-out infinite;
}
.aud-signal__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 220px;
  border-radius: 999px;
  border: 1px dashed rgba(88,28,135,.22);
  transform: translate(-50%, -50%);
  pointer-events: none;
  animation: audSpin 28s linear infinite;
}
.aud-signal__ring--two {
  width: 176px;
  height: 176px;
  border-style: solid;
  border-color: rgba(184,138,30,.28);
  animation-duration: 22s;
  animation-direction: reverse;
}
.aud-signal__beam {
  position: absolute;
  background: linear-gradient(90deg, transparent, rgba(15,23,42,.20), transparent);
  pointer-events: none;
}
.aud-signal__beam--h {
  top: 50%;
  right: 12%;
  left: 12%;
  height: 1px;
}
.aud-signal__beam--v {
  left: 50%;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(15,23,42,.18), transparent);
}
.aud-signal__hub {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 88px;
  height: 88px;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 50%;
  background: var(--aud-ink);
  color: #fff;
  transform: translate(-50%, -50%);
  box-shadow: 0 18px 40px rgba(15,23,42,.24), 0 0 0 8px rgba(15,23,42,.06);
}
.aud-signal__hub--badge {
  width: 220px;
  height: 220px;
  background: transparent;
  padding: 0;
  overflow: visible;
  border-radius: 50%;
  box-shadow: none;
  animation: audFloat 6s ease-in-out infinite;
}
.aud-signal__hub--badge::before {
  content: "";
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(88,28,135,.18), rgba(184,138,30,.11) 50%, rgba(88,28,135,0) 72%);
  filter: blur(10px);
  z-index: -1;
  animation: audPulse 3.6s ease-in-out infinite;
}
.aud-signal__hub--badge::after {
  content: "";
  position: absolute;
  top: 9%;
  left: -28%;
  width: 34%;
  height: 82%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,.85) 50%, rgba(255,255,255,0) 70%, transparent 100%);
  transform: skewX(-18deg);
  border-radius: 50%;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: badgeShine 3.6s ease-in-out 1s infinite;
  z-index: 2;
}
.aud-signal__hub--badge img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  height: 100%;
  max-width: none;
  object-fit: contain;
  display: block;
  transform: translate(-50%, -50%);
  filter: drop-shadow(0 16px 22px rgba(88,28,135,.26)) drop-shadow(0 4px 12px rgba(184,138,30,.22));
}
.aud-signal__hub b { display: none; }
.aud-signal__hub small { display: none; }
.aud-node {
  position: absolute;
  z-index: 3;
  min-width: 130px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  border: 1px solid rgba(15,23,42,.14);
  border-radius: 14px 4px 14px 4px;
  background: rgba(255,255,255,.88);
  color: var(--aud-ink);
  box-shadow: 0 16px 36px rgba(15,23,42,.10);
  opacity: 0;
  transform: translateY(12px) scale(.96);
  animation: audNodeIn .62s cubic-bezier(.2,.7,.2,1) forwards;
  animation-delay: calc(.22s + var(--i,0) * .13s);
  transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
}
.aud-node i {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: rgba(30,167,216,.12);
  color: var(--aud-sky);
  font-style: normal;
  font-size: 11px;
  font-weight: 900;
  direction: ltr;
}
.aud-node span {
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 900;
  line-height: 1.35;
  white-space: nowrap;
}
.aud-node--teacher { top: 34px; right: 34px; }
.aud-node--trainer { top: 34px; left: 34px; }
.aud-node--faculty { bottom: 34px; right: 34px; }
.aud-node--enthusiast { bottom: 34px; left: 34px; min-width: 220px; }
.aud-node--faculty i,
.aud-node--enthusiast i { background: rgba(184,138,30,.14); color: var(--aud-gold); }
.aud-node:hover {
  transform: translateY(-4px) scale(1.01);
  border-color: rgba(88,28,135,.32);
  box-shadow: 0 22px 44px rgba(88,28,135,.18);
}
@keyframes audNodeIn { to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes audScan { 0%, 100% { transform: translateX(-140px) skewX(18deg); opacity: 0; } 45%, 55% { opacity: 1; } 100% { transform: translateX(820px) skewX(18deg); } }
@keyframes audSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes audFloat { 0%, 100% { transform: translate(-50%, -50%); } 50% { transform: translate(-50%, calc(-50% - 6px)); } }
@keyframes audPulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: .9; transform: scale(1.08); } }
.hero-mobile-figure { display: none; }
@media (max-width: 991px) {
  .hero-mobile-figure {
    display: block;
    position: relative;
    margin: 8px auto 24px;
    width: 100%;
    max-width: 420px;
    z-index: 2;
  }
  .hero-mobile-figure .hero-images-area {
    position: relative;
    left: auto !important;
    right: auto !important;
    width: 100%;
    height: auto;
  }
  .hero-mobile-figure .hero-images-area .img1 img {
    width: 100%;
    height: auto;
    display: block;
  }
  .hero-mobile-figure .hero-images-area .elements2,
  .hero-mobile-figure .hero-images-area .elements3,
  .hero-mobile-figure .hero-images-area .elements4 { display: block !important; }
  .hero-mobile-figure .hero-images-area .elements5 {
    display: block !important;
    position: absolute !important;
    left: 50% !important;
    right: auto !important;
    top: 45% !important;
    bottom: auto !important;
    width: 82% !important;
    max-width: 340px !important;
    height: auto !important;
    z-index: -1 !important;
    opacity: .55;
    margin-left: -41%;
    margin-top: -41%;
  }
  .hero-mobile-figure .hero-images-area .elements1 { display: none !important; }
  .hero-mobile-figure .hero-images-area .elements2 { left: 6px !important; right: auto !important; top: 8% !important; max-width: 130px; width: 34%; height: auto; }
  .hero-mobile-figure .hero-images-area .elements4 { right: 6px !important; left: auto !important; top: 38% !important; bottom: auto !important; max-width: 140px; width: 36%; height: auto; }
  .hero-mobile-figure .hero-images-area .elements3 { right: 6px !important; left: auto !important; top: auto !important; bottom: 35% !important; max-width: 150px; width: 40%; height: auto; }
  .hero-mobile-figure .hero-images-area .elements4 { right: 6px !important; left: auto !important; top: 28% !important; bottom: auto !important; max-width: 140px; width: 36%; height: auto; }
  .hero1-section-area .col-lg-6:last-child { display: none; }
  .hero-desc-reveal .hero-desc-rest { display: none; }
  .hero-desc-reveal.is-expanded .hero-desc-rest { display: inline; }
  .hero-desc-toggle {
    display: inline-block;
    background: none;
    border: none;
    padding: 0 4px;
    margin-inline-start: 4px;
    color: #d4a017;
    font-weight: 700;
    font-size: inherit;
    cursor: pointer;
  }
  .hero-desc-toggle:hover { text-decoration: underline; }
}
/* desktop: hide toggle, show full text */
@media (min-width: 992px) {
  .hero-desc-toggle { display: none; }
  .hero-desc-reveal .hero-desc-rest { display: inline; }
}


@media (max-width: 576px) {
  .aud-signal__intro { align-items: center; flex-direction: column; gap: 8px; }
  .aud-signal__map {
    height: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-items: stretch;
    gap: 10px;
    padding: 18px 12px 16px;
    border-radius: 22px 6px 22px 6px;
    background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(249,251,255,.92));
  }
  .aud-signal__hub,
  .aud-signal__hub--badge {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    width: 240px;
    height: 240px;
    margin: 4px auto 10px;
    animation: audMobileBadgeFloat 6s ease-in-out infinite;
    order: -1;
    grid-column: 1 / -1;
    overflow: visible;
  }
  /* mobile badge inherits base ::before/::after/img effects */
  .aud-signal__hub small { display: none; }
  .aud-signal__ring,
  .aud-signal__beam { display: none; }
  .aud-node,
  .aud-node--teacher,
  .aud-node--trainer,
  .aud-node--faculty,
  .aud-node--enthusiast {
    position: relative;
    inset: auto;
    min-width: 0;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 8px;
    padding: 14px 10px;
    border-radius: 16px 4px 16px 4px;
    background: #fff;
    min-height: 96px;
  }
  .aud-node i {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
  .aud-node span {
    white-space: normal;
    font-size: 13px;
    line-height: 1.3;
  }
}
@media (prefers-reduced-motion: reduce) {
  .aud-signal__map::after { animation: none; display: none; }
  .aud-node { animation: none; opacity: 1; transform: none; }
}

/* Partners strip pinned top-right inside hero (no header) */
.hero1-section-area { position: relative; }
.hero-partners-tr-wrap {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 5;
  display: inline-block;
  overflow: hidden;
  pointer-events: none;
  line-height: 0;
}
.hero-partners-tr {
  display: block;
  height: clamp(60px, 6.8vw, 104px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.hero-partners-shine {
  position: absolute;
  top: 0;
  bottom: 0;
  left: -40%;
  width: 35%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0) 30%, rgba(255,255,255,0.85) 50%, rgba(255,255,255,0) 70%, transparent 100%);
  transform: skewX(-18deg);
  animation: heroPartnersShine 3.8s ease-in-out 1.2s infinite;
  mix-blend-mode: screen;
}
@keyframes heroPartnersShine {
  0%   { left: -40%; opacity: 0; }
  15%  { opacity: 1; }
  60%  { left: 120%; opacity: 1; }
  100% { left: 120%; opacity: 0; }
}
@media (max-width: 991px) {
  .hero-partners-tr-wrap {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    display: block;
    width: 100%;
    text-align: center;
    padding: 0;
  }
  .hero-partners-tr {
    height: auto;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    display: block;
  }
}
@media (max-width: 576px) {
  .hero-partners-tr { max-width: 300px; }
}
/* Keep the responsive hero content completely below the fixed header. */
.hero1-section-area .heading-area { margin-top: 0 !important; padding-top: 140px !important; }
@media (max-width: 991px) {
  .hero1-section-area .heading-area { padding-top: 170px !important; text-align: center !important; }
  .hero1-section-area .heading-area h5 { display: inline-block; }
  .hero1-section-area .heading-area .hero-title-img { display: block; text-align: center !important; margin-left: auto !important; margin-right: auto !important; }
  .hero1-section-area .heading-area .hero-title-img .hero-title-image { margin-left: auto; margin-right: auto; }
}
@media (max-width: 767px) {
  .hero1-section-area .heading-area { padding-top: 170px !important; }
}

/* Global scale-down on large desktops so 100% browser zoom matches previous 80% look */
@media (min-width: 1200px) {
  html { zoom: 0.85; }
}
@media (min-width: 1600px) {
  html { zoom: 0.9; }
}

/* ===== Mobile: blend hero person with audience card ===== */
@media (max-width: 991px) {
  /* Soft fade at bottom of the person so it doesn't look cut */
  .hero-mobile-figure {
    margin-bottom: -70px !important;
    -webkit-mask-image: linear-gradient(180deg, #000 78%, rgba(0,0,0,0.15) 96%, transparent 100%);
            mask-image: linear-gradient(180deg, #000 78%, rgba(0,0,0,0.15) 96%, transparent 100%);
  }
  /* Pull the audience card up so it overlaps the bottom of the figure */
  .aud-signal {
    position: relative;
    z-index: 3;
    margin-top: -40px !important;
  }
  .aud-signal__intro {
    justify-content: center;
    text-align: center;
  }
}
@media (max-width: 576px) {
  .hero-mobile-figure { margin-bottom: -90px !important; }
  .aud-signal { margin-top: -60px !important; }
  /* Lift the badge above the overlap zone */
  .aud-signal__map { padding-top: 34px !important; }
  .aud-signal__hub--badge {
    width: 238px !important;
    height: 238px !important;
    margin: 0 auto 12px !important;
    position: relative;
    left: auto !important;
    right: auto !important;
    z-index: 4;
    display: block;
    justify-self: center;
    grid-column: 1 / -1;
    animation: audMobileBadgeFloat 6s ease-in-out infinite !important;
  }
  .aud-signal__hub--badge img { margin: 0; display: block; }
}

@keyframes badgeShine {
  0%   { left: -40%; opacity: 0; }
  15%  { opacity: 1; }
  60%  { left: 110%; opacity: 1; }
  100% { left: 110%; opacity: 0; }
}

@keyframes audMobileBadgeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ===== About3 section RTL fixes ===== */
html[dir="rtl"] .about3-section-area .about-images-area .elements18 {
  left: auto;
  right: 60px;
  top: 20px;
  transform: scaleX(-1);
  z-index: 3;
}
html[dir="rtl"] .about3-section-area .about-images-area .img1 {
  text-align: start;
}
html[dir="rtl"] .about3-section-area .about-images-area .img2 {
  left: auto;
  right: 60px;
}
html[dir="rtl"] .about3-section-area .heading3 {
  padding: 0 50px 0 0;
}
@media (max-width: 991px) {
html[dir="rtl"] .about3-section-area .heading3 { padding: 0; }
}

/* ===== About4 section RTL fixes ===== */
html[dir="rtl"] .about4-section-area .about-heading { padding: 0 0 0 0; }
@media (max-width: 991px) {
  html[dir="rtl"] .about4-section-area .about-heading { padding: 0; }
}
html[dir="rtl"] .about4-section-area .about-images .elements33 { right: auto; left: -30px; }
html[dir="rtl"] .about4-section-area .about-images .elements34 { left: auto !important; right: auto !important; top: 8% !important; bottom: auto !important; inset-inline-end: -20px !important; }
html[dir="rtl"] .about4-section-area .about-images .elements35 { right: auto !important; left: auto !important; top: auto !important; bottom: 38% !important; inset-inline-start: -10px !important; }
html[dir="rtl"] .about4-section-area .about-boxarea .icons { right: 24px; left: auto; }
html[dir="rtl"] .about4-section-area .about-boxarea .text { padding-left: 0; padding-right: 100px; }
@media (max-width: 991px) {
  html[dir="rtl"] .about4-section-area .about-boxarea .text { padding-right: 0; }
}
@media (max-width: 991px) {
  .about4-section-area { overflow-x: hidden; padding-bottom: 120px !important; margin-bottom: 20px; }
  .about4-section-area .container { padding-left: 0 !important; padding-right: 0 !important; max-width: 100% !important; }
  .about4-section-area .container > .row { margin-left: 0 !important; margin-right: 0 !important; }
  .about4-section-area .col-lg-5, .about4-section-area .col-lg-6 { padding-left: 0 !important; padding-right: 0 !important; }
  .about4-section-area .about-images { position: relative; overflow: visible; border-radius: 0; margin: 0; }
  .about4-section-area .about-images .elements33,
  .about4-section-area .about-images .elements34,
  .about4-section-area .about-images .elements35 { display: none !important; }
  .about4-section-area .about-images .img1 { margin: 0 !important; }
  .about4-section-area .about-images .img1 img { width: 100% !important; max-width: 100% !important; height: auto; border-radius: 0 !important; margin: 0 !important; display: block; }
  .about4-section-area .about-heading { text-align: center; margin-top: -40px !important; position: relative; z-index: 3; padding: 0 16px !important; }
  .about4-section-area .about-heading h5 { font-size: 22px !important; padding: 8px 22px !important; display: inline-block; }
  .about4-section-area .about-heading > div[style*="padding"] { margin-top: -20px !important; position: relative; z-index: 2; }
  html[dir="rtl"] .about4-section-area .about-boxarea .icons { position: relative !important; right: auto; left: auto; margin-bottom: 16px; }
  html[dir="rtl"] .about4-section-area .about-boxarea .text { padding-right: 0 !important; padding-left: 0 !important; }
  .about4-section-area .about-heading p { padding: 18px 16px !important; font-size: 16px !important; line-height: 1.9 !important; }
}
html[dir="rtl"] .about3-section-area .heading3 ul { padding-right: 0; list-style: none; }
html[dir="rtl"] .about3-section-area .heading3 ul li img {
  margin: 0 0 0 6px;
}


/* About4 card hover color */
.about4-section-area .about-boxarea { cursor: pointer; transition: all .4s; }
.about4-section-area .about-boxarea:hover { border-color: #4f46e5; background: linear-gradient(135deg, rgba(79,70,229,0.08), rgba(79,70,229,0.02)); }
.about4-section-area .about-boxarea:hover span { color: #4f46e5 !important; }
.about4-section-area .about-boxarea:hover .icons { background: #4f46e5 !important; }
.about4-section-area .about-boxarea:hover .icons img { filter: brightness(0) invert(1); }

/* About4 mobile text sizing */
@media (max-width: 767px) {
  .about4-section-area .about-heading > div > p { font-size: 14px !important; line-height: 1.9 !important; }
  .about4-section-area .about-heading > div[style*="padding: 32px"] { padding: 20px !important; border-radius: 14px !important; }
  .about4-section-area .about-heading h3 { font-size: 20px !important; }
  .about4-section-area .about-heading h5 { font-size: 22px !important; padding: 8px 18px !important; }
  .about4-section-area .about-boxarea span { font-size: 14px !important; }
}

/* About4 image: transparent bg + extend to section bottom (desktop only) */
@media (min-width: 992px) {
  .about4-section-area { padding-bottom: 0 !important; overflow: hidden; }
  .about4-section-area .container,
  .about4-section-area .container > .row { padding-bottom: 0 !important; margin-bottom: 0 !important; }
  .about4-section-area .row { align-items: flex-start !important; }
  .about4-section-area .col-lg-5 { padding-bottom: 0 !important; align-self: flex-end; }
}
.about4-section-area .col-lg-6 { align-self: flex-start; padding-top: 0 !important; }
.about4-section-area .about-images { position: relative; }
.about4-section-area .about-images .img1,
.about4-section-area .about-images .img1 img {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible !important;
}
.about4-section-area .about-images .img1 { margin-bottom: 0 !important; display: block; }
.about4-section-area .about-images .img1 img { display: block; width: 135%; max-width: none; height: auto; margin-bottom: -1px; margin-right: -20%; }
@media (max-width: 991px) {
  .about4-section-area .about-images .img1 img { width: 100%; margin-right: 0; }
}
.about4-section-area .about-images .img1::after,
.about4-section-area .about-images .img1::before { display: none !important; }


/* ===== Work Process (third section) ===== */
.work-process-area .wp-chip {
  display: inline-block;
  padding: 8px 18px;
  background: #eef2ff;
  color: #4f46e5;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
}
.work-process-area h2 { color: #0f1a3a; }
.work-process-area .wp-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  flex-wrap: nowrap;
  padding: 20px 0 10px;
}
.work-process-area .wp-step {
  flex: 1 1 0;
  max-width: 320px;
  text-align: center;
  padding: 0 8px;
}
.work-process-area .wp-icon {
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 10px 30px -10px rgba(79,70,229,0.5);
}
.work-process-area .wp-icon::before {
  content: "";
  position: absolute;
  inset: -10px;
  border: 2px dashed #4f46e5;
  border-radius: 50%;
  opacity: 0.55;
}
.work-process-area .wp-icon img {
  width: 44px;
  height: 44px;
  filter: brightness(0) invert(1);
}
.work-process-area .wp-step h4 {
  font-size: 20px;
  font-weight: 700;
  color: #0f1a3a;
  margin: 0 0 12px;
}
.work-process-area .wp-step p {
  font-size: 15px;
  line-height: 1.9;
  color: #4b5563;
  margin: 0;
}
.work-process-area .wp-arrow {
  flex: 0 0 140px;
  margin-top: 40px;
  display: block;
}
.work-process-area .wp-arrow svg { width: 100%; height: auto; }
/* RTL: flip arrow so it points from right to left visually */
html[dir="rtl"] .work-process-area .wp-arrow svg { transform: scaleX(-1); }

@media (max-width: 991px) {
  .work-process-area .wp-steps { flex-wrap: wrap; }
  .work-process-area .wp-step { flex: 1 1 100%; max-width: 480px; margin: 0 auto; }
  .work-process-area .wp-arrow {
    flex: 0 0 100%;
    margin: 4px auto 8px;
    max-width: 120px;
    transform: rotate(90deg);
  }
  html[dir="rtl"] .work-process-area .wp-arrow svg { transform: none; }
}

/* ===== Work section (third): rounded bg + RTL arrows ===== */
.work-section-area {
  margin: 0 clamp(12px, 2.5vw, 32px) !important;
  border-radius: clamp(18px, 2.5vw, 36px) !important;
  overflow: hidden !important;
}
@media (max-width: 576px) {
  .work-section-area { margin: 0 10px !important; border-radius: 18px !important; }
}
/* Flip connector arrows for RTL so they point from card N (right) to card N+1 (left) */
html[dir="rtl"] .work-section-area .work-single-boxarea .elements12,
html[dir="rtl"] .work-section-area .work-single-boxarea .elements13 {
  right: auto !important;
  left: -115px !important;
  transform: scaleX(-1);
}


/* Step badge above title */
.work-section-area .conten-area .step-badge {
  display: inline-block;
  padding: 4px 14px;
  background: #eef2ff;
  color: #4f46e5;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}
.work-section-area .space8 { height: 8px; }

/* ===== Hero feature cards (three side-by-side) ===== */
.hero-cards { margin-top: 24px; }
.hero-cards-row {
  display: flex;
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
}
.hero-card-item {
  flex: 1 1 0;
  padding: 48px 32px;
  text-align: center;
  border-right: 1px solid #eef2f6;
}
.hero-card-item:last-child { border-right: none; }
html[dir="rtl"] .hero-card-item {
  border-right: none;
  border-left: 1px solid #eef2f6;
}
html[dir="rtl"] .hero-card-item:last-child { border-left: none; }

.hero-card-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: rgba(30, 138, 138, 0.10);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #1e8a8a;
}
.hero-card-icon svg {
  width: 40px;
  height: 40px;
  stroke: currentColor;
  fill: none;
}
.hero-card-title {
  font-size: 20px;
  font-weight: 700 !important;
  color: #0c1e21;
  margin-bottom: 14px;
}
.hero-card-desc {
  font-size: 15px;
  line-height: 1.75;
  color: #5a6b6b;
  margin-bottom: 24px;
}
.hero-card-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0c1e21;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}
.hero-card-link:hover { color: #1e8a8a; }
.hero-card-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0c1e21;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}
.hero-card-link:hover .hero-card-arrow { background: #1e8a8a; }
.hero-card-arrow svg {
  width: 14px;
  height: 14px;
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
}
html[dir="rtl"] .hero-card-arrow svg { transform: scaleX(-1); }

@media (max-width: 991px) {
  .hero-card-item { padding: 32px 20px; }
  .hero-card-title { font-size: 18px; }
  .hero-card-desc { font-size: 14px; }
}
@media (max-width: 767px) {
  .hero-cards-row { flex-direction: column; }
  .hero-card-item {
    border-right: none !important;
    border-left: none !important;
    border-bottom: 1px solid #eef2f6;
  }
  .hero-card-item:last-child { border-bottom: none; }
}

/* Responsive header nav: keep visible from md and up, shrink to fit */
@media (min-width: 768px) and (max-width: 1199px) {
  .tp-header-10-menu nav > ul {
    display: flex !important;
    flex-wrap: nowrap;
    gap: 4px;
  }
  .tp-header-10-menu nav > ul > li > a.nav-icon-link {
    font-size: 13px !important;
    padding: 8px 6px !important;
    gap: 4px;
    white-space: nowrap;
  }
  .tp-header-10-menu nav > ul > li > a.nav-icon-link lord-icon {
    width: 18px !important;
    height: 18px !important;
  }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .tp-header-10-menu nav > ul > li > a.nav-icon-link {
    font-size: 14px !important;
    padding: 8px 8px !important;
  }
  .tp-header-10-menu nav > ul > li > a.nav-icon-link lord-icon {
    width: 20px !important;
    height: 20px !important;
  }
}
