:root {
  --sch-primary: #5B4B8A;
  --sch-accent: #10B981;
  --sch-bg: #F6F7FA;
  --sch-surface: #FFFFFF;
  --sch-text: #232033;
  --sch-muted: #6E6A84;
  --sch-border: #E8E6F0;
  --sch-shadow: 0 10px 26px rgba(31, 25, 56, 0.08);
  --sch-radius: 14px;
}

html,
body {
  font-family: 'Cairo', sans-serif;
  background: var(--sch-bg);
  color: var(--sch-text);
  margin: 0 !important;
  padding: 0 !important;
}

body.site-rtl {
  direction: rtl;
  text-align: right;
}

body.site-ltr {
  direction: ltr;
  text-align: left;
}

.page-wrapper {
  background: var(--sch-bg);
}

.site-header .pbmit-header-overlay {
  background: #fff;
  border-bottom: 1px solid var(--sch-border);
  box-shadow: 0 6px 18px rgba(24, 20, 43, 0.05);
}

.pbmit-pre-header-wrapper {
  border-bottom: 1px solid var(--sch-border);
}

.site-branding .logo-img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.navigation>li>a {
  color: var(--sch-text) !important;
  font-weight: 600;
}

.navigation>li>a:hover,
.navigation>li.current-menu-item>a {
  color: var(--sch-primary) !important;
}

.pbmit-btn,
.pbmit-qoute-button a {
  border-radius: 12px !important;
  background: var(--sch-primary) !important;
  border-color: var(--sch-primary) !important;
}

.pbmit-btn:hover,
.pbmit-qoute-button a:hover {
  background: #4E4179 !important;
  border-color: #4E4179 !important;
}

.pbmit-slider-one .pbmit-slider-item {
  padding-block: 2rem;
}

.pbmit-slider-one .pbmit-slider-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.08));
  pointer-events: none;
}

.pbmit-slider-content .pbmit-title {
  line-height: 1.2;
  letter-spacing: 0;
}

.pbmit-slider-content .pbmit-desc {
  color: var(--sch-muted);
  max-width: 62ch;
}

.about-section_one,
.section-xl,
.service_one,
.ihbox-section_one,
.section-md,
.section-lgb,
.blog_one,
.client_one {
  padding-block: 72px;
}

.modern-vision-wrap {
  padding-block: 54px;
}

.modern-vision-card {
  background: var(--sch-surface);
  border: 1px solid var(--sch-border);
  border-radius: var(--sch-radius);
  box-shadow: var(--sch-shadow);
  padding: 1.25rem;
}

.modern-vision-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(91, 75, 138, 0.1);
  color: var(--sch-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-bottom: .75rem;
}

.modern-vision-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.about-one_rightbox,
.pbmit-heading-subheading,
.pbmit-heading-desc,
.pbmit-service-content,
.pbminfotech-post-item,
.pbmit-testimonial-style-1,
.activity-card {
  text-align: inherit;
}

.pbmit-element-static-box-style-1 .pbmit-post-inner,
.pbminfotech-post-item,
.pbmit-testimonial-style-1,
.pbmit-ihbox-style-8,
.pbmit-ihbox-style-9,
.pbmit-ihbox-style-10 {
  background: var(--sch-surface);
  border: 1px solid var(--sch-border);
  border-radius: var(--sch-radius);
  box-shadow: var(--sch-shadow);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.pbmit-element-static-box-style-1 .pbmit-post-inner:hover,
.pbminfotech-post-item:hover,
.pbmit-testimonial-style-1:hover,
.pbmit-ihbox-style-8:hover,
.pbmit-ihbox-style-9:hover,
.pbmit-ihbox-style-10:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(31, 25, 56, 0.11);
}

.pbmit-element-gallery-style-1 .pbmit-ele-header-area {
  margin-bottom: 1.2rem;
}

.fid_one {
  background: #EEF2F7;
}

.fid_one .pbmit-fid-style-2 {
  background: #fff;
  border: 1px solid var(--sch-border);
  border-radius: 12px;
  padding: 1rem;
}

.blog_one .pbmit-blog-btn {
  color: var(--sch-primary);
}

.site-footer:not(.sch-footer):not(.sch-footer-clean) {
  background: #1F1B2F;
  color: #E9E7F3;
  margin-top: 40px;
}

.site-footer:not(.sch-footer):not(.sch-footer-clean) .pbmit-footer-big-area {
  background: #2A2440;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.site-footer:not(.sch-footer):not(.sch-footer-clean) a {
  color: #fff;
}

.site-footer:not(.sch-footer):not(.sch-footer-clean) .widget-title,
.site-footer:not(.sch-footer):not(.sch-footer-clean) .pbmit-newsletter-title {
  color: #fff;
}

.pbmit-footer-newsletter input {
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.pbmit-social-links li a {
  border-radius: 10px;
}

body.site-rtl .pbmit-contact-info,
body.site-rtl .pbmit-footer-menu,
body.site-rtl .navigation {
  text-align: right;
}

body.site-ltr .pbmit-contact-info,
body.site-ltr .pbmit-footer-menu,
body.site-ltr .navigation {
  text-align: left;
}

@media (max-width: 991px) {

  .about-section_one,
  .section-xl,
  .service_one,
  .ihbox-section_one,
  .section-md,
  .section-lgb,
  .blog_one,
  .client_one {
    padding-block: 52px;
  }

  .site-branding .logo-img {
    max-height: 52px;
  }
}

/* Homepage v2 structure */
.sch-homepage {
  padding-bottom: 36px;
}

.sch-section {
  padding: 68px 0;
}

.sch-section-head {
  margin-bottom: 1.2rem;
}

.sch-section-head h2 {
  margin: 0;
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--sch-text);
}

.sch-hero {
  padding: 52px 0 34px;
}

.sch-hero-panel {
  background: linear-gradient(135deg, rgba(91, 75, 138, 0.08), rgba(16, 185, 129, 0.06));
  border: 1px solid var(--sch-border);
  border-radius: 20px;
  padding: clamp(1rem, 3vw, 2rem);
  box-shadow: var(--sch-shadow);
}

.sch-kicker {
  display: inline-block;
  color: var(--sch-primary);
  font-weight: 700;
  font-size: .86rem;
  margin-bottom: .45rem;
}

.sch-hero-title {
  margin: 0 0 .6rem;
  font-size: clamp(1.45rem, 3.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.25;
}

.sch-hero-text,
.sch-text {
  color: var(--sch-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

.sch-title {
  margin: 0 0 .65rem;
  font-size: clamp(1.3rem, 2.8vw, 2rem);
  font-weight: 800;
}

.sch-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
  margin-top: 1.1rem;
}

.sch-ghost-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(91, 75, 138, 0.2);
  color: var(--sch-primary);
  background: rgba(91, 75, 138, 0.05);
  padding: 0 1rem;
  text-decoration: none;
  font-weight: 700;
}

.sch-ghost-btn:hover {
  color: #fff;
  background: var(--sch-primary);
  border-color: var(--sch-primary);
  text-decoration: none;
}

.sch-hero-media {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--sch-border);
  box-shadow: var(--sch-shadow);
  background: #fff;
}

.sch-hero-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sch-hero-stats {
  margin-top: 1rem;
}

.sch-mini-stat {
  background: #fff;
  border: 1px solid var(--sch-border);
  border-radius: 14px;
  padding: .8rem .9rem;
  box-shadow: 0 6px 16px rgba(31, 25, 56, 0.06);
}

.sch-mini-stat strong {
  display: block;
  font-size: 1.2rem;
  color: var(--sch-primary);
  line-height: 1.2;
}

.sch-mini-stat span {
  color: var(--sch-muted);
  font-size: .88rem;
}

.sch-surface {
  background: #fff;
  border: 1px solid var(--sch-border);
  border-radius: 18px;
  padding: clamp(1rem, 3vw, 1.6rem);
  box-shadow: var(--sch-shadow);
}

.sch-about-media {
  border-radius: 16px;
  overflow: hidden;
}

.sch-about-media img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sch-check-grid {
  margin-top: .9rem;
}

.sch-check-item {
  display: flex;
  align-items: flex-start;
  gap: .45rem;
  padding: .48rem .62rem;
  border-radius: 10px;
  background: rgba(91, 75, 138, 0.05);
  color: #3a3650;
}

.sch-check-item i {
  color: var(--sch-primary);
  margin-top: .25rem;
}

.sch-card {
  background: #fff;
  border: 1px solid var(--sch-border);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(31, 25, 56, 0.07);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.sch-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(31, 25, 56, 0.12);
}

.sch-card-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.sch-card-body {
  padding: 1rem;
}

.sch-card-body h3 {
  margin: 0 0 .45rem;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--sch-text);
}

.sch-card-body p {
  margin: 0;
  color: var(--sch-muted);
  line-height: 1.7;
}

.sch-meta {
  margin-top: .65rem;
  display: flex;
  gap: .45rem;
  flex-wrap: wrap;
}

.sch-meta span {
  font-size: .78rem;
  border-radius: 999px;
  border: 1px solid var(--sch-border);
  background: #f8f8fc;
  color: #58526f;
  padding: .2rem .62rem;
}

.sch-link-more {
  color: var(--sch-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: .9rem;
}

.sch-link-more:hover {
  text-decoration: underline;
  color: #4E4179;
}

.sch-muted-bg {
  background: linear-gradient(180deg, rgba(91, 75, 138, 0.04), rgba(91, 75, 138, 0.01));
}

.sch-quote-card {
  background: #fff;
  border: 1px solid var(--sch-border);
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(31, 25, 56, 0.07);
  padding: 1rem;
}

.sch-quote-card p {
  margin: 0;
  color: #4f4a63;
  line-height: 1.85;
}

.sch-quote-user {
  margin-top: .75rem;
  padding-top: .65rem;
  border-top: 1px dashed var(--sch-border);
}

.sch-quote-user strong {
  display: block;
  font-size: .95rem;
}

.sch-quote-user span {
  color: var(--sch-muted);
  font-size: .83rem;
}

.sch-gallery-item {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--sch-border);
  box-shadow: 0 6px 16px rgba(31, 25, 56, 0.06);
}

.sch-gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform .25s ease;
}

.sch-gallery-item:hover img {
  transform: scale(1.04);
}

.sch-cta {
  padding-top: 24px;
}

.sch-cta-box {
  border-radius: 18px;
  border: 1px solid var(--sch-border);
  box-shadow: var(--sch-shadow);
  background: linear-gradient(135deg, rgba(91, 75, 138, 0.1), rgba(16, 185, 129, 0.08));
  text-align: center;
  padding: clamp(1rem, 3vw, 1.8rem);
}

.sch-cta-box h2 {
  margin: 0 0 .5rem;
  font-weight: 800;
  font-size: clamp(1.2rem, 2.4vw, 1.9rem);
}

.sch-cta-box p {
  margin: 0;
  color: #4e4a63;
  line-height: 1.8;
}

body.site-rtl .sch-homepage,
body.site-rtl .sch-card-body,
body.site-rtl .sch-quote-card,
body.site-rtl .sch-surface {
  text-align: right;
}

body.site-ltr .sch-homepage,
body.site-ltr .sch-card-body,
body.site-ltr .sch-quote-card,
body.site-ltr .sch-surface {
  text-align: left;
}

@media (max-width: 991px) {
  .sch-section {
    padding: 52px 0;
  }

  .sch-hero {
    padding-top: 36px;
  }

  .sch-navbar-brand-ar,
  .sch-navbar-brand-en {
    max-width: 160px;
  }
}

/* Second Pass: Premium homepage hero + footer */
:root {
  --sch-lilac: #B682D8;
  --sch-lilac-soft: rgba(182, 130, 216, .16);
}

.sch-main-hero {
  position: relative;
  padding: 44px 0 56px;
  background: radial-gradient(circle at 92% 10%, rgba(182, 130, 216, .16), transparent 45%),
    radial-gradient(circle at 8% 90%, rgba(91, 75, 138, .12), transparent 52%),
    #f7f7fc;
  overflow: hidden;
}

.sch-hero-gradient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .55));
}

.sch-hero-slider {
  position: relative;
  z-index: 2;
}

.sch-hero-slide {
  background: #fff;
  border: 1px solid var(--sch-border);
  border-radius: 22px;
  box-shadow: 0 16px 34px rgba(34, 20, 69, 0.1);
  overflow: hidden;
  padding: clamp(1rem, 2.6vw, 2rem);
}

.sch-hero-content {
  padding-inline-end: .4rem;
}

.sch-hero-kicker {
  display: inline-block;
  color: #fff;
  background: linear-gradient(90deg, #5B4B8A, #B682D8);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  padding: .28rem .72rem;
  margin-bottom: .7rem;
}

.sch-hero-heading {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.7rem);
  font-weight: 800;
  line-height: 1.25;
  color: #241f38;
}

.sch-hero-copy {
  margin: .72rem 0 0;
  color: #625b79;
  line-height: 1.85;
  font-size: 1rem;
}

.sch-hero-cta {
  margin-top: 1.1rem;
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}

.sch-hero-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(182, 130, 216, .35);
  color: #5B4B8A;
  background: var(--sch-lilac-soft);
  padding-inline: .95rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
}

.sch-hero-link:hover {
  background: #5B4B8A;
  border-color: #5B4B8A;
  color: #fff;
  text-decoration: none;
}

.sch-hero-image {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--sch-border);
  background: #f7f5fb;
  min-height: 320px;
  height: 100%;
}

.sch-hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
}

.sch-main-hero .swiper-button-next,
.sch-main-hero .swiper-button-prev {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(182, 130, 216, .38);
  box-shadow: 0 8px 20px rgba(34, 20, 69, .12);
}

.sch-main-hero .swiper-button-next:after,
.sch-main-hero .swiper-button-prev:after {
  font-size: 15px;
  color: #5B4B8A;
  font-weight: 700;
}

.sch-main-hero .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(91, 75, 138, .25);
  opacity: 1;
}

.sch-main-hero .swiper-pagination-bullet-active {
  background: #B682D8;
}

.sch-counter-strip {
  padding-top: 20px;
  padding-bottom: 8px;
}

.sch-homepage .sch-section:first-of-type {
  padding-top: 34px;
}

.sch-mini-stat {
  border-left: 3px solid #B682D8;
}

[dir="rtl"] .sch-mini-stat {
  border-left: 0;
  border-right: 3px solid #B682D8;
}

.sch-card-media,
.sch-gallery-item {
  background: #f5f4fa;
}

.sch-card-media img,
.sch-gallery-item img,
.sch-about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.sch-footer {
  background: linear-gradient(180deg, #261f3d 0%, #1d1831 100%);
  color: #ece9f6;
  margin-top: 56px;
}

.sch-footer-top {
  padding: 44px 0 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.sch-footer-brand img {
  width: auto;
  max-height: 46px;
  margin-bottom: .8rem;
  filter: brightness(1.15);
}

.sch-footer-brand h3 {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 800;
}

.sch-footer-brand p,
.sch-footer-sub {
  margin-top: .55rem;
  color: rgba(236, 233, 246, .78);
  line-height: 1.7;
}

.sch-footer-title {
  color: #fff;
  font-size: .95rem;
  font-weight: 800;
  margin: 0 0 .75rem;
}

.sch-footer-links,
.sch-footer-contact,
.sch-footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sch-footer-links li,
.sch-footer-menu li {
  margin-bottom: .45rem;
}

.sch-footer-links a,
.sch-footer-menu a {
  color: rgba(236, 233, 246, .84);
  text-decoration: none;
  transition: color .2s ease;
}

.sch-footer-links a:hover,
.sch-footer-menu a:hover {
  color: #B682D8;
}

.sch-footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .6rem;
  color: rgba(236, 233, 246, .9);
}

.sch-footer-contact i {
  color: #B682D8;
  margin-top: .2rem;
}

.sch-footer-contact a {
  color: rgba(236, 233, 246, .9);
  text-decoration: none;
}

.sch-footer-social {
  display: flex;
  gap: .35rem;
  margin-bottom: .8rem;
}

.sch-footer-social li a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(182, 130, 216, .2);
  color: #fff;
}

.sch-footer-social li a:hover {
  background: #B682D8;
}

.sch-footer-cta {
  margin-top: .3rem;
}

.sch-footer-bottom {
  padding: 14px 0 20px;
}

.sch-footer .pbmit-footer-menu {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  flex-wrap: wrap;
}

[dir="rtl"] .sch-footer .pbmit-footer-menu {
  justify-content: flex-start;
}

@media (max-width: 991px) {
  .sch-main-hero {
    padding-top: 22px;
  }

  .sch-hero-slide {
    border-radius: 16px;
    padding: 1rem;
  }

  .sch-hero-image,
  .sch-hero-image img {
    min-height: 220px;
  }

  .sch-main-hero .swiper-button-next,
  .sch-main-hero .swiper-button-prev {
    display: none;
  }

  .sch-footer .pbmit-footer-menu {
    justify-content: flex-start;
  }
}

/* Third pass: stronger visual hierarchy */
.sch-homepage {
  background:
    radial-gradient(circle at 12% 8%, rgba(182, 130, 216, .08), transparent 36%),
    radial-gradient(circle at 90% 35%, rgba(91, 75, 138, .07), transparent 42%),
    var(--sch-bg);
}

.sch-intro-strip {
  padding-top: 26px;
  padding-bottom: 8px;
}

.sch-intro-card {
  border: 1px solid rgba(182, 130, 216, .26);
  background: linear-gradient(140deg, #ffffff 0%, #f8f5fd 100%);
  border-radius: 18px;
  padding: clamp(1rem, 2vw, 1.45rem);
  box-shadow: 0 12px 28px rgba(43, 32, 79, .08);
}

.sch-intro-card h1 {
  margin: .45rem 0;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 800;
  line-height: 1.35;
  color: #261f3d;
}

.sch-intro-card p {
  margin: 0;
  color: #5d5672;
  line-height: 1.85;
}

.sch-section-head {
  margin-bottom: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .8rem;
}

.sch-section-head h2 {
  position: relative;
  padding-bottom: .45rem;
}

.sch-section-head h2::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 64px;
  height: 3px;
  border-radius: 99px;
  background: linear-gradient(90deg, #5B4B8A, #B682D8);
}

.sch-main-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247, 247, 252, .7) 0%, rgba(247, 247, 252, .96) 100%);
  pointer-events: none;
  z-index: 1;
}

.sch-hero-slide {
  position: relative;
  z-index: 3;
}

.sch-hero-image {
  position: relative;
}

.sch-hero-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 24, 69, 0.06), rgba(35, 24, 69, 0.2));
  pointer-events: none;
}

.sch-card {
  border-color: rgba(91, 75, 138, .14);
}

.sch-card:hover {
  border-color: rgba(182, 130, 216, .38);
}

.sch-card-media {
  position: relative;
  min-height: 168px;
}

.sch-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .06));
}

.sch-about-media,
.sch-card-media,
.sch-gallery-item,
.sch-hero-image {
  background-image: linear-gradient(135deg, #f5f4fa, #ece8f7);
}

.sch-gallery-item {
  border-color: rgba(91, 75, 138, .2);
}

.sch-gallery-item:hover {
  box-shadow: 0 16px 30px rgba(43, 32, 79, .16);
}

.sch-quote-card {
  border-color: rgba(91, 75, 138, .16);
}

.sch-quote-card::before {
  content: "â€œ";
  display: block;
  color: rgba(182, 130, 216, .4);
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: .2rem;
}

.sch-cta-box {
  background: linear-gradient(135deg, rgba(91, 75, 138, .13), rgba(182, 130, 216, .15));
  border-color: rgba(91, 75, 138, .2);
}

.sch-footer {
  position: relative;
  overflow: hidden;
}

.sch-footer::before {
  content: "";
  position: absolute;
  top: -110px;
  inset-inline-end: -90px;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 130, 216, .35), transparent 65%);
  pointer-events: none;
}

@media (max-width: 991px) {
  .sch-intro-strip {
    padding-top: 16px;
  }

  .sch-card-media {
    min-height: 154px;
  }

  .sch-section-head {
    margin-bottom: 1rem;
  }
}

/* Homepage Hero Rebuild */
body.is-homepage .site-header {
  z-index: 40;
}

body.is-homepage .site-header .pbmit-header-overlay {
  position: relative;
  top: 0;
  z-index: 5;
}

body.is-homepage .site-header .pbmit-header-height-wrapper {
  padding-bottom: 14px;
}

body.is-homepage .sch-main-hero {
  position: relative;
  padding: 10px 0 48px;
  margin-top: 0;
  background:
    radial-gradient(circle at 90% 8%, rgba(182, 130, 216, .2), transparent 42%),
    radial-gradient(circle at 6% 92%, rgba(91, 75, 138, .14), transparent 50%),
    #f7f6fc;
}

body.is-homepage .sch-main-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .28), rgba(255, 255, 255, .68));
}

body.is-homepage .sch-hero-slider {
  position: relative;
  z-index: 2;
  overflow: hidden;
  border-radius: 26px;
  box-shadow: 0 24px 46px rgba(42, 30, 74, 0.16);
}

body.is-homepage .sch-hero-slide {
  position: relative;
  margin: 0;
  border: 1px solid rgba(182, 130, 216, .26);
  border-radius: 26px;
  padding: clamp(1.1rem, 2.8vw, 2rem);
  min-height: clamp(360px, 52vw, 540px);
  background: linear-gradient(135deg, #ffffff 0%, #f7f4fd 100%);
}

body.is-homepage .sch-hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

body.is-homepage .sch-hero-kicker {
  background: linear-gradient(100deg, #5B4B8A, #B682D8);
  padding: .36rem .86rem;
  font-size: .79rem;
  margin-bottom: .9rem;
}

body.is-homepage .sch-hero-heading {
  font-size: clamp(1.55rem, 3.2vw, 3rem);
  line-height: 1.25;
  margin-bottom: .65rem;
  color: #231b39;
}

body.is-homepage .sch-hero-copy {
  color: #5c5670;
  max-width: 56ch;
  margin: 0;
  font-size: clamp(.95rem, 1.45vw, 1.08rem);
}

body.is-homepage .sch-hero-cta {
  margin-top: 1.35rem;
  gap: .75rem;
}

body.is-homepage .sch-hero-cta .pbmit-btn {
  min-height: 46px;
  border-radius: 13px !important;
  box-shadow: 0 10px 24px rgba(91, 75, 138, .24);
}

body.is-homepage .sch-hero-link {
  min-height: 46px;
  border-radius: 13px;
  border-color: rgba(182, 130, 216, .45);
  color: #4f3f7f;
  background: rgba(182, 130, 216, .16);
}

body.is-homepage .sch-hero-image {
  position: relative;
  border-radius: 20px;
  min-height: clamp(270px, 38vw, 470px);
  border: 1px solid rgba(91, 75, 138, .2);
  box-shadow: 0 18px 34px rgba(42, 30, 74, 0.18);
}

body.is-homepage .sch-hero-image::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(35, 24, 69, 0.04), rgba(35, 24, 69, 0.22));
}

body.is-homepage .sch-hero-image img {
  width: 100%;
  height: 100%;
  min-height: clamp(270px, 38vw, 470px);
  object-fit: cover;
  object-position: center;
}

body.is-homepage .sch-main-hero .swiper-pagination {
  bottom: 14px !important;
}

body.is-homepage .sch-main-hero .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(91, 75, 138, .3);
  margin: 0 5px !important;
}

body.is-homepage .sch-main-hero .swiper-pagination-bullet-active {
  width: 26px;
  border-radius: 14px;
  background: #B682D8;
}

body.is-homepage .sch-main-hero .sch-hero-nav {
  position: absolute;
  inset: 0;
  z-index: 8;
  pointer-events: none;
}

body.is-homepage .sch-main-hero .sch-hero-nav .swiper-buttons {
  display: none;
}

body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-next,
body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-prev {
  pointer-events: auto;
  width: 44px;
  height: 44px;
  margin: 0;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  border: 1px solid rgba(182, 130, 216, .48);
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 10px 24px rgba(42, 30, 74, .16);
  transition: all .22s ease;
  left: auto !important;
  right: auto !important;
}

body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-next {
  inset-inline-end: 16px;
}

body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-prev {
  inset-inline-start: 16px;
}

body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-next::after,
body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-prev::after {
  font-size: 14px;
  color: #5B4B8A;
  font-weight: 700;
}

body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-next:hover,
body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-prev:hover {
  background: #B682D8;
  border-color: #B682D8;
  box-shadow: 0 14px 28px rgba(91, 75, 138, .24);
}

body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-next:hover::after,
body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-prev:hover::after {
  color: #fff;
}

@media (max-width: 991px) {
  body.is-homepage .site-header .pbmit-header-height-wrapper {
    padding-bottom: 8px;
  }

  body.is-homepage .sch-main-hero {
    padding-top: 4px;
    padding-bottom: 30px;
  }

  body.is-homepage .sch-hero-slider,
  body.is-homepage .sch-hero-slide {
    border-radius: 18px;
  }

  body.is-homepage .sch-hero-slide {
    min-height: auto;
    padding: 1rem 1rem 2.8rem;
  }

  body.is-homepage .sch-hero-image,
  body.is-homepage .sch-hero-image img {
    min-height: 210px;
  }

  body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-next,
  body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-prev {
    width: 38px;
    height: 38px;
    top: auto;
    bottom: 12px;
    transform: none;
  }

  body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-prev {
    inset-inline-start: 10px;
  }

  body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-next {
    inset-inline-end: 10px;
  }
}

/* Clean Header + Hero rebuild */
.sch-site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  padding: 12px 0;
  background: rgba(246, 245, 251, .88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(91, 75, 138, .1);
}

.sch-header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #fff;
  border: 1px solid rgba(182, 130, 216, .2);
  border-radius: 18px;
  padding: .7rem .95rem;
  box-shadow: 0 10px 26px rgba(39, 27, 71, .08);
  flex-wrap: nowrap;
}

.sch-brand img {
  max-height: 54px;
  width: auto;
  object-fit: contain;
  display: block;
}

.sch-brand {
  flex: 0 0 auto;
}

.sch-nav {
  flex: 1;
  min-width: 0;
  overflow: visible;
}

.sch-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .4rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

.sch-nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 .8rem;
  border-radius: 999px;
  color: #322b48;
  text-decoration: none;
  font-weight: 700;
  font-size: .93rem;
  line-height: 1.5;
  white-space: nowrap;
  transition: all .2s ease;
}

.sch-nav-list a:hover {
  color: #5B4B8A;
  background: rgba(182, 130, 216, .12);
}

.sch-header-actions {
  display: flex;
  align-items: center;
  gap: .55rem;
  flex: 0 0 auto;
  white-space: nowrap;
}

.sch-lang-switch {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(182, 130, 216, .28);
  background: rgba(182, 130, 216, .08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sch-lang-switch img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 6px;
}

.sch-header-login {
  min-height: 44px;
  border-radius: 12px !important;
}

.sch-nav-mobile-lang {
  display: none;
}

.sch-nav-mobile-lang-link {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
}

.sch-nav-mobile-lang-link img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 auto;
}

.sch-menu-toggle {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(182, 130, 216, .3);
  background: rgba(182, 130, 216, .08);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.sch-menu-toggle span {
  width: 18px;
  height: 2px;
  background: #4d3f78;
  border-radius: 999px;
}

body.is-homepage .sch-main-hero {
  padding-top: 24px;
  margin-top: 0;
}

body.is-homepage .sch-hero-slider {
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

body.is-homepage .sch-hero-slide {
  border-radius: 22px;
  min-height: clamp(380px, 52vw, 540px);
}

body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-next,
body.is-homepage .sch-main-hero .sch-hero-nav .swiper-button-prev {
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 1199px) {
  .sch-nav-list {
    gap: .45rem;
  }

  .sch-nav-list a {
    min-height: 36px;
    padding: 0 .45rem;
    font-size: .92rem;
  }
}

@media (min-width: 992px) {
  body.site-rtl .sch-header-shell {
    gap: .7rem;
    padding-inline: .82rem;
  }

  body.site-rtl .sch-nav {
    flex: 1 1 auto;
    min-width: 0;
  }

  body.site-rtl .sch-nav-list {
    gap: .22rem;
    justify-content: center;
  }

  body.site-rtl .sch-nav-list a {
    padding-inline: .56rem;
    font-size: .86rem;
  }

  body.site-rtl .sch-header-actions {
    gap: .35rem;
  }

  body.site-rtl .sch-lang-switch {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  body.site-rtl .sch-lang-switch img {
    width: 18px;
    height: 18px;
  }

  body.site-rtl .sch-header-login {
    min-height: 38px;
    padding-inline: .7rem;
    font-size: .86rem;
  }
}

@media (max-width: 991px) {
  .sch-site-header {
    padding: 10px 0;
  }

  .sch-header-shell {
    justify-content: flex-start;
    flex-wrap: nowrap;
    border-radius: 14px;
    padding: .55rem .65rem;
    position: relative;
    gap: .55rem;
  }

  .sch-brand {
    order: 3;
    margin-inline-start: auto;
    flex: 0 0 auto;
  }

  .sch-menu-toggle {
    display: inline-flex;
    order: 1;
    flex: 0 0 auto;
  }

  .sch-nav {
    order: 4;
    position: absolute;
    top: calc(100% + 10px);
    inset-inline-start: 0;
    inset-inline-end: 0;
    background: #fff;
    border: 1px solid rgba(182, 130, 216, .22);
    border-radius: 14px;
    box-shadow: 0 16px 30px rgba(33, 23, 58, .13);
    padding: .65rem;
    display: none;
    z-index: 20;
  }

  .sch-nav.is-open {
    display: block;
  }

  .sch-nav-list {
    justify-content: flex-start;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
  }

  .sch-nav-list a {
    justify-content: flex-start;
    min-height: 42px;
    width: 100%;
  }

  body.site-rtl .sch-nav-list a {
    justify-content: flex-end;
  }

  .sch-nav-mobile-lang {
    display: block;
    margin-top: .4rem;
    padding-top: .45rem;
    border-top: 1px solid rgba(182, 130, 216, .16);
  }

  .sch-nav-mobile-lang-link {
    min-height: 44px;
    width: 100%;
  }

  body.site-rtl .sch-nav-mobile-lang-link {
    justify-content: flex-end;
  }

  .sch-brand img {
    max-height: 44px;
  }

  .sch-header-actions {
    order: 2;
    flex: 0 0 auto;
    gap: .45rem;
  }

  .sch-header-actions .sch-lang-switch {
    display: none;
  }

  .sch-header-login {
    min-height: 42px;
    padding-inline: .9rem;
    white-space: nowrap;
    font-size: .9rem;
  }
}

/* Hero rebuild (homepage only) */
body.is-homepage .site-header .pbmit-header-overlay {
  position: relative;
  top: 0 !important;
}

body.is-homepage .header-style-1 .pbmit-main-header-area {
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(33, 22, 62, .08);
}

body.is-homepage .sch-main-hero {
  padding: 24px 0 54px;
  margin-top: 0;
  background:
    radial-gradient(circle at 10% 15%, rgba(182, 130, 216, .12), transparent 35%),
    radial-gradient(circle at 88% 85%, rgba(91, 75, 138, .1), transparent 45%),
    #f6f5fb;
}

body.is-homepage .sch-main-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, .55), rgba(246, 245, 251, .95));
  pointer-events: none;
  z-index: 1;
}

