
:root{
  --blue:#075b8f; --deep:#053f6c; --blue2:#0b74aa; --orange:#f39200;
  --ink:#0a3152; --muted:#61788d; --line:#dbe7f0; --soft:#f6faff; --white:#fff;
  --shadow:0 18px 55px rgba(11,64,102,.11);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:"Tajawal",system-ui,sans-serif;color:var(--ink);background:#fff}
a{text-decoration:none;color:inherit}
button,input{font-family:inherit}
.container{width:min(1180px,calc(100% - 36px));margin:auto}
.section{padding:76px 0}
.soft{background:var(--soft)}

.topbar{height:74px;background:rgba(255,255,255,.95);border-bottom:1px solid #edf2f6;position:sticky;top:0;z-index:50;backdrop-filter:blur(14px)}
.nav{height:100%;display:flex;align-items:center;gap:24px}
.brand{display:flex;align-items:center;min-width:160px}
.brand-desktop{height:40px;display:block}
.brand-mobile{display:none;width:42px;height:42px;object-fit:contain}
.nav nav{display:flex;align-items:center;justify-content:center;gap:22px;flex:1;font-size:14px;font-weight:800}
.nav nav a{position:relative}
.nav nav a:after{content:"";position:absolute;right:0;left:100%;bottom:-9px;height:2px;background:var(--orange);transition:.2s}
.nav nav a:hover:after{left:0}
.nav-actions{display:flex;gap:9px}
.menu{display:none;border:0;background:transparent;color:var(--deep);font-size:25px}
.btn{display:inline-flex;align-items:center;justify-content:center;border-radius:11px;padding:11px 19px;font-weight:900;border:1px solid transparent;cursor:pointer;transition:.2s}
.btn:hover{transform:translateY(-2px)}
.primary{color:#fff;background:linear-gradient(135deg,#ff9f00,#ed7900);box-shadow:0 9px 25px rgba(243,146,0,.22)}
.ghost{background:#fff;border-color:#a8c8dd;color:var(--deep)}
.white{background:#fff;color:var(--deep)}
.big{min-height:49px;padding-inline:26px}
.full{width:100%}

.orange-kicker{
  display:inline-flex;align-items:center;gap:9px;color:var(--orange);font-size:19px;font-weight:900;
  letter-spacing:0;position:relative;padding-bottom:9px
}
.orange-kicker:after{content:"";position:absolute;right:0;bottom:0;width:54px;height:3px;background:var(--orange);border-radius:5px}
.orange-kicker.centered{display:flex;width:max-content;margin-inline:auto}
.orange-kicker.centered:after{right:50%;transform:translateX(50%)}
.orange-kicker.light{color:#ffb33c}.orange-kicker.light:after{background:#ffb33c}

.hero{padding:72px 0 78px;background:radial-gradient(circle at 16% 30%,#e3f3ff 0,transparent 36%),linear-gradient(180deg,#f8fcff,#fff);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1fr 1.05fr;gap:50px;align-items:center}
.hero h1{font-size:54px;line-height:1.14;letter-spacing:-1.6px;margin:16px 0 18px;font-weight:900}
.hero h1 em{font-style:normal;color:var(--blue2)}
.hero-lead{font-size:20px;line-height:1.9;color:#38556d;margin:0;max-width:650px}
.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:27px 0}
.trust-grid div{background:rgba(255,255,255,.85);border:1px solid #e1ecf4;border-radius:14px;padding:13px 10px;text-align:center;box-shadow:0 8px 22px rgba(9,70,108,.05)}
.trust-grid span{display:block;font-size:23px;color:var(--blue2)}
.trust-grid b{display:block;font-size:13px;margin:5px 0 2px}
.trust-grid small{font-size:10px;color:var(--muted)}
.hero-actions{display:flex;gap:10px;flex-wrap:wrap}
.hero-note{font-size:12px;color:#7a8fa2;margin:15px 2px 0}

.product-stage{height:440px;position:relative;direction:ltr}
.stage-glow{position:absolute;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,#d9efff,transparent 68%);left:90px;top:35px}
.laptop{position:absolute;width:430px;left:72px;top:85px;z-index:2;transform:perspective(900px) rotateY(5deg) rotateX(1deg)}
.screen{height:260px;border:12px solid #12202a;border-radius:15px 15px 7px 7px;background:#f6f9fc;padding:18px;box-shadow:0 25px 55px rgba(0,0,0,.17)}
.base{height:18px;background:linear-gradient(#d7dee4,#94a0aa);border-radius:2px 2px 20px 20px;transform:scaleX(1.1)}
.mini-head{display:flex;justify-content:space-between;align-items:center;direction:rtl;font-size:10px}
.mini-head div{display:flex;flex-direction:column}.mini-head small{color:#8192a0}
.mini-cards{display:flex;gap:8px;margin-top:27px}
.mini-cards article{flex:1;background:#fff;border:1px solid #dce8f1;border-radius:9px;padding:15px 8px;text-align:center;display:flex;flex-direction:column;gap:6px;direction:rtl}
.mini-cards i{font-style:normal;font-size:29px}.mini-cards small{font-size:8px;color:#71869a}
.mini-progress{height:8px;background:#e6edf3;border-radius:10px;margin-top:25px;overflow:hidden}.mini-progress span{display:block;height:100%;width:68%;background:linear-gradient(90deg,var(--blue2),#69bce3)}
.phone{position:absolute;left:18px;top:188px;width:112px;height:220px;padding:8px;background:#101a22;border-radius:24px;z-index:4;box-shadow:0 20px 40px rgba(0,0,0,.25);transform:rotate(-4deg)}
.phone-screen{height:100%;background:#f6f9fc;border-radius:18px;padding:18px 8px;display:flex;flex-direction:column;gap:8px;direction:rtl;font-size:9px}
.phone-screen strong{font-size:12px;text-align:center}.phone-screen span{background:white;border:1px solid #e0e9f0;border-radius:8px;padding:10px 6px;display:flex;justify-content:space-between}.phone-screen b{font-size:8px;color:var(--blue2)}
.float-card{position:absolute;background:#fff;border:1px solid #e1ebf3;border-radius:14px;box-shadow:var(--shadow);padding:12px 14px;display:flex;align-items:center;gap:10px;z-index:5;direction:rtl}
.float-card i{font-style:normal;font-size:22px;color:var(--blue2)}.float-card div{display:flex;flex-direction:column}.float-card b{font-size:12px}.float-card small{font-size:9px;color:var(--muted);margin-top:2px}
.fc1{left:0;top:40px}.fc2{right:-5px;top:40px}.fc3{right:0;bottom:5px}

.section-title{text-align:center;margin-bottom:38px}.section-title h2{font-size:35px;margin:10px 0 7px}.section-title p{margin:0;color:var(--muted);font-size:15px}
.grade-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.grade-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px 27px;display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;text-align:right;color:var(--ink);cursor:pointer;box-shadow:0 10px 30px rgba(12,62,96,.05);transition:.2s}
.grade-card:hover,.grade-card.active{transform:translateY(-4px);border-color:#8fc2df;box-shadow:var(--shadow)}
.grade-card div{display:flex;flex-direction:column}.grade-card small{font-size:12px;color:var(--muted)}.grade-card div b{font-size:18px}.grade-card strong{font-size:58px;color:var(--blue2)}.grade-card>span{font-size:27px}

.filters{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-bottom:28px}
.filters button{border:0;background:#eaf1f6;color:#567086;border-radius:999px;padding:9px 19px;font-weight:900;cursor:pointer}
.filters button.active{background:var(--deep);color:#fff}

.subject-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
.subject-card{background:#fff;border:1px solid var(--line);border-radius:22px;overflow:hidden;box-shadow:0 12px 38px rgba(9,60,97,.07);transition:.22s}
.subject-card:hover{transform:translateY(-5px);box-shadow:var(--shadow)}
.subject-card.hidden{display:none}
.subject-cover{height:185px;position:relative;display:flex;align-items:center;justify-content:center;overflow:hidden}
.physics-cover{background:radial-gradient(circle at 25% 25%,#d6f0ff,transparent 35%),linear-gradient(135deg,#083f70,#0d77aa)}
.biology-cover{background:radial-gradient(circle at 75% 25%,#dcf7f0,transparent 36%),linear-gradient(135deg,#0f5b58,#2c9a83)}
.math-cover{background:radial-gradient(circle at 25% 25%,#f4e6ff,transparent 36%),linear-gradient(135deg,#463c75,#7865b3)}
.chemistry-cover{background:radial-gradient(circle at 75% 25%,#fff1d5,transparent 36%),linear-gradient(135deg,#795214,#c98a19)}
.cover-symbol{font-size:82px;filter:drop-shadow(0 10px 20px rgba(0,0,0,.2))}
.grade-chip{position:absolute;right:15px;top:14px;background:rgba(255,255,255,.92);color:var(--deep);font-size:11px;font-weight:900;border-radius:999px;padding:7px 11px}
.teacher-avatar{position:absolute;right:20px;bottom:-23px;width:58px;height:58px;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--deep);font-weight:900;border:4px solid #fff;box-shadow:0 7px 16px rgba(0,0,0,.18)}
.subject-body{padding:31px 22px 22px}
.subject-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.subject-head h3{font-size:25px;margin:0}.teacher{margin:3px 0 0;color:var(--blue2);font-weight:800}
.popular{background:#fff3df;color:#b86400;border:1px solid #ffd59d;border-radius:999px;padding:6px 9px;font-size:10px;font-weight:900}
.subject-desc{color:var(--muted);font-size:14px;line-height:1.9;margin:14px 0}
.subject-points{display:grid;grid-template-columns:1fr 1fr;gap:8px 12px;background:#f8fbfd;border:1px solid #e8f0f5;border-radius:13px;padding:13px}
.subject-points span{font-size:12px;font-weight:700;color:#3f5b72}
.price-row{display:flex;align-items:center;justify-content:space-between;margin:15px 0 12px;border-top:1px solid #edf2f6;padding-top:13px}
.price-row>div{display:flex;align-items:end;gap:5px}.price-row small{color:var(--muted)}.price-row b{font-size:24px;color:var(--deep)}.price-row span{font-size:10px;color:#74899b}
.subject-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px}.sample{background:#edf7fc;color:var(--blue);border-color:#c9e2ef}
.catalog-note{text-align:center;color:#8b9baa;font-size:11px;margin:22px 0 0}

.benefits{display:grid;grid-template-columns:repeat(6,1fr);gap:18px;text-align:center}
.benefits article{padding:18px 8px}.benefits i{font-style:normal;font-size:34px;color:var(--blue2)}.benefits h3{font-size:16px;margin:11px 0 7px}.benefits p{font-size:12.5px;line-height:1.8;color:var(--muted)}

.preview-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:17px}.preview-grid article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:12px 12px 18px;text-align:center}
.preview-shot{height:148px;border-radius:12px;background:linear-gradient(145deg,#eef7fd,#dbeefd);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px}.preview-shot span{font-size:42px;color:var(--blue)}.preview-shot b{font-size:11px;color:#557085}.preview-grid h3{margin:13px 0 5px}.preview-grid p{margin:0;font-size:12.5px;color:var(--muted);line-height:1.7}

.teacher-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;max-width:780px;margin:auto}
.teacher-grid article{background:#fff;border:1px solid var(--line);border-radius:18px;padding:20px;display:flex;align-items:center;gap:16px;box-shadow:0 10px 30px rgba(11,63,99,.05)}
.teacher-photo{width:82px;height:82px;border-radius:22px;display:grid;place-items:center;font-size:23px;font-weight:900;color:#fff;flex:0 0 auto}
.t1{background:linear-gradient(135deg,#075b8f,#48a8d1)}.t2{background:linear-gradient(135deg,#1a6b5d,#4fb598)}
.teacher-grid h3{margin:0;font-size:19px}.teacher-grid p{margin:3px 0;color:var(--orange);font-weight:900}.teacher-grid span{font-size:11px;color:var(--muted)}

.safeer{padding-top:30px}
.safeer-card{background:linear-gradient(135deg,#063f6c,#075d93);border-radius:27px;padding:36px 42px;color:#fff;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:28px;box-shadow:0 20px 55px rgba(6,62,107,.2)}
.gift{font-size:72px}.safeer-card h2{font-size:30px;margin:8px 0}.safeer-card p{margin:0;color:#dcecf7;line-height:1.9}.safeer-actions{display:flex;flex-direction:column;gap:8px;min-width:245px}

.steps-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;text-align:center}.steps-grid article{padding:21px}.steps-grid b{display:inline-grid;place-items:center;width:42px;height:42px;border-radius:50%;background:var(--deep);color:#fff;font-size:20px}.steps-grid h3{margin:12px 0 5px}.steps-grid p{color:var(--muted);margin:0}

.cta{padding-top:25px}.cta-box{background:#eef7fc;border:1px solid #d5e8f3;border-radius:24px;padding:38px 43px;display:flex;justify-content:space-between;gap:30px;align-items:center}.cta-box h2{font-size:31px;margin:10px 0 6px}.cta-box p{margin:0;color:var(--muted)}.cta-actions{display:flex;gap:9px}

/* Technical support */
.support{padding-top:30px}
.support-title{margin-bottom:24px}
.support-card{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;background:#fff;border:1px solid var(--line);border-radius:20px;padding:20px 22px;color:var(--deep);box-shadow:0 12px 34px rgba(11,63,99,.07);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.support-card:hover{transform:translateY(-2px);box-shadow:0 18px 42px rgba(11,63,99,.12);border-color:#bfd9e9}
.support-icon{width:62px;height:62px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(145deg,#eef8fc,#dceff7);color:var(--blue)}
.support-icon svg{width:31px;height:31px;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.support-copy h3{margin:0 0 5px;font-size:19px}.support-copy p{margin:0;color:var(--muted);line-height:1.8;font-size:13.5px}
.support-arrow{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#f4f8fb;color:var(--blue);font-size:21px;font-weight:900}

.narrow{max-width:850px}.faq details{background:#fff;border:1px solid var(--line);border-radius:13px;padding:17px 20px;margin:10px 0}.faq summary{font-weight:900;cursor:pointer}.faq details p{color:var(--muted);line-height:1.9;margin-bottom:0}

footer{background:#053e69;color:#fff;padding:48px 0 20px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:42px}.footer-grid>div{display:flex;flex-direction:column;gap:10px}.footer-brand img{width:160px;filter:brightness(0) invert(1)}.footer-grid p{color:#c6dfee;max-width:370px}.footer-grid a{color:#d9e8f2}.copyright{border-top:1px solid rgba(255,255,255,.12);margin-top:30px;padding-top:18px;text-align:center;color:#b9d4e5;font-size:12px}

.mobile-actions{display:none}

.sample-modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px}
.sample-modal.hidden{display:none}.sample-backdrop{position:absolute;inset:0;background:rgba(4,28,48,.72);backdrop-filter:blur(4px)}
.sample-box{position:relative;z-index:2;width:min(520px,100%);background:#fff;border-radius:22px;padding:20px;box-shadow:0 30px 90px rgba(0,0,0,.35)}
.sample-close{position:absolute;left:14px;top:12px;border:0;background:#eef3f7;color:#496276;width:34px;height:34px;border-radius:10px;font-size:22px;cursor:pointer}
.sample-video{height:230px;border-radius:16px;background:linear-gradient(135deg,#e9f5fc,#d6ebf8);display:flex;align-items:center;justify-content:center;flex-direction:column;color:var(--deep);margin-bottom:17px}
.sample-play{width:64px;height:64px;border-radius:50%;background:#fff;display:grid;place-items:center;color:var(--orange);font-size:25px;box-shadow:0 10px 25px rgba(7,76,117,.12)}
.sample-video p{font-weight:900;margin:12px 0 3px}.sample-video small{color:var(--muted)}.sample-box h3{margin:0 0 6px}.sample-box>p{color:var(--muted);margin-top:0}


/* Biology Grade 12 premium course card - teacher + centered title + 3D book mockup */
.biology-real-cover{
  height:245px;
  background:
    radial-gradient(circle at 50% 30%,rgba(33,155,205,.38),transparent 36%),
    linear-gradient(125deg,#052d55 0%,#075f8e 52%,#062847 100%);
  justify-content:initial;
}
.biology-real-cover:after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(90deg,rgba(2,31,60,.06),rgba(2,31,60,.18),rgba(2,31,60,.08));
  pointer-events:none;
}
.biology-dna{
  position:absolute;left:50%;bottom:-44px;transform:translateX(-50%) rotate(-12deg);
  font-size:175px;opacity:.10;filter:saturate(.75);z-index:1
}
.biology-teacher-side{
  position:absolute;left:0;bottom:0;width:34%;height:100%;z-index:3;
  display:flex;align-items:flex-end;justify-content:center;
}
.biology-teacher-photo{
  width:190px;height:218px;object-fit:cover;object-position:50% 18%;
  border-radius:24px 24px 0 0;filter:saturate(.95);
  box-shadow:10px 0 28px rgba(0,0,0,.12)
}
.biology-cover-copy{
  position:absolute;left:35%;right:35%;top:72px;z-index:4;color:#fff;text-align:center;
  text-shadow:0 2px 12px rgba(0,0,0,.24)
}
.biology-cover-copy strong{display:block;font-size:40px;line-height:1;font-weight:900}
.biology-cover-copy span{display:block;font-size:11px;font-weight:700;line-height:1.8;margin-top:12px;color:#e9f8ff;white-space:nowrap}
.biology-book-mockup{
  position:absolute;right:28px;bottom:21px;width:135px;height:190px;z-index:5;
  transform:perspective(850px) rotateY(-17deg) rotateZ(2deg);
  transform-style:preserve-3d;
  filter:drop-shadow(0 18px 22px rgba(0,0,0,.34));
}
.biology-book-mockup:after{
  content:"";position:absolute;right:-9px;top:7px;width:10px;height:176px;
  background:linear-gradient(90deg,#d6e8f5,#8fb8d4);border-radius:0 4px 4px 0;
  transform:translateZ(-2px)
}
.biology-book-mockup:before{
  content:"";position:absolute;left:7px;right:-5px;bottom:-7px;height:9px;
  background:linear-gradient(#f4f7f9,#b8c6d1);border-radius:0 0 5px 5px;
  transform:skewX(-25deg)
}
.book-spine{
  position:absolute;left:-7px;top:5px;width:8px;height:179px;
  background:linear-gradient(90deg,#0b5d91,#4c9aca);border-radius:4px 0 0 4px;z-index:2
}
.biology-book{
  position:relative;width:100%;height:100%;object-fit:cover;object-position:top center;
  border-radius:4px;display:block;border:1px solid rgba(255,255,255,.55);z-index:3
}
.biology-real-cover .grade-chip{right:auto;left:15px;z-index:7;background:#f39200;color:#fff}
.biology-badge{background:#e9f8f2;color:#13725e;border-color:#bde8dc}

@media(max-width:980px){
  .nav nav{display:none;position:absolute;top:74px;right:18px;left:18px;background:#fff;padding:18px;border-radius:15px;box-shadow:var(--shadow);flex-direction:column}
  .nav nav.open{display:flex}.menu{display:block}.nav-actions{margin-right:auto}
  .hero-grid{grid-template-columns:1fr}.hero-copy{text-align:center}.orange-kicker:not(.centered){margin-inline:auto}.orange-kicker:not(.centered):after{right:50%;transform:translateX(50%)}
  .hero-lead{margin-inline:auto}.hero-actions{justify-content:center}.trust-grid{max-width:680px;margin-inline:auto}
  .product-stage{max-width:590px;width:100%;margin:auto}
  .subject-grid{grid-template-columns:1fr 1fr}.benefits{grid-template-columns:repeat(3,1fr)}.preview-grid{grid-template-columns:repeat(2,1fr)}
  .safeer-card{grid-template-columns:auto 1fr}.safeer-actions{grid-column:1/3;flex-direction:row;justify-content:center}.cta-box{flex-direction:column;text-align:center}
}

@media(max-width:680px){
  body{padding-bottom:74px}.container{width:min(100% - 22px,1180px)}.section{padding:52px 0}
  .topbar{height:64px}.brand{min-width:0}.brand-desktop{display:none}.brand-mobile{display:block}.nav{gap:7px}.nav nav{top:64px}.login-top{display:none}.nav-actions .primary{padding:9px 12px;font-size:12px}
  .hero{padding:35px 0 28px}.hero-grid{gap:18px}.hero-copy{text-align:right}.orange-kicker,.orange-kicker.centered{font-size:16px}
  .hero-copy .orange-kicker{margin-inline:0}.hero-copy .orange-kicker:after{right:0;transform:none}
  .hero h1{font-size:39px;line-height:1.2;margin:14px 0}.hero-lead{font-size:16px;line-height:1.85}.trust-grid{grid-template-columns:1fr 1fr;gap:8px;margin:20px 0}.trust-grid div{padding:10px 7px}
  .hero-actions{display:grid;grid-template-columns:1fr}.hero-actions .btn{width:100%}.hero-note{text-align:center}
  .product-stage{height:280px;transform:scale(.72);transform-origin:center top;margin-bottom:-72px}.laptop{left:42px;top:65px}.phone{left:-10px;top:160px}.fc1{left:-35px}.fc2{right:-32px}.fc3{right:-30px;bottom:-5px}
  .section-title{margin-bottom:28px}.section-title h2{font-size:27px;line-height:1.35}.section-title p{font-size:13px;line-height:1.8}
  .grade-grid{grid-template-columns:1fr;gap:10px}.grade-card{padding:15px 18px;border-radius:15px}.grade-card strong{font-size:44px}.grade-card>span{font-size:24px}
  .filters{justify-content:flex-start;overflow:auto;flex-wrap:nowrap;padding-bottom:4px}.filters button{white-space:nowrap}
  .subject-grid{grid-template-columns:1fr;gap:16px}.subject-cover{height:155px}.cover-symbol{font-size:68px}.subject-body{padding:29px 17px 17px}.subject-head h3{font-size:22px}.subject-desc{font-size:13px}.subject-points{grid-template-columns:1fr;gap:7px}
  .subject-actions{grid-template-columns:1fr}.price-row{align-items:flex-end}.price-row>div{flex-wrap:wrap}
  .benefits{grid-template-columns:1fr 1fr;gap:4px}.benefits article{padding:16px 8px;border-bottom:1px solid #edf2f6}.benefits h3{font-size:14px}.benefits p{font-size:11.5px}
  .preview-grid{grid-template-columns:1fr 1fr;gap:10px}.preview-shot{height:115px}.preview-grid article{padding:9px 9px 14px}.preview-grid p{font-size:11px}
  .teacher-grid{grid-template-columns:1fr}.teacher-grid article{padding:15px}.teacher-photo{width:68px;height:68px;border-radius:18px}
  .safeer-card{grid-template-columns:1fr;text-align:center;padding:27px 18px;gap:15px}.gift{font-size:55px}.safeer-card h2{font-size:25px}.safeer-actions{grid-column:auto;flex-direction:column;min-width:0}.safeer-copy .orange-kicker{margin-inline:auto}.safeer-copy .orange-kicker:after{right:50%;transform:translateX(50%)}
  .steps-grid{grid-template-columns:1fr;gap:5px}.steps-grid article{padding:14px}
  .cta-box{padding:28px 18px}.cta-box h2{font-size:25px}.cta-actions{width:100%;display:grid;grid-template-columns:1fr}

  .support{padding-top:20px}.support-title{margin-bottom:18px}.support-card{grid-template-columns:auto 1fr auto;gap:12px;padding:15px 13px;border-radius:17px}.support-icon{width:52px;height:52px;border-radius:15px}.support-icon svg{width:27px;height:27px}.support-copy h3{font-size:16px}.support-copy p{font-size:11.5px;line-height:1.65}.support-arrow{width:32px;height:32px;border-radius:10px;font-size:18px}
  .footer-grid{grid-template-columns:1fr}.footer-brand img{width:140px}
  .mobile-actions{display:grid;position:fixed;left:8px;right:8px;bottom:8px;grid-template-columns:.8fr 1.2fr;gap:7px;z-index:60;background:rgba(255,255,255,.96);padding:7px;border:1px solid #e0e9ef;border-radius:15px;box-shadow:0 12px 35px rgba(0,0,0,.18);backdrop-filter:blur(12px)}
  .mobile-actions a{display:flex;align-items:center;justify-content:center;min-height:45px;border-radius:10px;font-weight:900;color:var(--deep);border:1px solid #c7dce9}.mobile-actions .subscribe{background:linear-gradient(135deg,#ff9e00,#ed7900);color:#fff;border:0}
  .sample-video{height:180px}
}

\n@media(max-width:680px){
  .biology-real-cover{height:205px}
  .biology-teacher-side{width:32%}
  .biology-teacher-photo{width:118px;height:160px;border-radius:18px 18px 0 0}
  .biology-cover-copy{left:31%;right:31%;top:68px}
  .biology-cover-copy strong{font-size:28px}
  .biology-cover-copy span{font-size:8px;line-height:1.6;margin-top:8px;white-space:normal}
  .biology-book-mockup{right:10px;bottom:18px;width:91px;height:130px;transform:perspective(650px) rotateY(-15deg) rotateZ(2deg)}
  .biology-book-mockup:after{right:-6px;width:7px;height:119px}
  .biology-book-mockup:before{bottom:-5px;height:6px}
  .book-spine{left:-5px;width:6px;height:122px}
  .biology-dna{font-size:120px;bottom:-32px}
}\n
/* V5 — image-free responsive course catalog */
.subject-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;align-items:stretch}
.modern-course-card{display:flex;flex-direction:column;overflow:hidden;border:1px solid #dce8f1;border-radius:22px;background:#fff;box-shadow:0 10px 32px rgba(6,63,105,.07);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.modern-course-card:hover{transform:translateY(-6px);box-shadow:0 22px 55px rgba(6,63,105,.14);border-color:#b8d8ea}
.modern-course-card .subject-body{display:flex;flex-direction:column;flex:1;padding:20px}
.course-visual{height:170px;position:relative;overflow:hidden;padding:22px;color:#fff;background:linear-gradient(135deg,#075b8f,#063a68);isolation:isolate}
.course-visual:before{content:"";position:absolute;inset:0;background:radial-gradient(circle at 15% 15%,rgba(255,255,255,.25),transparent 30%),linear-gradient(115deg,transparent 45%,rgba(255,255,255,.08));z-index:-1}
.course-orb{position:absolute;width:150px;height:150px;border:1px solid rgba(255,255,255,.17);border-radius:50%;left:-35px;bottom:-70px;box-shadow:0 0 0 24px rgba(255,255,255,.035),0 0 0 50px rgba(255,255,255,.025)}
.course-icon{position:absolute;left:22px;bottom:17px;font-size:55px;font-weight:900;line-height:1;opacity:.92;filter:drop-shadow(0 8px 15px rgba(0,0,0,.15))}
.course-visual-copy{height:100%;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;position:relative;z-index:2;padding-left:82px}
.course-visual-copy small{font-size:11px;font-weight:800;opacity:.78}.course-visual-copy strong{font-size:28px;line-height:1.25;margin:5px 0 8px;font-weight:900}.course-visual-copy span{font-size:11px;font-weight:700;opacity:.86}
.modern-course-card .grade-chip{position:absolute;right:14px;top:14px;background:rgba(255,255,255,.94);color:#075b8f;border:0;box-shadow:0 6px 20px rgba(0,0,0,.08);z-index:4}
.theme-bio .course-visual{background:linear-gradient(135deg,#087c79,#07506f)}.theme-physics .course-visual{background:linear-gradient(135deg,#283f93,#096b9e)}.theme-chemistry .course-visual{background:linear-gradient(135deg,#dc7011,#a8452a)}.theme-math .course-visual{background:linear-gradient(135deg,#263e88,#542d8f)}.theme-english .course-visual{background:linear-gradient(135deg,#05a6d6,#2370aa)}.theme-arabic .course-visual{background:linear-gradient(135deg,#287c96,#164f79)}.theme-islamic .course-visual{background:linear-gradient(135deg,#08775c,#075247)}.theme-environment .course-visual{background:linear-gradient(135deg,#23855e,#087a76)}
.modern-course-card .subject-head{gap:10px;align-items:flex-start}.modern-course-card .subject-head h3{font-size:20px;margin-bottom:4px}.modern-course-card .teacher{font-weight:800;color:#587287}.modern-course-card .popular{white-space:nowrap;font-size:9px;padding:6px 8px}.modern-course-card .subject-desc{font-size:12.5px;line-height:1.9;min-height:72px;margin:13px 0;color:#5c7488}.course-tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:15px}.course-tags span{font-size:10px;font-weight:800;background:#f2f7fb;color:#41657e;border:1px solid #e2edf4;padding:5px 8px;border-radius:999px}.modern-course-card .price-row{margin-top:auto}.modern-course-card .subject-actions{margin-top:14px}
.real-video{height:auto;aspect-ratio:16/9;padding:0;background:#071c2b;overflow:hidden}.real-video iframe{width:100%;height:100%;border:0;display:block}
.catalog-note{display:none}
@media(max-width:980px){.subject-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.subject-grid{grid-template-columns:1fr;gap:14px}.modern-course-card{border-radius:18px}.course-visual{height:142px;padding:18px}.course-icon{font-size:46px;left:18px;bottom:15px}.course-visual-copy{padding-left:68px}.course-visual-copy strong{font-size:25px}.modern-course-card .subject-body{padding:17px}.modern-course-card .subject-desc{min-height:0}.modern-course-card .subject-actions{grid-template-columns:1fr 1fr}.modern-course-card .subject-actions .btn{padding-inline:9px;font-size:11px}}
@media(max-width:390px){.modern-course-card .subject-actions{grid-template-columns:1fr}.course-visual-copy strong{font-size:22px}.course-visual-copy{padding-left:58px}.course-icon{font-size:39px}}


/* =========================================================
   V6 — Small-screen and course-card refinement
   ========================================================= */

.modern-course-card .subject-desc{
  min-height:88px;
}
.course-tags{
  min-height:58px;
  align-content:flex-start;
}
.modern-course-card .subject-head{
  min-height:55px;
}

/* Tablet: give cards more breathing room */
@media (max-width: 900px){
  .container{width:min(100% - 28px,1180px)}
  .hero{padding-top:48px}
  .hero-grid{gap:26px}
  .subject-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
  .modern-course-card .subject-body{padding:18px}
  .modern-course-card .subject-desc{min-height:96px}
  .course-tags{min-height:62px}
}

/* Phones */
@media (max-width: 680px){
  body{overflow-x:hidden}
  .container{width:calc(100% - 20px)}

  /* Top bar */
  .topbar{height:62px}
  .nav{height:62px}
  .brand-mobile{width:38px;height:38px}
  .menu{width:40px;height:40px;display:grid;place-items:center;border-radius:11px;background:#f4f8fb}
  .nav-actions .primary{min-height:40px;padding:0 13px;border-radius:10px}
  .nav nav{
    top:68px;right:10px;left:10px;
    max-height:calc(100vh - 90px);overflow:auto;
    border:1px solid #e4edf3;
  }

  /* Hero: less visual noise, easier first screen */
  .hero{padding:30px 0 34px}
  .hero-grid{display:flex;flex-direction:column;gap:24px}
  .hero-copy{text-align:right}
  .hero h1{font-size:34px;letter-spacing:-.8px;line-height:1.28;margin:13px 0}
  .hero-lead{font-size:15px;line-height:1.9}
  .trust-grid{grid-template-columns:repeat(2,1fr);gap:7px;margin:18px 0}
  .trust-grid div{padding:10px 6px;border-radius:12px}
  .trust-grid span{font-size:20px}
  .trust-grid b{font-size:12px}
  .hero-actions{gap:8px}
  .hero-actions .btn{min-height:47px}
  .hero-note{font-size:10.5px;line-height:1.7}

  /* Simplified responsive platform mockup */
  .product-stage{
    width:100%;height:235px;transform:none;margin:0;
    overflow:hidden;border-radius:22px;
    background:linear-gradient(145deg,#eef8ff,#f9fcff);
    border:1px solid #dcebf4;
  }
  .stage-glow{width:260px;height:260px;left:50%;top:-35px;transform:translateX(-50%)}
  .laptop{width:300px;left:50%;top:35px;transform:translateX(-50%)}
  .screen{height:180px;border-width:8px;padding:12px}
  .mini-cards{margin-top:16px}
  .mini-cards article{padding:9px 4px}
  .mini-cards i{font-size:21px}
  .mini-progress{margin-top:13px}
  .base{height:12px}
  .phone{width:78px;height:154px;left:10px;top:72px;padding:5px;border-radius:17px}
  .phone-screen{padding:12px 5px;gap:5px}
  .phone-screen span{padding:6px 4px}
  .float-card{display:none}

  /* Grades */
  .grade-pick{padding-top:45px}
  .grade-grid{gap:8px}
  .grade-card{
    grid-template-columns:1fr auto auto;
    min-height:72px;padding:12px 16px;border-radius:14px
  }
  .grade-card strong{font-size:38px}
  .grade-card div b{font-size:16px}

  /* Subject area */
  .subjects.section{padding-top:48px}
  .filters{
    position:sticky;top:68px;z-index:20;
    margin:0 -10px 20px;padding:8px 10px;
    background:rgba(246,250,255,.94);
    backdrop-filter:blur(10px);
    border-bottom:1px solid #e5eef4;
    overflow-x:auto;justify-content:flex-start;
  }
  .filters::-webkit-scrollbar{display:none}
  .filters button{padding:9px 15px;font-size:12px}

  .subject-grid{grid-template-columns:1fr;gap:15px}
  .modern-course-card{
    border-radius:18px;
    box-shadow:0 8px 24px rgba(6,63,105,.07)
  }
  .course-visual{height:122px;padding:15px 16px}
  .modern-course-card .grade-chip{right:11px;top:11px;padding:6px 9px;font-size:9px}
  .course-icon{font-size:40px;left:16px;bottom:13px}
  .course-visual-copy{
    padding-left:56px;padding-top:13px;
    justify-content:center
  }
  .course-visual-copy small{font-size:9px}
  .course-visual-copy strong{font-size:23px;margin:3px 0 5px}
  .course-visual-copy span{font-size:9.5px}

  .modern-course-card .subject-body{padding:15px}
  .modern-course-card .subject-head{
    min-height:0;align-items:center
  }
  .modern-course-card .subject-head h3{font-size:20px}
  .modern-course-card .teacher{font-size:12px}
  .modern-course-card .popular{font-size:8.5px;padding:5px 7px}
  .modern-course-card .subject-desc{
    min-height:0;margin:10px 0 12px;
    font-size:12px;line-height:1.85
  }
  .course-tags{
    min-height:0;display:grid;grid-template-columns:1fr 1fr;
    gap:6px;margin-bottom:12px
  }
  .course-tags span{
    text-align:center;padding:6px 5px;font-size:9.5px
  }
  .modern-course-card .price-row{
    margin:9px 0 6px;padding-top:10px
  }
  .price-row b{font-size:21px}
  .subject-actions{
    grid-template-columns:1fr 1fr!important;
    gap:7px;margin-top:10px!important
  }
  .modern-course-card .subject-actions .btn{
    min-height:43px;padding:8px 7px;font-size:10.5px;border-radius:10px
  }

  /* Remaining sections */
  .benefits{grid-template-columns:1fr 1fr}
  .preview-grid{grid-template-columns:1fr 1fr}
  .teacher-grid{grid-template-columns:1fr}
  .safeer-card{border-radius:20px}
  .cta-box{border-radius:20px}
  .faq details{padding:15px 16px}
}

/* Narrow phones */
@media (max-width: 390px){
  .hero h1{font-size:30px}
  .orange-kicker,.orange-kicker.centered{font-size:15px}
  .product-stage{height:215px}
  .laptop{width:270px;top:36px}
  .screen{height:160px}
  .phone{width:70px;height:140px}
  .subject-actions{grid-template-columns:1fr!important}
  .course-tags{grid-template-columns:1fr 1fr}
  .preview-grid{grid-template-columns:1fr}
  .benefits{grid-template-columns:1fr}
}

/* Very small devices */
@media (max-width: 340px){
  .container{width:calc(100% - 14px)}
  .hero h1{font-size:27px}
  .trust-grid{grid-template-columns:1fr}
  .grade-card strong{font-size:34px}
  .course-tags{grid-template-columns:1fr}
}


/* =========================================================
   V7 — Expanded teachers section
   ========================================================= */
.teacher-grid-expanded{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  max-width:none;
}
.teacher-card-pro{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:18px;
  display:flex;
  align-items:flex-start;
  gap:14px;
  box-shadow:0 10px 30px rgba(11,63,99,.05);
  transition:.2s ease;
}
.teacher-card-pro:hover{
  transform:translateY(-3px);
  box-shadow:var(--shadow);
  border-color:#c7ddea;
}
.teacher-card-pro .teacher-photo{
  width:72px;
  height:72px;
  border-radius:19px;
  font-size:20px;
  flex:0 0 auto;
}
.teacher-info{
  min-width:0;
  flex:1;
}
.teacher-info h3{
  margin:0;
  font-size:17px;
  line-height:1.5;
}
.teacher-info p{
  margin:3px 0 2px;
  color:var(--orange);
  font-weight:900;
  font-size:13px;
}
.teacher-info>span{
  display:block;
  color:var(--muted);
  font-size:11px;
  line-height:1.6;
}
.teacher-bio-placeholder{
  margin-top:9px;
  padding-top:9px;
  border-top:1px solid #edf2f6;
  color:#8a9aa8;
  font-size:10.5px;
  line-height:1.65;
}
.teacher-tone-1{background:linear-gradient(135deg,#0b6b96,#4ab0d2)!important}
.teacher-tone-2{background:linear-gradient(135deg,#2a5da5,#6794df)!important}
.teacher-tone-3{background:linear-gradient(135deg,#147257,#57b995)!important}
.teacher-tone-4{background:linear-gradient(135deg,#6c4da0,#9a77cc)!important}
.teacher-tone-5{background:linear-gradient(135deg,#b66613,#e8a64c)!important}
.teacher-tone-6{background:linear-gradient(135deg,#9a3c61,#d66f93)!important}

@media(max-width:980px){
  .teacher-grid-expanded{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:680px){
  .teacher-grid-expanded{
    grid-template-columns:1fr;
    gap:11px;
  }
  .teacher-card-pro{
    padding:14px;
    border-radius:15px;
    align-items:center;
  }
  .teacher-card-pro .teacher-photo{
    width:60px;
    height:60px;
    border-radius:16px;
    font-size:17px;
  }
  .teacher-info h3{font-size:15px}
  .teacher-info p{font-size:12px}
  .teacher-info>span{font-size:10.5px}
  .teacher-bio-placeholder{
    margin-top:7px;
    padding-top:7px;
    font-size:9.8px;
  }
}


/* =========================================================
   V7.3 — Requested visual polish only
   ========================================================= */

/* More breathing room between the grade badge and "عُمان أكاديمي"
   inside every course visual. */
.course-visual-copy{
  padding-top:30px!important;
}
.course-visual-copy small{
  margin-top:4px;
}

/* Keep the hero title visually tighter on desktop so the main sentence
   stays on one line as much as the available width allows. */
@media(min-width:981px){
  .hero-main-title-v73{
    font-size:47px!important;
    line-height:1.16!important;
    letter-spacing:-1.2px!important;
  }
  .hero-main-title-v73 br{
    display:none;
  }
}

/* Unified discussions icon: same weight, size and visual feel as the
   remaining minimal hero icons. */
.discussion-unified-icon{
  font-family:Arial,Helvetica,sans-serif!important;
  font-style:normal!important;
  font-weight:700!important;
  font-size:22px!important;
  line-height:1!important;
  color:var(--blue2)!important;
  display:block!important;
}

/* Preserve good wrapping on tablet/mobile. */
@media(max-width:980px){
  .hero-main-title-v73{
    font-size:45px!important;
  }
}
@media(max-width:680px){
  .course-visual-copy{
    padding-top:22px!important;
  }
  .hero-main-title-v73{
    font-size:34px!important;
    line-height:1.28!important;
  }
  .hero-main-title-v73 br{
    display:block;
  }
  .discussion-unified-icon{
    font-size:20px!important;
  }
}


/* V7.4 — One consistent discussions icon across the entire landing page */
.oa-discussion-icon{
  width:28px;
  height:28px;
  display:block;
  fill:none;
  stroke:#087da5;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex:0 0 auto;
}
.trust-grid .oa-discussion-icon{
  width:27px;
  height:27px;
  margin-inline:auto;
}
.float-card .oa-discussion-icon{
  width:25px;
  height:25px;
}
.platform-card .oa-discussion-icon{
  width:34px;
  height:34px;
  margin-inline:auto;
}


/* =========================================================
   V7.5 — Hero text cleanup + consistent discussion icon
   ========================================================= */

/* Hero title: exactly two clean lines, no overlap. */
.hero .hero-main-title-v73,
.hero h1{
  margin:16px 0 18px!important;
  line-height:1.18!important;
  letter-spacing:-1.15px!important;
}

.hero-title-line{
  display:block;
  white-space:nowrap;
}

.hero-title-line-1{
  color:var(--ink);
}

.hero-title-line-2{
  color:var(--blue2);
  margin-top:5px;
}

/* Desktop: sized specifically so both title lines fit cleanly. */
@media(min-width:1100px){
  .hero .hero-main-title-v73,
  .hero h1{
    font-size:44px!important;
  }

  .hero-lead-two-lines{
    max-width:690px!important;
    font-size:17px!important;
    line-height:1.85!important;
  }
}

/* Medium desktop/tablet: still keep it to two title lines. */
@media(min-width:681px) and (max-width:1099px){
  .hero .hero-main-title-v73,
  .hero h1{
    font-size:37px!important;
    letter-spacing:-.8px!important;
  }

  .hero-lead-two-lines{
    max-width:650px!important;
    font-size:15.5px!important;
    line-height:1.85!important;
  }
}

/* The discussion icon now behaves like the other plain blue glyphs. */
.oa-discussion-icon-v75{
  width:27px;
  height:27px;
  display:block;
  fill:none;
  stroke:var(--blue2);
  stroke-width:1.85;
  stroke-linecap:round;
  stroke-linejoin:round;
  margin-inline:auto;
  flex:0 0 auto;
}

/* Match sizes in each component to its neighboring icons. */
.trust-grid .oa-discussion-icon-v75{
  width:23px;
  height:23px;
}

.float-card .oa-discussion-icon-v75{
  width:22px;
  height:22px;
  margin-inline:0;
}

.benefits .oa-discussion-icon-v75{
  width:34px;
  height:34px;
}

.preview-grid .oa-discussion-icon-v75{
  width:42px;
  height:42px;
}

/* Remove styling inherited from the previous discussion icon version. */
.oa-discussion-icon,
.discussion-unified-icon{
  display:none!important;
}

/* Phones: allow natural wrapping so no clipping occurs. */
@media(max-width:680px){
  .hero .hero-main-title-v73,
  .hero h1{
    font-size:32px!important;
    line-height:1.25!important;
    letter-spacing:-.6px!important;
  }

  .hero-title-line{
    white-space:normal;
  }

  .hero-title-line-2{
    margin-top:3px;
  }

  .hero-lead-two-lines{
    max-width:none!important;
    font-size:15px!important;
    line-height:1.85!important;
  }

  .benefits .oa-discussion-icon-v75{
    width:31px;
    height:31px;
  }

  .preview-grid .oa-discussion-icon-v75{
    width:38px;
    height:38px;
  }
}

/* V7.6 — Islamic Studies icon: mosque instead of crescent/star */
.subject-card[data-subject="التربية الإسلامية"] .subject-symbol,
.course-card[data-subject="التربية الإسلامية"] .subject-symbol{
  font-size:0!important;
}
.subject-card[data-subject="التربية الإسلامية"] .subject-symbol::after,
.course-card[data-subject="التربية الإسلامية"] .subject-symbol::after{
  content:"🕌";
  font-size:42px;
  line-height:1;
}


/* =========================================================
   V7.10 — Official Omani rial symbol from supplied reference
   ========================================================= */
.omr-symbol{
  display:inline-block;
  width:22px;
  height:16px;
  margin-inline-start:4px;
  vertical-align:-2px;
  background:currentColor;
  -webkit-mask-image:url("images/omani-rial-symbol.png");
  mask-image:url("images/omani-rial-symbol.png");
  -webkit-mask-repeat:no-repeat;
  mask-repeat:no-repeat;
  -webkit-mask-position:center;
  mask-position:center;
  -webkit-mask-size:contain;
  mask-size:contain;
  color:inherit;
  flex:0 0 auto;
}

/* Price context: match the existing Oman Academy navy/blue price styling. */
.price-row .omr-symbol,
.subject-price .omr-symbol,
.price .omr-symbol{
  color:currentColor;
}

@media(max-width:680px){
  .omr-symbol{
    width:20px;
    height:15px;
  }
}


/* =========================================================
   V7.11 — Omani Rial: robust visible implementation
   Official usage rules applied:
   - symbol visually LEFT of numeral
   - clear space between symbol and numeral
   - proportions preserved
   - height aligned to numeral
   - no CSS mask (Safari/iPhone-safe normal IMG)
   ========================================================= */
.price-amount{
  display:inline-flex !important;
  align-items:center;
  justify-content:flex-start;
  direction:ltr !important;
  gap:6px;
  white-space:nowrap;
  vertical-align:middle;
}
.omr-symbol-img{
  display:block;
  width:24px;
  height:auto;
  max-height:18px;
  object-fit:contain;
  object-position:center;
  flex:0 0 auto;
}
.price-amount > span{
  display:inline-block;
  line-height:1;
}
@media(max-width:680px){
  .omr-symbol-img{
    width:22px;
    max-height:17px;
  }
}


/* =========================================================
   V7.12 — Currency + professional subject icons
   ========================================================= */

/* Omani Rial symbol:
   symbol is visually to the LEFT of the number,
   with clear spacing and preserved geometry. */
.price-amount{
  display:inline-flex!important;
  align-items:center!important;
  direction:ltr!important;
  gap:7px!important;
  white-space:nowrap!important;
  line-height:1!important;
}
.omr-symbol-img{
  display:block!important;
  width:27px!important;
  height:auto!important;
  max-height:20px!important;
  object-fit:contain!important;
  flex:0 0 auto!important;
}
.price-amount > span{
  display:block!important;
  line-height:1!important;
}

/* All custom subject SVGs use the same visual box and optical weight. */
.course-icon .oa-subject-svg{
  width:46px!important;
  height:46px!important;
  display:block!important;
  overflow:visible!important;
  color:currentColor!important;
}
.course-icon .oa-dna-svg,
.course-icon .oa-mosque-svg{
  margin:0!important;
}

@media(max-width:680px){
  .omr-symbol-img{
    width:24px!important;
    max-height:18px!important;
  }
  .course-icon .oa-subject-svg{
    width:40px!important;
    height:40px!important;
  }
}


/* =========================================================
   V7.13 — Pure SVG Omani currency + restored large price
   ========================================================= */

.price-amount{
  display:inline-flex!important;
  align-items:center!important;
  direction:ltr!important;
  gap:7px!important;
  white-space:nowrap!important;
  vertical-align:middle!important;
  color:#063f69!important;
  line-height:1!important;
  font-weight:900!important;
}

/* Vector symbol, no image/mask dependency */
.omr-symbol-svg{
  display:block!important;
  width:31px!important;
  height:20px!important;
  color:currentColor!important;
  overflow:visible!important;
  flex:0 0 auto!important;
}

.price-number{
  display:block!important;
  font-size:26px!important;
  line-height:1!important;
  font-weight:900!important;
  color:currentColor!important;
}

/* Remove any old PNG symbol if browser cached prior markup */
.omr-symbol-img,
.omr-symbol{
  display:none!important;
}

/* Biology DNA — same optical box as other course icons */
.course-icon .oa-dna-svg-v713{
  width:48px!important;
  height:48px!important;
  display:block!important;
  color:currentColor!important;
  overflow:visible!important;
}

@media(max-width:680px){
  .omr-symbol-svg{
    width:28px!important;
    height:18px!important;
  }
  .price-number{
    font-size:24px!important;
  }
  .course-icon .oa-dna-svg-v713{
    width:42px!important;
    height:42px!important;
  }
}


/* =========================================================
   V7.14 — Official traced Omani Rial + clean subject icons
   No layout redesign.
   ========================================================= */

.price-amount{
  display:inline-flex!important;
  align-items:center!important;
  direction:ltr!important;
  gap:6px!important;
  white-space:nowrap!important;
  vertical-align:middle!important;
  color:#063f69!important;
  font-weight:900!important;
  line-height:1!important;
}

/* Preserve official symbol geometry; size matches the earlier large price treatment. */
.omr-symbol-svg{
  display:block!important;
  width:30px!important;
  height:21px!important;
  color:currentColor!important;
  overflow:visible!important;
  flex:0 0 auto!important;
}

.price-number{
  display:block!important;
  font-size:27px!important;
  line-height:1!important;
  font-weight:900!important;
  color:currentColor!important;
}

.course-icon .oa-dna-simple,
.course-icon .oa-ramadan-crescent{
  width:46px!important;
  height:46px!important;
  display:block!important;
  color:currentColor!important;
  overflow:visible!important;
}

@media(max-width:680px){
  .omr-symbol-svg{
    width:27px!important;
    height:19px!important;
  }
  .price-number{
    font-size:25px!important;
  }
  .course-icon .oa-dna-simple,
  .course-icon .oa-ramadan-crescent{
    width:40px!important;
    height:40px!important;
  }
}


/* =========================================================
   V7.17 — Teacher reviews while preserving original cards
   ========================================================= */

/* IMPORTANT: the original .teacher-bio-placeholder remains untouched structurally.
   The button simply fills its old text area. */
.teacher-bio-placeholder .teacher-reviews-legacy-btn{
  width:100%;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  color:#667d8f;
  font-family:inherit;
  font-size:inherit;
  font-weight:800;
  line-height:inherit;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
}
.teacher-bio-placeholder .teacher-reviews-legacy-btn:hover{
  color:#075f89;
}
.teacher-reviews-legacy-star{
  color:#f28a00;
  font-size:10px;
}

/* Modal is completely outside the teacher grid. */
.teacher-reviews-modal{
  position:fixed;
  inset:0;
  z-index:999999;
  display:grid;
  place-items:center;
  padding:18px;
  direction:rtl;
}
.teacher-reviews-modal.hidden{display:none}
.teacher-reviews-backdrop{
  position:absolute;
  inset:0;
  background:rgba(5,28,45,.72);
  backdrop-filter:blur(5px);
}
.teacher-reviews-dialog{
  position:relative;
  z-index:2;
  width:min(760px,100%);
  max-height:min(760px,calc(100vh - 36px));
  overflow:auto;
  background:#fff;
  border:1px solid rgba(7,61,103,.08);
  border-radius:24px;
  box-shadow:0 28px 90px rgba(0,0,0,.28);
  padding:22px;
}
.teacher-reviews-close{
  position:absolute;
  left:14px;
  top:14px;
  width:35px;
  height:35px;
  border:0;
  border-radius:10px;
  background:#f0f5f8;
  color:#526b7b;
  font-family:inherit;
  font-size:22px;
  line-height:1;
  cursor:pointer;
}
.teacher-reviews-dialog-head{
  text-align:center;
  padding:4px 42px 18px;
}
.teacher-reviews-kicker{
  display:inline-block;
  color:#f28a00;
  font-size:10px;
  font-weight:900;
  margin-bottom:5px;
}
.teacher-reviews-dialog-head h3{
  margin:0;
  color:#073d67;
  font-size:24px;
  line-height:1.35;
}
.teacher-reviews-dialog-head p{
  margin:4px 0 0;
  color:#698092;
  font-size:12px;
  font-weight:800;
}
.teacher-reviews-modal-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:11px;
}
.teacher-review-modal-card{
  min-width:0;
  background:linear-gradient(180deg,#fffaf3 0%,#fff 100%);
  border:1px solid #f1d5ad;
  border-radius:16px;
  padding:14px 15px;
  box-shadow:0 7px 22px rgba(7,61,103,.055);
}
.teacher-review-modal-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.teacher-review-number{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#eef7fb;
  color:#087ba4;
  font-size:9px;
  font-weight:900;
}
.teacher-review-modal-stars{
  color:#f28a00;
  font-size:11px;
  letter-spacing:1px;
  direction:ltr;
}
.teacher-review-modal-card p{
  margin:0;
  color:#29475f;
  font-size:12px;
  line-height:1.9;
  font-weight:650;
}
.teacher-review-modal-meta{
  display:block;
  margin-top:9px;
  padding-top:8px;
  border-top:1px solid #f0e7da;
  color:#9aa8b3;
  font-size:9px;
}
.teacher-reviews-demo-note{
  margin-top:14px;
  padding:10px 12px;
  border-radius:11px;
  background:#f7fafc;
  color:#8b9ba7;
  font-size:9.5px;
  line-height:1.7;
  text-align:center;
}
@media(max-width:680px){
  .teacher-reviews-modal{padding:10px}
  .teacher-reviews-dialog{border-radius:18px;padding:17px 13px 14px}
  .teacher-reviews-dialog-head{padding:4px 36px 14px}
  .teacher-reviews-dialog-head h3{font-size:20px}
  .teacher-reviews-modal-grid{grid-template-columns:1fr;gap:8px}
}


/* =========================================================
   V7.18 — Refined teacher reviews button
   ========================================================= */

.teacher-bio-placeholder{
  padding:0!important;
  min-height:42px;
  display:flex;
  align-items:stretch;
  border-top:1px solid #e8eef2;
}

.teacher-bio-placeholder .teacher-reviews-legacy-btn{
  width:100%;
  min-height:41px;
  margin:0;
  padding:0 12px;
  border:0;
  background:linear-gradient(180deg,#fbfdfe 0%,#f7fafc 100%);
  color:#49677c;
  font-family:inherit;
  font-size:10px;
  font-weight:900;
  line-height:1;
  cursor:pointer;
  display:grid;
  grid-template-columns:24px 1fr 18px;
  align-items:center;
  gap:7px;
  border-radius:0 0 17px 17px;
  transition:background .16s ease,color .16s ease;
}

.teacher-bio-placeholder .teacher-reviews-legacy-btn:hover{
  background:#eef7fb;
  color:#075f89;
}

.teacher-reviews-legacy-icon{
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  border-radius:7px;
  background:#eaf5fa;
  color:#087ca4;
}

.teacher-reviews-legacy-icon svg{
  width:14px;
  height:14px;
  display:block;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.teacher-reviews-legacy-arrow{
  color:#9aabb7;
  font-size:18px;
  font-weight:500;
  line-height:1;
  transform:translateY(-1px);
}

.teacher-reviews-open{
  overflow:hidden!important;
}

/* make modal reliably clickable above everything */
.teacher-reviews-modal{
  pointer-events:auto!important;
}
.teacher-reviews-modal.hidden{
  display:none!important;
}
.teacher-reviews-backdrop{
  cursor:pointer;
}
.teacher-reviews-dialog{
  pointer-events:auto!important;
}

@media(max-width:680px){
  .teacher-bio-placeholder{
    min-height:40px;
  }
  .teacher-bio-placeholder .teacher-reviews-legacy-btn{
    min-height:39px;
    padding:0 10px;
    font-size:9.5px;
    grid-template-columns:22px 1fr 16px;
  }
}

/* V7.27 — unified subject symbols in teacher cards */
.teacher-photo .oa-subject-svg{width:42px;height:42px;display:block;color:currentColor}
.teacher-photo .oa-biology-leaf{width:44px;height:44px}

/* V7.28 — Teacher cards: use teacher first-name initial instead of subject icons */
#teachers .teacher-photo .teacher-initial{
  display:grid;place-items:center;width:100%;height:100%;
  color:#fff;font-family:"Tajawal",sans-serif;font-size:30px;font-weight:900;
  line-height:1;direction:rtl;text-align:center;
}


/* V7.29 — cleaner YouTube sample player, no poster */
.sample-modal{padding:18px}
.sample-backdrop{background:rgba(3,24,40,.78);backdrop-filter:blur(7px)}
.sample-box.sample-box-clean{
  width:min(780px,calc(100vw - 28px));
  padding:0 0 18px;
  border-radius:20px;
  overflow:visible;
  box-shadow:0 34px 100px rgba(0,0,0,.42);
}
.sample-video-clean{
  margin:0 0 18px;
  border-radius:20px 20px 0 0;
  overflow:hidden;
  background:#000;
}
.sample-video-clean iframe{background:#000}
.sample-box-clean h3,
.sample-box-clean>p,
.sample-box-clean>.btn{margin-left:20px;margin-right:20px}
.sample-box-clean h3{font-size:22px;line-height:1.4;margin-top:0;margin-bottom:6px;color:var(--deep)}
.sample-box-clean>p{font-size:14px;line-height:1.8;margin-bottom:15px}
.sample-box-clean>.btn.full{width:calc(100% - 40px)}
.sample-close.sample-close-clean{
  left:-10px;top:-10px;z-index:6;
  width:38px;height:38px;border-radius:50%;
  background:#fff;color:#476174;border:1px solid #dce8ef;
  box-shadow:0 8px 22px rgba(0,0,0,.16);
  font-size:25px;line-height:36px;
}
@media(max-width:680px){
  .sample-modal{padding:10px}
  .sample-box.sample-box-clean{width:calc(100vw - 20px);border-radius:17px;padding-bottom:14px}
  .sample-video-clean{border-radius:17px 17px 0 0;margin-bottom:14px}
  .sample-box-clean h3{font-size:18px}
  .sample-box-clean h3,.sample-box-clean>p,.sample-box-clean>.btn{margin-left:14px;margin-right:14px}
  .sample-box-clean>.btn.full{width:calc(100% - 28px)}
  .sample-close.sample-close-clean{left:-4px;top:-8px;width:36px;height:36px}
}

/* V7.30 — Oman Academy Clean YouTube Player */
.oa-clean-player{position:relative;background:#05090d;overflow:hidden;aspect-ratio:16/9}
.oa-clean-player #samplePlayer,.oa-clean-player #samplePlayer iframe{width:100%!important;height:100%!important;display:block;border:0}
.oa-player-controls{position:absolute;z-index:6;left:12px;right:12px;bottom:10px;height:46px;display:flex;align-items:center;gap:9px;padding:0 10px;border-radius:13px;background:rgba(4,19,33,.84);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);box-shadow:0 8px 24px rgba(0,0,0,.22);direction:ltr}
.oa-control{border:0;background:transparent;color:#fff;width:32px;height:32px;border-radius:9px;display:grid;place-items:center;font:700 17px/1 Arial;cursor:pointer;padding:0}
.oa-control:hover{background:rgba(255,255,255,.12)}
.oa-play{font-size:16px}
.oa-time{color:#fff;font:600 11px/1.2 Arial;min-width:34px;text-align:center;direction:ltr}
.oa-progress{flex:1;min-width:70px;height:4px;accent-color:#ff8a00;cursor:pointer}
@media(max-width:600px){.oa-player-controls{left:7px;right:7px;bottom:7px;height:40px;padding:0 6px;gap:5px;border-radius:10px}.oa-control{width:28px;height:28px;font-size:14px}.oa-time{font-size:10px;min-width:30px}}


/* =========================================================
   V7.31 — Clean Player refinements
   ========================================================= */

/* Smoothly hide the custom bottom bar after inactivity. */
.oa-clean-player .oa-player-controls,
.clean-youtube-player .player-controls,
.sample-player-shell .sample-player-controls,
.sample-video-wrap .sample-player-controls{
  transition:opacity .22s ease, transform .22s ease;
}

.oa-clean-player.oa-controls-hidden .oa-player-controls,
.clean-youtube-player.oa-controls-hidden .player-controls,
.sample-player-shell.oa-controls-hidden .sample-player-controls,
.sample-video-wrap.oa-controls-hidden .sample-player-controls{
  opacity:0!important;
  transform:translateY(12px)!important;
  pointer-events:none!important;
}

/* Keep controls visible while keyboard focus is inside them. */
.oa-clean-player:focus-within .oa-player-controls,
.clean-youtube-player:focus-within .player-controls,
.sample-player-shell:focus-within .sample-player-controls,
.sample-video-wrap:focus-within .sample-player-controls{
  opacity:1!important;
  transform:none!important;
  pointer-events:auto!important;
}


/* =========================================================
   V7.32 — EXACT clean-player behavior
   Targets the real .oa-player-controls element.
   ========================================================= */

.oa-clean-player .oa-player-controls{
  transition:
    opacity .22s ease,
    transform .22s ease,
    visibility .22s ease!important;
  opacity:1;
  visibility:visible;
  transform:translateY(0);
}

.oa-clean-player.oa-controls-hidden .oa-player-controls{
  opacity:0!important;
  visibility:hidden!important;
  transform:translateY(10px)!important;
  pointer-events:none!important;
}

/* Full video interaction surface.
   It sits above the YouTube iframe but below our custom controls. */
.oa-player-touch-layer{
  position:absolute;
  inset:0;
  z-index:5;
  width:100%;
  height:100%;
  padding:0;
  margin:0;
  border:0;
  outline:0;
  background:transparent;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  touch-action:manipulation;
}

/* Custom controls remain above the interaction layer. */
.oa-player-controls{
  z-index:7!important;
}

/* Keep close button and modal UI unaffected. */
.sample-close{
  z-index:20!important;
}

/* On touch devices do not leave a visible tap highlight. */
@media (hover:none){
  .oa-player-touch-layer{cursor:default}
}
