/* Motawar Academy 3D orbit: genuine DOM card rotation around a full-height illustrated figure */
.mt-academy-orbit-section{position:relative!important;min-height:0!important;padding:64px 22px!important;overflow:hidden!important;background:linear-gradient(145deg,#f9f0e4,#f2e2d1)!important;color:#fff9ef}
.mt-academy-orbit-section::before{content:"";position:absolute;inset:0;opacity:.19;pointer-events:none;background:repeating-linear-gradient(43deg,transparent 0 26px,#9f668018 27px,transparent 28px 53px)}
.mt-orbit-shell{position:relative;max-width:1200px;min-height:520px;margin:0 auto;border-radius:30px;overflow:hidden;display:grid;grid-template-columns:58% 42%;direction:ltr;background:radial-gradient(circle at 33% 48%,#8b3957 0%,#6d2341 34%,#481429 88%);box-shadow:0 26px 70px rgba(67,17,41,.19)}
.mt-orbit-shell::after{content:"";position:absolute;inset:20px;border:1px solid #f5d9be2b;border-radius:22px;pointer-events:none;z-index:20}
.mt-orbit-copy{grid-column:2;grid-row:1;position:relative;z-index:12;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;text-align:start;padding:55px 57px 55px 16px;min-width:0}
.mt-orbit-eyebrow{font-family:Manrope,Arial,sans-serif;letter-spacing:.18em;font-size:11px;line-height:1.5;font-weight:800;color:#ead0ce}
.mt-orbit-copy h2{font-size:clamp(43px,5.1vw,72px)!important;line-height:1.18!important;font-weight:900!important;letter-spacing:-.02em;margin:16px 0 16px!important;color:#fff6e8!important}
.mt-orbit-tagline{font-size:clamp(17px,1.6vw,23px)!important;font-weight:800!important;line-height:1.6!important;color:#f2d4b7!important;margin:0 0 16px!important}
.mt-orbit-description{font-size:clamp(13px,1.2vw,16px)!important;line-height:2!important;color:#f4e2dd!important;max-width:340px;margin:0 0 26px!important;font-weight:450!important}
.mt-orbit-cta{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:12px 22px;border-radius:99px;background:#f5e4d0;color:#51172e!important;font-weight:850;font-size:14px;text-decoration:none!important;box-shadow:0 8px 26px #22091c40;transition:transform .25s ease,box-shadow .25s ease}
.mt-orbit-cta:hover{transform:translateY(-3px);box-shadow:0 13px 35px #22091c60}
.mt-orbit-cta:focus-visible,.mt-orbit-course:focus-visible{outline:3px solid #f9d58a;outline-offset:4px}
.mt-orbit-scene{grid-column:1;grid-row:1;position:relative;height:520px;min-width:0;isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 50% 85%,#b2657c48 0%,transparent 63%)}
.mt-orbit-scene::before{content:"";position:absolute;left:50%;top:52%;width:min(78%,485px);aspect-ratio:1/1;transform:translate(-50%,-50%);border:1px solid #e9c7aa3f;border-radius:50%;box-shadow:inset 0 0 0 26px #ffdab008,0 0 0 42px #f3dac608;z-index:0}
.mt-orbit-halo{position:absolute;left:50%;top:52%;width:77%;height:37%;border:1.5px dashed #f7d4b19e;border-radius:50%;transform:translate(-50%,-50%) rotate(-6deg);z-index:1;pointer-events:none}
.mt-orbit-floor{position:absolute;z-index:1;left:50%;bottom:6%;width:45%;height:20px;border-radius:50%;transform:translateX(-50%);background:#2207125c;filter:blur(12px)}
.mt-orbit-person{position:absolute;z-index:5;bottom:0;left:50%;width:290px;height:520px;transform:translateX(-50%);pointer-events:none;filter:drop-shadow(0 17px 14px #21071455)}
.mt-orbit-person-svg{display:block;width:100%;height:100%;overflow:visible}
.mt-orbit-cards{position:absolute;inset:0;z-index:auto;pointer-events:none}
.mt-orbit-course{position:absolute;display:flex;align-items:center;gap:10px;min-height:62px;width:176px;max-width:50%;padding:11px 13px;background:linear-gradient(120deg,#fff9f0,#f3e6dc);border:1px solid #ffede4;border-radius:15px;box-shadow:0 12px 25px #16061654;text-decoration:none!important;color:#5f203c!important;pointer-events:auto;will-change:transform;transform-origin:center;backface-visibility:hidden;white-space:normal}
.mt-orbit-course-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:11px;background:#e7ccd2;color:#67213c}
.mt-orbit-course-icon svg{display:block;width:19px;height:19px}
.mt-orbit-course-name{font-weight:800;font-size:13px;line-height:1.45;text-align:center;flex:1}
.mt-orbit-course:hover{background:#fffdf9;box-shadow:0 16px 32px #16061680}
@media(max-width:990px){.mt-academy-orbit-section{padding:35px 15px!important}.mt-orbit-shell{grid-template-columns:56% 44%;min-height:440px}.mt-orbit-scene{height:440px}.mt-orbit-person{height:440px;width:250px}.mt-orbit-copy{padding:37px 29px 37px 6px}.mt-orbit-copy h2{font-size:clamp(36px,5vw,54px)!important}.mt-orbit-course{width:146px;min-height:54px;padding:8px;gap:6px}.mt-orbit-course-name{font-size:11px}.mt-orbit-course-icon{width:30px;height:30px}}
@media(max-width:680px){.mt-academy-orbit-section{padding:22px 12px!important}.mt-orbit-shell{grid-template-columns:1fr;grid-template-rows:365px auto;min-height:0;border-radius:22px}.mt-orbit-shell::after{inset:10px;border-radius:16px}.mt-orbit-scene{grid-row:1;grid-column:1;height:365px}.mt-orbit-person{height:375px;width:215px;bottom:-8px}.mt-orbit-copy{grid-column:1;grid-row:2;align-items:center;text-align:center;padding:14px 24px 29px}.mt-orbit-copy h2{font-size:37px!important;line-height:1.15!important;margin:8px 0!important}.mt-orbit-copy h2 br{display:none}.mt-orbit-tagline{font-size:17px!important;margin:0 0 8px!important}.mt-orbit-description{font-size:13px!important;line-height:1.7!important;margin:0 0 16px!important}.mt-orbit-eyebrow{font-size:10px}.mt-orbit-scene::before{width:82%}.mt-orbit-course{width:125px;min-height:48px;padding:7px 8px;border-radius:11px;gap:5px}.mt-orbit-course-icon{width:27px;height:27px;border-radius:8px}.mt-orbit-course-icon svg{width:15px;height:15px}.mt-orbit-course-name{font-size:10px;line-height:1.2}.mt-orbit-halo{height:44%}.mt-orbit-cta{padding:10px 19px;font-size:13px}}
@media(prefers-reduced-motion:reduce){.mt-orbit-cta{transition:none!important}.mt-orbit-course{will-change:auto}}

/* Actual transparent standing figure, isolated from course orbit */
.mt-orbit-person .mt-orbit-photo{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center bottom!important;max-width:none!important;opacity:1!important;border-radius:0!important;filter:none!important;mask:none!important;-webkit-mask:none!important;pointer-events:none!important;image-rendering:auto!important}

/* Services orbit regression repair: keep every coverflow card inside its viewport.
   Existing 520px wrapper clipped ~165px of stage on 1440px screens. */
#services.mt-fabric-stage .mt-orbit-scene{min-height:980px!important}
@media(max-width:900px){#services.mt-fabric-stage .mt-orbit-scene{min-height:900px!important}}
@media(max-width:600px){#services.mt-fabric-stage .mt-orbit-scene{min-height:790px!important}}

/* Preserve real full-body avatar size without enlarging a low-resolution bitmap. */
@media(min-width:991px){.mt-academy-orbit-section .mt-orbit-person{width:348px!important;height:520px!important}}
@media(min-width:681px) and (max-width:990px){.mt-academy-orbit-section .mt-orbit-person{width:294px!important;height:440px!important}}
@media(max-width:680px){.mt-academy-orbit-section .mt-orbit-person{width:250px!important;height:375px!important}}