body.is-homepage .sch-hero-slider {
  position: relative;
  z-index: 3;
  border-radius: 24px;
  overflow: hidden;
}

body.is-homepage .sch-hero-slide {
  border-radius: 24px;
  border: 1px solid rgba(182, 130, 216, .22);
  background: linear-gradient(135deg, #ffffff, #faf8ff);
  box-shadow: 0 20px 40px rgba(42, 30, 73, .12);
  padding: clamp(1rem, 2.8vw, 2.1rem);
  min-height: clamp(360px, 58vh, 560px);
  display: flex;
  align-items: center;
}

body.is-homepage .sch-hero-content {
  max-width: 560px;
}

body.is-homepage .sch-hero-kicker {
  background: linear-gradient(90deg, #5B4B8A, #B682D8);
  color: #fff;
  border-radius: 999px;
  padding: .34rem .78rem;
  font-size: .78rem;
  font-weight: 700;
}

body.is-homepage .sch-hero-heading {
  margin-top: .4rem;
  margin-bottom: .7rem;
  font-size: clamp(1.5rem, 3.3vw, 3rem);
  line-height: 1.2;
  color: #241d3a;
}

body.is-homepage .sch-hero-copy {
  color: #5d5674;
  font-size: clamp(.95rem, 1.35vw, 1.08rem);
  line-height: 1.9;
  margin-top: 0;
  margin-bottom: .25rem;
}

body.is-homepage .sch-hero-cta {
  margin-top: 1.2rem;
  gap: .75rem;
}

body.is-homepage .sch-hero-cta .pbmit-btn,
body.is-homepage .sch-hero-link {
  min-height: 46px;
  border-radius: 14px;
  padding-inline: 1.05rem;
  font-weight: 700;
}

body.is-homepage .sch-hero-image {
  border-radius: 18px;
  border: 1px solid rgba(91, 75, 138, .15);
  overflow: hidden;
  min-height: clamp(260px, 42vh, 520px);
  background: #ede9f8;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3);
}

body.is-homepage .sch-hero-image img {
  width: 100%;
  height: 100%;
  min-height: clamp(260px, 42vh, 520px);
  object-fit: cover;
  object-position: center;
  display: block;
}

body.is-homepage .sch-hero-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 8;
}

body.is-homepage .sch-hero-nav .swiper-button-next,
body.is-homepage .sch-hero-nav .swiper-button-prev {
  pointer-events: auto;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  border: 1px solid rgba(182, 130, 216, .45);
  box-shadow: 0 10px 24px rgba(31, 22, 57, .16);
  margin-top: 0;
}

body.is-homepage .sch-hero-nav .swiper-button-prev {
  inset-inline-start: 14px;
  inset-inline-end: auto;
}

body.is-homepage .sch-hero-nav .swiper-button-next {
  inset-inline-end: 14px;
  inset-inline-start: auto;
}

body.is-homepage .sch-hero-nav .swiper-button-next:after,
body.is-homepage .sch-hero-nav .swiper-button-prev:after {
  font-size: 16px;
  color: #5B4B8A;
}

body.is-homepage .sch-hero-nav .swiper-button-next:hover,
body.is-homepage .sch-hero-nav .swiper-button-prev:hover {
  background: #fff;
  border-color: #B682D8;
}

body.is-homepage .sch-hero-slider>.swiper-pagination {
  bottom: 18px;
}

body.is-homepage .sch-hero-slider .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: rgba(91, 75, 138, .28);
}

body.is-homepage .sch-hero-slider .swiper-pagination-bullet-active {
  width: 24px;
  border-radius: 999px;
  background: #B682D8;
}

@media (max-width: 1199px) {
  body.is-homepage .sch-hero-slide {
    min-height: auto;
  }

  body.is-homepage .sch-hero-content {
    max-width: 100%;
  }
}

@media (max-width: 991px) {
  body.is-homepage .sch-main-hero {
    padding-top: 14px;
    padding-bottom: 36px;
  }

  body.is-homepage .sch-hero-slide {
    border-radius: 16px;
    padding: 1rem;
  }

  body.is-homepage .sch-hero-image,
  body.is-homepage .sch-hero-image img {
    min-height: 230px;
  }

  body.is-homepage .sch-hero-nav .swiper-button-next,
  body.is-homepage .sch-hero-nav .swiper-button-prev {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 767px) {
  body.is-homepage .sch-hero-nav {
    display: none;
  }
}

/* Final homepage header + hero concept (reference-inspired) */
body.is-homepage .sch-site-header {
  position: relative;
  top: auto;
  background: transparent;
  border-bottom: 0;
  backdrop-filter: none;
  padding: 22px 0 0;
  z-index: 40;
}

body.is-homepage .sch-header-shell {
  border-radius: 999px;
  border: 1px solid rgba(182, 130, 216, 0.22);
  box-shadow: 0 14px 30px rgba(43, 30, 77, 0.12);
  padding: .58rem 1rem;
  background: rgba(255, 255, 255, 0.98);
}

body.is-homepage .sch-nav-list {
  gap: .4rem;
  flex-wrap: nowrap;
  white-space: nowrap;
}

body.is-homepage .sch-nav-list a {
  min-height: 42px;
  padding-inline: .8rem;
  border-radius: 999px;
  white-space: nowrap;
}

body.is-homepage .sch-main-hero {
  margin-top: -18px;
  padding: 52px 0 56px;
  background:
    radial-gradient(circle at 12% 14%, rgba(182, 130, 216, .16), transparent 38%),
    radial-gradient(circle at 86% 80%, rgba(91, 75, 138, .12), transparent 46%),
    #eceaf1;
}

body.is-homepage .sch-hero-slider {
  border-radius: 28px;
  box-shadow: 0 24px 50px rgba(35, 24, 63, .16);
  overflow: hidden;
}

body.is-homepage .sch-hero-slide {
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, .55);
  background: linear-gradient(130deg, rgba(255, 255, 255, .84), rgba(255, 255, 255, .54));
  padding: clamp(1.2rem, 2.8vw, 2.2rem);
  min-height: clamp(430px, 54vw, 620px);
}

body.is-homepage .sch-hero-grid {
  align-items: center;
  min-height: inherit;
}

body.is-homepage .sch-hero-content {
  max-width: 560px;
}

body.is-homepage .sch-hero-kicker {
  background: rgba(182, 130, 216, .18);
  color: #5a437f;
  border: 1px solid rgba(182, 130, 216, .32);
}

body.is-homepage .sch-hero-heading {
  font-size: clamp(1.8rem, 3.5vw, 3.35rem);
  line-height: 1.14;
  letter-spacing: -.01em;
  margin: .4rem 0 .75rem;
}

body.is-homepage .sch-hero-copy {
  color: #4f4765;
  font-size: clamp(.98rem, 1.25vw, 1.08rem);
  line-height: 1.9;
}

body.is-homepage .sch-hero-cta .pbmit-btn,
body.is-homepage .sch-hero-link {
  min-height: 48px;
  border-radius: 14px;
}

body.is-homepage .sch-hero-cta .pbmit-btn {
  background: #B682D8 !important;
  border-color: #B682D8 !important;
}

body.is-homepage .sch-hero-cta .pbmit-btn:hover {
  background: #9b66c1 !important;
  border-color: #9b66c1 !important;
}

body.is-homepage .sch-hero-image {
  min-height: clamp(340px, 45vw, 580px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .72);
  box-shadow: 0 20px 40px rgba(43, 30, 76, 0.2);
}

body.is-homepage .sch-hero-image img {
  min-height: clamp(340px, 45vw, 580px);
  object-fit: cover;
  object-position: center;
}

body.is-homepage .sch-hero-nav .swiper-button-next,
body.is-homepage .sch-hero-nav .swiper-button-prev {
  top: auto;
  bottom: 20px;
  transform: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(182, 130, 216, .46);
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 10px 24px rgba(43, 30, 77, .14);
}

body.is-homepage .sch-hero-nav .swiper-button-prev {
  inset-inline-start: 22px;
}

body.is-homepage .sch-hero-nav .swiper-button-next {
  inset-inline-start: 74px;
  inset-inline-end: auto;
}

body.is-homepage .sch-hero-nav .swiper-button-next:after,
body.is-homepage .sch-hero-nav .swiper-button-prev:after {
  font-size: 14px;
  color: #5B4B8A;
}

body.is-homepage .sch-hero-slider>.swiper-pagination {
  bottom: 26px;
  inset-inline-end: 22px;
  inset-inline-start: auto;
  width: auto;
}

body.site-rtl.is-homepage .sch-hero-slider>.swiper-pagination {
  inset-inline-start: 22px;
  inset-inline-end: auto;
}

body.is-homepage .sch-hero-slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
}

body.is-homepage .sch-hero-slider .swiper-pagination-bullet-active {
  width: 20px;
}

@media (min-width: 992px) {
  body.site-rtl.is-homepage .sch-hero-grid {
    flex-direction: row-reverse;
  }
}

@media (max-width: 991px) {
  body.is-homepage .sch-site-header {
    padding-top: 14px;
  }

  body.is-homepage .sch-header-shell {
    border-radius: 16px;
  }

  body.is-homepage .sch-nav {
    border-radius: 16px;
  }

  body.is-homepage .sch-main-hero {
    margin-top: 0;
    padding-top: 22px;
  }

  body.is-homepage .sch-hero-slide {
    min-height: auto;
    border-radius: 18px;
    padding-bottom: 62px;
  }

  body.is-homepage .sch-hero-image,
  body.is-homepage .sch-hero-image img {
    min-height: 260px;
  }

  body.is-homepage .sch-hero-nav .swiper-button-next,
  body.is-homepage .sch-hero-nav .swiper-button-prev {
    width: 38px;
    height: 38px;
    bottom: 12px;
  }

  body.is-homepage .sch-hero-nav .swiper-button-prev {
    inset-inline-start: 12px;
  }

  body.is-homepage .sch-hero-nav .swiper-button-next {
    inset-inline-start: 58px;
  }

  body.is-homepage .sch-hero-slider>.swiper-pagination {
    bottom: 22px;
    inset-inline-end: 12px;
  }

  body.site-rtl.is-homepage .sch-hero-slider>.swiper-pagination {
    inset-inline-start: 12px;
  }
}

/* ============================================================
   V3 HERO CONCEPT â€” Reference-inspired, School-branded
   Replaces all previous hero/header passes on the homepage.
   Scope: body.is-homepage only. No other pages affected.
   ============================================================ */

/* ?? Shared Hero Background Wrapper ?? */
body.is-homepage .sch-hero-wrapper {
  background:
    radial-gradient(ellipse at 80% 0%, rgba(182, 130, 216, .18) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(91, 75, 138, .12) 0%, transparent 50%),
    #ebebf4;
  position: relative;
  overflow: hidden;
}

body.is-homepage .sch-hero-wrapper::before {
  content: '';
  position: absolute;
  top: -80px;
  inset-inline-end: -60px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 130, 216, .22), transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* ?? Floating Pill Navbar ?? */
body.is-homepage .sch-site-header {
  position: relative !important;
  top: auto !important;
  background: transparent !important;
  border-bottom: none !important;
  backdrop-filter: none !important;
  padding: 22px 0 0 !important;
  z-index: 50 !important;
}

body.is-homepage .sch-header-shell {
  background: rgba(255, 255, 255, 0.97) !important;
  border: 1px solid rgba(182, 130, 216, .22) !important;
  border-radius: 999px !important;
  padding: .6rem 1.1rem !important;
  box-shadow: 0 12px 32px rgba(43, 28, 79, .11) !important;
  position: relative;
  z-index: 2;
}

body.is-homepage .sch-nav-list a {
  border-radius: 999px !important;
  min-height: 40px;
  padding-inline: .75rem;
  font-size: .93rem;
}

body.is-homepage .sch-nav-list a:hover {
  background: rgba(182, 130, 216, .14);
  color: #5B4B8A;
}

/* ?? Hero Section ?? */
body.is-homepage .sch-main-hero {
  position: relative;
  background: transparent !important;
  padding: 36px 0 60px !important;
  margin-top: 0 !important;
  z-index: 1;
}

body.is-homepage .sch-main-hero::before {
  display: none !important;
}

/* Remove the slider card wrapper effect */
body.is-homepage .sch-hero-slider {
  background: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

body.is-homepage .sch-hero-slide {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  display: block !important;
}

/* ?? Hero Grid ?? */
body.is-homepage .sch-hero-grid {
  min-height: clamp(400px, 54vw, 580px);
  align-items: center !important;
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 0;
}

/* ?? Text Column ?? */
body.is-homepage .sch-hero-text-col {
  display: flex;
  align-items: center;
  padding-inline-end: 1rem;
}

body.is-homepage .sch-hero-content {
  max-width: 520px;
  padding: 1.5rem 0;
  position: relative;
  z-index: 2;
}

/* Kicker pill label */
body.is-homepage .sch-hero-kicker {
  display: inline-block;
  background: rgba(182, 130, 216, .18);
  color: #5a437f;
  border: 1px solid rgba(182, 130, 216, .38);
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 700;
  padding: .3rem .85rem;
  margin-bottom: .9rem;
  letter-spacing: .03em;
}

/* Main headline */
body.is-homepage .sch-hero-heading {
  margin: 0 0 .75rem !important;
  font-size: clamp(1.85rem, 3.8vw, 3.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  color: #1f1838 !important;
  letter-spacing: -.02em;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Supporting copy */
body.is-homepage .sch-hero-copy {
  color: #5a5272 !important;
  font-size: clamp(.95rem, 1.3vw, 1.05rem) !important;
  line-height: 1.9 !important;
  margin: 0 0 .25rem !important;
  max-width: 44ch;
}

/* ?? CTA Buttons ?? */
.sch-v3-btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.4rem;
  border-radius: 14px;
  background: #B682D8;
  color: #fff !important;
  font-weight: 700;
  font-size: .97rem;
  text-decoration: none !important;
  border: none;
  box-shadow: 0 10px 28px rgba(182, 130, 216, .40);
  transition: background .2s ease, box-shadow .2s ease, transform .15s ease;
}

.sch-v3-btn-primary:hover {
  background: #9f69c7;
  box-shadow: 0 14px 32px rgba(182, 130, 216, .50);
  transform: translateY(-1px);
  color: #fff !important;
  text-decoration: none !important;
}

.sch-v3-btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 1.2rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, .7);
  color: #5B4B8A !important;
  font-weight: 700;
  font-size: .97rem;
  text-decoration: none !important;
  border: 1.5px solid rgba(182, 130, 216, .38);
  transition: all .2s ease;
}

.sch-v3-btn-ghost:hover {
  background: rgba(255, 255, 255, .95);
  border-color: rgba(182, 130, 216, .65);
  color: #4a3470 !important;
  text-decoration: none !important;
}

body.is-homepage .sch-hero-cta {
  display: flex !important;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
  margin-top: 1.4rem !important;
}

/* ?? Image Column ?? */
body.is-homepage .sch-hero-img-col {
  display: flex;
  align-items: stretch;
}

body.is-homepage .sch-hero-image {
  width: 100%;
  border-radius: 26px !important;
  overflow: hidden !important;
  border: none !important;
  min-height: clamp(380px, 50vw, 560px) !important;
  height: 100%;
  background: #d9d4ed !important;
  box-shadow:
    0 28px 60px rgba(43, 27, 79, .22),
    0 4px 16px rgba(43, 27, 79, .1) !important;
  position: relative;
  flex: 1;
}

body.is-homepage .sch-hero-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255, 255, 255, .1) 0%, transparent 40%);
  z-index: 1;
  pointer-events: none;
  border-radius: inherit;
}

body.is-homepage .sch-hero-image::after {
  display: none !important;
}

body.is-homepage .sch-hero-image img {
  width: 100% !important;
  height: 100% !important;
  min-height: clamp(380px, 50vw, 560px) !important;
  object-fit: cover !important;
  object-position: center top !important;
  display: block !important;
}

/* ?? Swiper Controls ?? */
body.is-homepage .sch-hero-nav {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 10;
}

body.is-homepage .sch-hero-nav .swiper-button-prev,
body.is-homepage .sch-hero-nav .swiper-button-next {
  pointer-events: auto;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, .94) !important;
  border: 1.5px solid rgba(182, 130, 216, .42) !important;
  box-shadow: 0 8px 22px rgba(43, 27, 79, .15) !important;
  top: auto !important;
  bottom: 20px !important;
  transform: none !important;
  margin: 0 !important;
  transition: all .2s ease;
}

body.is-homepage .sch-hero-nav .swiper-button-prev {
  inset-inline-start: 20px !important;
  inset-inline-end: auto !important;
}

body.is-homepage .sch-hero-nav .swiper-button-next {
  inset-inline-start: 74px !important;
  inset-inline-end: auto !important;
}

body.is-homepage .sch-hero-nav .swiper-button-prev::after,
body.is-homepage .sch-hero-nav .swiper-button-next::after {
  font-size: 14px !important;
  color: #5B4B8A !important;
  font-weight: 700 !important;
}

body.is-homepage .sch-hero-nav .swiper-button-prev:hover,
body.is-homepage .sch-hero-nav .swiper-button-next:hover {
  background: #B682D8 !important;
  border-color: #B682D8 !important;
}

body.is-homepage .sch-hero-nav .swiper-button-prev:hover::after,
body.is-homepage .sch-hero-nav .swiper-button-next:hover::after {
  color: #fff !important;
}

body.is-homepage .sch-hero-slider>.swiper-pagination {
  bottom: 26px !important;
  inset-inline-end: 24px !important;
  inset-inline-start: auto !important;
  width: auto !important;
}

body.site-rtl.is-homepage .sch-hero-slider>.swiper-pagination {
  inset-inline-start: 24px !important;
  inset-inline-end: auto !important;
}

body.is-homepage .sch-hero-slider .swiper-pagination-bullet {
  width: 8px !important;
  height: 8px !important;
  background: rgba(91, 75, 138, .3) !important;
  opacity: 1 !important;
}

body.is-homepage .sch-hero-slider .swiper-pagination-bullet-active {
  width: 22px !important;
  border-radius: 999px !important;
  background: #B682D8 !important;
}

/* ?? RTL hero grid flip (desktop only) ?? */
@media (min-width: 992px) {
  body.site-rtl.is-homepage .sch-hero-grid {
    flex-direction: row-reverse;
  }

  body.site-rtl.is-homepage .sch-hero-content {
    margin-inline-start: auto;
    margin-inline-end: 0;
    text-align: right;
  }

  body.site-ltr.is-homepage .sch-hero-content {
    text-align: left;
  }

  body.is-homepage .sch-hero-cta {
    justify-content: flex-start;
  }
}

/* ?? Tablet ?? */
@media (max-width: 991px) {
  body.is-homepage .sch-site-header {
    padding: 14px 0 0 !important;
  }

  body.is-homepage .sch-header-shell {
    border-radius: 18px !important;
  }

  body.is-homepage .sch-nav {
    border-radius: 16px !important;
  }

  body.is-homepage .sch-main-hero {
    padding: 24px 0 44px !important;
  }

  body.is-homepage .sch-hero-grid {
    min-height: 0;
  }

  body.is-homepage .sch-hero-content {
    max-width: 100%;
    padding: 1rem 0 .5rem;
    text-align: center !important;
  }

  body.is-homepage .sch-hero-cta {
    justify-content: center !important;
  }

  body.is-homepage .sch-hero-image,
  body.is-homepage .sch-hero-image img {
    min-height: 280px !important;
    border-radius: 20px !important;
  }

  body.is-homepage .sch-hero-img-col {
    margin-top: .5rem;
  }

  body.is-homepage .sch-hero-nav .swiper-button-prev,
  body.is-homepage .sch-hero-nav .swiper-button-next {
    width: 38px !important;
    height: 38px !important;
    bottom: 12px !important;
  }

  body.is-homepage .sch-hero-nav .swiper-button-prev {
    inset-inline-start: 12px !important;
  }

  body.is-homepage .sch-hero-nav .swiper-button-next {
    inset-inline-start: 58px !important;
  }

  body.is-homepage .sch-hero-slider>.swiper-pagination {
    bottom: 20px !important;
    inset-inline-end: 14px !important;
  }

  body.site-rtl.is-homepage .sch-hero-slider>.swiper-pagination {
    inset-inline-start: 14px !important;
    inset-inline-end: auto !important;
  }
}

/* ?? Mobile ?? */
@media (max-width: 767px) {
  body.is-homepage .sch-site-header {
    padding: 12px 0 0 !important;
  }

  body.is-homepage .sch-header-shell {
    border-radius: 14px !important;
    padding: .5rem .65rem !important;
  }

  body.is-homepage .sch-main-hero {
    padding: 20px 0 36px !important;
  }

  body.is-homepage .sch-hero-heading {
    font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
  }

  body.is-homepage .sch-hero-image,
  body.is-homepage .sch-hero-image img {
    min-height: 240px !important;
    border-radius: 16px !important;
  }

  body.is-homepage .sch-hero-nav {
    display: none !important;
  }

  .sch-v3-btn-primary,
  .sch-v3-btn-ghost {
    min-height: 44px;
    font-size: .9rem;
    padding: 0 1.1rem;
  }
}

/* ?? Non-homepage: sticky blur header ?? */
body:not(.is-homepage) .sch-site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(246, 245, 251, .92) !important;
  border-bottom: 1px solid rgba(91, 75, 138, .1) !important;
  backdrop-filter: blur(10px) !important;
  padding: 12px 0 !important;
}

/* ============================================================
   Hero Structural Isolation Fix
   Ensures one visible slide only, prevents overlap/duplication.
   ============================================================ */
body.is-homepage .sch-hero-slider {
  position: relative;
}

body.is-homepage .sch-hero-slider .swiper-wrapper {
  position: relative;
  display: block !important;
  min-height: 1px;
}

body.is-homepage .sch-hero-slider .swiper-slide {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .35s ease;
  height: auto !important;
}

body.is-homepage .sch-hero-slider .swiper-slide-active {
  position: relative !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 2;
}

body.is-homepage .sch-hero-slider .swiper-slide-active .sch-hero-slide {
  display: block !important;
}

body.is-homepage .sch-hero-slider .sch-hero-slide {
  overflow: hidden;
}

/* ============================================================
   Clean Hero Rebuild (CMS-driven)
   Source: $sliders
   ============================================================ */
body.is-homepage .home-hero {
  padding: 30px 0 56px;
  background:
    radial-gradient(circle at 8% 15%, rgba(182,130,216,.14), transparent 38%),
    radial-gradient(circle at 92% 78%, rgba(91,75,138,.10), transparent 44%),
    #eeedf5;
}

body.is-homepage .home-hero-slider,
body.is-homepage .home-hero-static {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 24px 52px rgba(37, 27, 66, .14);
}

body.is-homepage .home-hero-item {
  background: linear-gradient(130deg, rgba(255,255,255,.92), rgba(255,255,255,.72));
  min-height: clamp(440px, 52vw, 620px);
}

body.is-homepage .home-hero-grid {
  min-height: inherit;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: clamp(1.2rem, 2.8vw, 2.4rem);
}

body.site-ltr.is-homepage .home-hero-grid {
  flex-direction: row;
}

body.site-rtl.is-homepage .home-hero-grid {
  flex-direction: row-reverse;
}

body.is-homepage .home-hero-content {
  flex: 0 0 42%;
  max-width: 560px;
}

body.is-homepage .home-hero-label {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid rgba(182,130,216,.42);
  background: rgba(182,130,216,.16);
  color: #5B4B8A;
  font-size: .8rem;
  font-weight: 700;
  padding: .33rem .86rem;
  margin-bottom: .8rem;
}

body.is-homepage .home-hero-title {
  margin: 0 0 .7rem;
  font-size: clamp(1.85rem, 3.55vw, 3.35rem);
  line-height: 1.14;
  color: #241c3c;
  font-weight: 800;
  letter-spacing: -.02em;
}

body.is-homepage .home-hero-text {
  margin: 0;
  color: #5a5470;
  line-height: 1.9;
  font-size: clamp(.95rem, 1.2vw, 1.06rem);
  max-width: 44ch;
}

body.is-homepage .home-hero-actions {
  margin-top: 1.35rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

body.is-homepage .home-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 14px;
  padding-inline: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  transition: all .2s ease;
}

body.is-homepage .home-hero-btn-primary {
  background: #B682D8;
  border: 1px solid #B682D8;
  color: #fff;
  box-shadow: 0 12px 28px rgba(182,130,216,.36);
}

body.is-homepage .home-hero-btn-primary:hover {
  background: #9f69c7;
  border-color: #9f69c7;
  color: #fff;
}

body.is-homepage .home-hero-btn-ghost {
  background: rgba(255,255,255,.75);
  border: 1px solid rgba(182,130,216,.45);
  color: #5B4B8A;
}

body.is-homepage .home-hero-btn-ghost:hover {
  background: #fff;
  border-color: #B682D8;
  color: #4b3a78;
}

body.is-homepage .home-hero-media {
  flex: 0 0 58%;
  min-height: clamp(340px, 45vw, 580px);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(43, 31, 79, .2);
  background: #ddd8ef;
}

body.is-homepage .home-hero-media img {
  width: 100%;
  height: 100%;
  min-height: clamp(340px, 45vw, 580px);
  object-fit: cover;
  object-position: center;
  display: block;
}

body.is-homepage .home-hero-controls {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 9;
}

body.is-homepage .home-hero-controls .swiper-button-next,
body.is-homepage .home-hero-controls .swiper-button-prev {
  pointer-events: auto;
  top: auto;
  bottom: 18px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(182,130,216,.46);
  box-shadow: 0 8px 22px rgba(43,31,79,.16);
  margin: 0;
}

body.is-homepage .home-hero-controls .swiper-button-prev {
  inset-inline-start: 18px;
}

body.is-homepage .home-hero-controls .swiper-button-next {
  inset-inline-start: 66px;
  inset-inline-end: auto;
}

body.is-homepage .home-hero-controls .swiper-button-next:after,
body.is-homepage .home-hero-controls .swiper-button-prev:after {
  font-size: 14px;
  color: #5B4B8A;
  font-weight: 700;
}

body.is-homepage .home-hero-slider > .swiper-pagination {
  bottom: 24px;
  inset-inline-end: 20px;
  inset-inline-start: auto;
  width: auto;
}

body.site-rtl.is-homepage .home-hero-slider > .swiper-pagination {
  inset-inline-start: 20px;
  inset-inline-end: auto;
}

body.is-homepage .home-hero-slider .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(91,75,138,.3);
  opacity: 1;
}

body.is-homepage .home-hero-slider .swiper-pagination-bullet-active {
  width: 20px;
  border-radius: 999px;
  background: #B682D8;
}

@media (max-width: 991px) {
  body.is-homepage .home-hero {
    padding: 22px 0 42px;
  }

  body.is-homepage .home-hero-item {
    min-height: auto;
  }

  body.is-homepage .home-hero-grid {
    gap: 1rem;
    padding: 1rem 1rem 3.6rem;
    flex-direction: column !important;
    align-items: stretch;
  }

  body.is-homepage .home-hero-content,
  body.is-homepage .home-hero-media {
    flex: 1 1 auto;
    max-width: 100%;
  }

  body.is-homepage .home-hero-content {
    text-align: center;
  }

  body.is-homepage .home-hero-actions {
    justify-content: center;
  }

  body.is-homepage .home-hero-media,
  body.is-homepage .home-hero-media img {
    min-height: 260px;
    border-radius: 18px;
  }

  body.is-homepage .home-hero-controls .swiper-button-next,
  body.is-homepage .home-hero-controls .swiper-button-prev {
    width: 36px;
    height: 36px;
    bottom: 10px;
  }

  body.is-homepage .home-hero-controls .swiper-button-prev {
    inset-inline-start: 10px;
  }

  body.is-homepage .home-hero-controls .swiper-button-next {
    inset-inline-start: 52px;
  }

  body.is-homepage .home-hero-slider > .swiper-pagination {
    bottom: 16px;
    inset-inline-end: 12px;
  }

  body.site-rtl.is-homepage .home-hero-slider > .swiper-pagination {
    inset-inline-start: 12px;
  }
}

/* ============================================================
   Hero Polish Pass (visual only, same structure/data)
   ============================================================ */
