:root {
  color-scheme: light;
  --page-bg: #eef3f7;
  --surface: #fffefe;
  --surface-soft: #f0f4f6;
  --ink: #24313d;
  --muted: #65737f;
  --navy: #243a50;
  --olive: #727c47;
  --olive-deep: #566238;
  --lavender: #9485a7;
  --lavender-soft: #efebf2;
  --silver: #c4cace;
  --silver-soft: #eceff0;
  --line: #d5dee5;
  --shadow: 0 14px 34px rgba(36, 49, 61, .09);
  --radius: 22px;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/tajawal-arabic-500.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("assets/fonts/tajawal-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/tajawal-arabic-800.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC, U+102E0-102FB, U+10E60-10E7E, U+10EC2-10EC7, U+10EC9-10EEE, U+10EF0-10EFF, U+1EE00-1EE03, U+1EE05-1EE1F, U+1EE21-1EE22, U+1EE24, U+1EE27, U+1EE29-1EE32, U+1EE34-1EE37, U+1EE39, U+1EE3B, U+1EE42, U+1EE47, U+1EE49, U+1EE4B, U+1EE4D-1EE4F, U+1EE51-1EE52, U+1EE54, U+1EE57, U+1EE59, U+1EE5B, U+1EE5D, U+1EE5F, U+1EE61-1EE62, U+1EE64, U+1EE67-1EE6A, U+1EE6C-1EE72, U+1EE74-1EE77, U+1EE79-1EE7C, U+1EE7E, U+1EE80-1EE89, U+1EE8B-1EE9B, U+1EEA1-1EEA3, U+1EEA5-1EEA9, U+1EEAB-1EEBB, U+1EEF0-1EEF1;
}
@font-face {
  font-family: "Tajawal";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/tajawal-latin-800.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Nunito Sans";
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url("assets/fonts/nunito-sans-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: var(--page-bg); color: var(--ink); font-family: "Tajawal", Tahoma, Arial, sans-serif; font-weight: 500; line-height: 1.75; }
html[lang="en"] body { font-family: "Nunito Sans", "Tajawal", Arial, sans-serif; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.hidden { display: none !important; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--olive); outline-offset: 3px; }
.topbar { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid var(--line); background: rgba(238,243,247,.96); backdrop-filter: blur(14px); }
.topbar-inner { width: min(1240px, 94%); min-height: 74px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; color: var(--navy); }
.brand-logo-frame { display: grid; width: 50px; height: 54px; place-items: center; overflow: visible; }
.brand-logo { display: block; width: 48px; height: 52px; object-fit: contain; }
.logo-blend { mix-blend-mode: multiply; }
.brand-text { display: grid; min-width: 0; line-height: 1.35; }
.brand-text strong { color: var(--navy); font-family: "Tajawal", sans-serif; font-size: 24px; font-weight: 900; letter-spacing: .02em; line-height: 1; }
.brand-text small { max-width: 240px; margin-top: 3px; color: var(--muted); font-size: 11px; }
.top-actions { display: flex; align-items: center; gap: 8px; }
.icon-button, .button { min-height: 44px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface); color: var(--navy); font-weight: 800; transition: transform .2s ease, background .2s ease, box-shadow .2s ease; }
.icon-button { min-height: 40px; padding: 8px 13px; font-size: 12px; white-space: nowrap; }
.icon-button:hover, .button:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(36,49,61,.12); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; text-align: center; }
.button-primary { border-color: var(--navy); background: var(--navy); color: #fff; box-shadow: 0 8px 20px rgba(36,58,80,.15); }
.button-primary:hover { background: #1b3044; }
.button-quiet { background: transparent; }
.button-arrow { display: inline-block; font-size: 18px; line-height: 1; }
.app-shell { min-height: calc(100vh - 137px); background: var(--page-bg); }
#screenRoot { min-height: inherit; }
.screen { width: min(1120px, 92%); min-height: calc(100vh - 137px); margin-inline: auto; padding: clamp(22px, 4vw, 46px) 0; animation: page-enter .28s ease both; }
@keyframes page-enter { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: translateY(0); } }
.home-screen { width: 100%; max-width: none; min-height: calc(100vh - 137px); padding: 26px 20px 34px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; background: var(--page-bg); }
.home-screen::before, .home-screen::after { position: absolute; z-index: 0; width: 29vw; height: 29vw; min-width: 220px; min-height: 220px; max-width: 430px; max-height: 430px; border: 1px solid rgba(196,202,206,.45); border-radius: 50%; content: ""; pointer-events: none; }
.home-screen::before { top: -16%; inset-inline-start: -10%; }
.home-screen::after { bottom: -25%; inset-inline-end: -8%; width: 36vw; height: 36vw; }
.home-stage { position: relative; z-index: 1; width: min(790px, 100%); display: flex; flex-direction: column; align-items: center; text-align: center; }
.home-kicker, .screen-kicker { display: inline-flex; align-items: center; gap: 8px; width: fit-content; padding: 6px 14px; border: 1px solid var(--silver); border-radius: 999px; background: var(--surface); color: var(--navy); font-size: 12px; font-weight: 900; letter-spacing: .02em; }
.home-brand-name { margin: 9px 0 2px; color: var(--navy); font-family: "Tajawal", sans-serif; font-size: clamp(40px,5vw,52px); font-weight: 900; letter-spacing: .03em; line-height: 1.05; }
html[lang="en"] .home-brand-name { font-family: "Nunito Sans", sans-serif; letter-spacing: .01em; }
.logo-stage { position: relative; display: grid; width: clamp(185px, 25vw, 270px); aspect-ratio: 1 / 1.05; place-items: center; margin: 3px 0 5px; }
.logo-stage::before { position: absolute; inset: 10%; border: 1px solid rgba(114,124,71,.35); border-radius: 50%; content: ""; animation: orbit 18s linear infinite; }
.logo-stage::after { position: absolute; inset: 20%; border: 1px dashed rgba(148,133,167,.32); border-radius: 50%; content: ""; animation: orbit 24s linear infinite reverse; }
.logo-glow { position: absolute; inset: 24%; border-radius: 50%; background: radial-gradient(circle, rgba(255,254,250,.92), rgba(196,202,206,.18) 70%, transparent 73%); filter: blur(5px); }
.hero-logo { position: relative; z-index: 1; width: 78%; height: 82%; object-fit: contain; mix-blend-mode: multiply; filter: drop-shadow(0 14px 14px rgba(36,49,61,.16)); animation: logo-float 4.8s ease-in-out infinite, logo-reveal .9s ease both; }
@keyframes logo-float { 0%,100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1deg); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes logo-reveal { from { opacity: .3; scale: .96; } to { opacity: 1; scale: 1; } }
.home-stage h1 { max-width: 760px; margin: 0; color: var(--navy); font-size: clamp(28px, 4.1vw, 43px); line-height: 1.3; }
.home-lead { max-width: 690px; margin: 10px auto 20px; color: var(--muted); font-size: clamp(14px, 1.8vw, 17px); }
.department-actions { width: min(720px, 100%); display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 15px; }
.department-button { min-height: 92px; padding: 15px 19px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--navy); text-align: start; box-shadow: 0 8px 19px rgba(36,49,61,.06); transition: transform .2s ease, box-shadow .2s ease; }
.department-button:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.department-button.social { border-inline-start: 5px solid var(--olive); background: linear-gradient(90deg, var(--surface), var(--lavender-soft)); }
.department-button.psych { border-inline-start: 5px solid var(--navy); background: linear-gradient(90deg, var(--surface), var(--silver-soft)); }
.department-button-copy { display: grid; gap: 3px; }
.department-button-copy strong { font-size: 18px; }
.department-button-copy small { color: var(--muted); font-size: 12px; }
.department-button .button-arrow { display: grid; width: 40px; height: 40px; flex: 0 0 40px; place-items: center; border-radius: 50%; background: var(--silver-soft); color: var(--navy); font-size: 20px; }
.home-shortcuts { position: relative; z-index: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 9px; margin-top: 15px; }
.shortcut { padding: 7px 12px; border: 1px solid transparent; border-radius: 99px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 800; }
.shortcut:hover { border-color: var(--line); background: var(--surface); color: var(--navy); }
.page-head, .section-intro { margin-bottom: 23px; }
.page-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.breadcrumb { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; color: var(--muted); font-size: 12px; }
.breadcrumb button { padding: 0; border: 0; background: none; color: var(--navy); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.page-title { margin: 8px 0 4px; color: var(--navy); font-size: clamp(29px, 4vw, 42px); line-height: 1.25; }
.page-description { max-width: 840px; margin: 0; color: var(--muted); font-size: 15px; }
.section-intro { padding-inline-start: 4px; }
.section-description { max-width: 780px; margin: 11px 0 0; color: var(--muted); }
.social-theme .screen-kicker { border-color: rgba(148,133,167,.4); background: var(--lavender-soft); color: var(--olive-deep); }
.psych-theme .screen-kicker { border-color: var(--silver); background: var(--silver-soft); color: var(--navy); }
.social-theme .page-title { color: var(--olive-deep); }
.psych-theme .page-title { color: var(--navy); }
.start-panel { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 24px; padding: clamp(22px,4vw,36px); border: 1px solid var(--line); border-inline-start: 6px solid var(--olive); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.social-theme .start-panel { border-inline-start-color: var(--olive); background: linear-gradient(110deg, var(--surface), var(--lavender-soft)); }
.psych-theme .start-panel { border-inline-start-color: var(--navy); background: linear-gradient(110deg, var(--surface), var(--silver-soft)); }
.panel-kicker { display: inline-block; color: var(--muted); font-size: 12px; font-weight: 900; }
.start-panel h2 { margin: 5px 0; color: var(--navy); font-size: clamp(22px,3vw,29px); line-height: 1.35; }
.social-theme .start-panel h2 { color: var(--olive-deep); }
.start-panel p { max-width: 720px; margin: 0; color: var(--muted); }
.section-topic-count { display: inline-block; margin-top: 12px; padding: 5px 11px; border: 1px solid var(--silver); border-radius: 999px; background: rgba(255,254,250,.85); color: var(--navy); font-size: 12px; font-weight: 800; }
.start-panel-action { min-width: 190px; }
.social-theme .section-start-button { border-color: var(--olive-deep); background: var(--olive-deep); }
.problem-screen { padding-top: 25px; }
.problem-top { display: grid; grid-template-columns: minmax(0,1fr) 148px; gap: 22px; align-items: center; padding: clamp(20px,3.2vw,30px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: 0 8px 22px rgba(36,49,61,.055); }
.problem-top h1 { margin: 8px 0 7px; color: var(--navy); font-size: clamp(27px,3.7vw,39px); line-height: 1.28; }
.problem-top p { max-width: 800px; margin: 0; color: var(--muted); }
.problem-index { display: grid; width: 126px; aspect-ratio: 1; place-items: center; justify-self: center; border: 1px solid var(--silver); border-radius: 50%; background: var(--page-bg); color: var(--navy); text-align: center; }
.social-theme .problem-index { border-color: rgba(114,124,71,.55); background: var(--lavender-soft); color: var(--olive-deep); }
.psych-theme .problem-index { border-color: var(--silver); background: var(--silver-soft); }
.problem-index strong { display: block; font-size: 36px; line-height: 1.1; }
.problem-index span { font-size: 11px; font-weight: 800; }
.problem-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; margin-top: 14px; }
.info-card { padding: clamp(17px,2.2vw,22px); border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.info-card h2 { margin: 0 0 9px; color: var(--navy); font-size: 18px; line-height: 1.4; }
.info-card p { margin: 0; color: var(--ink); }
.info-card ul { display: grid; gap: 7px; margin: 0; padding-inline-start: 20px; }
.info-card li { padding-inline-start: 3px; color: #3f4a52; font-size: 14px; }
.info-card li::marker { color: var(--olive); }
.problem-description-card { grid-column: 1 / -1; border-inline-start: 5px solid var(--lavender); }
.social-theme .problem-description-card { border-inline-start-color: var(--olive); }
.psych-theme .problem-description-card { border-inline-start-color: var(--navy); }
.signs-card { border-top: 3px solid var(--lavender); }
.social-theme .signs-card { border-top-color: var(--olive); }
.factors-card { border-top: 3px solid var(--silver); }
.solution-card { border-top: 3px solid var(--olive); background: var(--surface); }
.solution-card h2 { display: flex; align-items: center; gap: 8px; }
.solution-card h2::before { content: "✓"; color: var(--olive-deep); }
.psych-theme .solution-card { border-top-color: var(--navy); }
.psych-theme .solution-card h2::before { color: var(--navy); }
.avoid-card { border-inline-start: 5px solid var(--silver); background: var(--surface-soft); }
.specialist-card { grid-column: 1 / -1; border-color: var(--silver); background: var(--silver-soft); }
.specialist-card h2 { margin-bottom: 6px; }
.safeguarding-note { margin-top: 11px !important; padding-top: 10px; border-top: 1px solid var(--silver); color: var(--muted) !important; font-size: 13px; }
.problem-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin-top: 18px; }
.problem-actions .button { flex: 1 1 170px; }
.social-theme .problem-actions .button-primary { border-color: var(--olive-deep); background: var(--olive-deep); }
.form-panel { max-width: 760px; margin: 16px auto; padding: clamp(22px,4vw,36px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.thursday-group-panel { max-width: 760px; margin: 12px auto 14px; padding: 16px 20px; display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 14px; border: 1px solid var(--line); border-inline-start: 5px solid var(--olive); border-radius: 17px; background: linear-gradient(110deg, var(--surface), var(--silver-soft)); }
.thursday-group-panel h2 { margin: 0 0 4px; color: var(--navy); font-size: 18px; line-height: 1.35; }
.thursday-group-panel p { margin: 0; color: var(--muted); font-size: 13px; }
.thursday-group-button[aria-disabled="true"] { border-color: var(--line); background: var(--surface-soft); color: var(--muted); box-shadow: none; }
.form-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.form-grid label { display: grid; gap: 5px; color: var(--navy); font-size: 12px; font-weight: 900; }
.form-grid .full { grid-column: 1 / -1; }
.form-control { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid var(--silver); border-radius: 12px; background: var(--surface); color: var(--ink); }
textarea.form-control { min-height: 135px; resize: vertical; }
.contact-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 18px; }
.contact-card { padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: var(--surface); }
.contact-card strong { display: block; margin: 5px 0; color: var(--navy); }
.contact-card p { margin: 0 0 13px; color: var(--muted); font-size: 13px; }
.contact-email-label { display: block; color: var(--muted); font-size: 12px; font-weight: 700; }
.contact-email { display: inline-block; max-width: 100%; margin: 3px 0 13px; color: var(--navy); font-size: 14px; font-weight: 900; overflow-wrap: anywhere; text-underline-offset: 3px; }
.contact-email-action { width: 100%; }
.footer-inner { width: min(1120px,92%); margin-inline: auto; padding-block: 15px; display: grid; justify-items: center; gap: 9px; color: var(--muted); font-size: 11px; text-align: center; }
.footer-overview { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; }
.footer-people { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 18px; color: var(--navy); font-weight: 700; }
.footer-design { display: grid; justify-items: center; line-height: 1.45; }
.footer-design strong { color: var(--olive-deep); font-weight: 900; }
.site-footer { border-top: 1px solid var(--line); background: var(--page-bg); }
.toast { position: fixed; z-index: 50; inset-inline-start: 18px; inset-block-end: 18px; max-width: min(450px,calc(100% - 36px)); padding: 13px 17px; border: 1px solid rgba(255,255,255,.35); border-radius: 13px; background: var(--navy); color: #fff; box-shadow: var(--shadow); }
@media (max-width: 760px) {
  .contact-grid { grid-template-columns: 1fr; }
  .start-panel { grid-template-columns: 1fr; }
  .start-panel-action { min-width: 0; }
  .thursday-group-panel { grid-template-columns: 1fr; }
  .thursday-group-button { width: 100%; }
}
@media (max-width: 640px) {
  .topbar-inner { width: 94%; min-height: 68px; flex-wrap: wrap; gap: 4px; padding-block: 7px; }
  .brand { flex: 1 1 auto; }
  .brand-logo-frame { width: 39px; height: 43px; }
  .brand-logo { width: 37px; height: 41px; }
  .brand-text strong { font-size: 19px; }
  .brand-text small { max-width: 210px; font-size: 9px; }
  .top-actions { gap: 5px; }
  .icon-button { min-height: 35px; padding: 6px 8px; font-size: 10px; }
  .home-button { display: none; }
  .screen { width: 92%; padding-block: 20px 26px; }
  .home-screen { width: 100%; min-height: calc(100svh - 128px); padding-inline: 15px; }
  .logo-stage { width: clamp(170px,47vw,220px); }
  .home-brand-name { margin-top: 7px; font-size: clamp(36px,10vw,43px); }
  .home-stage h1 { font-size: clamp(26px,7.5vw,34px); }
  .home-lead { margin-bottom: 15px; font-size: 14px; }
  .department-actions { grid-template-columns: 1fr; gap: 9px; }
  .department-button { min-height: 73px; padding: 11px 14px; }
  .department-button-copy strong { font-size: 16px; }
  .home-shortcuts { margin-top: 10px; }
  .page-nav { align-items: flex-start; }
  .page-nav > .button { min-height: 40px; padding: 7px 10px; font-size: 12px; }
  .page-title { font-size: 28px; }
  .page-description, .section-description { font-size: 13px; }
  .start-panel { padding: 18px; gap: 16px; }
  .start-panel h2 { font-size: 21px; }
  .problem-top { grid-template-columns: 1fr; gap: 10px; }
  .problem-index { width: 82px; justify-self: start; }
  .problem-index strong { font-size: 24px; }
  .problem-index span { font-size: 9px; }
  .problem-layout { grid-template-columns: 1fr; gap: 10px; }
  .problem-description-card, .specialist-card { grid-column: auto; }
  .problem-actions { display: grid; grid-template-columns: 1fr; }
  .problem-actions .button { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .form-grid .full { grid-column: auto; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