body.is-homepage .home-hero {
  background:
    radial-gradient(900px 380px at 10% 0%, rgba(182,130,216,.12), transparent 60%),
    radial-gradient(700px 320px at 92% 86%, rgba(91,75,138,.1), transparent 62%),
    linear-gradient(180deg, #f2f1f8 0%, #ececf5 100%);
}

body.is-homepage .home-hero-slider,
body.is-homepage .home-hero-static {
  border-radius: 32px;
  box-shadow:
    0 28px 64px rgba(36, 27, 64, .14),
    0 8px 20px rgba(36, 27, 64, .08);
}

body.is-homepage .home-hero-item {
  background:
    linear-gradient(130deg, rgba(255,255,255,.94), rgba(255,255,255,.78));
}

body.is-homepage .home-hero-media {
  border-radius: 26px;
  border: 0;
  box-shadow:
    0 22px 46px rgba(42, 31, 74, .2),
    inset 0 0 0 1px rgba(255,255,255,.24);
  position: relative;
}

body.is-homepage .home-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(19,14,35,.08));
}

body.is-homepage .home-hero-media img {
  object-position: center top;
}

/* Modern carousel controls */
body.is-homepage .home-hero-controls {
  inset: auto;
  position: absolute;
  inset-inline-end: 22px;
  bottom: 22px;
  z-index: 11;
  display: flex;
  align-items: center;
  gap: .55rem;
  pointer-events: none;
}

body.site-rtl.is-homepage .home-hero-controls {
  inset-inline-start: 22px;
  inset-inline-end: auto;
}

body.is-homepage .home-hero-controls .swiper-button-next,
body.is-homepage .home-hero-controls .swiper-button-prev {
  pointer-events: auto;
  position: static;
  top: auto;
  inset: auto;
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 999px;
  border: 1px solid rgba(182,130,216,.48);
  background: rgba(255,255,255,.95);
  box-shadow: 0 10px 22px rgba(44, 31, 77, .16);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

body.is-homepage .home-hero-controls .swiper-button-next::after,
body.is-homepage .home-hero-controls .swiper-button-prev::after {
  font-size: 13px;
  color: #5B4B8A;
  font-weight: 800;
}

body.is-homepage .home-hero-controls .swiper-button-next:hover,
body.is-homepage .home-hero-controls .swiper-button-prev:hover {
  transform: translateY(-2px);
  background: #B682D8;
  border-color: #B682D8;
  box-shadow: 0 14px 30px rgba(182,130,216,.34);
}

body.is-homepage .home-hero-controls .swiper-button-next:hover::after,
body.is-homepage .home-hero-controls .swiper-button-prev:hover::after {
  color: #fff;
}

body.is-homepage .home-hero-controls .swiper-button-disabled {
  opacity: .45;
  transform: none;
}

body.is-homepage .home-hero-slider > .swiper-pagination {
  bottom: 34px;
  inset-inline-end: 132px;
}

body.site-rtl.is-homepage .home-hero-slider > .swiper-pagination {
  inset-inline-start: 132px;
  inset-inline-end: auto;
}

body.is-homepage .home-hero-slider .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: rgba(91,75,138,.28);
}

body.is-homepage .home-hero-slider .swiper-pagination-bullet-active {
  width: 22px;
  background: #B682D8;
}

@media (max-width: 991px) {
  body.is-homepage .home-hero-slider,
  body.is-homepage .home-hero-static {
    border-radius: 22px;
  }

  body.is-homepage .home-hero-media {
    border-radius: 18px;
  }

  body.is-homepage .home-hero-controls {
    inset-inline-end: 12px;
    bottom: 12px;
    gap: .45rem;
  }

  body.site-rtl.is-homepage .home-hero-controls {
    inset-inline-start: 12px;
  }

  body.is-homepage .home-hero-controls .swiper-button-next,
  body.is-homepage .home-hero-controls .swiper-button-prev {
    width: 38px;
    height: 38px;
  }

  body.is-homepage .home-hero-slider > .swiper-pagination {
    bottom: 22px;
    inset-inline-end: 102px;
  }

  body.site-rtl.is-homepage .home-hero-slider > .swiper-pagination {
    inset-inline-start: 102px;
    inset-inline-end: auto;
  }
}

@media (max-width: 767px) {
  body.is-homepage .home-hero-controls {
    display: none;
  }
}

/* ============================================================
   Applied Overrides (real Swiper runtime structure)
   scripts.js creates:
   - .home-hero-controls > .swiper-buttons
   - .home-hero-controls > .swiper-button-next.swiper-button-next-N
   - .home-hero-controls > .swiper-button-prev.swiper-button-prev-N
   - .home-hero-slider > .swiper-pagination
   ============================================================ */
body.site-rtl {
  font-family: 'Tajawal', 'Cairo', sans-serif;
}

body.site-ltr {
  font-family: 'Inter', 'Cairo', sans-serif;
}

body.is-homepage .home-hero-title {
  font-family: 'Tajawal', 'Cairo', sans-serif;
  font-weight: 800;
  font-size: clamp(1.7rem, 3.4vw, 3.2rem);
  line-height: 1.16;
}

body.is-homepage .home-hero-text {
  font-weight: 500;
  font-size: clamp(.96rem, 1.1vw, 1.08rem);
  line-height: 1.92;
}

body.is-homepage .home-hero-btn {
  font-weight: 600;
  letter-spacing: 0;
}

body.is-homepage .home-hero-slider > .swiper-pagination.swiper-pagination {
  position: absolute !important;
  inset-inline-end: 132px !important;
  inset-inline-start: auto !important;
  bottom: 24px !important;
  width: auto !important;
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
  z-index: 13 !important;
}

body.site-rtl.is-homepage .home-hero-slider > .swiper-pagination.swiper-pagination {
  inset-inline-start: 132px !important;
  inset-inline-end: auto !important;
}

body.is-homepage .home-hero-controls {
  position: absolute !important;
  bottom: 16px !important;
  inset-inline-end: 16px !important;
  inset-inline-start: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 14 !important;
  pointer-events: none !important;
}

body.site-rtl.is-homepage .home-hero-controls {
  inset-inline-start: 16px !important;
  inset-inline-end: auto !important;
}

body.is-homepage .home-hero-controls .swiper-buttons {
  display: none !important;
}

body.is-homepage .home-hero-controls .swiper-button-next,
body.is-homepage .home-hero-controls .swiper-button-prev {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  margin: 0 !important;
  pointer-events: auto !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: rgba(255,255,255,.96) !important;
  border: 1px solid rgba(182,130,216,.5) !important;
  box-shadow: 0 10px 24px rgba(43,31,79,.18) !important;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease !important;
}

body.is-homepage .home-hero-controls .swiper-button-next:after,
body.is-homepage .home-hero-controls .swiper-button-prev:after {
  font-size: 13px !important;
  font-weight: 800 !important;
  color: #5B4B8A !important;
}

body.is-homepage .home-hero-controls .swiper-button-next:hover,
body.is-homepage .home-hero-controls .swiper-button-prev:hover {
  transform: translateY(-2px) !important;
  background: #B682D8 !important;
  border-color: #B682D8 !important;
  box-shadow: 0 14px 30px rgba(182,130,216,.35) !important;
}

body.is-homepage .home-hero-controls .swiper-button-next:hover:after,
body.is-homepage .home-hero-controls .swiper-button-prev:hover:after {
  color: #fff !important;
}

@media (max-width: 991px) {
  body.is-homepage .home-hero-title {
    font-size: clamp(1.45rem, 6.1vw, 2.35rem);
  }

  body.is-homepage .home-hero-slider > .swiper-pagination.swiper-pagination {
    inset-inline-end: 104px !important;
    bottom: 18px !important;
  }

  body.site-rtl.is-homepage .home-hero-slider > .swiper-pagination.swiper-pagination {
    inset-inline-start: 104px !important;
  }

  body.is-homepage .home-hero-controls {
    bottom: 10px !important;
    inset-inline-end: 10px !important;
  }

  body.site-rtl.is-homepage .home-hero-controls {
    inset-inline-start: 10px !important;
  }

  body.is-homepage .home-hero-controls .swiper-button-next,
  body.is-homepage .home-hero-controls .swiper-button-prev {
    width: 38px !important;
    height: 38px !important;
  }
}

/* ============================================================
   FINAL HERO NAVIGATION SYSTEM (authoritative override)
   - Side arrows (no text)
   - Centered bottom dots
   - RTL/LTR aware
   - Homepage-wide typography
   ============================================================ */
body.is-homepage {
  font-family: 'Tajawal', 'Inter', 'Cairo', sans-serif !important;
}

body.site-ltr.is-homepage,
body.site-ltr.is-homepage .sch-site-header,
body.site-ltr.is-homepage .home-hero,
body.site-ltr.is-homepage .page-content {
  font-family: 'Inter', 'Tajawal', 'Cairo', sans-serif !important;
}

body.site-rtl.is-homepage,
body.site-rtl.is-homepage .sch-site-header,
body.site-rtl.is-homepage .home-hero,
body.site-rtl.is-homepage .page-content {
  font-family: 'Tajawal', 'Inter', 'Cairo', sans-serif !important;
}

body.is-homepage .home-hero-controls {
  position: absolute !important;
  inset: 0 !important;
  z-index: 20 !important;
  pointer-events: none !important;
}

body.is-homepage .home-hero-controls .swiper-buttons {
  display: none !important;
}

body.is-homepage .home-hero-controls .swiper-button-prev,
body.is-homepage .home-hero-controls .swiper-button-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin: 0 !important;
  width: 46px !important;
  height: 46px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.44) !important;
  background: rgba(35, 28, 56, .28) !important;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 24px rgba(35, 24, 62, .2) !important;
  pointer-events: auto !important;
  transition: all .22s ease !important;
  left: auto !important;
  right: auto !important;
  font-size: 0 !important;
}

body.is-homepage .home-hero-controls .swiper-button-prev {
  inset-inline-start: 14px !important;
  inset-inline-end: auto !important;
}

body.is-homepage .home-hero-controls .swiper-button-next {
  inset-inline-end: 14px !important;
  inset-inline-start: auto !important;
}

body.is-homepage .home-hero-controls .swiper-button-prev::after,
body.is-homepage .home-hero-controls .swiper-button-next::after {
  content: '' !important;
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  display: inline-block;
  font-size: 0 !important;
}

body.is-homepage .home-hero-controls .swiper-button-prev::after {
  transform: rotate(225deg);
  margin-inline-start: 3px;
}

body.is-homepage .home-hero-controls .swiper-button-next::after {
  transform: rotate(45deg);
  margin-inline-end: 3px;
}

body.is-homepage .home-hero-controls .swiper-button-prev:hover,
body.is-homepage .home-hero-controls .swiper-button-next:hover {
  background: #B682D8 !important;
  border-color: #B682D8 !important;
  transform: translateY(-50%) scale(1.05) !important;
  box-shadow: 0 14px 30px rgba(182,130,216,.38) !important;
}

body.is-homepage .home-hero-slider > .swiper-pagination.swiper-pagination {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  transform: translateX(-50%) !important;
  bottom: 16px !important;
  width: auto !important;
  z-index: 21 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

body.is-homepage .home-hero-slider .swiper-pagination-bullet {
  width: 9px !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: rgba(191, 191, 201, .95) !important;
  opacity: 1 !important;
  transition: all .2s ease !important;
}

body.is-homepage .home-hero-slider .swiper-pagination-bullet-active {
  width: 24px !important;
  background: #B682D8 !important;
}

@media (max-width: 991px) {
  body.is-homepage .home-hero-controls .swiper-button-prev,
  body.is-homepage .home-hero-controls .swiper-button-next {
    width: 40px !important;
    height: 40px !important;
  }

  body.is-homepage .home-hero-controls .swiper-button-prev {
    inset-inline-start: 10px !important;
  }

  body.is-homepage .home-hero-controls .swiper-button-next {
    inset-inline-end: 10px !important;
  }

  body.is-homepage .home-hero-slider > .swiper-pagination.swiper-pagination {
    bottom: 12px !important;
  }
}

/* ============================================================
   DOM-Correct Hero Navigation (direct children of slider)
   ============================================================ */
body.is-homepage .home-hero-controls {
  display: none !important;
}

body.is-homepage .home-hero-slider {
  position: relative;
}

body.is-homepage .home-hero-slider > .swiper-button-prev,
body.is-homepage .home-hero-slider > .swiper-button-next {
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  background: rgba(35, 28, 56, .28) !important;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 24px rgba(35, 24, 62, .2) !important;
  transition: all .22s ease !important;
  z-index: 15 !important;
}

body.is-homepage .home-hero-slider > .swiper-button-prev {
  inset-inline-start: 14px !important;
  inset-inline-end: auto !important;
}

body.is-homepage .home-hero-slider > .swiper-button-next {
  inset-inline-end: 14px !important;
  inset-inline-start: auto !important;
}

body.is-homepage .home-hero-slider > .swiper-button-prev:after,
body.is-homepage .home-hero-slider > .swiper-button-next:after {
  font-size: 20px !important;
  line-height: 1 !important;
  color: #fff !important;
  font-weight: 700 !important;
}

body.is-homepage .home-hero-slider > .swiper-button-prev:after {
  content: '\2039' !important;
}

body.is-homepage .home-hero-slider > .swiper-button-next:after {
  content: '\203A' !important;
}

body.is-homepage .home-hero-slider > .swiper-button-prev:hover,
body.is-homepage .home-hero-slider > .swiper-button-next:hover {
  background: #B682D8 !important;
  border-color: #B682D8 !important;
  box-shadow: 0 14px 30px rgba(182,130,216,.35) !important;
}

body.is-homepage .home-hero-slider > .swiper-pagination {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: auto !important;
  bottom: 16px !important;
  width: 100% !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  z-index: 16 !important;
  pointer-events: auto;
}

body.is-homepage .home-hero-slider > .swiper-pagination .swiper-pagination-bullet {
  width: 9px !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: #c8c8d4 !important;
  opacity: 1 !important;
  transition: all .2s ease !important;
}

body.is-homepage .home-hero-slider > .swiper-pagination .swiper-pagination-bullet-active {
  width: 24px !important;
  background: #B682D8 !important;
}

@media (max-width: 991px) {
  body.is-homepage .home-hero-slider > .swiper-button-prev,
  body.is-homepage .home-hero-slider > .swiper-button-next {
    width: 40px !important;
    height: 40px !important;
  }

  body.is-homepage .home-hero-slider > .swiper-button-prev {
    inset-inline-start: 10px !important;
  }

  body.is-homepage .home-hero-slider > .swiper-button-next {
    inset-inline-end: 10px !important;
  }

  body.is-homepage .home-hero-slider > .swiper-pagination {
    bottom: 12px !important;
  }

  body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-prev,
  body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-next {
    width: 40px !important;
    height: 40px !important;
  }

  body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-prev {
    inset-inline-start: 10px !important;
  }

  body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-next {
    inset-inline-end: 10px !important;
  }

  body.is-homepage .home-hero-carousel > .hero-pagination {
    bottom: 12px !important;
  }
}

/* Final pagination centering fix (hero-width centered on all breakpoints) */
body.is-homepage .home-hero-slider > .swiper-pagination {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: auto !important;
  inset-inline-start: auto !important;
  inset-inline-end: auto !important;
  width: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  bottom: 16px !important;
  z-index: 16 !important;
}

/* ============================================================
   Final Polish Pass
   ============================================================ */
body.is-homepage .sch-section {
  padding: 58px 0;
}

body.is-homepage .sch-counter-strip {
  padding-top: 10px !important;
  padding-bottom: 6px !important;
}

/* Services: tiny interaction polish only */
body.is-homepage .service-visual-card {
  transition: transform .28s ease, box-shadow .28s ease;
}

body.is-homepage .service-visual-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 38px rgba(37, 26, 67, .2);
}

body.is-homepage .service-visual-media img {
  transition: transform .6s ease;
}

body.is-homepage .service-visual-card:hover .service-visual-media img {
  transform: scale(1.05);
}

body.is-homepage .service-visual-overlay {
  transition: background .3s ease;
}

body.is-homepage .service-visual-card:hover .service-visual-overlay {
  background: linear-gradient(180deg, rgba(24,18,41,.08), rgba(24,18,41,.65));
}

/* Classes marquee reverse direction */
body.site-ltr.is-homepage .classes-marquee-track {
  animation-name: schClassMarqueeReverse !important;
}

body.site-rtl.is-homepage .classes-marquee-track {
  animation-name: schClassMarqueeRtlReverse !important;
}

@keyframes schClassMarqueeReverse {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@keyframes schClassMarqueeRtlReverse {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Blog centered carousel */
body.is-homepage .blog-centered-carousel {
  overflow: visible;
  padding-bottom: 36px;
}

body.is-homepage .blog-centered-card {
  background: #fff;
  border-radius: 18px;
  border: 1px solid rgba(182,130,216,.2);
  box-shadow: 0 14px 28px rgba(40, 29, 70, .1);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease;
}

body.is-homepage .blog-centered-carousel .swiper-slide-active .blog-centered-card {
  transform: translateY(-5px);
  box-shadow: 0 20px 34px rgba(40, 29, 70, .16);
}

body.is-homepage .blog-centered-media,
body.is-homepage .blog-centered-media img {
  width: 100%;
  height: 300px;
  object-fit: contain;
  background: #f3f1f9;
}

body.is-homepage .blog-centered-body {
  padding: 1rem;
  text-align: center;
}

body.is-homepage .blog-centered-body h3 {
  margin: 0 0 .4rem;
  font-size: 1.12rem;
}

body.is-homepage .blog-centered-body p {
  margin: 0;
  color: #655f79;
  line-height: 1.82;
}

body.is-homepage .blog-centered-carousel .swiper-pagination {
  bottom: 0 !important;
}

body.is-homepage .blog-centered-carousel .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: #c4c2d0;
  opacity: 1;
}

body.is-homepage .blog-centered-carousel .swiper-pagination-bullet-active {
  width: 22px;
  border-radius: 99px;
  background: #B682D8;
}

/* Gallery visual focus */
body.is-homepage .sch-gallery-masonry .sch-gallery-item {
  border-radius: 10px;
  box-shadow: none;
  border: 0;
  position: relative;
}

body.is-homepage .sch-gallery-masonry .sch-gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.16));
  opacity: 0;
  transition: opacity .25s ease;
}

body.is-homepage .sch-gallery-masonry .sch-gallery-item:hover::after {
  opacity: 1;
}

body.is-homepage .sch-gallery-masonry .sch-gallery-item img {
  transition: transform .35s ease;
}

body.is-homepage .sch-gallery-masonry .sch-gallery-item:hover img {
  transform: scale(1.03);
}

/* Footer lighter + compact */
body.is-homepage .sch-footer {
  background: linear-gradient(180deg, #3a3550 0%, #322d46 100%) !important;
}

body.is-homepage .sch-footer-top {
  padding: 22px 0 12px !important;
}

body.is-homepage .sch-footer-bottom {
  padding: 8px 0 10px !important;
}

body.is-homepage .sch-footer-contact li,
body.is-homepage .sch-footer-links li,
body.is-homepage .sch-footer-menu li {
  margin-bottom: .25rem;
}

/* Hero image scale balance */
body.is-homepage .home-hero-media {
  flex: 0 0 52%;
  min-height: clamp(300px, 38vw, 460px);
}

body.is-homepage .home-hero-media img {
  min-height: clamp(300px, 38vw, 460px);
  object-fit: contain;
  background: rgba(255,255,255,.6);
}

body.is-homepage .home-hero-content {
  flex-basis: 48%;
}

@media (max-width: 991px) {
  body.is-homepage .sch-section {
    padding: 46px 0;
  }

  body.is-homepage .blog-centered-media,
  body.is-homepage .blog-centered-media img {
    height: 240px;
  }
}

/* ============================================================
   Homepage Sections Final Refinement
   ============================================================ */
body.is-homepage .sch-homepage h1,
body.is-homepage .sch-homepage h2,
body.is-homepage .sch-homepage h3,
body.is-homepage .sch-footer h3,
body.is-homepage .sch-footer h4 {
  font-family: 'Tajawal', 'Inter', 'Cairo', sans-serif;
  font-weight: 800;
}

body.is-homepage .sch-homepage p,
body.is-homepage .sch-homepage span,
body.is-homepage .sch-homepage a {
  font-family: 'Tajawal', 'Inter', 'Cairo', sans-serif;
}

body.site-ltr.is-homepage .sch-homepage h1,
body.site-ltr.is-homepage .sch-homepage h2,
body.site-ltr.is-homepage .sch-homepage h3,
body.site-ltr.is-homepage .sch-homepage p,
body.site-ltr.is-homepage .sch-homepage span,
body.site-ltr.is-homepage .sch-homepage a {
  font-family: 'Inter', 'Tajawal', 'Cairo', sans-serif;
}

body.is-homepage .sch-section {
  padding: 72px 0;
}

body.is-homepage .sch-section-head h2 {
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  line-height: 1.25;
  letter-spacing: -.01em;
}

/* About */
body.is-homepage .sch-about-surface {
  background: linear-gradient(150deg, #ffffff, #f7f4fc);
  border: 1px solid rgba(182,130,216,.22);
  border-radius: 22px;
  box-shadow: 0 18px 38px rgba(40, 29, 70, .1);
}

body.is-homepage .sch-about-content .sch-title {
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
  margin-bottom: .8rem;
}

body.is-homepage .sch-about-content .sch-text {
  color: #5c5771;
  line-height: 1.95;
}

/* Vision */
body.is-homepage .modern-vision-card-v2 {
  border: 1px solid rgba(182,130,216,.26);
  border-radius: 18px;
  box-shadow: 0 12px 26px rgba(40, 29, 70, .08);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.is-homepage .modern-vision-card-v2:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 34px rgba(40, 29, 70, .13);
  border-color: rgba(182,130,216,.48);
}

body.is-homepage .modern-vision-card-v2 .modern-vision-icon {
  background: rgba(182,130,216,.16);
}

body.is-homepage .modern-vision-desc {
  margin: .6rem 0 0;
  color: #6a647f;
  line-height: 1.8;
  font-size: .95rem;
}

/* Services */
body.is-homepage .service-visual-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  min-height: 320px;
  box-shadow: 0 14px 30px rgba(37, 26, 67, .13);
}

body.is-homepage .service-visual-media,
body.is-homepage .service-visual-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

body.is-homepage .service-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(24,18,41,.12), rgba(24,18,41,.72));
}

body.is-homepage .service-visual-content {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  padding: 1.1rem 1rem;
  color: #fff;
  z-index: 2;
}

body.is-homepage .service-visual-content h3 {
  margin: 0 0 .35rem;
  color: #fff;
  font-size: 1.15rem;
}

body.is-homepage .service-visual-content p {
  margin: 0;
  color: rgba(255,255,255,.9);
  line-height: 1.7;
  font-size: .93rem;
}

/* Classes marquee */
body.is-homepage .classes-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 6%, #000 94%, transparent);
}

body.is-homepage .classes-marquee-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: max-content;
  animation: schClassMarquee 55s linear infinite;
}

body.is-homepage .classes-marquee:hover .classes-marquee-track {
  animation-play-state: paused;
}

@keyframes schClassMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

body.site-rtl.is-homepage .classes-marquee-track {
  animation-name: schClassMarqueeRtl;
}

@keyframes schClassMarqueeRtl {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

body.is-homepage .class-marquee-card {
  width: 240px;
  flex: 0 0 240px;
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(182,130,216,.2);
  box-shadow: 0 10px 22px rgba(42, 30, 74, .1);
  position: relative;
  transition: transform .32s ease, box-shadow .32s ease, border-color .32s ease;
  transform-origin: center center;
}

body.is-homepage .class-marquee-media,
body.is-homepage .class-marquee-media img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

body.is-homepage .class-marquee-card h3 {
  margin: .7rem .8rem .85rem;
  font-size: 1rem;
  color: #2f2748;
  transition: transform .28s ease, opacity .28s ease;
}

body.is-homepage .class-marquee-card .class-marquee-info {
  position: absolute;
  inset-inline: 10px;
  bottom: 10px;
  padding: .55rem .62rem;
  border-radius: 10px;
  background: rgba(35, 27, 58, .74);
  color: #fff;
  backdrop-filter: blur(2px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .28s ease, transform .28s ease;
  pointer-events: none;
  z-index: 3;
}

body.is-homepage .class-marquee-card .class-marquee-info p {
  margin: 0;
  font-size: .82rem;
  line-height: 1.5;
  color: rgba(255,255,255,.95);
}

body.is-homepage .class-marquee-card::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 56%;
  background: linear-gradient(180deg, rgba(31,22,53,0), rgba(31,22,53,.26));
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events: none;
  z-index: 2;
}

body.is-homepage .class-marquee-card:hover {
  transform: scale(1.045);
  box-shadow: 0 18px 34px rgba(42, 30, 74, .2);
  border-color: rgba(182,130,216,.42);
  z-index: 4;
}

body.is-homepage .class-marquee-card:hover::after {
  opacity: 1;
}

body.is-homepage .class-marquee-card:hover h3 {
  transform: translateY(-3px);
}

body.is-homepage .class-marquee-card:hover .class-marquee-info {
  opacity: 1;
  transform: translateY(0);
}

/* News */
body.is-homepage .news-featured-card {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(182,130,216,.2);
  box-shadow: 0 16px 32px rgba(40, 29, 70, .1);
}

body.is-homepage .news-featured-media,
body.is-homepage .news-featured-media img {
  width: 100%;
  height: 290px;
  object-fit: cover;
}

body.is-homepage .news-featured-body {
  padding: 1rem;
}

body.is-homepage .news-featured-body h3 {
  font-size: 1.2rem;
  margin: 0 0 .5rem;
}

body.is-homepage .news-featured-body p {
  color: #655f79;
  line-height: 1.85;
}

body.is-homepage .news-compact-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid rgba(182,130,216,.2);
  box-shadow: 0 10px 22px rgba(40, 29, 70, .08);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: .8rem;
  overflow: hidden;
}

body.is-homepage .news-compact-media,
body.is-homepage .news-compact-media img {
  width: 100%;
  height: 100%;
  min-height: 132px;
  object-fit: cover;
}

body.is-homepage .news-compact-body {
  padding: .75rem .8rem .75rem 0;
}

body.site-rtl.is-homepage .news-compact-body {
  padding: .75rem 0 .75rem .8rem;
}

body.is-homepage .news-compact-body h3 {
  margin: 0 0 .35rem;
  font-size: 1.02rem;
}

body.is-homepage .news-compact-body p {
  margin: 0 0 .35rem;
  color: #655f79;
  line-height: 1.75;
  font-size: .92rem;
}

/* Blog cards consistency */
body.is-homepage .sch-blog-section .sch-card {
  border: 1px solid rgba(182,130,216,.2);
  border-radius: 16px;
  box-shadow: 0 12px 24px rgba(40, 29, 70, .09);
}

/* Gallery masonry */
body.is-homepage .sch-gallery-masonry {
  column-count: 4;
  column-gap: .9rem;
}

body.is-homepage .sch-gallery-masonry .sch-gallery-item {
  break-inside: avoid;
  margin-bottom: .9rem;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(40, 29, 70, .1);
}

body.is-homepage .sch-gallery-masonry .sch-gallery-item img {
  width: 100%;
  height: auto;
  display: block;
}

/* Footer lighter and shorter */
body.is-homepage .sch-footer {
  background: linear-gradient(180deg, #2d2940 0%, #262236 100%);
  margin-top: 36px;
}

body.is-homepage .sch-footer-top {
  padding: 30px 0 18px;
}

body.is-homepage .sch-footer-bottom {
  padding: 10px 0 14px;
}

body.is-homepage .sch-footer-brand p,
body.is-homepage .sch-footer-sub,
body.is-homepage .sch-footer-links a,
body.is-homepage .sch-footer-contact li,
body.is-homepage .pbmit-footer-copyright-text-area {
  font-size: .9rem;
}

@media (max-width: 1199px) {
  body.is-homepage .sch-gallery-masonry {
    column-count: 3;
  }
}

@media (max-width: 991px) {
  body.is-homepage .sch-section {
    padding: 52px 0;
  }

  body.is-homepage .service-visual-card,
  body.is-homepage .service-visual-media,
  body.is-homepage .service-visual-media img {
    min-height: 260px;
  }

  body.is-homepage .news-featured-media,
  body.is-homepage .news-featured-media img {
    height: 220px;
  }

  body.is-homepage .news-compact-card {
    grid-template-columns: 1fr;
  }

  body.site-rtl.is-homepage .news-compact-body,
  body.site-ltr.is-homepage .news-compact-body {
    padding: .75rem .8rem;
  }

  body.is-homepage .sch-gallery-masonry {
    column-count: 2;
  }

  body.is-homepage .class-marquee-card {
    width: 200px;
    flex-basis: 200px;
  }
}

@media (max-width: 575px) {
  body.is-homepage .sch-gallery-masonry {
    column-count: 1;
  }
}

/* Structural pagination/arrows containers */
body.is-homepage .home-hero-carousel {
  position: relative;
}

body.is-homepage .home-hero-carousel .hero-arrows {
  position: absolute;
  inset: 0;
  z-index: 18;
  pointer-events: none;
}

body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-prev,
body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-next {
  pointer-events: auto;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(255,255,255,.45) !important;
  background: rgba(35, 28, 56, .28) !important;
  backdrop-filter: blur(4px);
  box-shadow: 0 10px 24px rgba(35, 24, 62, .2) !important;
  transition: all .22s ease !important;
  left: auto !important;
  right: auto !important;
}

body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-prev {
  inset-inline-start: 14px !important;
}

body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-next {
  inset-inline-end: 14px !important;
}

body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-prev:after,
body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-next:after {
  font-size: 14px !important;
  color: #fff !important;
  font-weight: 700 !important;
}

body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-prev:after {
  content: '\2190' !important;
}

body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-next:after {
  content: '\2192' !important;
}

/* Final arrow-direction lock */
body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-prev::after {
  content: '\2190' !important;
}

body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-next::after {
  content: '\2192' !important;
}

body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-prev:hover,
body.is-homepage .home-hero-carousel .hero-arrows .swiper-button-next:hover {
  background: #B682D8 !important;
  border-color: #B682D8 !important;
  box-shadow: 0 14px 30px rgba(182,130,216,.35) !important;
}

body.is-homepage .home-hero-carousel > .hero-pagination {
  position: absolute !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  right: auto !important;
  bottom: 16px !important;
  width: auto !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 8px;
  z-index: 19 !important;
}

body.is-homepage .home-hero-carousel > .hero-pagination .swiper-pagination-bullet {
  width: 9px !important;
  height: 9px !important;
  border-radius: 999px !important;
  background: #c8c8d4 !important;
  opacity: 1 !important;
  transition: all .2s ease !important;
}

body.is-homepage .home-hero-carousel > .hero-pagination .swiper-pagination-bullet-active {
  width: 24px !important;
  background: #B682D8 !important;
}

/* Hero balance refinement: authoritative final override */
body.is-homepage .home-hero .home-hero-item {
  min-height: clamp(460px, 70vh, 620px) !important;
  padding: clamp(20px, 3vw, 34px) clamp(18px, 3vw, 32px) clamp(52px, 7vw, 84px) !important;
}

body.is-homepage .home-hero .home-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) !important;
  align-items: center !important;
  column-gap: clamp(24px, 4vw, 58px) !important;
}

body.is-homepage .home-hero .home-hero-content {
  min-height: clamp(300px, 52vh, 500px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: start !important;
  margin: 0 !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-content {
  align-items: flex-end !important;
}

body.is-homepage .home-hero .home-hero-media {
  position: relative !important;
  min-height: clamp(320px, 54vh, 520px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  isolation: isolate;
}

body.is-homepage .home-hero .home-hero-media::before {
  content: '' !important;
  position: absolute;
  inset: 14% 8% 10%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(182, 130, 216, .24) 0%, rgba(182, 130, 216, .1) 42%, rgba(182, 130, 216, 0) 72%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

body.is-homepage .home-hero .home-hero-media img {
  position: relative;
  z-index: 1;
  width: min(100%, 480px) !important;
  max-height: clamp(300px, 58vh, 520px) !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  filter: drop-shadow(0 24px 34px rgba(49, 34, 83, .18));
}

@media (max-width: 1199px) {
  body.is-homepage .home-hero .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .92fr) !important;
    column-gap: clamp(18px, 3vw, 36px) !important;
  }

  body.is-homepage .home-hero .home-hero-media img {
    width: min(100%, 420px) !important;
    max-height: clamp(280px, 52vh, 460px) !important;
  }
}

@media (max-width: 991px) {
  body.is-homepage .home-hero .home-hero-item {
    min-height: auto !important;
    padding: 18px 16px 56px !important;
  }

  body.is-homepage .home-hero .home-hero-grid {
    grid-template-columns: 1fr !important;
    row-gap: 18px !important;
  }

  body.is-homepage .home-hero .home-hero-content {
    min-height: auto !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }

  body.site-rtl.is-homepage .home-hero .home-hero-content {
    align-items: flex-end !important;
  }

  body.is-homepage .home-hero .home-hero-media {
    min-height: clamp(240px, 44vh, 340px) !important;
  }

  body.is-homepage .home-hero .home-hero-media img {
    width: min(100%, 360px) !important;
    max-height: clamp(220px, 40vh, 320px) !important;
  }
}

/* ==========================================================
   HERO REDESIGN: LAYERED COMPOSITION (authoritative override)
   ========================================================== */
body.is-homepage .home-hero {
  position: relative;
  padding: clamp(18px, 3vw, 34px) 0 clamp(26px, 4vw, 44px) !important;
}

body.is-homepage .home-hero .container {
  position: relative;
}

body.is-homepage .home-hero .home-hero-item {
  position: relative !important;
  isolation: isolate;
  overflow: hidden !important;
  border-radius: 34px !important;
  min-height: clamp(520px, 76vh, 710px) !important;
  padding: clamp(34px, 4vw, 56px) clamp(22px, 4vw, 46px) clamp(92px, 11vw, 126px) !important;
  border: 1px solid rgba(182, 130, 216, .18) !important;
  background:
    radial-gradient(110% 95% at 14% 10%, rgba(182, 130, 216, .24) 0%, rgba(182, 130, 216, .08) 32%, rgba(182, 130, 216, 0) 62%),
    radial-gradient(95% 110% at 88% 82%, rgba(86, 200, 180, .14) 0%, rgba(86, 200, 180, 0) 58%),
    linear-gradient(135deg, #f8f4ff 0%, #f4f2fb 52%, #f3f5fb 100%) !important;
  box-shadow: 0 30px 65px rgba(58, 42, 96, .16) !important;
}

body.is-homepage .home-hero .home-hero-item::before {
  content: '';
  position: absolute;
  width: 260px;
  height: 260px;
  inset-block-start: -88px;
  inset-inline-start: -92px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(182, 130, 216, .42) 0%, rgba(182, 130, 216, 0) 70%);
  filter: blur(6px);
  z-index: 0;
  pointer-events: none;
}

body.is-homepage .home-hero .home-hero-item::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  inset-block-end: -140px;
  inset-inline-end: -104px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(109, 191, 157, .25) 0%, rgba(109, 191, 157, 0) 72%);
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}

body.is-homepage .home-hero .home-hero-grid {
  position: relative;
  z-index: 2;
  display: grid !important;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr) !important;
  align-items: center !important;
  column-gap: clamp(26px, 4.2vw, 70px) !important;
  min-height: clamp(388px, 58vh, 560px);
}

body.site-ltr.is-homepage .home-hero .home-hero-content {
  order: 1;
}

body.site-ltr.is-homepage .home-hero .home-hero-media {
  order: 2;
}

body.site-rtl.is-homepage .home-hero .home-hero-content {
  order: 2;
}

body.site-rtl.is-homepage .home-hero .home-hero-media {
  order: 1;
}

body.is-homepage .home-hero .home-hero-content {
  min-height: clamp(340px, 52vh, 520px) !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  text-align: start !important;
  gap: .3rem;
  margin: 0 !important;
  transform: translateY(-6px);
}

body.site-rtl.is-homepage .home-hero .home-hero-content {
  align-items: flex-end !important;
  text-align: right !important;
}

body.is-homepage .home-hero .home-hero-label {
  margin-bottom: .9rem !important;
  padding: .42rem 1rem !important;
  border-radius: 999px !important;
  background: rgba(182, 130, 216, .14) !important;
  border: 1px solid rgba(182, 130, 216, .34) !important;
}

body.is-homepage .home-hero .home-hero-title {
  margin-bottom: .9rem !important;
  line-height: 1.15 !important;
  max-width: 16ch;
}

body.is-homepage .home-hero .home-hero-text {
  max-width: 54ch;
  margin-bottom: 1.35rem !important;
}

body.is-homepage .home-hero .home-hero-actions {
  margin-top: .2rem !important;
}

body.is-homepage .home-hero .home-hero-media {
  position: relative !important;
  z-index: 3;
  min-height: clamp(360px, 60vh, 560px) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  overflow: visible !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin: 0 !important;
}

body.is-homepage .home-hero .home-hero-media::before {
  content: '' !important;
  position: absolute;
  inset: 10% 8% 16%;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(182, 130, 216, .3) 0%, rgba(182, 130, 216, .12) 38%, rgba(182, 130, 216, 0) 72%);
  filter: blur(12px);
  z-index: 0;
  pointer-events: none;
}

body.is-homepage .home-hero .home-hero-media::after {
  content: '' !important;
  position: absolute;
  width: min(86%, 470px);
  height: 38px;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(42, 31, 72, .22) 0%, rgba(42, 31, 72, 0) 72%);
  filter: blur(8px);
  z-index: 0;
  pointer-events: none;
}

body.is-homepage .home-hero .home-hero-media img {
  position: relative;
  z-index: 1;
  width: min(100%, 540px) !important;
  max-height: clamp(360px, 68vh, 610px) !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center bottom !important;
  transform: translateY(16px);
  filter: drop-shadow(0 28px 38px rgba(45, 31, 81, .2));
  border-radius: 0 !important;
  background: transparent !important;
}

@media (max-width: 1399px) {
  body.is-homepage .home-hero .home-hero-item {
    min-height: clamp(500px, 74vh, 670px) !important;
  }

  body.is-homepage .home-hero .home-hero-media img {
    width: min(100%, 500px) !important;
    max-height: clamp(330px, 62vh, 560px) !important;
  }
}

@media (max-width: 1199px) {
  body.is-homepage .home-hero .home-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .9fr) !important;
    column-gap: clamp(20px, 3.2vw, 44px) !important;
  }

  body.is-homepage .home-hero .home-hero-item {
    min-height: clamp(470px, 70vh, 620px) !important;
    padding: clamp(28px, 3.4vw, 44px) clamp(20px, 3.4vw, 34px) clamp(84px, 9vw, 108px) !important;
  }

  body.is-homepage .home-hero .home-hero-media img {
    width: min(100%, 450px) !important;
    max-height: clamp(310px, 56vh, 500px) !important;
  }
}

@media (max-width: 991px) {
  body.is-homepage .home-hero .home-hero-item {
    min-height: auto !important;
    padding: 24px 16px 78px !important;
    border-radius: 26px !important;
  }

  body.is-homepage .home-hero .home-hero-grid {
    grid-template-columns: 1fr !important;
    row-gap: 16px !important;
    min-height: auto;
  }

  body.is-homepage .home-hero .home-hero-content {
    min-height: auto !important;
    transform: none;
    align-items: flex-start !important;
    text-align: start !important;
  }

  body.site-rtl.is-homepage .home-hero .home-hero-content {
    align-items: flex-end !important;
    text-align: right !important;
  }

  body.is-homepage .home-hero .home-hero-media {
    min-height: clamp(250px, 44vh, 350px) !important;
    align-items: flex-end !important;
  }

  body.is-homepage .home-hero .home-hero-media img {
    width: min(100%, 360px) !important;
    max-height: clamp(230px, 40vh, 330px) !important;
    transform: translateY(6px);
  }
}

@media (max-width: 575px) {
  body.is-homepage .home-hero {
    padding: 12px 0 22px !important;
  }

  body.is-homepage .home-hero .home-hero-item {
    border-radius: 22px !important;
    padding: 22px 14px 72px !important;
  }

  body.is-homepage .home-hero .home-hero-media {
    min-height: 220px !important;
  }

  body.is-homepage .home-hero .home-hero-media img {
    width: min(100%, 310px) !important;
    max-height: 280px !important;
  }
}

/* ==========================================================
   HERO V4 - Modern dynamic school slider
   ========================================================== */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 32px;
  min-height: clamp(520px, 76vh, 710px);
  padding: clamp(34px, 4vw, 54px) clamp(22px, 4vw, 46px) clamp(88px, 10vw, 124px);
  border: 1px solid rgba(182, 130, 216, .16);
  background:
    radial-gradient(90% 80% at 16% 14%, rgba(182, 130, 216, .2) 0%, rgba(182, 130, 216, 0) 66%),
    radial-gradient(80% 90% at 84% 78%, rgba(255, 176, 232, .17) 0%, rgba(255, 176, 232, 0) 64%),
    linear-gradient(135deg, var(--hero-bg-from, #ffffff) 0%, var(--hero-bg-mid, #f8f2ff) 48%, var(--hero-bg-to, #efe5ff) 100%);
  box-shadow: 0 28px 62px rgba(62, 43, 102, .16);
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4::before {
  content: '';
  position: absolute;
  width: 210px;
  height: 210px;
  inset-block-start: -72px;
  inset-inline-start: -74px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 130, 216, .35) 0%, rgba(182, 130, 216, 0) 72%);
  filter: blur(5px);
  pointer-events: none;
  z-index: 0;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  inset-inline-end: 14%;
  inset-block-start: 16%;
  background: rgba(182, 130, 216, .45);
  box-shadow: -28px 74px 0 rgba(182, 130, 216, .28), 18px 134px 0 rgba(182, 130, 216, .2);
  pointer-events: none;
  z-index: 0;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(22px, 4vw, 68px);
  min-height: clamp(370px, 58vh, 560px);
}

body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  order: 1;
  align-items: flex-start;
  text-align: left;
}

body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 {
  order: 2;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  order: 2;
  align-items: flex-end;
  text-align: right;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 {
  order: 1;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(320px, 50vh, 510px);
  transform: translateY(-4px);
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-label-v4 {
  margin-bottom: .9rem;
  padding: .42rem .98rem;
  border-radius: 999px;
  font-size: .9rem;
  font-weight: 700;
  color: #5a3f87;
  background: rgba(182, 130, 216, .14);
  border: 1px solid rgba(182, 130, 216, .3);
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-title-v4 {
  margin: 0 0 .9rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  color: #21163a;
  letter-spacing: -.02em;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-text-v4 {
  margin: 0 0 1.4rem;
  max-width: 56ch;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.86;
  color: #5f5674;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-actions-v4 {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .8rem;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-primary-v4 {
  border-radius: 999px;
  padding: .86rem 1.48rem;
  background: linear-gradient(135deg, #b682d8 0%, #9f6bd0 100%);
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 14px 24px rgba(145, 93, 193, .34);
  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-primary-v4:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(145, 93, 193, .42);
  filter: brightness(1.03);
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-ghost-v4 {
  border-radius: 999px;
  padding: .74rem 1.18rem;
  color: #4f3f74;
  background: rgba(255, 255, 255, .86);
  border: 1px solid rgba(182, 130, 216, .28);
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-ghost-v4 i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: .78rem;
  background: rgba(182, 130, 216, .16);
  color: #7143a4;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-ghost-v4:hover {
  transform: translateY(-2px);
  border-color: rgba(182, 130, 216, .58);
  box-shadow: 0 12px 20px rgba(106, 76, 156, .2);
  color: #3f315f;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 {
  position: relative;
  min-height: clamp(350px, 62vh, 580px);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: visible;
  background: transparent;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  position: absolute;
  width: clamp(260px, 34vw, 480px);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  inset-block-end: clamp(32px, 6vh, 72px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(140deg, var(--hero-circle, #b682d8) 0%, var(--hero-circle-2, #efc3ff) 100%);
  box-shadow: 0 24px 42px rgba(120, 84, 170, .24);
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: min(86%, 520px);
  height: 34px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(54, 37, 91, .25) 0%, rgba(54, 37, 91, 0) 72%);
  filter: blur(8px);
  z-index: 0;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
  position: relative;
  z-index: 2;
  width: min(100%, 540px);
  max-height: clamp(360px, 72vh, 640px);
  height: auto;
  object-fit: contain;
  object-position: center bottom;
  transform: translateY(18px);
  filter: drop-shadow(0 20px 34px rgba(52, 37, 88, .2));
  background: transparent;
}

@media (max-width: 1199px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 {
    min-height: auto;
    padding: clamp(30px, 3.6vw, 40px) clamp(18px, 3vw, 28px) clamp(74px, 8vw, 96px);
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4,
  body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
    order: 1;
    min-height: auto;
    transform: none;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4,
  body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 {
    order: 2;
    min-height: clamp(260px, 42vh, 380px);
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 390px);
    max-height: clamp(240px, 40vh, 360px);
    transform: translateY(10px);
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(200px, 50vw, 330px);
    inset-block-end: clamp(18px, 4vh, 40px);
  }
}

@media (max-width: 767px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 {
    border-radius: 24px;
    padding: 24px 14px 70px;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4,
  body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
    align-items: center;
    text-align: center;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-title-v4 {
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-text-v4 {
    max-width: 100%;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-actions-v4 {
    justify-content: center;
  }
}

/* ==========================================================
   HERO V5 - Premium School Landing (final authoritative layer)
   ========================================================== */
@keyframes heroFloatA {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

@keyframes heroFloatB {
  0% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, 8px, 0); }
  100% { transform: translate3d(0, 0, 0); }
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 {
  overflow: visible !important;
  min-height: clamp(560px, 78vh, 740px) !important;
  padding: clamp(34px, 4vw, 56px) clamp(24px, 4vw, 52px) clamp(94px, 11vw, 132px) !important;
  border-radius: 36px !important;
  border: 1px solid rgba(182, 130, 216, .2) !important;
  background:
    radial-gradient(95% 82% at 14% 14%, rgba(182, 130, 216, .22) 0%, rgba(182, 130, 216, 0) 66%),
    radial-gradient(84% 86% at 92% 84%, rgba(255, 198, 241, .18) 0%, rgba(255, 198, 241, 0) 64%),
    linear-gradient(125deg, var(--hero-bg-from, #ffffff) 0%, var(--hero-bg-mid, #f8f3ff) 46%, var(--hero-bg-to, #efe6ff) 100%) !important;
  box-shadow: 0 30px 72px rgba(68, 47, 110, .16) !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4::before {
  width: 230px !important;
  height: 230px !important;
  inset-block-start: -76px !important;
  inset-inline-start: -74px !important;
  background: radial-gradient(circle, rgba(182, 130, 216, .36) 0%, rgba(182, 130, 216, 0) 74%) !important;
  animation: heroFloatA 8s ease-in-out infinite;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4::after {
  width: 16px !important;
  height: 16px !important;
  inset-inline-end: 10% !important;
  inset-block-start: 18% !important;
  background: rgba(182, 130, 216, .46) !important;
  box-shadow: -30px 82px 0 rgba(182, 130, 216, .3), 18px 146px 0 rgba(182, 130, 216, .22) !important;
  animation: heroFloatB 7s ease-in-out infinite;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
  grid-template-columns: 45% 55% !important;
  gap: clamp(22px, 3.8vw, 62px) !important;
  align-items: center !important;
  min-height: clamp(400px, 60vh, 580px) !important;
}

/* Keep composition fixed: text left / image right */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  order: 1 !important;
  align-items: flex-start !important;
  text-align: right !important;
  justify-content: center !important;
  min-height: clamp(340px, 52vh, 520px) !important;
  transform: translateY(-2px) !important;
}

body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  text-align: left !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 {
  order: 2 !important;
  min-height: clamp(390px, 64vh, 620px) !important;
  align-items: center !important;
  justify-content: center !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-label-v4 {
  margin-bottom: 1rem !important;
  padding: .45rem 1.02rem !important;
  font-weight: 700 !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-title-v4 {
  font-size: clamp(2.2rem, 4.3vw, 3.8rem) !important;
  line-height: 1.1 !important;
  margin-bottom: 1rem !important;
  max-width: 16ch !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-text-v4 {
  margin-bottom: 1.55rem !important;
  max-width: 52ch !important;
  line-height: 1.9 !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-actions-v4 {
  gap: .9rem !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-primary-v4,
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-ghost-v4 {
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background-color .24s ease, color .24s ease !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-primary-v4:hover,
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-ghost-v4:hover {
  transform: translateY(-3px) !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  width: clamp(420px, 52vw, 760px) !important;
  inset-block-end: clamp(26px, 5vh, 66px) !important;
  left: 57% !important;
  transform: translateX(-50%) !important;
  z-index: 0 !important;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, .56) 0%, rgba(255, 255, 255, 0) 42%),
    linear-gradient(138deg, var(--hero-circle, #b682d8) 0%, var(--hero-circle-2, #efc3ff) 100%) !important;
  box-shadow: 0 28px 52px rgba(119, 82, 172, .28) !important;
  filter: saturate(1.02);
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  left: 46% !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4::after {
  width: min(88%, 560px) !important;
  height: 40px !important;
  bottom: -2px !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
  width: min(100%, 600px) !important;
  max-height: clamp(390px, 74vh, 670px) !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: translateY(22px) !important;
  filter: drop-shadow(0 24px 40px rgba(51, 35, 87, .22)) !important;
}

/* Tablet: keep image on right, only scale down */
@media (max-width: 1199px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 {
    min-height: clamp(500px, 72vh, 650px) !important;
    padding: clamp(28px, 3.4vw, 42px) clamp(18px, 3vw, 32px) clamp(82px, 8vw, 102px) !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
    grid-template-columns: 46% 54% !important;
    gap: clamp(18px, 3vw, 38px) !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-title-v4 {
    font-size: clamp(2rem, 4vw, 3.1rem) !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(360px, 46vw, 600px) !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 {
    min-height: clamp(340px, 56vh, 500px) !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 500px) !important;
    max-height: clamp(320px, 58vh, 530px) !important;
    transform: translateY(16px) !important;
  }
}

@media (max-width: 991px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
    grid-template-columns: 47% 53% !important;
    gap: 16px !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-title-v4 {
    font-size: clamp(1.8rem, 3.8vw, 2.6rem) !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-text-v4 {
    font-size: 1rem !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(320px, 44vw, 520px) !important;
    inset-block-end: 20px !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 430px) !important;
    max-height: clamp(280px, 50vh, 430px) !important;
    transform: translateY(12px) !important;
  }
}

/* Mobile: stack text then image */
@media (max-width: 767px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 {
    min-height: auto !important;
    border-radius: 24px !important;
    padding: 24px 14px 72px !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    min-height: auto !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4,
  body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
    order: 1 !important;
    align-items: center !important;
    text-align: center !important;
    min-height: auto !important;
    transform: none !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4,
  body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 {
    order: 2 !important;
    min-height: 250px !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(260px, 76vw, 360px) !important;
    left: 50% !important;
    inset-block-end: 14px !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 340px) !important;
    max-height: 300px !important;
    transform: translateY(8px) !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-actions-v4 {
    justify-content: center !important;
  }
}

/* ==========================================================
   HERO V6 - Balance refinement (clean premium composition)
   ========================================================== */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 {
  overflow: hidden !important;
  min-height: clamp(540px, 76vh, 700px) !important;
  padding: clamp(34px, 4vw, 52px) clamp(24px, 4vw, 48px) clamp(88px, 10vw, 120px) !important;
  border-radius: 34px !important;
  background:
    radial-gradient(90% 72% at 12% 14%, rgba(182, 130, 216, .16) 0%, rgba(182, 130, 216, 0) 66%),
    radial-gradient(86% 84% at 92% 86%, rgba(255, 204, 243, .13) 0%, rgba(255, 204, 243, 0) 62%),
    linear-gradient(124deg, var(--hero-bg-from, #ffffff) 0%, var(--hero-bg-mid, #f8f3ff) 50%, var(--hero-bg-to, #f0e8ff) 100%) !important;
  box-shadow: 0 24px 58px rgba(68, 47, 110, .14) !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
  grid-template-columns: 44% 56% !important;
  gap: clamp(22px, 3.4vw, 54px) !important;
  min-height: clamp(390px, 58vh, 560px) !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  min-height: clamp(320px, 50vh, 500px) !important;
  transform: translateY(-1px) !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-title-v4 {
  font-size: clamp(2.15rem, 4vw, 3.5rem) !important;
  margin-bottom: .95rem !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-text-v4 {
  max-width: 50ch !important;
  margin-bottom: 1.4rem !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 {
  min-height: clamp(360px, 62vh, 580px) !important;
  align-items: center !important;
}

/* Circle is intentionally offset and partially cropped by hero frame */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  width: clamp(360px, 44vw, 620px) !important;
  aspect-ratio: 1 / 1 !important;
  left: auto !important;
  right: -12% !important;
  inset-block-end: clamp(22px, 4vh, 56px) !important;
  transform: none !important;
  opacity: .95;
  box-shadow: 0 22px 44px rgba(119, 82, 172, .24) !important;
}

/* Keep subtle layered depth under student */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4::after {
  width: min(80%, 500px) !important;
  height: 34px !important;
  bottom: 2px !important;
  opacity: .9;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
  width: min(100%, 540px) !important;
  max-height: clamp(360px, 70vh, 620px) !important;
  object-position: center center !important;
  transform: translateY(16px) !important;
  filter: drop-shadow(0 20px 34px rgba(51, 35, 87, .2)) !important;
}

@media (max-width: 1199px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
    grid-template-columns: 45% 55% !important;
    gap: clamp(16px, 3vw, 34px) !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(320px, 40vw, 520px) !important;
    right: -10% !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 470px) !important;
    max-height: clamp(300px, 56vh, 500px) !important;
    transform: translateY(12px) !important;
  }
}

@media (max-width: 991px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
    grid-template-columns: 46% 54% !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-title-v4 {
    font-size: clamp(1.85rem, 3.6vw, 2.5rem) !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(290px, 38vw, 440px) !important;
    right: -9% !important;
    inset-block-end: 18px !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 400px) !important;
    max-height: clamp(270px, 48vh, 410px) !important;
    transform: translateY(8px) !important;
  }
}

@media (max-width: 767px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 {
    padding: 24px 14px 70px !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(250px, 72vw, 340px) !important;
    right: 50% !important;
    transform: translateX(50%) !important;
    inset-block-end: 12px !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 332px) !important;
    max-height: 290px !important;
    transform: translateY(6px) !important;
  }
}

/* ==========================================================
   HERO V7 - Organic outline blob (student emerging effect)
   ========================================================== */
body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  order: 1 !important;
  align-items: flex-end !important;
  text-align: right !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 {
  order: 2 !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
  grid-template-columns: 44% 56% !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 {
  position: relative !important;
  min-height: clamp(350px, 60vh, 560px) !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: visible !important;
}

/* Replace filled circle with transparent organic outline blob */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  position: absolute !important;
  width: clamp(330px, 40vw, 560px) !important;
  aspect-ratio: 1 / 1 !important;
  right: -8% !important;
  left: auto !important;
  inset-block-end: clamp(10px, 3vh, 34px) !important;
  border-radius: 58% 42% 52% 48% / 44% 56% 46% 54% !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: rotate(-9deg) !important;
  z-index: 0 !important;
  opacity: 1 !important;
  filter: none !important;
  pointer-events: none;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  right: auto !important;
  left: -8% !important;
  transform: rotate(9deg) !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4::before {
  content: '' !important;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: clamp(7px, .8vw, 11px);
  background: linear-gradient(145deg, rgba(182, 130, 216, .9) 0%, rgba(236, 188, 255, .84) 52%, rgba(182, 130, 216, .7) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 1;
  opacity: .95;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4::after {
  content: '' !important;
  position: absolute;
  inset: -8%;
  border-radius: 62% 38% 56% 44% / 40% 60% 42% 58%;
  background: radial-gradient(circle, rgba(182, 130, 216, .22) 0%, rgba(182, 130, 216, 0) 68%);
  filter: blur(10px);
  z-index: 0;
  opacity: .85;
}

/* Student pops above blob, head/shoulders outside the frame */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
  position: relative !important;
  z-index: 2 !important;
  width: min(100%, 520px) !important;
  max-height: clamp(360px, 68vh, 610px) !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: translateY(14px) !important;
  filter: drop-shadow(0 20px 34px rgba(49, 34, 83, .2)) !important;
}

@media (max-width: 1199px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(300px, 38vw, 470px) !important;
    inset-block-end: 8px !important;
  }

  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    left: -7% !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 455px) !important;
    max-height: clamp(310px, 56vh, 500px) !important;
    transform: translateY(10px) !important;
  }
}

@media (max-width: 991px) {
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
    grid-template-columns: 45% 55% !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(260px, 34vw, 390px) !important;
    inset-block-end: 8px !important;
  }

  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    left: -6% !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 390px) !important;
    max-height: clamp(270px, 48vh, 410px) !important;
    transform: translateY(8px) !important;
  }
}

@media (max-width: 767px) {
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
    grid-template-columns: 1fr !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(230px, 68vw, 320px) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) rotate(6deg) !important;
    inset-block-end: 8px !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 325px) !important;
    max-height: 280px !important;
    transform: translateY(6px) !important;
  }
}

/* ==========================================================
   HERO V8 - Vibrant premium layered composition
   ========================================================== */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 {
  background:
    radial-gradient(82% 72% at 8% 10%, rgba(180, 125, 248, .42) 0%, rgba(180, 125, 248, 0) 66%),
    radial-gradient(74% 68% at 92% 18%, rgba(255, 153, 207, .32) 0%, rgba(255, 153, 207, 0) 65%),
    radial-gradient(60% 54% at 82% 92%, rgba(255, 183, 118, .26) 0%, rgba(255, 183, 118, 0) 72%),
    linear-gradient(130deg, #ffffff 0%, #f4e9ff 42%, #ffeef8 72%, #fff4e7 100%) !important;
  box-shadow: 0 30px 70px rgba(86, 54, 145, .2) !important;
  border: 1px solid rgba(182, 130, 216, .24) !important;
}

/* light decorative floating particles */
body.is-homepage .home-hero .home-hero-item.home-hero-v4::before {
  width: 14px !important;
  height: 14px !important;
  border-radius: 50% !important;
  inset-block-start: 14% !important;
  inset-inline-start: 8% !important;
  background: rgba(173, 120, 238, .72) !important;
  box-shadow:
    38px 82px 0 rgba(173, 120, 238, .36),
    118px 34px 0 rgba(255, 160, 210, .42),
    76px 152px 0 rgba(255, 186, 124, .36) !important;
  filter: blur(.2px) !important;
  animation: heroFloatA 8s ease-in-out infinite !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4::after {
  width: 11px !important;
  height: 11px !important;
  border-radius: 50% !important;
  inset-inline-end: 11% !important;
  inset-block-start: 20% !important;
  background: rgba(255, 160, 210, .62) !important;
  box-shadow:
    -28px 72px 0 rgba(172, 121, 241, .34),
    26px 120px 0 rgba(255, 186, 124, .3) !important;
  animation: heroFloatB 9s ease-in-out infinite !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
  grid-template-columns: 45% 55% !important;
  gap: clamp(22px, 3.5vw, 58px) !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-title-v4 {
  font-size: clamp(2.35rem, 4.6vw, 4rem) !important;
  font-weight: 800 !important;
  color: #1f1635 !important;
  line-height: 1.08 !important;
  margin-bottom: 1rem !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-text-v4 {
  color: #574a72 !important;
  line-height: 1.9 !important;
  margin-bottom: 1.6rem !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-primary-v4 {
  background: linear-gradient(135deg, #b682d8 0%, #9f67d6 52%, #8f5ed0 100%) !important;
  color: #fff !important;
  border: 1px solid transparent !important;
  box-shadow: 0 16px 28px rgba(146, 94, 198, .36) !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-primary-v4:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 20px 34px rgba(146, 94, 198, .46) !important;
  filter: brightness(1.04);
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-ghost-v4 {
  background: rgba(255, 255, 255, .8) !important;
  border: 1px solid rgba(182, 130, 216, .42) !important;
  color: #4b3c6d !important;
  box-shadow: 0 8px 18px rgba(95, 69, 140, .12) !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-ghost-v4 i {
  background: rgba(182, 130, 216, .2) !important;
  color: #7344aa !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-ghost-v4:hover {
  border-color: rgba(182, 130, 216, .66) !important;
  box-shadow: 0 12px 24px rgba(95, 69, 140, .2) !important;
}

/* switch to filled luminous shape behind student */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  width: clamp(360px, 44vw, 600px) !important;
  inset-block-end: clamp(18px, 4vh, 46px) !important;
  right: -10% !important;
  left: auto !important;
  border-radius: 56% 44% 58% 42% / 46% 54% 44% 56% !important;
  transform: rotate(-8deg) !important;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, 0) 38%),
    linear-gradient(142deg, var(--hero-circle, #b682d8) 0%, #c88ee6 42%, var(--hero-circle-2, #f2b5ff) 100%) !important;
  box-shadow:
    0 28px 54px rgba(139, 86, 197, .34),
    0 0 0 1px rgba(255, 255, 255, .16) inset !important;
  opacity: .96 !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  right: auto !important;
  left: -10% !important;
  transform: rotate(8deg) !important;
}

/* disable outline pseudo from previous variant */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4::before {
  content: none !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4::after {
  inset: -6% !important;
  border-radius: 60% 40% 56% 44% / 44% 56% 42% 58% !important;
  background: radial-gradient(circle, rgba(182, 130, 216, .34) 0%, rgba(182, 130, 216, 0) 68%) !important;
  filter: blur(12px) !important;
  opacity: .85 !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
  width: min(100%, 540px) !important;
  max-height: clamp(360px, 69vh, 620px) !important;
  transform: translateY(16px) !important;
  filter: drop-shadow(0 22px 36px rgba(54, 37, 90, .24)) !important;
  z-index: 2 !important;
}

@media (max-width: 1199px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(320px, 40vw, 500px) !important;
    right: -8% !important;
  }

  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    left: -8% !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 465px) !important;
    max-height: clamp(300px, 56vh, 500px) !important;
  }
}

@media (max-width: 991px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-title-v4 {
    font-size: clamp(1.95rem, 3.9vw, 2.7rem) !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(280px, 36vw, 420px) !important;
    right: -7% !important;
  }

  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    left: -7% !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 395px) !important;
    max-height: clamp(260px, 48vh, 410px) !important;
  }
}

@media (max-width: 767px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
    grid-template-columns: 1fr !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(240px, 70vw, 340px) !important;
    right: auto !important;
    left: 50% !important;
    transform: translateX(-50%) rotate(5deg) !important;
    inset-block-end: 10px !important;
  }
}

/* ==========================================================
   HERO V9 - Organic outline + premium subtle motion
   ========================================================== */
@keyframes heroOutlineFloat {
  0%, 100% { transform: translateY(0) rotate(-7deg); }
  50% { transform: translateY(-10px) rotate(-7deg); }
}

@keyframes heroStudentMicroFloat {
  0%, 100% { transform: translateY(-3px); }
  50% { transform: translateY(-9px); }
}

@keyframes heroDotDriftA {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .68; }
  50% { transform: translate3d(0, -9px, 0); opacity: .95; }
}

@keyframes heroDotDriftB {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .56; }
  50% { transform: translate3d(0, 8px, 0); opacity: .84; }
}

/* Keep vibrant background, refine decorative particles motion */
body.is-homepage .home-hero .home-hero-item.home-hero-v4::before {
  animation: heroDotDriftA 9s ease-in-out infinite !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4::after {
  animation: heroDotDriftB 10s ease-in-out infinite !important;
}

/* Smaller irregular transparent outline blob */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  width: clamp(280px, 34vw, 460px) !important;
  aspect-ratio: 1 / 1 !important;
  right: -6% !important;
  left: auto !important;
  inset-block-end: clamp(6px, 2.4vh, 26px) !important;
  transform: rotate(-7deg) !important;
  border-radius: 62% 38% 58% 42% / 46% 54% 42% 58% !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  animation: heroOutlineFloat 9s ease-in-out infinite !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  right: auto !important;
  left: -6% !important;
  transform: rotate(7deg) !important;
}

/* gradient stroke outline, transparent center */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4::before {
  content: '' !important;
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: clamp(6px, .72vw, 9px);
  background: linear-gradient(140deg, rgba(182, 130, 216, .95) 0%, rgba(255, 171, 224, .82) 54%, rgba(182, 130, 216, .75) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: 2;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4::after {
  content: '' !important;
  position: absolute;
  inset: -9%;
  border-radius: 64% 36% 56% 44% / 42% 58% 40% 60%;
  background: radial-gradient(circle, rgba(182, 130, 216, .24) 0%, rgba(182, 130, 216, 0) 72%);
  filter: blur(9px);
  z-index: 1;
  opacity: .7;
}

/* Student appears emerging above outline blob */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
  width: min(100%, 510px) !important;
  max-height: clamp(350px, 66vh, 590px) !important;
  object-fit: contain !important;
  object-position: center center !important;
  transform: translateY(-3px) !important;
  filter: drop-shadow(0 18px 30px rgba(55, 38, 91, .2)) !important;
  animation: heroStudentMicroFloat 10s ease-in-out infinite !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-primary-v4:hover {
  box-shadow: 0 18px 32px rgba(146, 94, 198, .42) !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-ghost-v4:hover {
  box-shadow: 0 12px 24px rgba(95, 69, 140, .2) !important;
}

@media (max-width: 1199px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(250px, 32vw, 390px) !important;
    right: -5% !important;
    inset-block-end: 6px !important;
  }

  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    left: -5% !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 440px) !important;
    max-height: clamp(300px, 54vh, 470px) !important;
  }
}

@media (max-width: 991px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(220px, 30vw, 330px) !important;
    right: -4% !important;
    inset-block-end: 4px !important;
  }

  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    left: -4% !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 380px) !important;
    max-height: clamp(260px, 46vh, 390px) !important;
  }
}

@media (max-width: 767px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(210px, 66vw, 300px) !important;
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) rotate(5deg) !important;
    inset-block-end: 6px !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 320px) !important;
    max-height: 272px !important;
  }
}

/* ==========================================================
   HERO V9.1 - Organic frame alignment refinement
   ========================================================== */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  width: clamp(286px, 34vw, 460px) !important;
  aspect-ratio: 1.14 / 1 !important;
  right: 2% !important;
  inset-block-end: clamp(-6px, 1.1vh, 14px) !important;
  border-radius: 66% 34% 60% 40% / 48% 52% 42% 58% !important;
  transform: rotate(-5deg) !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  left: 2% !important;
  right: auto !important;
  transform: rotate(5deg) !important;
}

/* keep soft irregular glow following new oval orientation */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4::after {
  inset: -6% -8% -8% -6% !important;
  border-radius: 70% 30% 58% 42% / 44% 56% 40% 60% !important;
}

@media (max-width: 1199px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(258px, 32vw, 405px) !important;
    right: 1.2% !important;
    inset-block-end: clamp(-4px, .8vh, 10px) !important;
  }

  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    left: 1.2% !important;
    right: auto !important;
  }
}

@media (max-width: 991px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(226px, 29vw, 316px) !important;
    right: .6% !important;
    inset-block-end: -2px !important;
    transform: rotate(-4deg) !important;
  }

  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    left: .6% !important;
    right: auto !important;
    transform: rotate(4deg) !important;
  }
}

@media (max-width: 767px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(220px, 64vw, 300px) !important;
    aspect-ratio: 1.08 / 1 !important;
    left: 50% !important;
    right: auto !important;
    inset-block-end: 2px !important;
    transform: translateX(-50%) rotate(4deg) !important;
  }
}

/* ==========================================================
   HERO V9.2 - Image/frame proportion and anchor refinement
   ========================================================== */
@keyframes heroStudentMicroFloat {
  0%, 100% { transform: translateY(-18px); }
  50% { transform: translateY(-24px); }
}

@keyframes heroOutlineFloatV92 {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-8px) rotate(-4deg); }
}

@keyframes heroOutlineFloatV92Rtl {
  0%, 100% { transform: translateY(0) rotate(4deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

/* Keep frame anchored; only student moves upward */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  width: clamp(238px, 28vw, 340px) !important;
  aspect-ratio: 0.84 / 1 !important;
  right: -14% !important;
  inset-block-end: clamp(10px, 2.2vh, 26px) !important;
  border-radius: 58% 42% 64% 36% / 36% 64% 34% 66% !important;
  transform: rotate(-4deg) !important;
  animation: heroOutlineFloatV92 9s ease-in-out infinite !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  left: 20% !important;
  right: auto !important;
  transform: rotate(4deg) !important;
  animation: heroOutlineFloatV92Rtl 9s ease-in-out infinite !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4::after {
  inset: -9% -6% -9% -6% !important;
}

/* Student raised ~15px while staying centered in the frame */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
  width: min(100%, 500px) !important;
  max-height: clamp(350px, 66vh, 590px) !important;
  transform: translateY(-18px) !important;
  animation: heroStudentMicroFloat 10s ease-in-out infinite !important;
}

@media (max-width: 1199px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(220px, 25vw, 300px) !important;
    right: -12% !important;
    inset-block-end: clamp(8px, 1.8vh, 18px) !important;
  }

  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    left: 18% !important;
    right: auto !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 432px) !important;
    max-height: clamp(300px, 54vh, 470px) !important;
    transform: translateY(-14px) !important;
  }
}

@media (max-width: 991px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(198px, 23vw, 260px) !important;
    right: -9% !important;
    inset-block-end: 6px !important;
    transform: rotate(-4deg) !important;
  }

  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    left: 15% !important;
    right: auto !important;
    transform: rotate(4deg) !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 370px) !important;
    max-height: clamp(260px, 46vh, 390px) !important;
    transform: translateY(-10px) !important;
  }
}

@media (max-width: 767px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    width: clamp(190px, 56vw, 250px) !important;
    aspect-ratio: 0.9 / 1 !important;
    left: 50% !important;
    right: auto !important;
    inset-block-end: 2px !important;
    transform: translateX(-50%) rotate(4deg) !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 312px) !important;
    max-height: 270px !important;
    transform: translateY(-8px) !important;
  }
}

/* ==========================================================
   HERO V9.3 - RTL consistency + subtle premium polish
   ========================================================== */
@keyframes heroStudentFloatV93 {
  0%, 100% { transform: translateY(-40px); }
  50% { transform: translateY(-46px); }
}

@keyframes heroDotDriftV93A {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .56; }
  50% { transform: translate3d(0, -7px, 0); opacity: .88; }
}

@keyframes heroDotDriftV93B {
  0%, 100% { transform: translate3d(0, 0, 0); opacity: .48; }
  50% { transform: translate3d(0, 6px, 0); opacity: .76; }
}

/* Gentle radial glow behind student for depth */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4::before {
  content: '' !important;
  position: absolute;
  width: min(82%, 420px);
  height: min(72%, 360px);
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(182, 130, 216, .26) 0%, rgba(182, 130, 216, .11) 40%, rgba(182, 130, 216, 0) 72%);
  filter: blur(12px);
  z-index: 1;
  pointer-events: none;
}

/* Raise student image upward without size/proportion change */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
  transform: translateY(-40px) !important;
  animation: heroStudentFloatV93 10s ease-in-out infinite !important;
  z-index: 2 !important;
}

/* Keep floating decorative dots subtle and elegant */
body.is-homepage .home-hero .home-hero-item.home-hero-v4::before {
  animation: heroDotDriftV93A 12s ease-in-out infinite !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4::after {
  animation: heroDotDriftV93B 14s ease-in-out infinite !important;
}

/* Strict RTL content alignment and spacing consistency */
body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4,
body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-label-v4,
body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-title-v4,
body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-text-v4 {
  text-align: right !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  align-items: flex-end !important;
  direction: rtl;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-actions-v4 {
  direction: rtl;
  align-self: flex-end;
  justify-content: flex-start !important;
}

/* Primary button polished hover */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-primary-v4 {
  transition: transform .28s ease, box-shadow .28s ease, filter .28s ease !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-btn-primary-v4:hover {
  transform: translateY(-2px) scale(1.03) !important;
  box-shadow: 0 20px 34px rgba(146, 94, 198, .44) !important;
}

@media (max-width: 1199px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    transform: translateY(-34px) !important;
  }
}

@media (max-width: 991px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    transform: translateY(-28px) !important;
  }
}

@media (max-width: 767px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    transform: translateY(-24px) !important;
  }

  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-actions-v4 {
    justify-content: center !important;
    align-self: center;
  }
}

/* ==========================================================
   HERO V9.4 - Balance, RTL rhythm, and shadow grounding
   ========================================================== */
body.is-homepage .home-hero {
  padding-top: clamp(8px, 1.4vw, 16px) !important;
  padding-bottom: clamp(12px, 2.2vw, 24px) !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 {
  min-height: clamp(500px, 68vh, 640px) !important;
  padding: clamp(24px, 3.2vw, 38px) clamp(24px, 4vw, 48px) clamp(56px, 7vw, 82px) !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-grid-v4 {
  min-height: clamp(340px, 53vh, 500px) !important;
  align-items: center !important;
  gap: clamp(20px, 3vw, 44px) !important;
}

/* Frame sits around torso; lower arc is hidden behind the body */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  inset-block-end: clamp(24px, 3.4vh, 40px) !important;
}

@media (max-width: 1199px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    inset-block-end: clamp(18px, 2.6vh, 30px) !important;
  }
}

@media (max-width: 991px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    inset-block-end: 14px !important;
  }
}

@media (max-width: 767px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 {
    min-height: auto !important;
    padding: 20px 14px 56px !important;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    inset-block-end: 10px !important;
  }
}

/* Clean RTL content column rhythm */
body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  align-items: flex-end !important;
  text-align: right !important;
  direction: rtl;
  gap: 0 !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-label-v4 {
  margin-bottom: .62rem !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-title-v4 {
  margin-bottom: .72rem !important;
  max-width: 15ch !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-text-v4 {
  margin-bottom: 1.05rem !important;
  max-width: 46ch !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-actions-v4 {
  direction: rtl;
  flex-direction: row-reverse;
  justify-content: flex-start !important;
  align-self: flex-end;
  gap: .72rem !important;
}

/* Move glow/shadow beneath student (grounded, not above head) */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4::before {
  width: min(76%, 400px);
  height: min(30%, 150px);
  left: 50%;
  top: auto;
  bottom: 12px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(94, 66, 148, .24) 0%, rgba(94, 66, 148, .08) 42%, rgba(94, 66, 148, 0) 74%);
  filter: blur(8px);
  z-index: 1;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4::after {
  content: '' !important;
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: min(70%, 360px);
  height: 22px;
  border-radius: 999px;
  background: radial-gradient(ellipse at center, rgba(45, 30, 77, .24) 0%, rgba(45, 30, 77, 0) 72%);
  filter: blur(6px);
  z-index: 1;
  pointer-events: none;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
  width: min(100%, 540px) !important;
  max-height: clamp(370px, 68vh, 620px) !important;
  z-index: 2 !important;
  margin-inline: auto;
  -webkit-mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, .9) 90%,
    rgba(0, 0, 0, .45) 96%,
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 1) 80%,
    rgba(0, 0, 0, .9) 90%,
    rgba(0, 0, 0, .45) 96%,
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
}

@media (max-width: 1199px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 458px) !important;
    max-height: clamp(315px, 56vh, 500px) !important;
  }
}

@media (max-width: 991px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 392px) !important;
    max-height: clamp(275px, 48vh, 420px) !important;
  }
}

@media (max-width: 767px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
    width: min(100%, 328px) !important;
    max-height: 286px !important;
  }
}

/* ==========================================================
   Classes Marquee - Direction and Order Stabilization
   ========================================================== */
@keyframes schClassMarqueeLeftToRight {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

body.site-ltr.is-homepage .classes-marquee-track,
body.site-rtl.is-homepage .classes-marquee-track {
  animation-name: schClassMarqueeLeftToRight !important;
  animation-direction: normal !important;
}

body.is-homepage .classes-marquee:hover .classes-marquee-track {
  animation-play-state: paused !important;
}

/* ==========================================================
   Homepage Services Rebuild
   ========================================================== */
body.is-homepage .sch-services-rebuild-section {
  position: relative;
  padding-block: 46px 54px;
}

body.is-homepage .sch-services-rebuild-section .services-block + .services-block {
  margin-top: 46px;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-head {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  margin-bottom: .9rem;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-head h2 {
  margin: 0;
  font-size: clamp(1.3rem, 1.8vw, 1.78rem);
  color: #2f2748;
  letter-spacing: .01em;
  line-height: 1.4;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-list {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 1.05rem;
  align-items: stretch;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-item {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(182, 130, 216, .24);
  background: linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(248, 244, 253, .96));
  box-shadow: 0 10px 24px rgba(40, 29, 70, .1);
  padding: 1.02rem .98rem;
  display: flex;
  align-items: flex-start;
  gap: .88rem;
  min-height: 150px;
  height: 100%;
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease, background .24s ease;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(150deg, rgba(182, 130, 216, .07), rgba(91, 75, 138, .02) 48%, rgba(255, 255, 255, 0) 80%);
  opacity: 0;
  transition: opacity .24s ease;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 36px rgba(40, 29, 70, .16);
  border-color: rgba(126, 92, 180, .42);
  background: linear-gradient(145deg, #fff, rgba(244, 237, 251, .98));
}

body.is-homepage .sch-services-rebuild-section .feature-stack-item:hover::before {
  opacity: 1;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-icon {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(182, 130, 216, .28), rgba(91, 75, 138, .12));
  color: #564584;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.08rem;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .62), 0 7px 15px rgba(91, 75, 138, .13);
  transition: transform .24s ease, box-shadow .24s ease;
  overflow: hidden;
  z-index: 1;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-icon img {
  width: auto;
  height: auto;
  max-width: 74%;
  max-height: 74%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform .24s ease;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-item:hover .feature-stack-icon {
  transform: scale(1.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7), 0 11px 20px rgba(91, 75, 138, .22);
}

body.is-homepage .sch-services-rebuild-section .feature-stack-content {
  min-width: 0;
  z-index: 1;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-content h3 {
  margin: 0;
  font-size: 1.03rem;
  line-height: 1.52;
  color: #2f2748;
  word-break: break-word;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-content p {
  margin: .42rem 0 0;
  color: #625c78;
  font-size: .9rem;
  line-height: 1.78;
  word-break: break-word;
}

/* Why section: icon-only visual */
body.is-homepage .sch-services-rebuild-section .feature-stack-block--why .feature-stack-item {
  align-items: center;
}

/* Services section: image-first cards */
body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-item {
  flex-direction: column;
  align-items: stretch;
  gap: .78rem;
  min-height: 250px;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-icon {
  width: 100%;
  height: auto;
  flex: 0 0 auto;
  aspect-ratio: 16 / 10;
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(182, 130, 216, .2), rgba(91, 75, 138, .1));
}

body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-icon img {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  object-position: center;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-icon i {
  font-size: 1.3rem;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-item:hover .feature-stack-icon img {
  transform: scale(1.04);
}

body.site-rtl.is-homepage .sch-services-rebuild-section .feature-stack-head,
body.site-rtl.is-homepage .sch-services-rebuild-section .feature-stack-item {
  text-align: right;
  direction: rtl;
}

body.site-ltr.is-homepage .sch-services-rebuild-section .feature-stack-head,
body.site-ltr.is-homepage .sch-services-rebuild-section .feature-stack-item {
  text-align: left;
  direction: ltr;
}

@media (max-width: 1199px) {
  body.is-homepage .sch-services-rebuild-section .feature-stack-list {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 1.05rem;
  align-items: stretch;
}

  body.is-homepage .sch-services-rebuild-section .feature-stack-item {
    min-height: 142px;
    padding: .98rem .92rem;
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-item {
    min-height: 228px;
  }
}

@media (max-width: 767px) {
  body.is-homepage .sch-services-rebuild-section {
    padding-block: 40px 46px;
  }

  body.is-homepage .sch-services-rebuild-section .services-block + .services-block {
    margin-top: 34px;
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-list {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 1.05rem;
  align-items: stretch;
}

  body.is-homepage .sch-services-rebuild-section .feature-stack-item {
    min-height: 126px;
    padding: .9rem .84rem;
    gap: .72rem;
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-icon {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-content h3 {
    font-size: .98rem;
    line-height: 1.5;
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-content p {
    font-size: .86rem;
    line-height: 1.7;
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-item {
    min-height: 204px;
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-icon {
    border-radius: 12px;
  }
}
/* ==========================================================
   Homepage News Section - Layout Refinement
   ========================================================== */
body.is-homepage .sch-news-section .news-split-row {
  align-items: stretch;
}

@media (min-width: 992px) {
  body.site-rtl.is-homepage .sch-news-section .news-split-row {
    flex-direction: row-reverse;
  }
}

body.is-homepage .sch-news-section .news-list-stack {
  display: grid;
  gap: .95rem;
  height: 100%;
}

body.is-homepage .sch-news-section .news-featured-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(182, 130, 216, .2);
  background: #fff;
  box-shadow: 0 18px 38px rgba(40, 29, 70, .12);
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

body.is-homepage .sch-news-section .news-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(40, 29, 70, .18);
  border-color: rgba(182, 130, 216, .34);
}

body.is-homepage .sch-news-section .news-featured-media {
  width: 100%;
  height: auto;
  min-height: 260px;
  aspect-ratio: 16 / 9;
  background: linear-gradient(150deg, #f7f4fd, #f2eefb);
}

body.is-homepage .sch-news-section .news-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

body.is-homepage .sch-news-section .news-featured-body {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  padding: 1.15rem 1.2rem 1.25rem;
}

body.is-homepage .sch-news-section .news-featured-body h3 {
  margin: 0;
  font-size: clamp(1.15rem, 1.35vw, 1.4rem);
  line-height: 1.45;
  color: #2a2340;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.is-homepage .sch-news-section .news-featured-body p {
  margin: 0;
  color: #645d79;
  line-height: 1.85;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.is-homepage .sch-news-section .news-featured-body .sch-link-more {
  margin-top: auto;
}

body.is-homepage .sch-news-section .news-compact-card {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr);
  align-items: stretch;
  background: #fff;
  border: 1px solid rgba(182, 130, 216, .2);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(40, 29, 70, .09);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

body.is-homepage .sch-news-section .news-compact-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(40, 29, 70, .14);
  border-color: rgba(182, 130, 216, .34);
}

body.is-homepage .sch-news-section .news-compact-media {
  width: 100%;
  min-height: 118px;
  background: linear-gradient(150deg, #f7f4fd, #f2eefb);
}

body.is-homepage .sch-news-section .news-compact-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
}

body.is-homepage .sch-news-section .news-compact-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: .35rem;
  padding: .82rem .9rem;
}

body.site-ltr.is-homepage .sch-news-section .news-compact-body {
  text-align: left;
}

body.site-rtl.is-homepage .sch-news-section .news-compact-card {
  grid-template-columns: minmax(0, 1fr) 136px;
}

body.site-rtl.is-homepage .sch-news-section .news-compact-media {
  order: 2;
}

body.site-rtl.is-homepage .sch-news-section .news-compact-body {
  order: 1;
  text-align: right;
}

body.is-homepage .sch-news-section .news-compact-body h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: #2f2748;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

body.is-homepage .sch-news-section .news-compact-body p {
  margin: 0;
  color: #6a647f;
  font-size: .9rem;
  line-height: 1.72;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 991px) {
  body.is-homepage .sch-news-section .news-featured-col {
    order: 1;
  }

  body.is-homepage .sch-news-section .news-list-col {
    order: 2;
  }

  body.is-homepage .sch-news-section .news-featured-media {
    min-height: 220px;
  }

  body.site-rtl.is-homepage .sch-news-section .news-compact-card,
  body.site-ltr.is-homepage .sch-news-section .news-compact-card {
    grid-template-columns: 1fr;
  }

  body.site-rtl.is-homepage .sch-news-section .news-compact-media,
  body.site-ltr.is-homepage .sch-news-section .news-compact-media,
  body.site-rtl.is-homepage .sch-news-section .news-compact-body,
  body.site-ltr.is-homepage .sch-news-section .news-compact-body {
    order: initial;
  }
}

/* ==========================================================
   Classes Marquee - Edge Fade Smoothing Fix
   ========================================================== */
body.is-homepage .classes-marquee {
  --classes-edge-fade: 10%;
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) var(--classes-edge-fade),
    rgba(0, 0, 0, 1) calc(100% - var(--classes-edge-fade)),
    rgba(0, 0, 0, 0) 100%
  );
  mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) var(--classes-edge-fade),
    rgba(0, 0, 0, 1) calc(100% - var(--classes-edge-fade)),
    rgba(0, 0, 0, 0) 100%
  );
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

body.is-homepage .classes-marquee::before,
body.is-homepage .classes-marquee::after {
  content: none;
}

/* ==========================================================
   Classes Marquee - Hover Interaction Refinement
   ========================================================== */
body.is-homepage .classes-marquee {
  overflow: hidden;
}

body.is-homepage .class-marquee-card {
  will-change: transform;
  transition: transform .34s cubic-bezier(.2,.65,.2,1), box-shadow .34s ease, border-color .34s ease;
}

body.is-homepage .class-marquee-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 16, 34, 0) 48%, rgba(20, 16, 34, .34) 100%);
  opacity: 0;
  transition: opacity .32s ease;
  pointer-events: none;
  z-index: 2;
}

body.is-homepage .class-marquee-card .class-marquee-info {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: .85rem;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(22, 17, 36, .18) 0%, rgba(22, 17, 36, .82) 78%);
  backdrop-filter: blur(3px);
  transform: translateY(14px);
  opacity: 0;
  transition: transform .34s ease, opacity .34s ease;
  z-index: 3;
}

body.is-homepage .class-marquee-card .class-marquee-info p {
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .28s ease .08s, transform .28s ease .08s;
}

body.is-homepage .class-marquee-card:hover {
  transform: translateY(-8px) scale(1.085);
  box-shadow: 0 24px 44px rgba(42, 30, 74, .26);
  border-color: rgba(182,130,216,.48);
  z-index: 8;
}

body.is-homepage .class-marquee-card:hover .class-marquee-media img {
  transform: scale(1.03);
  transition: transform .35s ease;
}

body.is-homepage .class-marquee-card:hover::after {
  opacity: 1;
}

body.is-homepage .class-marquee-card:hover .class-marquee-info {
  transform: translateY(0);
  opacity: 1;
}

body.is-homepage .class-marquee-card:hover .class-marquee-info p {
  opacity: 1;
  transform: translateY(0);
}

body.is-homepage .classes-marquee:hover .classes-marquee-track {
  animation-play-state: paused !important;
}








/* ==========================================================
   Homepage Testimonials Refinement
   ========================================================== */
body.is-homepage .sch-muted-bg .sch-quote-card {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(91, 75, 138, .2);
  background: linear-gradient(145deg, #fff, rgba(248, 244, 253, .94));
  box-shadow: 0 10px 24px rgba(31, 25, 56, .1);
  padding: 1.18rem 1.12rem 1.04rem;
  overflow: hidden;
  transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}

body.is-homepage .sch-muted-bg .sch-quote-card::before {
  content: "\201D";
  position: absolute;
  inset-block-start: .34rem;
  inset-inline-end: .76rem;
  font-size: 4.2rem;
  line-height: 1;
  font-family: Georgia, "Times New Roman", serif;
  color: rgba(91, 75, 138, .13);
  pointer-events: none;
  z-index: 0;
}

body.is-homepage .sch-muted-bg .sch-quote-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px rgba(31, 25, 56, .16);
  border-color: rgba(126, 92, 180, .36);
}

body.is-homepage .sch-muted-bg .sch-quote-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  margin-bottom: .9rem;
  color: #4f4a63;
  font-size: .96rem;
  line-height: 1.92;
}

body.is-homepage .sch-muted-bg .sch-quote-user {
  position: relative;
  z-index: 1;
  margin-top: 0;
  padding-top: .72rem;
  border-top: 1px dashed rgba(91, 75, 138, .24);
  display: flex;
  flex-direction: column;
  gap: .14rem;
}

body.is-homepage .sch-muted-bg .sch-quote-user strong {
  font-size: .98rem;
  line-height: 1.45;
  color: #2f2748;
  font-weight: 700;
}

body.is-homepage .sch-muted-bg .sch-quote-user span {
  color: #6a647f;
  font-size: .84rem;
  line-height: 1.5;
}

body.site-rtl.is-homepage .sch-muted-bg .sch-quote-card,
body.site-rtl.is-homepage .sch-muted-bg .sch-quote-user {
  text-align: right;
}

body.site-ltr.is-homepage .sch-muted-bg .sch-quote-card,
body.site-ltr.is-homepage .sch-muted-bg .sch-quote-user {
  text-align: left;
}

@media (max-width: 767px) {
  body.is-homepage .sch-muted-bg .sch-quote-card {
    padding: 1.02rem .94rem .96rem;
  }

  body.is-homepage .sch-muted-bg .sch-quote-card::before {
    font-size: 3.5rem;
    inset-block-start: .26rem;
    inset-inline-end: .58rem;
  }

  body.is-homepage .sch-muted-bg .sch-quote-card p {
    font-size: .9rem;
    line-height: 1.84;
  }
}



/* ==========================================================
   Homepage Blog / Announcements Rebuild
   ========================================================== */
body.is-homepage .sch-blog-posters {
  padding-block: 36px 40px;
}

body.is-homepage .sch-muted-bg + .sch-blog-posters {
  padding-top: 32px;
}

body.is-homepage .sch-blog-posters + .sch-gallery-section {
  padding-top: 34px;
}

body.is-homepage .sch-blog-posters .blog-posters-head {
  margin-bottom: .95rem;
}

body.is-homepage .sch-blog-posters .blog-posters-head h2 {
  margin: 0;
  font-size: clamp(1.34rem, 2vw, 1.92rem);
  line-height: 1.4;
  color: #2f2748;
}

body.is-homepage .sch-blog-posters .blog-posters-head p {
  margin: .36rem 0 0;
  color: #655f7b;
  font-size: .95rem;
  line-height: 1.74;
}

body.is-homepage .sch-blog-posters .blog-posters-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, .95fr);
  gap: 1rem;
  align-items: stretch;
}

body.is-homepage .sch-blog-posters .blog-posters-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 1rem;
}

body.is-homepage .sch-blog-posters .blog-posters-grid {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

body.is-homepage .sch-blog-posters .blog-poster-card {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(182, 130, 216, .26);
  background: linear-gradient(145deg, #fff, rgba(248, 244, 253, .95));
  box-shadow: 0 12px 26px rgba(40, 29, 70, .11);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.is-homepage .sch-blog-posters .blog-poster-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(40, 29, 70, .18);
  border-color: rgba(126, 92, 180, .44);
}

body.is-homepage .sch-blog-posters .blog-poster-media {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  margin: .74rem;
  margin-bottom: .58rem;
  background: linear-gradient(150deg, rgba(245, 241, 252, .95), rgba(236, 228, 248, .92));
  border: 1px solid rgba(182, 130, 216, .2);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.is-homepage .sch-blog-posters .blog-poster-card--featured .blog-poster-media {
  aspect-ratio: 3 / 4;
  min-height: clamp(420px, 56vh, 640px);
}

body.is-homepage .sch-blog-posters .blog-poster-card--side .blog-poster-media {
  aspect-ratio: 4 / 5;
  min-height: clamp(220px, 31vh, 320px);
}

body.is-homepage .sch-blog-posters .blog-poster-card--grid .blog-poster-media {
  aspect-ratio: 4 / 5;
  min-height: clamp(240px, 30vh, 340px);
}

body.is-homepage .sch-blog-posters .blog-poster-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform .34s ease;
}

body.is-homepage .sch-blog-posters .blog-poster-card:hover .blog-poster-media img {
  transform: scale(1.035);
}

body.is-homepage .sch-blog-posters .blog-poster-body {
  padding: .2rem .96rem 1rem;
}

body.is-homepage .sch-blog-posters .blog-poster-body h3 {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.55;
  color: #2f2748;
  word-break: break-word;
}

body.is-homepage .sch-blog-posters .blog-poster-body p {
  margin: .38rem 0 0;
  color: #625c78;
  font-size: .9rem;
  line-height: 1.75;
  word-break: break-word;
}

body.site-rtl.is-homepage .sch-blog-posters .blog-posters-head,
body.site-rtl.is-homepage .sch-blog-posters .blog-poster-body {
  text-align: right;
}

body.site-ltr.is-homepage .sch-blog-posters .blog-posters-head,
body.site-ltr.is-homepage .sch-blog-posters .blog-poster-body {
  text-align: left;
}

body.site-rtl.is-homepage .sch-blog-posters .blog-poster-card--featured {
  order: 2;
}

body.site-rtl.is-homepage .sch-blog-posters .blog-posters-side {
  order: 1;
}

@media (max-width: 1199px) {
  body.is-homepage .sch-blog-posters .blog-posters-layout {
    grid-template-columns: 1fr;
  }

  body.site-rtl.is-homepage .sch-blog-posters .blog-poster-card--featured,
  body.site-rtl.is-homepage .sch-blog-posters .blog-posters-side {
    order: initial;
  }

  body.is-homepage .sch-blog-posters .blog-posters-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    gap: .95rem;
  }

  body.is-homepage .sch-blog-posters .blog-posters-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .95rem;
  }

  body.is-homepage .sch-blog-posters .blog-poster-card--featured .blog-poster-media {
    min-height: clamp(360px, 50vh, 540px);
  }
}

@media (max-width: 767px) {
  body.is-homepage .sch-blog-posters {
    padding-block: 30px 34px;
  }

  body.is-homepage .sch-blog-posters + .sch-gallery-section {
    padding-top: 30px;
  }

  body.is-homepage .sch-blog-posters .blog-posters-side,
  body.is-homepage .sch-blog-posters .blog-posters-grid {
    grid-template-columns: 1fr;
    gap: .82rem;
  }

  body.is-homepage .sch-blog-posters .blog-poster-media {
    margin: .66rem;
    margin-bottom: .5rem;
  }

  body.is-homepage .sch-blog-posters .blog-poster-card--featured .blog-poster-media {
    min-height: clamp(300px, 48vh, 420px);
  }

  body.is-homepage .sch-blog-posters .blog-poster-card--side .blog-poster-media,
  body.is-homepage .sch-blog-posters .blog-poster-card--grid .blog-poster-media {
    min-height: clamp(240px, 42vh, 320px);
  }

  body.is-homepage .sch-blog-posters .blog-poster-body {
    padding: .16rem .84rem .9rem;
  }

  body.is-homepage .sch-blog-posters .blog-poster-body h3 {
    font-size: .98rem;
  }

  body.is-homepage .sch-blog-posters .blog-poster-body p {
    font-size: .86rem;
    line-height: 1.68;
  }
}

/* ==========================================================
   Homepage Blog / Announcements - Featured + Rail Rebuild
   ========================================================== */
body.is-homepage .sch-blog-annc {
  padding-block: 32px 38px;
}

body.is-homepage .sch-muted-bg + .sch-blog-annc {
  padding-top: 28px;
}

body.is-homepage .sch-blog-annc + .sch-gallery-section {
  padding-top: 28px;
}

body.is-homepage .sch-blog-annc .blog-annc-head {
  margin-bottom: .92rem;
}

body.is-homepage .sch-blog-annc .blog-annc-head h2 {
  margin: 0;
  font-size: clamp(1.36rem, 2vw, 1.95rem);
  line-height: 1.38;
  color: #2f2748;
}

body.is-homepage .sch-blog-annc .blog-annc-head p {
  margin: .36rem 0 0;
  color: #655f7b;
  font-size: .95rem;
  line-height: 1.74;
}

body.is-homepage .sch-blog-annc .blog-annc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(0, .92fr);
  gap: 1rem;
  align-items: stretch;
}

body.is-homepage .sch-blog-annc .blog-annc-featured {
  border-radius: 20px;
  border: 1px solid rgba(182, 130, 216, .28);
  background: linear-gradient(145deg, #fff, rgba(248, 244, 253, .95));
  box-shadow: 0 14px 28px rgba(40, 29, 70, .12);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

body.is-homepage .sch-blog-annc .blog-annc-featured:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 40px rgba(40, 29, 70, .18);
  border-color: rgba(126, 92, 180, .46);
}

body.is-homepage .sch-blog-annc .blog-annc-featured-media {
  margin: .72rem;
  margin-bottom: .6rem;
  border-radius: 16px;
  border: 1px solid rgba(182, 130, 216, .2);
  background: linear-gradient(150deg, rgba(245, 241, 252, .95), rgba(236, 228, 248, .92));
  overflow: hidden;
  aspect-ratio: 3 / 4;
  min-height: clamp(420px, 58vh, 680px);
  display: flex;
  align-items: center;
  justify-content: center;
}

body.is-homepage .sch-blog-annc .blog-annc-featured-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform .36s ease;
}

body.is-homepage .sch-blog-annc .blog-annc-featured:hover .blog-annc-featured-media img {
  transform: scale(1.03);
}

body.is-homepage .sch-blog-annc .blog-annc-featured-body {
  padding: .18rem 1rem 1rem;
}

body.is-homepage .sch-blog-annc .blog-annc-featured-body h3 {
  margin: 0;
  font-size: 1.08rem;
  line-height: 1.55;
  color: #2f2748;
}

body.is-homepage .sch-blog-annc .blog-annc-featured-body p {
  margin: .38rem 0 0;
  color: #625c78;
  font-size: .92rem;
  line-height: 1.78;
}

body.is-homepage .sch-blog-annc .blog-annc-rail-wrap {
  border-radius: 20px;
  border: 1px solid rgba(182, 130, 216, .22);
  background: linear-gradient(145deg, rgba(255, 255, 255, .95), rgba(248, 244, 253, .9));
  box-shadow: 0 12px 24px rgba(40, 29, 70, .1);
  padding: .72rem;
}

body.is-homepage .sch-blog-annc .blog-annc-rail {
  display: flex;
  flex-direction: column;
  gap: .72rem;
  max-height: clamp(520px, 76vh, 760px);
  overflow-y: auto;
  overflow-x: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: y proximity;
  padding-inline-end: .2rem;
}
body.is-homepage .sch-blog-annc .blog-annc-mini {
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  border: 1px solid rgba(182, 130, 216, .24);
  background: #fff;
  border-radius: 14px;
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: .62rem;
  padding: .46rem;
  text-align: inherit;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(40, 29, 70, .1);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  scroll-snap-align: start;
}

body.is-homepage .sch-blog-annc .blog-annc-mini:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 24px rgba(40, 29, 70, .16);
  border-color: rgba(126, 92, 180, .42);
}

body.is-homepage .sch-blog-annc .blog-annc-mini.is-active {
  border-color: rgba(126, 92, 180, .5);
  box-shadow: 0 16px 28px rgba(40, 29, 70, .18);
  background: linear-gradient(145deg, #fff, rgba(244, 237, 251, .98));
}

body.is-homepage .sch-blog-annc .blog-annc-mini-thumb {
  display: block;
  width: 88px;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(182, 130, 216, .24);
  background: linear-gradient(150deg, rgba(245, 241, 252, .95), rgba(236, 228, 248, .92));
}

body.is-homepage .sch-blog-annc .blog-annc-mini-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .3s ease;
}

body.is-homepage .sch-blog-annc .blog-annc-mini:hover .blog-annc-mini-thumb img,
body.is-homepage .sch-blog-annc .blog-annc-mini.is-active .blog-annc-mini-thumb img {
  transform: scale(1.04);
}

body.is-homepage .sch-blog-annc .blog-annc-mini-content {
  display: flex;
  flex-direction: column;
  gap: .24rem;
  min-width: 0;
  justify-content: center;
}

body.is-homepage .sch-blog-annc .blog-annc-mini-content strong {
  color: #2f2748;
  font-size: .95rem;
  line-height: 1.46;
  word-break: break-word;
}

body.is-homepage .sch-blog-annc .blog-annc-mini-content small {
  color: #66607c;
  font-size: .82rem;
  line-height: 1.58;
  word-break: break-word;
}

body.site-rtl.is-homepage .sch-blog-annc .blog-annc-head,
body.site-rtl.is-homepage .sch-blog-annc .blog-annc-featured-body,
body.site-rtl.is-homepage .sch-blog-annc .blog-annc-mini {
  text-align: right;
}

body.site-ltr.is-homepage .sch-blog-annc .blog-annc-head,
body.site-ltr.is-homepage .sch-blog-annc .blog-annc-featured-body,
body.site-ltr.is-homepage .sch-blog-annc .blog-annc-mini {
  text-align: left;
}

@media (max-width: 1199px) {
  body.is-homepage .sch-blog-annc .blog-annc-layout {
    grid-template-columns: 1fr 1fr;
    gap: .92rem;
  }

  body.is-homepage .sch-blog-annc .blog-annc-featured-media {
    min-height: clamp(340px, 48vh, 520px);
  }

  body.is-homepage .sch-blog-annc .blog-annc-rail {
    max-height: clamp(430px, 66vh, 640px);
  }
}

@media (max-width: 991px) {
  body.is-homepage .sch-blog-annc {
    padding-block: 30px 34px;
  }

  body.is-homepage .sch-blog-annc .blog-annc-layout {
    grid-template-columns: 1fr;
  }

  body.is-homepage .sch-blog-annc .blog-annc-featured-media {
    min-height: clamp(300px, 44vh, 460px);
  }

  body.is-homepage .sch-blog-annc .blog-annc-rail {
    max-height: 340px;
  }
}

@media (max-width: 767px) {
  body.is-homepage .sch-blog-annc .blog-annc-head p {
    font-size: .9rem;
  }

  body.is-homepage .sch-blog-annc .blog-annc-rail-wrap {
    padding: .58rem;
  }

  body.is-homepage .sch-blog-annc .blog-annc-rail {
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    max-height: none;
    padding-inline-end: 0;
  }

  body.is-homepage .sch-blog-annc .blog-annc-mini {
    min-width: 84%;
    flex: 0 0 84%;
    grid-template-columns: 82px minmax(0, 1fr);
  }

  body.is-homepage .sch-blog-annc .blog-annc-mini-thumb {
    width: 82px;
    height: 102px;
  }

  body.is-homepage .sch-blog-annc .blog-annc-featured-body {
    padding: .14rem .84rem .88rem;
  }

  body.is-homepage .sch-blog-annc .blog-annc-featured-body h3 {
    font-size: 1rem;
  }

  body.is-homepage .sch-blog-annc .blog-annc-featured-body p {
    font-size: .86rem;
    line-height: 1.7;
  }
}



/* ==========================================================
   Blog Announcements Interaction Enhancements
   ========================================================== */
body.is-homepage .sch-blog-annc .blog-annc-featured {
  will-change: transform;
}

body.is-homepage .sch-blog-annc .blog-annc-featured-media img,
body.is-homepage .sch-blog-annc .blog-annc-featured-body,
body.is-homepage .sch-blog-annc .blog-annc-featured-body h3,
body.is-homepage .sch-blog-annc .blog-annc-featured-body p {
  transition: transform .3s ease, opacity .3s ease, filter .3s ease;
}

body.is-homepage .sch-blog-annc .blog-annc-featured.is-switching .blog-annc-featured-media img {
  opacity: .45;
  transform: scale(.985);
  filter: saturate(.92);
}

body.is-homepage .sch-blog-annc .blog-annc-featured.is-switching .blog-annc-featured-body {
  opacity: .5;
  transform: translateY(6px);
}

body.is-homepage .sch-blog-annc .blog-annc-rail {
  scrollbar-width: thin;
  scrollbar-color: rgba(126, 92, 180, .45) rgba(182, 130, 216, .12);
}

body.is-homepage .sch-blog-annc .blog-annc-rail::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

body.is-homepage .sch-blog-annc .blog-annc-rail::-webkit-scrollbar-track {
  background: rgba(182, 130, 216, .12);
  border-radius: 99px;
}

body.is-homepage .sch-blog-annc .blog-annc-rail::-webkit-scrollbar-thumb {
  background: rgba(126, 92, 180, .46);
  border-radius: 99px;
}

@media (max-width: 767px) {
  body.is-homepage .sch-blog-annc .blog-annc-rail {
    -webkit-overflow-scrolling: touch;
    scroll-padding-inline: .3rem;
  }

  body.is-homepage .sch-blog-annc .blog-annc-mini {
    scroll-snap-stop: always;
  }
}

/* ==========================================================
   Responsive Stability Patch (Blog + Services + Why Choose)
   ========================================================== */
body.is-homepage .sch-blog-annc .blog-annc-layout > * {
  min-width: 0;
}

body.is-homepage .sch-blog-annc .blog-annc-mini,
body.is-homepage .sch-blog-annc .blog-annc-mini-content {
  min-width: 0;
}

body.is-homepage .sch-blog-annc .blog-annc-mini-content strong,
body.is-homepage .sch-blog-annc .blog-annc-mini-content small {
  overflow-wrap: anywhere;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-list > * {
  min-width: 0;
}

/* Desktop (>=1200): keep current visual style, improve grid balance */
body.is-homepage .sch-services-rebuild-section .feature-stack-block--why .feature-stack-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-list {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* Laptop (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
  body.is-homepage .sch-blog-annc .blog-annc-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
    gap: .92rem;
  }

  body.is-homepage .sch-blog-annc .blog-annc-featured-media {
    min-height: clamp(340px, 50vh, 520px);
  }

  body.is-homepage .sch-blog-annc .blog-annc-rail {
    max-height: clamp(440px, 64vh, 620px);
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-block--why .feature-stack-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Tablet (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
  body.is-homepage .sch-blog-annc .blog-annc-layout {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    gap: .86rem;
  }

  body.is-homepage .sch-blog-annc .blog-annc-featured-media {
    min-height: clamp(300px, 42vh, 440px);
  }

  body.is-homepage .sch-blog-annc .blog-annc-rail {
    max-height: clamp(320px, 46vh, 420px);
  }

  body.is-homepage .sch-blog-annc .blog-annc-mini {
    grid-template-columns: 84px minmax(0, 1fr);
    gap: .56rem;
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: .92rem;
    row-gap: .92rem;
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-item {
    min-height: 140px;
    padding: .96rem .9rem;
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-item {
    min-height: 230px;
  }
}

/* Mobile (<=767px) */
@media (max-width: 767px) {
  body.is-homepage .sch-services-rebuild-section .feature-stack-list {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: .84rem;
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-item {
    min-height: 124px;
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-item {
    min-height: 216px;
  }

  body.is-homepage .sch-blog-annc .blog-annc-layout {
    grid-template-columns: 1fr;
  }

  body.is-homepage .sch-blog-annc .blog-annc-featured-media {
    min-height: clamp(280px, 54vw, 360px);
  }

  body.is-homepage .sch-blog-annc .blog-annc-rail {
    gap: .62rem;
  }

  body.is-homepage .sch-blog-annc .blog-annc-mini {
    min-width: 86%;
    flex: 0 0 86%;
  }
}

/* ==========================================================
   Hotfix: Responsive Text Collapse + Card Width Stability
   ========================================================== */
body.is-homepage .sch-services-rebuild-section .feature-stack-content {
  flex: 1 1 auto;
  min-width: 0;
}

body.is-homepage .sch-services-rebuild-section .feature-stack-content h3,
body.is-homepage .sch-services-rebuild-section .feature-stack-content p {
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
  writing-mode: horizontal-tb;
}

@media (min-width: 768px) and (max-width: 991px) {
  body.is-homepage .sch-services-rebuild-section .feature-stack-block--why .feature-stack-list,
  body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: .92rem;
    row-gap: .92rem;
  }
}

@media (max-width: 767px) {
  body.is-homepage .sch-services-rebuild-section .feature-stack-block--why .feature-stack-list,
  body.is-homepage .sch-services-rebuild-section .feature-stack-block--services .feature-stack-list {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: .84rem;
  }

  body.is-homepage .sch-services-rebuild-section .feature-stack-item {
    width: 100%;
    min-width: 0;
  }
}

/* ==========================================================
   Homepage Gallery - Stacked Coverflow Carousel
   ========================================================== */
body.is-homepage .sch-gallery-section {
  overflow: hidden;
}

body.is-homepage .sch-gallery-coverflow {
  --cf-step-1: clamp(170px, 18vw, 290px);
  --cf-step-2: clamp(300px, 31vw, 460px);
  --cf-drop-1: 18px;
  --cf-drop-2: 40px;
  position: relative;
  padding-inline: clamp(42px, 5vw, 74px);
}

body.is-homepage .sch-gallery-coverflow.is-single {
  padding-inline: 0;
}

body.is-homepage .sch-gallery-coverflow-stage {
  position: relative;
  height: clamp(300px, 42vw, 520px);
  isolation: isolate;
  overflow: visible;
}

body.is-homepage .sch-gallery-coverflow-slide {
  position: absolute;
  top: 0;
  inset-inline-start: 50%;
  width: min(56vw, 560px);
  aspect-ratio: 4 / 3;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(182, 130, 216, .28);
  background: linear-gradient(150deg, rgba(247, 243, 253, .98), rgba(239, 232, 249, .94));
  box-shadow: 0 12px 26px rgba(40, 29, 70, .16);
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 34px, 0) scale(.74);
  transition: transform .62s cubic-bezier(.22, .61, .36, 1), opacity .45s ease, box-shadow .35s ease, filter .45s ease;
  will-change: transform, opacity;
}

body.is-homepage .sch-gallery-coverflow-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform .45s ease;
}

body.is-homepage .sch-gallery-coverflow-slide[data-pos='center'] {
  transform: translate3d(-50%, 0, 0) scale(1);
  opacity: 1;
  z-index: 6;
  pointer-events: auto;
  box-shadow: 0 26px 52px rgba(40, 29, 70, .26);
}

body.is-homepage .sch-gallery-coverflow-slide[data-pos='left1'] {
  transform: translate3d(calc(-50% - var(--cf-step-1)), var(--cf-drop-1), 0) scale(.9);
  opacity: .86;
  z-index: 5;
  pointer-events: auto;
  filter: saturate(.95);
}

body.is-homepage .sch-gallery-coverflow-slide[data-pos='right1'] {
  transform: translate3d(calc(-50% + var(--cf-step-1)), var(--cf-drop-1), 0) scale(.9);
  opacity: .86;
  z-index: 5;
  pointer-events: auto;
  filter: saturate(.95);
}

body.is-homepage .sch-gallery-coverflow-slide[data-pos='left2'] {
  transform: translate3d(calc(-50% - var(--cf-step-2)), var(--cf-drop-2), 0) scale(.78);
  opacity: .5;
  z-index: 4;
  pointer-events: auto;
  filter: saturate(.88);
}

body.is-homepage .sch-gallery-coverflow-slide[data-pos='right2'] {
  transform: translate3d(calc(-50% + var(--cf-step-2)), var(--cf-drop-2), 0) scale(.78);
  opacity: .5;
  z-index: 4;
  pointer-events: auto;
  filter: saturate(.88);
}

body.is-homepage .sch-gallery-coverflow-slide[data-pos='hidden'] {
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

body.is-homepage .sch-gallery-coverflow-slide.is-active:hover img {
  transform: scale(1.045);
}

body.is-homepage .sch-gallery-cf-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border: 1px solid rgba(182, 130, 216, .42);
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #4f3d7f;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(40, 29, 70, .16);
  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
  z-index: 8;
}

body.is-homepage .sch-gallery-cf-nav:hover {
  background: #B682D8;
  color: #fff;
  box-shadow: 0 14px 28px rgba(91, 75, 138, .26);
}

body.is-homepage .sch-gallery-cf-nav:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(182, 130, 216, .25), 0 14px 28px rgba(91, 75, 138, .22);
}

body.is-homepage .sch-gallery-cf-nav.is-prev {
  inset-inline-start: 0;
}

body.is-homepage .sch-gallery-cf-nav.is-next {
  inset-inline-end: 0;
}

body.is-homepage .sch-gallery-coverflow.is-single .sch-gallery-cf-nav {
  display: none;
}

@media (max-width: 1199px) {
  body.is-homepage .sch-gallery-coverflow {
    --cf-step-1: clamp(140px, 15vw, 220px);
    --cf-step-2: clamp(230px, 25vw, 340px);
  }

  body.is-homepage .sch-gallery-coverflow-stage {
    height: clamp(280px, 40vw, 430px);
  }

  body.is-homepage .sch-gallery-coverflow-slide {
    width: min(58vw, 500px);
  }
}

@media (max-width: 991px) {
  body.is-homepage .sch-gallery-coverflow {
    --cf-step-1: clamp(116px, 14vw, 180px);
    --cf-step-2: clamp(190px, 22vw, 270px);
    --cf-drop-1: 12px;
    --cf-drop-2: 28px;
    padding-inline: clamp(34px, 4vw, 52px);
  }

  body.is-homepage .sch-gallery-coverflow-stage {
    height: clamp(250px, 44vw, 360px);
  }

  body.is-homepage .sch-gallery-coverflow-slide {
    width: min(62vw, 430px);
    border-radius: 18px;
  }

  body.is-homepage .sch-gallery-cf-nav {
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 767px) {
  body.is-homepage .sch-gallery-coverflow {
    padding-inline: 0;
  }

  body.is-homepage .sch-gallery-coverflow-stage {
    height: auto;
    display: flex;
    gap: .72rem;
    overflow-x: auto;
    overflow-y: hidden;
    padding: .08rem .45rem .38rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  body.is-homepage .sch-gallery-coverflow-stage::-webkit-scrollbar {
    height: 6px;
  }

  body.is-homepage .sch-gallery-coverflow-stage::-webkit-scrollbar-thumb {
    background: rgba(126, 92, 180, .35);
    border-radius: 99px;
  }

  body.is-homepage .sch-gallery-coverflow-slide {
    position: relative;
    top: auto;
    inset-inline-start: auto;
    width: 84%;
    min-width: 84%;
    flex: 0 0 84%;
    border-radius: 16px;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    pointer-events: auto;
    z-index: 1 !important;
    scroll-snap-align: center;
  }

  body.is-homepage .sch-gallery-coverflow-slide.is-active {
    box-shadow: 0 18px 36px rgba(40, 29, 70, .22);
  }

  body.is-homepage .sch-gallery-cf-nav {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, .9);
  }
}

@media (max-width: 575px) {
  body.is-homepage .sch-gallery-coverflow-slide {
    width: 88%;
    min-width: 88%;
    flex-basis: 88%;
  }
}

/* ==========================================================
   Gallery Coverflow Alignment + Arrow Direction Hotfix
   ========================================================== */
body.is-homepage .sch-gallery-coverflow {
  margin-inline: auto;
}

body.is-homepage .sch-gallery-coverflow-stage {
  margin-inline: auto;
}

/* Keep center slide physically centered regardless of RTL/LTR */
body.is-homepage .sch-gallery-coverflow-slide {
  left: 50%;
  inset-inline-start: auto;
}

/* Physical navigation mapping:
   left button = previous, right button = next */
body.is-homepage .sch-gallery-cf-nav.is-prev {
  left: 0;
  right: auto;
  inset-inline-start: auto;
  inset-inline-end: auto;
}

body.is-homepage .sch-gallery-cf-nav.is-next {
  right: 0;
  left: auto;
  inset-inline-start: auto;
  inset-inline-end: auto;
}

@media (max-width: 767px) {
  body.is-homepage .sch-gallery-cf-nav.is-prev {
    left: .35rem;
  }

  body.is-homepage .sch-gallery-cf-nav.is-next {
    right: .35rem;
  }
}

/* ==========================================================
   Gallery Navigation Visibility + Direction Hotfix
   ========================================================== */
body.is-homepage .sch-gallery-cf-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  visibility: visible;
  opacity: 1;
  direction: ltr;
}

body.is-homepage .sch-gallery-cf-nav span {
  display: inline-block;
  font-size: 1.22rem;
  line-height: 1;
}

html[dir="ltr"] body.is-homepage .sch-gallery-cf-nav span {
  transform: none;
}

html[dir="rtl"] body.is-homepage .sch-gallery-cf-nav span {
  transform: rotate(180deg);
}

body.is-homepage .sch-gallery-cf-nav.is-prev {
  left: .4rem;
}

body.is-homepage .sch-gallery-cf-nav.is-next {
  right: .4rem;
}

/* Mobile: keep swipe only, hide arrows */
@media (max-width: 768px) {
  body.is-homepage .sch-gallery-cf-nav {
    display: none !important;
  }
}

/* ==========================================================
   Public Footer v3 - Structured, Lighter, Responsive
   ========================================================== */
.site-footer.sch-footer-v3 {
  margin-top: 34px;
  background: linear-gradient(180deg, #3a3550 0%, #2f2a43 100%);
  color: rgba(236, 233, 246, .92);
}

.site-footer.sch-footer-v3 a {
  color: rgba(244, 242, 250, .94);
}

.site-footer.sch-footer-v3 .sch-footer-main {
  padding: 34px 0 22px;
}

.site-footer.sch-footer-v3 .sch-footer-grid {
  margin-top: 0;
  margin-bottom: 0;
}

.site-footer.sch-footer-v3 .sch-footer-grid > div {
  position: relative;
}

@media (min-width: 1200px) {
  .site-footer.sch-footer-v3 .sch-footer-grid > div:not(:first-child)::before {
    content: '';
    position: absolute;
    inset-block: 6px;
    inset-inline-start: .25rem;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .16), rgba(255, 255, 255, 0));
  }

  .site-footer.sch-footer-v3 .sch-footer-col {
    padding-inline-start: 1.15rem;
  }

  .site-footer.sch-footer-v3 .sch-footer-grid > div:first-child .sch-footer-col {
    padding-inline-start: 0;
  }
}

.site-footer.sch-footer-v3 .sch-footer-col {
  height: 100%;
}

.site-footer.sch-footer-v3 .sch-footer-brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .44rem .72rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .12);
}

.site-footer.sch-footer-v3 .sch-footer-logo {
  width: auto;
  max-height: 42px;
  object-fit: contain;
}

.site-footer.sch-footer-v3 .sch-footer-school-name,
.site-footer.sch-footer-v3 .widget-title {
  margin: .82rem 0 .62rem;
  color: #fff;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: .01em;
}

.site-footer.sch-footer-v3 .sch-footer-description {
  margin: 0 0 .9rem;
  color: rgba(236, 233, 246, .8);
  line-height: 1.7;
  font-size: .92rem;
}

.site-footer.sch-footer-v3 .sch-footer-register-btn {
  border-radius: 12px;
  padding: .54rem 1rem;
  box-shadow: 0 10px 22px rgba(91, 75, 138, .26);
}

.site-footer.sch-footer-v3 .sch-footer-links,
.site-footer.sch-footer-v3 .sch-footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer.sch-footer-v3 .sch-footer-links li {
  margin-bottom: .44rem;
}

.site-footer.sch-footer-v3 .sch-footer-links a {
  text-decoration: none;
  color: rgba(236, 233, 246, .86);
  transition: color .22s ease, transform .22s ease;
  display: inline-flex;
  align-items: center;
}

.site-footer.sch-footer-v3 .sch-footer-links a:hover {
  color: #d6b7eb;
  transform: translateX(-2px);
}

body.site-ltr .site-footer.sch-footer-v3 .sch-footer-links a:hover {
  transform: translateX(2px);
}

.site-footer.sch-footer-v3 .sch-footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: .5rem;
  margin-bottom: .58rem;
  color: rgba(236, 233, 246, .88);
  line-height: 1.7;
}

.site-footer.sch-footer-v3 .sch-footer-contact-list i {
  margin-top: .2rem;
  color: #cba4e4;
  font-size: .95rem;
}

.site-footer.sch-footer-v3 .sch-footer-contact-list a {
  color: rgba(236, 233, 246, .9);
  text-decoration: none;
}

.site-footer.sch-footer-v3 .sch-footer-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .45rem;
  margin: 0 0 .86rem;
  padding: 0;
  list-style: none;
}

.site-footer.sch-footer-v3 .sch-footer-social-links li {
  margin: 0;
}

.site-footer.sch-footer-v3 .sch-footer-social-links li a {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(182, 130, 216, .23);
  border: 1px solid rgba(255, 255, 255, .12);
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.site-footer.sch-footer-v3 .sch-footer-social-links li a:hover {
  background: #B682D8;
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(182, 130, 216, .28);
}

.site-footer.sch-footer-v3 .sch-footer-message-box {
  margin-top: .6rem;
}

.site-footer.sch-footer-v3 .sch-footer-message-box .pbmit-newsletter-title {
  margin: 0 0 .46rem;
  color: rgba(255, 255, 255, .96);
  font-size: .9rem;
  font-weight: 700;
}

.site-footer.sch-footer-v3 .sch-footer-message-box .pbmit-footer-newsletter {
  display: flex;
  gap: .45rem;
}

.site-footer.sch-footer-v3 .sch-footer-message-box .pbmit-footer-newsletter input {
  flex: 1 1 auto;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .1);
  color: #fff;
  padding: 0 .72rem;
}

.site-footer.sch-footer-v3 .sch-footer-message-box .pbmit-footer-newsletter input::placeholder {
  color: rgba(255, 255, 255, .66);
}

.site-footer.sch-footer-v3 .sch-footer-message-box .pbmit-footer-newsletter .pbmit-btn {
  border-radius: 10px;
  padding: 0 .92rem;
  height: 40px;
  white-space: nowrap;
}

.site-footer.sch-footer-v3 .sch-footer-copybar {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 12px 0 14px;
  background: rgba(0, 0, 0, .08);
}

.site-footer.sch-footer-v3 .sch-footer-copybar .pbmit-footer-copyright-text-area {
  text-align: center;
  color: rgba(236, 233, 246, .75);
  font-size: .86rem;
  line-height: 1.6;
}

.site-footer.sch-footer-v3 .sch-footer-copybar .pbmit-footer-copyright-text-area p {
  margin: 0;
}

@media (max-width: 1199px) {
  .site-footer.sch-footer-v3 .sch-footer-main {
    padding: 30px 0 20px;
  }

  .site-footer.sch-footer-v3 .sch-footer-school-name,
  .site-footer.sch-footer-v3 .widget-title {
    margin-top: .72rem;
  }
}

@media (max-width: 991px) {
  .site-footer.sch-footer-v3 .sch-footer-main {
    padding: 28px 0 18px;
  }

  .site-footer.sch-footer-v3 .sch-footer-grid {
    row-gap: 1rem;
  }

  .site-footer.sch-footer-v3 .sch-footer-col {
    padding-inline-start: 0;
  }
}

@media (max-width: 767px) {
  .site-footer.sch-footer-v3 .sch-footer-main {
    padding: 24px 0 14px;
  }

  .site-footer.sch-footer-v3 .sch-footer-message-box .pbmit-footer-newsletter {
    flex-direction: column;
  }

  .site-footer.sch-footer-v3 .sch-footer-message-box .pbmit-footer-newsletter .pbmit-btn {
    width: 100%;
  }
}

body.site-rtl .site-footer.sch-footer-v3 .sch-footer-col {
  text-align: right;
}

body.site-ltr .site-footer.sch-footer-v3 .sch-footer-col {
  text-align: left;
}

/* ==========================================================
   Footer v3 Light Rebuild Override (Final)
   ========================================================== */
.site-footer.sch-footer-v3 {
  margin-top: 26px !important;
  background: linear-gradient(180deg, #f9fafe 0%, #edf1f8 100%) !important;
  color: #3f3a57 !important;
  border-top: 1px solid #dde3ef;
}

.site-footer.sch-footer-v3 .sch-footer-main {
  padding: 22px 0 12px !important;
}

.site-footer.sch-footer-v3 a {
  color: #4d4765 !important;
}

.site-footer.sch-footer-v3 .sch-footer-grid > div:not(:first-child)::before {
  background: linear-gradient(180deg, rgba(75, 67, 107, 0), rgba(75, 67, 107, .14), rgba(75, 67, 107, 0)) !important;
}

.site-footer.sch-footer-v3 .sch-footer-school-name,
.site-footer.sch-footer-v3 .widget-title {
  color: #2e2942 !important;
  margin: .62rem 0 .46rem !important;
  font-size: .98rem !important;
}

.site-footer.sch-footer-v3 .sch-footer-description {
  color: #68627f !important;
  margin: 0 0 .45rem !important;
  font-size: .88rem !important;
  line-height: 1.66 !important;
}

.site-footer.sch-footer-v3 .sch-footer-brand-link {
  background: #fff !important;
  border: 1px solid #e3e7f2;
  box-shadow: 0 6px 16px rgba(64, 54, 98, .08) !important;
}

.site-footer.sch-footer-v3 .sch-footer-logo {
  max-height: 38px !important;
}

.site-footer.sch-footer-v3 .sch-footer-links li {
  margin-bottom: .32rem !important;
}

.site-footer.sch-footer-v3 .sch-footer-links a {
  color: #5a5473 !important;
}

.site-footer.sch-footer-v3 .sch-footer-links a:hover {
  color: #7a5fb1 !important;
}

.site-footer.sch-footer-v3 .sch-footer-contact-list li {
  color: #5b5575 !important;
  margin-bottom: .44rem !important;
}

.site-footer.sch-footer-v3 .sch-footer-contact-list i {
  color: #8a6bc0 !important;
}

.site-footer.sch-footer-v3 .sch-footer-social-links {
  margin-bottom: .55rem !important;
}

.site-footer.sch-footer-v3 .sch-footer-social-links li a {
  width: 32px !important;
  height: 32px !important;
  border-radius: 9px !important;
  background: #fff !important;
  border: 1px solid #dde3ef !important;
  color: #5a5473 !important;
  box-shadow: 0 5px 12px rgba(64, 54, 98, .08);
}

.site-footer.sch-footer-v3 .sch-footer-social-links li a:hover {
  background: #f3ecfb !important;
  color: #6e54a5 !important;
  box-shadow: 0 8px 16px rgba(112, 86, 168, .15);
}

.site-footer.sch-footer-v3 .sch-footer-message-box {
  margin-top: .3rem !important;
}

.site-footer.sch-footer-v3 .sch-footer-cta-text {
  margin: 0 0 .42rem;
  color: #68627f;
  font-size: .86rem;
  line-height: 1.6;
}

.site-footer.sch-footer-v3 .sch-footer-register-btn,
.site-footer.sch-footer-v3 .sch-footer-register-btn--inline {
  border-radius: 10px !important;
  padding: .48rem .82rem !important;
  box-shadow: 0 7px 16px rgba(111, 87, 165, .2) !important;
}

.site-footer.sch-footer-v3 .sch-footer-copybar {
  background: #f3f5fa !important;
  border-top: 1px solid #dde3ef !important;
  padding: 10px 0 10px !important;
}

.site-footer.sch-footer-v3 .sch-footer-copybar .pbmit-footer-copyright-text-area {
  color: #7a748f !important;
  font-size: .82rem !important;
  line-height: 1.55 !important;
}

@media (max-width: 1199px) {
  .site-footer.sch-footer-v3 .sch-footer-main {
    padding: 20px 0 12px !important;
  }

  .site-footer.sch-footer-v3 .sch-footer-grid {
    row-gap: .85rem !important;
  }
}

@media (max-width: 991px) {
  .site-footer.sch-footer-v3 .sch-footer-main {
    padding: 18px 0 10px !important;
  }
}

@media (max-width: 767px) {
  .site-footer.sch-footer-v3 .sch-footer-main {
    padding: 16px 0 8px !important;
  }

  .site-footer.sch-footer-v3 .sch-footer-col {
    text-align: center !important;
  }

  .site-footer.sch-footer-v3 .sch-footer-contact-list li,
  .site-footer.sch-footer-v3 .sch-footer-social-links {
    justify-content: center;
  }
}

/* ==========================================================
   Footer Clean Rebuild (Single Continuous Section)
   ========================================================== */
.site-footer.sch-footer-clean {
  margin-top: 24px !important;
  padding: 0 !important;
  background: linear-gradient(180deg, #f8fafe 0%, #eef2f8 100%) !important;
  background-image: none !important;
  color: #3e3956 !important;
  border-top: 1px solid #dce2ee !important;
}

.site-footer.sch-footer-clean .footer-clean-wrap {
  padding: 22px 0 10px;
}

.site-footer.sch-footer-clean .footer-clean-grid {
  margin: 0;
  row-gap: 1rem;
}

.site-footer.sch-footer-clean .footer-clean-col {
  height: 100%;
}

.site-footer.sch-footer-clean .footer-clean-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .48rem;
  padding: .42rem .68rem;
  border-radius: 12px;
  background: #fff;
  border: 1px solid #e1e6f1;
  box-shadow: 0 7px 16px rgba(63, 57, 86, .09);
}

.site-footer.sch-footer-clean .footer-clean-logo {
  width: auto;
  max-height: 36px;
  object-fit: contain;
}

.site-footer.sch-footer-clean .footer-clean-title {
  margin: .42rem 0 .38rem;
  color: #2d2941 !important;
  font-size: .99rem;
  font-weight: 800;
}

.site-footer.sch-footer-clean .footer-clean-brand-name {
  margin-top: 0;
}

.site-footer.sch-footer-clean .footer-clean-text {
  margin: 0;
  color: #65607b;
  font-size: .9rem;
  line-height: 1.65;
}

.site-footer.sch-footer-clean .footer-clean-links,
.site-footer.sch-footer-clean .footer-clean-contact,
.site-footer.sch-footer-clean .footer-clean-social {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer.sch-footer-clean .footer-clean-links li {
  margin-bottom: .34rem;
}

.site-footer.sch-footer-clean .footer-clean-links a,
.site-footer.sch-footer-clean .footer-clean-contact a,
.site-footer.sch-footer-clean .footer-clean-contact span {
  color: #544f6e !important;
  text-decoration: none;
}

.site-footer.sch-footer-clean .footer-clean-links a:hover {
  color: #775bac !important;
}

.site-footer.sch-footer-clean .footer-clean-contact li {
  display: flex;
  align-items: flex-start;
  gap: .48rem;
  margin-bottom: .44rem;
  color: #5a5474;
}

.site-footer.sch-footer-clean .footer-clean-contact i {
  margin-top: .22rem;
  color: #8a6dc0;
  font-size: .92rem;
}

.site-footer.sch-footer-clean .footer-clean-social {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: .44rem;
  margin-bottom: .62rem;
}

.site-footer.sch-footer-clean .footer-clean-social li {
  margin: 0;
}

.site-footer.sch-footer-clean .footer-clean-social li a {
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: #fff !important;
  border: 1px solid #dde3ef !important;
  color: #595375 !important;
  box-shadow: 0 6px 14px rgba(63, 57, 86, .09);
  transition: all .22s ease;
}

.site-footer.sch-footer-clean .footer-clean-social li a:hover {
  transform: translateY(-2px);
  background: #f2ecfb !important;
  color: #6f57a8 !important;
  box-shadow: 0 10px 18px rgba(111, 87, 168, .16);
}

.site-footer.sch-footer-clean .footer-clean-cta {
  border-radius: 10px;
  padding: .5rem .86rem;
  box-shadow: 0 8px 16px rgba(111, 87, 165, .2);
}

.site-footer.sch-footer-clean .footer-clean-copy {
  margin-top: .8rem;
  padding-top: .78rem;
  border-top: 1px solid #dde3ef;
  text-align: center;
  background: transparent !important;
}

.site-footer.sch-footer-clean .footer-clean-copy p {
  margin: 0;
  color: #726c88;
  font-size: .84rem;
  line-height: 1.62;
}

@media (max-width: 1199px) {
  .site-footer.sch-footer-clean .footer-clean-wrap {
    padding: 20px 0 10px;
  }
}

@media (max-width: 991px) {
  .site-footer.sch-footer-clean .footer-clean-wrap {
    padding: 18px 0 9px;
  }

  .site-footer.sch-footer-clean .footer-clean-grid {
    row-gap: .85rem;
  }
}

@media (max-width: 767px) {
  .site-footer.sch-footer-clean .footer-clean-wrap {
    padding: 16px 0 8px;
  }

  .site-footer.sch-footer-clean .footer-clean-col {
    text-align: center;
  }

  .site-footer.sch-footer-clean .footer-clean-contact li,
  .site-footer.sch-footer-clean .footer-clean-social {
    justify-content: center;
  }
}

/* ==========================================================
   Hero Video Modal + Text Alignment
   ========================================================== */
body.hero-video-open {
  overflow: hidden !important;
}

body.is-homepage .hero-video-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1200;
  transition: opacity .22s ease, visibility .22s ease;
}

body.is-homepage .hero-video-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.is-homepage .hero-video-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(20, 16, 34, .68);
}

body.is-homepage .hero-video-modal__dialog {
  position: relative;
  width: min(960px, calc(100vw - 2rem));
  border-radius: 18px;
  background: #131124;
  box-shadow: 0 24px 54px rgba(0, 0, 0, .35);
  overflow: hidden;
  transform: scale(.95) translateY(16px);
  transition: transform .22s ease;
}

body.is-homepage .hero-video-modal.is-open .hero-video-modal__dialog {
  transform: scale(1) translateY(0);
}

body.is-homepage .hero-video-modal__close {
  position: absolute;
  top: .7rem;
  inset-inline-end: .7rem;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
  transition: background .2s ease, transform .2s ease;
}

body.is-homepage .hero-video-modal__close:hover {
  background: rgba(255, 255, 255, .28);
  transform: scale(1.06);
}

body.is-homepage .hero-video-modal__ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
}

body.is-homepage .hero-video-modal__iframe,
body.is-homepage .hero-video-modal__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start;
  text-align: start !important;
  gap: .85rem;
  margin: 0 !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  align-items: flex-end;
  text-align: right !important;
}

body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  align-items: flex-start;
  text-align: left !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-label-v4,
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-title-v4,
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-text-v4 {
  margin: 0 !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-actions-v4 {
  margin-top: .2rem !important;
  display: flex !important;
  align-items: center !important;
  gap: .72rem !important;
  flex-wrap: wrap !important;
  direction: ltr;
  flex-direction: row !important;
  justify-content: flex-start !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-actions-v4 {
  direction: rtl;
  flex-direction: row !important;
  justify-content: flex-end !important;
}

@media (max-width: 991px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
    align-items: center !important;
    text-align: center !important;
    gap: .7rem;
  }

  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-actions-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-actions-v4 {
    justify-content: center !important;
  }

  body.is-homepage .hero-video-modal {
    padding: .85rem;
  }

  body.is-homepage .hero-video-modal__dialog {
    width: min(100%, calc(100vw - 1.7rem));
    border-radius: 14px;
  }
}

/* ==========================================================
   Top Information Bar (Header Pre-strip)
   ========================================================== */
.sch-header-zone {
  position: relative;
  z-index: 45;
  margin-top: 0 !important;
  padding-top: 0 !important;
  background:
    linear-gradient(180deg, rgba(243, 240, 250, .96) 0%, rgba(236, 232, 245, .94) 100%);
}

.sch-topbar {
  position: relative;
  z-index: 41;
  background: transparent;
  border-bottom: 1px solid rgba(91, 75, 138, .12);
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page-wrapper,
.sch-hero-wrapper,
.sch-topbar,
.sch-topbar .container,
.sch-topbar .sch-topbar-shell {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.sch-topbar .sch-topbar-shell {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  column-gap: 1rem;
  row-gap: 0;
  padding-block: .18rem;
}

.sch-topbar .sch-topbar-start,
.sch-topbar .sch-topbar-end {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  column-gap: .72rem;
  row-gap: 0;
  min-width: 0;
}

.sch-topbar .sch-topbar-start {
  flex: 1 1 auto;
}

.sch-topbar .sch-topbar-end {
  flex: 0 0 auto;
  max-width: 100%;
  white-space: nowrap;
}

.sch-topbar .sch-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: .36rem;
  color: #4c4464;
  text-decoration: none;
  font-size: .84rem;
  line-height: 1.4;
  white-space: nowrap;
  min-width: 0;
}

.sch-topbar .sch-topbar-item i {
  color: #5B4B8A;
  font-size: .8rem;
}

.sch-topbar .sch-topbar-start .sch-topbar-item + .sch-topbar-item,
.sch-topbar .sch-topbar-end .sch-topbar-item + .sch-topbar-item {
  position: relative;
  padding-inline-start: .72rem;
}

.sch-topbar .sch-topbar-start .sch-topbar-item + .sch-topbar-item::before,
.sch-topbar .sch-topbar-end .sch-topbar-item + .sch-topbar-item::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 14px;
  background: rgba(91, 75, 138, .18);
}

.sch-topbar .sch-topbar-social {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: .32rem;
  flex-wrap: nowrap;
}

.sch-topbar .sch-topbar-social a {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  border: 1px solid rgba(91, 75, 138, .16);
  background: rgba(255, 255, 255, .92);
  color: #5B4B8A;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: .78rem;
  transition: all .2s ease;
}

.sch-topbar .sch-topbar-social a:hover {
  transform: translateY(-1px);
  border-color: rgba(91, 75, 138, .34);
  background: #fff;
}

.sch-topbar .sch-topbar-item--address {
  align-items: center;
  max-width: min(44ch, 44vw);
  white-space: normal;
}

.sch-topbar .sch-topbar-item--address span {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: normal;
  line-height: 1.35;
}

body.site-ltr .sch-topbar .sch-topbar-shell,
body.site-ltr .sch-topbar .sch-topbar-start,
body.site-ltr .sch-topbar .sch-topbar-end {
  direction: ltr;
}

body.site-rtl .sch-topbar .sch-topbar-shell,
body.site-rtl .sch-topbar .sch-topbar-start,
body.site-rtl .sch-topbar .sch-topbar-end {
  direction: rtl;
}

body.site-ltr .sch-topbar .sch-topbar-end {
  justify-content: flex-end;
}

body.site-rtl .sch-topbar .sch-topbar-end {
  justify-content: flex-start;
}

body,
body .page-wrapper,
body .sch-hero-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

html,
body,
body .page-wrapper,
body .sch-hero-wrapper,
body .sch-topbar,
body .sch-topbar .container,
body .sch-topbar .sch-topbar-shell {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* RTL/LTR mirror consistency */
body.site-rtl.is-homepage .sch-topbar-shell,
body.site-rtl.is-homepage .sch-header-shell,
body.site-rtl.is-homepage .home-hero-grid-v4 {
  direction: rtl !important;
}

body.site-ltr.is-homepage .sch-topbar-shell,
body.site-ltr.is-homepage .sch-header-shell,
body.site-ltr.is-homepage .home-hero-grid-v4 {
  direction: ltr !important;
}

body.site-rtl.is-homepage .sch-nav-list a {
  text-align: right;
}

body.site-ltr.is-homepage .sch-nav-list a {
  text-align: left;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  text-align: right !important;
  align-items: flex-end !important;
}

body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-content-v4 {
  text-align: left !important;
  align-items: flex-start !important;
}

body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-actions-v4 {
  direction: rtl !important;
  justify-content: flex-end !important;
}

body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-actions-v4 {
  direction: ltr !important;
  justify-content: flex-start !important;
}

body.site-ltr.is-homepage .sch-gallery-cf-nav.is-prev {
  left: .4rem !important;
  right: auto !important;
}

body.site-ltr.is-homepage .sch-gallery-cf-nav.is-next {
  right: .4rem !important;
  left: auto !important;
}

body.site-rtl.is-homepage .sch-gallery-cf-nav.is-prev {
  right: .4rem !important;
  left: auto !important;
}

body.site-rtl.is-homepage .sch-gallery-cf-nav.is-next {
  left: .4rem !important;
  right: auto !important;
}

@media (max-width: 1199px) {
  .sch-topbar .sch-topbar-shell {
    min-height: 38px;
  }

  .sch-topbar .sch-topbar-item {
    font-size: .8rem;
  }
}

@media (max-width: 991px) {
  .sch-topbar .sch-topbar-shell {
    gap: .5rem;
    flex-wrap: wrap;
    row-gap: .42rem;
  }

  .sch-topbar .sch-topbar-start,
  .sch-topbar .sch-topbar-end {
    gap: .46rem;
    flex: 1 1 100%;
    flex-wrap: wrap;
  }

  .sch-topbar .sch-topbar-item {
    font-size: .76rem;
  }

  .sch-topbar .sch-topbar-item--address {
    max-width: 100%;
  }

  body.site-ltr .sch-topbar .sch-topbar-end {
    justify-content: flex-start;
  }

  body.site-rtl .sch-topbar .sch-topbar-end {
    justify-content: flex-end;
  }

  .sch-topbar + .sch-site-header {
    padding-top: 2px !important;
  }
}

@media (max-width: 767px) {
  .sch-topbar .sch-topbar-shell {
    min-height: 36px;
    padding-block: 4px;
    flex-wrap: wrap;
  }

  .sch-topbar .sch-topbar-item--address {
    display: none;
  }

  .sch-topbar .sch-topbar-end {
    margin-inline-start: auto;
  }
}

/* ==========================================================
   Hero Media Internal Alignment Fix (RTL/LTR identical)
   - Column position mirrors by language
   - Circle + student remain centered relative to each other
   ========================================================== */
body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4,
body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4,
body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4,
body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4,
body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
  left: 50% !important;
  right: auto !important;
  margin-inline: 0 !important;
  transform: translateX(-50%) rotate(8deg) !important;
}

body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img,
body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img,
body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-media-v4 img {
  position: relative !important;
  left: auto !important;
  right: auto !important;
  margin-inline: auto !important;
  object-position: center center !important;
}

@media (max-width: 767px) {
  body.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4,
  body.site-rtl.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4,
  body.site-ltr.is-homepage .home-hero .home-hero-item.home-hero-v4 .home-hero-circle-v4 {
    left: 50% !important;
    right: auto !important;
    transform: translateX(-50%) rotate(8deg) !important;
  }
}

/* ==========================================================
   Gallery LTR/RTL Centering Fix
   - Keep gallery container centered in both languages
   - Keep slider wrapper width within main container
   - Keep arrows aligned to gallery edges, not page edges
   ========================================================== */
body.is-homepage .sch-gallery-section .container {
  margin-left: auto !important;
  margin-right: auto !important;
}

body.is-homepage .sch-gallery-coverflow,
body.is-homepage .sch-gallery-coverflow-stage {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.site-ltr.is-homepage .sch-gallery-coverflow,
body.site-ltr.is-homepage .sch-gallery-coverflow-stage,
body.site-ltr.is-homepage .sch-gallery-section {
  margin-left: auto !important;
  margin-right: auto !important;
  left: auto !important;
  right: auto !important;
}

body.site-ltr.is-homepage .sch-gallery-coverflow {
  padding-left: clamp(42px, 5vw, 74px) !important;
  padding-right: clamp(42px, 5vw, 74px) !important;
}

body.is-homepage .sch-gallery-cf-nav.is-prev {
  inset-inline-start: .4rem !important;
  inset-inline-end: auto !important;
  left: auto !important;
  right: auto !important;
}

body.is-homepage .sch-gallery-cf-nav.is-next {
  inset-inline-end: .4rem !important;
  inset-inline-start: auto !important;
  left: auto !important;
  right: auto !important;
}

@media (max-width: 767px) {
  body.is-homepage .sch-gallery-coverflow,
  body.site-ltr.is-homepage .sch-gallery-coverflow {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/* Keep center anchor identical in RTL/LTR on desktop/tablet */
@media (min-width: 768px) {
  body.is-homepage .sch-gallery-coverflow-slide {
    inset: auto !important;
    top: 0 !important;
    left: 50% !important;
    right: auto !important;
  }
}

/* ==========================================================
   Internal Pages - New Design System Wrapper
   ========================================================== */
.sch-page-hero {
  padding: 36px 0 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 238, 252, 0.7));
  border-bottom: 1px solid rgba(182, 130, 216, 0.18);
}

.sch-page-hero .sch-section-head h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.4rem);
  font-weight: 800;
}

.sch-page-breadcrumb {
  margin-top: 0.55rem;
  font-size: 0.9rem;
  color: #6a6283;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-wrap: wrap;
}

.sch-page-breadcrumb a {
  color: #5b4b8a;
  text-decoration: none;
}

.sch-page-breadcrumb a:hover {
  text-decoration: underline;
}

.sch-page-sep {
  color: rgba(91, 75, 138, 0.5);
}

@media (max-width: 991px) {
  .sch-page-hero {
    padding: 30px 0 18px;
  }
}

/* ==========================================================
   Topbar Structured Layout (Desktop one-line, wrap on small screens)
   ========================================================== */
/* Hide top bar on tablet/mobile */
@media (max-width: 992px) {
  .sch-topbar {
    display: none !important;
  }
}

/* ==========================================================
   Header Zone Cohesion Fix
   - Remove artificial top offset
   - Keep one unified background surface
   - Stabilize LTR topbar alignment
   ========================================================== */
html,
body,
.page-wrapper,
.sch-header-zone {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.sch-site-header {
  background: transparent !important;
  border-bottom: 0 !important;
  backdrop-filter: none !important;
  padding: 8px 0 10px !important;
}

.sch-topbar + .sch-site-header {
  padding-top: 10px !important;
}

.sch-topbar .sch-topbar-shell {
  align-items: center !important;
}

.sch-topbar .sch-topbar-start,
.sch-topbar .sch-topbar-end {
  align-items: center !important;
}

body.site-ltr .sch-topbar .sch-topbar-start {
  justify-content: flex-start;
}

body.site-ltr .sch-topbar .sch-topbar-end {
  justify-content: flex-end;
}

body.site-rtl .sch-topbar .sch-topbar-start {
  justify-content: flex-start;
}

body.site-rtl .sch-topbar .sch-topbar-end {
  justify-content: flex-start;
}

body.is-homepage .sch-site-header,
body:not(.is-homepage) .sch-site-header {
  padding: 8px 0 10px !important;
  background: transparent !important;
  border-bottom: 0 !important;
  backdrop-filter: none !important;
}

body.is-homepage .sch-header-shell,
body:not(.is-homepage) .sch-header-shell {
  background: rgba(255, 255, 255, .96) !important;
  border: 1px solid rgba(182, 130, 216, .22) !important;
  box-shadow: 0 14px 30px rgba(43, 30, 77, .10) !important;
}

@media (max-width: 1199px) {
  .sch-topbar .sch-topbar-item--address {
    max-width: min(38ch, 38vw);
  }
}

/* ==========================================================
   Global Typography + Internal Page Header Match
   ========================================================== */
body.site-ltr,
body.site-ltr .sch-site-header,
body.site-ltr .page-content {
  font-family: 'Inter', 'Tajawal', 'Cairo', sans-serif !important;
}

body.site-rtl,
body.site-rtl .sch-site-header,
body.site-rtl .page-content {
  font-family: 'Tajawal', 'Inter', 'Cairo', sans-serif !important;
}

/* Internal pages: use the same header styling as homepage */
body:not(.is-homepage) .sch-site-header {
  position: relative !important;
  top: auto !important;
  background: transparent !important;
  border-bottom: 0 !important;
  backdrop-filter: none !important;
  padding: 8px 0 10px !important;
  z-index: 40 !important;
}

body:not(.is-homepage) .sch-header-shell {
  border-radius: 999px !important;
  border: 1px solid rgba(182, 130, 216, 0.22) !important;
  box-shadow: 0 14px 30px rgba(43, 30, 77, 0.12) !important;
  padding: .6rem 1.1rem !important;
  background: rgba(255, 255, 255, 0.98) !important;
}

body:not(.is-homepage) .sch-nav-list {
  gap: .4rem !important;
  flex-wrap: nowrap !important;
  white-space: nowrap !important;
}

body:not(.is-homepage) .sch-nav-list a {
  border-radius: 999px !important;
  min-height: 40px !important;
  padding-inline: .75rem !important;
  font-size: .93rem !important;
  white-space: nowrap !important;
}

@media (min-width: 992px) {
  body:not(.is-homepage) .sch-nav-list {
    flex-wrap: nowrap !important;
    justify-content: center !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  body:not(.is-homepage) .sch-nav-list a {
    padding-inline: .62rem !important;
    font-size: .88rem !important;
  }
}


/* Arrow icon direction by locale while keeping slider logic unchanged */
body.site-ltr.is-homepage .home-hero-carousel .hero-arrows .swiper-button-prev::after {
  content: '\2190' !important;
}

body.site-ltr.is-homepage .home-hero-carousel .hero-arrows .swiper-button-next::after {
  content: '\2192' !important;
}

body.site-rtl.is-homepage .home-hero-carousel .hero-arrows .swiper-button-prev::after {
  content: '\2192' !important;
}

body.site-rtl.is-homepage .home-hero-carousel .hero-arrows .swiper-button-next::after {
  content: '\2190' !important;
}

/* ==========================================================
   FAQ - Modern Section (Internal Page)
   ========================================================== */
.faq-modern-section {
  padding-top: 88px !important;
  padding-bottom: 92px !important;
  background:
    radial-gradient(circle at 10% 15%, rgba(182, 130, 216, 0.12), transparent 42%),
    radial-gradient(circle at 90% 85%, rgba(91, 75, 138, 0.1), transparent 46%),
    #f7f5fb;
}

.faq-modern {
  max-width: 980px;
  margin-inline: auto;
  padding: clamp(1.2rem, 2.5vw, 2rem);
  border-radius: 26px;
  border: 1px solid rgba(182, 130, 216, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 245, 255, 0.95));
  box-shadow: 0 22px 46px rgba(42, 28, 75, 0.09);
}

.faq-modern__head {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 2.1rem;
  text-align: center;
}

.faq-modern__head h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.25;
  color: #271c45;
}

.faq-modern__head p {
  margin: 0.85rem auto 0;
  max-width: 720px;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.9;
  color: #625b7f;
}

.faq-modern__list {
  display: grid;
  gap: 14px;
  margin-top: 0.35rem;
}

.faq-modern__item {
  border: 1px solid rgba(182, 130, 216, 0.18) !important;
  border-radius: 18px !important;
  overflow: hidden;
  background: #fff !important;
  box-shadow: 0 10px 24px rgba(38, 26, 66, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.faq-modern__item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(38, 26, 66, 0.1);
  border-color: rgba(182, 130, 216, 0.35) !important;
}

.faq-modern__trigger {
  padding: 1.05rem 1.2rem !important;
  display: flex !important;
  align-items: center !important;
  gap: 0.9rem;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #2c2346 !important;
}

.faq-modern__trigger::after {
  display: none !important;
}

.faq-modern__q {
  flex: 1;
  text-align: start;
  font-size: clamp(1rem, 1.2vw, 1.08rem);
  line-height: 1.65;
  font-weight: 700;
}

.faq-modern__icon {
  width: 1.95rem;
  height: 1.95rem;
  border-radius: 50%;
  background: rgba(182, 130, 216, 0.16);
  border: 1px solid rgba(182, 130, 216, 0.2);
  margin-inline-start: auto;
  position: relative;
  flex: 0 0 auto;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.faq-modern__icon span {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 12px;
  height: 2px;
  border-radius: 99px;
  background: #5b4b8a;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease, opacity 0.3s ease, background 0.3s ease;
}

.faq-modern__icon span:last-child {
  width: 2px;
  height: 12px;
}

.faq-modern__trigger:not(.collapsed) .faq-modern__icon {
  background: linear-gradient(135deg, #b682d8, #8f69db);
  border-color: transparent;
}

.faq-modern__trigger:not(.collapsed) .faq-modern__icon span {
  background: #fff;
}

.faq-modern__trigger:not(.collapsed) .faq-modern__icon span:last-child {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0.2);
}

.faq-modern__trigger:focus {
  box-shadow: 0 0 0 3px rgba(182, 130, 216, 0.24) !important;
}

.faq-modern__item .accordion-collapse {
  border-top: 1px solid rgba(182, 130, 216, 0.16);
}

.faq-modern__body {
  padding: 0.95rem 1.2rem 1.25rem !important;
  color: #4f4768;
  font-size: 1rem;
  line-height: 1.9;
  opacity: 0;
  transform: translateY(-7px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-modern__item .accordion-collapse.show .faq-modern__body,
.faq-modern__item .accordion-collapse.collapsing .faq-modern__body {
  opacity: 1;
  transform: translateY(0);
}

body.site-ltr .faq-modern,
body.site-ltr .faq-modern * {
  font-family: 'Inter', 'Tajawal', 'Cairo', sans-serif;
  letter-spacing: 0;
}

body.site-rtl .faq-modern,
body.site-rtl .faq-modern * {
  font-family: 'Tajawal', 'Inter', 'Cairo', sans-serif;
  letter-spacing: 0;
}

@media (max-width: 991px) {
  .faq-modern-section {
    padding-top: 66px !important;
    padding-bottom: 70px !important;
  }

  .faq-modern {
    border-radius: 20px;
    padding: 1rem;
  }

  .faq-modern__head {
    max-width: 100%;
    margin-bottom: 1.35rem;
  }

  .faq-modern__trigger {
    padding: 0.95rem 0.95rem !important;
    gap: 0.75rem;
  }

  .faq-modern__body {
    padding: 0.85rem 0.95rem 1.05rem !important;
  }
}

@media (max-width: 575px) {
  .faq-modern-section {
    padding-top: 54px !important;
    padding-bottom: 58px !important;
  }

  .faq-modern__head h2 {
    font-size: 1.42rem;
  }
}

/* ==========================================================
   Contact Us - Modern Section (Internal Page)
   ========================================================== */
.contact-modern-section {
  padding-top: 84px !important;
  padding-bottom: 52px !important;
  background:
    radial-gradient(circle at 10% 18%, rgba(182, 130, 216, 0.12), transparent 45%),
    radial-gradient(circle at 88% 84%, rgba(91, 75, 138, 0.09), transparent 45%),
    #f8f6fc;
}

.contact-modern-wrap {
  border-radius: 28px;
  border: 1px solid rgba(182, 130, 216, 0.2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 247, 255, 0.96));
  box-shadow: 0 24px 46px rgba(40, 28, 71, 0.09);
  padding: clamp(1rem, 2.2vw, 1.8rem);
}

.contact-modern-grid {
  display: grid;
  grid-template-columns: minmax(280px, .95fr) minmax(0, 1.25fr);
  grid-template-areas: "info form";
  gap: clamp(1rem, 2.2vw, 1.8rem);
  align-items: start;
}

body.site-rtl .contact-modern-grid {
  grid-template-areas: "form info";
}

.contact-modern-info {
  grid-area: info;
}

.contact-modern-form-wrap {
  grid-area: form;
}

.contact-modern-head {
  margin-bottom: 1rem;
}

.contact-modern-head h3,
.contact-modern-form-head h3 {
  margin: 0;
  color: #2b2147;
  font-size: clamp(1.28rem, 1.85vw, 1.72rem);
  line-height: 1.3;
  font-weight: 800;
}

.contact-modern-head p,
.contact-modern-form-head p {
  margin: .6rem 0 0;
  color: #665f82;
  font-size: 1rem;
  line-height: 1.85;
}

.contact-modern-list {
  display: grid;
  gap: .8rem;
}

.contact-modern-item {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  padding: .95rem .95rem;
  border-radius: 16px;
  border: 1px solid rgba(182, 130, 216, .18);
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 24px rgba(42, 29, 74, .06);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.contact-modern-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(42, 29, 74, .1);
  border-color: rgba(182, 130, 216, .34);
}

.contact-modern-item-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(182, 130, 216, .16);
  color: #6d53b3;
  flex: 0 0 auto;
  font-size: .95rem;
}

.contact-modern-item-content {
  min-width: 0;
  text-align: start;
}

.contact-modern-item-content h4 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 700;
  color: #2e2448;
}

.contact-modern-item-content p {
  margin: .32rem 0 0;
  color: #5d5677;
  line-height: 1.75;
}

.contact-modern-values {
  margin-top: .36rem;
  display: grid;
  gap: .28rem;
}

.contact-modern-values a,
.contact-modern-values span {
  display: inline-block;
  width: fit-content;
  color: #58458a;
  text-decoration: none;
  font-weight: 600;
  line-height: 1.65;
}

.contact-modern-values a:hover {
  color: #3f2f69;
  text-decoration: underline;
}

.contact-modern-social {
  margin-top: .9rem;
  display: flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
}

.contact-modern-social a {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5b4b8a;
  border: 1px solid rgba(182, 130, 216, .3);
  background: rgba(182, 130, 216, .12);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease, color .25s ease;
}

.contact-modern-social a:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #b682d8, #8f69db);
  color: #fff;
  box-shadow: 0 10px 22px rgba(102, 72, 170, .3);
}

.contact-modern-form-wrap {
  border-radius: 20px;
  border: 1px solid rgba(182, 130, 216, .2);
  background: #fff;
  box-shadow: 0 14px 30px rgba(39, 27, 71, .07);
  padding: clamp(1rem, 2vw, 1.5rem);
}

.contact-modern-form-head {
  margin-bottom: .95rem;
}

.contact-modern-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem .85rem;
}

.contact-modern-field {
  min-width: 0;
}

.contact-modern-field--full {
  grid-column: 1 / -1;
}

.contact-modern-form label {
  display: block;
  margin-bottom: .35rem;
  color: #3a3158;
  font-size: .94rem;
  font-weight: 700;
  text-align: start;
}

.contact-modern-form .form-control {
  border-radius: 14px !important;
  border: 1px solid rgba(182, 130, 216, .26) !important;
  background: rgba(252, 251, 255, .95) !important;
  min-height: 46px;
  padding: .72rem .9rem !important;
  box-shadow: none !important;
  transition: border-color .26s ease, box-shadow .26s ease, background-color .26s ease;
  color: #31294d;
}

.contact-modern-form textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.contact-modern-form .form-control:focus {
  border-color: rgba(122, 91, 199, .75) !important;
  background: #fff !important;
  box-shadow: 0 0 0 3px rgba(122, 91, 199, .16) !important;
}

.contact-modern-submit {
  width: 100%;
  min-height: 48px;
  border-radius: 14px !important;
  background: linear-gradient(135deg, #b682d8, #8f69db) !important;
  border: 0 !important;
  box-shadow: 0 12px 22px rgba(109, 80, 184, .26);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.contact-modern-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(109, 80, 184, .32);
  filter: brightness(1.03);
}

.contact-modern-submit span {
  font-size: 1rem;
  font-weight: 700;
}

.contact-modern-map-section {
  padding-top: 0 !important;
  padding-bottom: 86px !important;
  background: #f8f6fc;
}

.contact-modern-map {
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(182, 130, 216, .2);
  box-shadow: 0 16px 30px rgba(37, 26, 66, .08);
}

.contact-modern-map iframe {
  width: 100%;
  min-height: 330px;
  border: 0;
  display: block;
}

@media (max-width: 1199px) {
  .contact-modern-form-grid {
    gap: .75rem;
  }

  .contact-modern-map iframe {
    min-height: 300px;
  }
}

@media (max-width: 991px) {
  .contact-modern-section {
    padding-top: 62px !important;
    padding-bottom: 34px !important;
  }

  .contact-modern-grid,
  body.site-rtl .contact-modern-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "info"
      "form";
  }

  .contact-modern-head,
  .contact-modern-form-head {
    margin-bottom: .8rem;
  }

  .contact-modern-form-grid {
    grid-template-columns: 1fr;
    gap: .75rem;
  }

  .contact-modern-map-section {
    padding-bottom: 68px !important;
  }

  .contact-modern-map iframe {
    min-height: 260px;
  }
}

@media (max-width: 575px) {
  .contact-modern-section {
    padding-top: 52px !important;
    padding-bottom: 24px !important;
  }

  .contact-modern-wrap {
    border-radius: 20px;
    padding: .85rem;
  }

  .contact-modern-item {
    padding: .78rem .75rem;
  }

  .contact-modern-item-icon {
    width: 2rem;
    height: 2rem;
  }

  .contact-modern-map iframe {
    min-height: 230px;
  }
}

.register-modern-section {
  padding-top: 74px !important;
  padding-bottom: 96px !important;
  background:
    radial-gradient(circle at 12% 12%, rgba(182, 130, 216, .12), transparent 34%),
    radial-gradient(circle at 88% 18%, rgba(255, 196, 128, .14), transparent 30%),
    linear-gradient(180deg, #fbf9ff 0%, #f6f3fc 100%);
}

.register-modern-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(1rem, 2.3vw, 1.5rem);
  border-radius: 28px;
  border: 1px solid rgba(182, 130, 216, .2);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(249, 245, 255, .96));
  box-shadow:
    0 18px 40px rgba(44, 31, 78, .08),
    inset 0 1px 0 rgba(255, 255, 255, .7);
}

.register-modern-intro {
  max-width: 700px;
  margin: 0 auto 1.4rem;
  text-align: center;
}

.register-modern-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: .45rem .95rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 130, 216, .24);
  background: rgba(182, 130, 216, .12);
  color: #6c4ca3;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.register-modern-intro h3 {
  margin: .85rem 0 .5rem;
  color: #231b3e;
  font-size: clamp(1.8rem, 2.4vw, 2.45rem);
  font-weight: 800;
  line-height: 1.2;
}

.register-modern-intro p {
  margin: 0;
  color: #60577e;
  font-size: 1rem;
  line-height: 1.9;
}

.register-modern-alert {
  margin-bottom: 1rem;
  padding: .95rem 1rem;
  border-radius: 18px;
  font-weight: 600;
  line-height: 1.75;
}

.register-modern-alert--success {
  color: #0f6b48;
  background: rgba(64, 193, 120, .12);
  border: 1px solid rgba(64, 193, 120, .22);
}

.register-modern-alert--error {
  color: #9c2d4f;
  background: rgba(214, 84, 129, .12);
  border: 1px solid rgba(214, 84, 129, .2);
}

.register-modern-form {
  display: grid;
  gap: 1rem;
}

.register-modern-group {
  padding: clamp(.95rem, 2vw, 1.3rem);
  border-radius: 22px;
  border: 1px solid rgba(182, 130, 216, .17);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 12px 24px rgba(45, 32, 80, .05);
}

.register-modern-group-head {
  margin-bottom: .95rem;
}

.register-modern-group-head h4 {
  margin: 0 0 .25rem;
  color: #271f45;
  font-size: 1.18rem;
  font-weight: 800;
  text-align: start;
}

.register-modern-group-head p {
  margin: 0;
  color: #6a6185;
  font-size: .95rem;
  line-height: 1.75;
  text-align: start;
}

.register-modern-grid {
  display: grid;
  gap: .9rem;
}

.register-modern-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.register-modern-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.register-modern-field {
  min-width: 0;
}

.register-modern-field--full {
  grid-column: 1 / -1;
}

.register-modern-field label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .65rem;
  margin-bottom: .42rem;
  color: #372f55;
  font-size: .94rem;
  font-weight: 700;
  text-align: start;
}

.register-modern-field label span {
  flex-shrink: 0;
  padding: .18rem .48rem;
  border-radius: 999px;
  background: rgba(182, 130, 216, .12);
  color: #7d5ab8;
  font-size: .73rem;
  font-weight: 700;
}

.register-modern-input {
  width: 100%;
  min-height: 52px;
  padding: .8rem .95rem;
  border-radius: 16px;
  border: 1px solid rgba(182, 130, 216, .24);
  background: rgba(253, 252, 255, .98);
  box-shadow: none;
  color: #2b2345;
  font-size: .98rem;
  transition: border-color .28s ease, box-shadow .28s ease, transform .28s ease, background-color .28s ease;
}

.register-modern-input::placeholder {
  color: #9b90bb;
}

.register-modern-input:focus {
  outline: none;
  border-color: rgba(136, 96, 218, .78);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(136, 96, 218, .12);
}

.register-modern-input.is-invalid {
  border-color: rgba(199, 76, 123, .6);
}

.register-modern-textarea {
  min-height: 150px;
  resize: vertical;
}

.register-modern-file {
  padding: .45rem;
  min-height: 58px;
  cursor: pointer;
}

.register-modern-file::file-selector-button {
  margin-inline-end: .75rem;
  border: 0;
  border-radius: 12px;
  padding: .62rem .85rem;
  background: rgba(182, 130, 216, .14);
  color: #694a9f;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .25s ease, transform .25s ease;
}

.register-modern-file:hover::file-selector-button {
  background: rgba(182, 130, 216, .2);
  transform: translateY(-1px);
}

.register-modern-error {
  display: block;
  margin-top: .42rem;
  color: #b03762;
  font-size: .84rem;
  line-height: 1.6;
}

.register-modern-actions {
  display: flex;
  justify-content: center;
  padding-top: .4rem;
}

.register-modern-submit {
  min-width: min(100%, 320px);
  min-height: 54px;
  padding: .95rem 1.4rem;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #9a6df1 0%, #b682d8 58%, #d78bc8 100%);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: .01em;
  box-shadow: 0 18px 30px rgba(126, 86, 201, .28);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.register-modern-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 34px rgba(126, 86, 201, .34);
  filter: brightness(1.03);
}

body.site-ltr .register-modern-field label {
  justify-content: flex-start;
}

body.site-ltr .register-modern-field label span {
  order: 2;
}

@media (max-width: 1199px) {
  .register-modern-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .register-modern-section {
    padding-top: 62px !important;
    padding-bottom: 74px !important;
  }

  .register-modern-grid--2,
  .register-modern-grid--3 {
    grid-template-columns: 1fr;
  }

  .register-modern-shell {
    padding: .95rem;
    border-radius: 22px;
  }

  .register-modern-group {
    border-radius: 20px;
  }
}

@media (max-width: 575px) {
  .register-modern-section {
    padding-top: 52px !important;
    padding-bottom: 58px !important;
  }

  .register-modern-intro {
    margin-bottom: 1.05rem;
  }

  .register-modern-intro h3 {
    font-size: 1.6rem;
  }

  .register-modern-shell,
  .register-modern-group {
    padding: .85rem;
  }

  .register-modern-field label {
    flex-wrap: wrap;
    gap: .35rem;
  }

  .register-modern-submit {
    width: 100%;
    min-width: 0;
  }
}

.recruitment-modern-section {
  padding-top: 74px !important;
  padding-bottom: 96px !important;
  background:
    radial-gradient(circle at 14% 16%, rgba(182, 130, 216, .12), transparent 34%),
    radial-gradient(circle at 84% 20%, rgba(255, 203, 150, .14), transparent 28%),
    linear-gradient(180deg, #fbf9ff 0%, #f6f3fc 100%);
}

.recruitment-modern-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, .9fr);
  gap: 1rem;
  align-items: start;
  max-width: 1120px;
  margin: 0 auto;
}

.recruitment-modern-main,
.recruitment-modern-side {
  display: grid;
  gap: 1rem;
}

.recruitment-modern-card {
  position: relative;
  padding: clamp(1.15rem, 2vw, 1.5rem);
  border-radius: 24px;
  border: 1px solid rgba(182, 130, 216, .18);
  background: rgba(255, 255, 255, .92);
  box-shadow:
    0 16px 34px rgba(41, 29, 72, .08),
    inset 0 1px 0 rgba(255, 255, 255, .7);
  overflow: hidden;
}

.recruitment-modern-card::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #b682d8, #f0b4de, #ffd3a8);
  opacity: .95;
}

.recruitment-modern-card h3,
.recruitment-modern-card h4 {
  margin: 0 0 .55rem;
  color: #241c40;
  text-align: start;
  line-height: 1.28;
}

.recruitment-modern-card h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-weight: 800;
}

.recruitment-modern-card h4 {
  font-size: 1.16rem;
  font-weight: 800;
}

.recruitment-modern-card p {
  margin: 0;
  color: #5f587b;
  font-size: 1rem;
  line-height: 1.9;
  text-align: start;
}

.recruitment-modern-card--primary {
  padding-top: 1.4rem;
  background:
    radial-gradient(circle at 88% 18%, rgba(242, 195, 255, .22), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, .98), rgba(249, 245, 255, .97));
}

.recruitment-modern-card--soft {
  background:
    linear-gradient(145deg, rgba(251, 248, 255, .98), rgba(255, 255, 255, .95));
}

.recruitment-modern-card--side {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .98), rgba(245, 240, 255, .95));
}

.recruitment-modern-card--side-alt {
  background:
    linear-gradient(145deg, rgba(255, 249, 242, .98), rgba(255, 255, 255, .94));
}

.recruitment-modern-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.15rem;
  padding: .42rem .92rem;
  margin-bottom: .8rem;
  border-radius: 999px;
  border: 1px solid rgba(182, 130, 216, .24);
  background: rgba(182, 130, 216, .12);
  color: #7554aa;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.recruitment-modern-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: .72rem;
}

.recruitment-modern-list li {
  position: relative;
  padding-inline-start: 1.45rem;
  color: #4d4468;
  font-size: .98rem;
  line-height: 1.85;
  text-align: start;
}

.recruitment-modern-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: .72rem;
  width: .58rem;
  height: .58rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #b682d8, #8f69db);
  box-shadow: 0 0 0 6px rgba(182, 130, 216, .12);
}

.recruitment-modern-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  min-height: 48px;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #9a6df1, #b682d8) !important;
  box-shadow: 0 14px 26px rgba(116, 83, 193, .24);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.recruitment-modern-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 30px rgba(116, 83, 193, .3);
  filter: brightness(1.03);
}

@media (max-width: 991px) {
  .recruitment-modern-section {
    padding-top: 62px !important;
    padding-bottom: 74px !important;
  }

  .recruitment-modern-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .recruitment-modern-section {
    padding-top: 52px !important;
    padding-bottom: 58px !important;
  }

  .recruitment-modern-card {
    border-radius: 20px;
    padding: 1rem;
  }

  .recruitment-modern-card h3 {
    font-size: 1.5rem;
  }
}

/* ==========================================================
   Login Page - Modern
   ========================================================== */
body.auth-page {
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(182, 130, 216, .2), transparent 30%),
    radial-gradient(circle at 85% 15%, rgba(255, 174, 205, .2), transparent 28%),
    radial-gradient(circle at 85% 80%, rgba(255, 204, 152, .16), transparent 26%),
    linear-gradient(135deg, #f8f4ff 0%, #fdfaff 48%, #fff7f2 100%);
}

.auth-page-shell {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.auth-page-shell .container {
  position: relative;
  z-index: 1;
}

.auth-page-decoration {
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(10px);
  opacity: .55;
}

.auth-page-decoration--one {
  inset-block-start: 9%;
  inset-inline-start: 7%;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(182, 130, 216, .3) 0%, rgba(182, 130, 216, 0) 70%);
}

.auth-page-decoration--two {
  inset-block-end: 8%;
  inset-inline-end: 8%;
  width: 340px;
  height: 340px;
  background: radial-gradient(circle, rgba(255, 184, 205, .26) 0%, rgba(255, 184, 205, 0) 72%);
}

.auth-page-decoration--three {
  inset-block-start: 38%;
  inset-inline-end: 18%;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(255, 214, 158, .22) 0%, rgba(255, 214, 158, 0) 74%);
}

.login-modern-section {
  width: 100%;
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.login-modern-shell {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 4rem);
  min-height: calc(100svh - 4rem);
}

.login-modern-card {
  width: min(100%, 500px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .82) 0%, rgba(250, 246, 255, .92) 100%);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .52);
  border-radius: 24px;
  box-shadow: 0 28px 70px rgba(79, 59, 120, .16);
  padding: 2.35rem 2.2rem 2rem;
  position: relative;
  overflow: hidden;
}

.login-modern-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .85rem;
  margin-bottom: 1.55rem;
}

.login-modern-brand__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .78);
  box-shadow: 0 16px 34px rgba(126, 101, 182, .14);
}

.login-modern-brand__logo img {
  max-width: 46px;
  width: 100%;
  height: auto;
}

.login-modern-home-link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: #7d7697;
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  transition: color .25s ease, opacity .25s ease, text-decoration-color .25s ease;
}

.login-modern-home-link:hover {
  color: #5c478f;
  text-decoration: underline;
  text-decoration-color: currentColor;
}

.login-modern-card__head {
  margin-bottom: 1.5rem;
  text-align: start;
}

.login-modern-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .45rem .95rem;
  border-radius: 999px;
  background: rgba(182, 130, 216, .14);
  color: #7f5ab7;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.login-modern-card__head h1,
.login-modern-card__head h3 {
  margin: 0 0 .7rem;
  color: #241c43;
  font-family: "Amiri", "Tajawal", "Cairo", serif;
  font-size: clamp(2.15rem, 2.5vw, 2.95rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

.login-modern-card__head p {
  margin: 0;
  color: #665d85;
  font-size: 1rem;
  line-height: 1.85;
  text-align: start;
}

.login-modern-alert {
  margin-bottom: 1rem;
  border-radius: 16px;
  padding: .95rem 1rem;
  font-size: .95rem;
  line-height: 1.75;
  text-align: start;
}

.login-modern-alert--error {
  background: rgba(225, 87, 89, .1);
  border: 1px solid rgba(225, 87, 89, .18);
  color: #b13a46;
}

.login-modern-form {
  display: grid;
  gap: 1rem;
}

.login-modern-field {
  display: grid;
  gap: .5rem;
}

.login-modern-field label {
  color: #2a2148;
  font-size: .95rem;
  font-weight: 700;
  line-height: 1.5;
  text-align: start;
}

.login-modern-input-wrap {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 58px;
  padding: 0 1rem;
  border: 1px solid rgba(120, 106, 164, .16);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(97, 71, 145, .06);
  transition: border-color .25s ease, box-shadow .25s ease, transform .25s ease;
}

.login-modern-input-wrap--password {
  gap: .55rem;
}

.login-modern-input-wrap:focus-within {
  border-color: rgba(154, 109, 241, .42);
  box-shadow: 0 14px 30px rgba(130, 94, 209, .12), 0 0 0 4px rgba(182, 130, 216, .12);
  transform: translateY(-1px);
}

.login-modern-input-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  color: #9a6df1;
  font-size: 1rem;
  flex: 0 0 auto;
}

.login-modern-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: #241c43;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: start;
}

.login-modern-input::placeholder {
  color: #9a92b4;
  opacity: 1;
}

.login-modern-input.is-invalid {
  color: #9a2f3f;
}

.login-modern-input:-webkit-autofill,
.login-modern-input:-webkit-autofill:hover,
.login-modern-input:-webkit-autofill:focus {
  -webkit-box-shadow: 0 0 0 1000px transparent inset;
  -webkit-text-fill-color: #241c43;
  transition: background-color 9999s ease-out 0s;
}

.login-modern-error {
  color: #c0394f;
  font-size: .86rem;
  font-weight: 600;
  line-height: 1.6;
  text-align: start;
}

.login-modern-password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(154, 109, 241, .08);
  color: #8f66d6;
  cursor: pointer;
  transition: background-color .25s ease, color .25s ease, transform .25s ease;
}

.login-modern-password-toggle:hover {
  background: rgba(154, 109, 241, .14);
  color: #6f4ab0;
  transform: scale(1.04);
}

.login-modern-password-toggle:focus-visible {
  outline: 2px solid rgba(154, 109, 241, .35);
  outline-offset: 2px;
}

.login-modern-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .15rem;
  margin-bottom: .5rem;
}

.login-modern-check {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #5c547a;
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  text-align: start;
}

.login-modern-check input {
  accent-color: #9a6df1;
  width: 1rem;
  height: 1rem;
}

.login-modern-forgot {
  color: #7c58b5;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  transition: color .25s ease, opacity .25s ease;
}

.login-modern-forgot:hover {
  color: #5d3fa0;
  opacity: .9;
}

.login-modern-submit {
  width: 100%;
  justify-content: center;
  min-height: 56px;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #9a6df1, #b682d8) !important;
  box-shadow: 0 18px 34px rgba(127, 90, 186, .26);
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
}

.login-modern-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 40px rgba(127, 90, 186, .34);
  filter: brightness(1.03);
}

body.site-rtl .login-modern-input-wrap {
  direction: rtl;
}

body.site-ltr .login-modern-input-wrap {
  direction: ltr;
}

body.site-rtl .login-modern-card,
body.site-rtl .login-modern-card__head,
body.site-rtl .login-modern-field label,
body.site-rtl .login-modern-alert,
body.site-rtl .login-modern-error {
  text-align: right;
}

body.site-ltr .login-modern-card,
body.site-ltr .login-modern-card__head,
body.site-ltr .login-modern-field label,
body.site-ltr .login-modern-alert,
body.site-ltr .login-modern-error {
  text-align: left;
}

body.site-ltr .login-modern-card__head h1,
body.site-ltr .login-modern-card__head h3 {
  letter-spacing: -.02em;
}

@media (max-width: 991px) {
  .login-modern-section {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .login-modern-shell {
    min-height: calc(100vh - 3rem);
    min-height: calc(100svh - 3rem);
  }
}

@media (max-width: 575px) {
  .login-modern-section {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .login-modern-card {
    padding: 1.5rem 1.25rem;
    border-radius: 20px;
  }

  .login-modern-brand {
    gap: .75rem;
  }

  .login-modern-brand__logo {
    width: 68px;
    height: 68px;
  }

  .login-modern-card__head h1,
  .login-modern-card__head h3 {
    font-size: 1.65rem;
  }

  .login-modern-meta {
    flex-direction: column;
    align-items: stretch;
  }

  body.site-rtl .login-modern-meta {
    align-items: flex-end;
  }

  body.site-ltr .login-modern-meta {
    align-items: flex-start;
  }

  .auth-page-decoration--one {
    width: 180px;
    height: 180px;
  }

  .auth-page-decoration--two {
    width: 220px;
    height: 220px;
  }
}

/* ==========================================================
   Homepage Header Surface Fix
   - remove body/homepage bleed above topbar
   - keep one coherent header background
   - prevent EN address wrap from increasing topbar height
   ========================================================== */
body.site-ltr.is-homepage,
body.site-rtl.is-homepage {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: #f2eef8 !important;
}

body.is-homepage .page-wrapper {
  background: transparent !important;
}

body.is-homepage .sch-header-zone {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background: linear-gradient(180deg, rgba(242, 238, 248, .98) 0%, rgba(238, 234, 246, .96) 100%) !important;
}

body.is-homepage .sch-topbar,
body.is-homepage .sch-site-header {
  background: transparent !important;
}

body.is-homepage .sch-topbar .container,
body.is-homepage .sch-site-header .container {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.is-homepage .sch-topbar .sch-topbar-shell {
  min-height: 38px !important;
  padding-block: 0 !important;
}

body.is-homepage .sch-hero-wrapper {
  margin-top: 0 !important;
  padding-top: 0 !important;
  background:
    radial-gradient(ellipse at 80% 0%, rgba(182, 130, 216, .16) 0%, transparent 55%),
    radial-gradient(ellipse at 10% 100%, rgba(91, 75, 138, .10) 0%, transparent 50%),
    linear-gradient(180deg, #eeebf5 0%, #ebebf4 140px, #ebebf4 100%) !important;
}

@media (min-width: 993px) {
  body.site-ltr.is-homepage .sch-topbar .sch-topbar-item--address {
    align-items: center !important;
    max-width: min(56ch, 36vw) !important;
    white-space: nowrap !important;
  }

  body.site-ltr.is-homepage .sch-topbar .sch-topbar-item--address span {
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25 !important;
  }
}
