/* =========================================================
   Community Vision International School (CVIS) — Main Styles
   ========================================================= */

:root{
  --navy-950:#070f2b;
  --navy-900:#0b1a42;
  --navy-800:#0f204d;
  --navy-700:#152a5c;
  --navy-600:#1c3670;
  --gold-700:#8a691f;
  --gold-600:#a9822e;
  --gold-500:#c9a04a;
  --gold-400:#d9b86a;
  --gold-300:#e8d29a;
  --cream:#f7f3ea;
  --white:#ffffff;
  --ink:#182242;
  --text-muted:#c9d0e6;
  --shadow-lg: 0 30px 60px -20px rgba(3,8,26,0.55);
  --shadow-md: 0 14px 34px -12px rgba(3,8,26,0.4);
  --radius-lg: 42px;
  --radius-md: 22px;
  --radius-sm: 12px;
  --font-en: 'Poppins', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-ar: 'Cairo', 'Tajawal', sans-serif;
  --container: 1240px;
}

*,*::before,*::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; scroll-padding-top: 92px; }
body{
  margin:0;
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-body);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
html[lang="ar"] body{ font-family: var(--font-ar); }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
button{ font-family:inherit; cursor:pointer; }
input,textarea,select{ font-family:inherit; }
h1,h2,h3,h4{ font-family: var(--font-en); margin:0; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] h4{ font-family: var(--font-ar); }
section{ position:relative; }
.container{ max-width: var(--container); margin:0 auto; padding:0 28px; }

/* ---------- Utility ---------- */
.eyebrow{
  display:inline-block; color: var(--gold-500); font-weight:700;
  letter-spacing:.06em; text-transform:uppercase; font-size:.85rem; margin-bottom:10px;
}
.section-title{ font-size: clamp(1.7rem, 3vw, 2.4rem); font-weight:700; color:var(--white); }
.section-lede{ color: var(--text-muted); max-width: 760px; margin-top:14px; font-size:1.02rem; }
.gold{ color: var(--gold-500); }
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:15px 34px; border-radius:999px; font-weight:700; border:none;
  font-size:.95rem; letter-spacing:.02em; transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor:pointer;
}
.btn-gold{ background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); box-shadow: var(--shadow-md); }
.btn-gold:hover{ transform: translateY(-2px); box-shadow: 0 18px 36px -10px rgba(201,160,74,.55); }
.btn-outline{ background:transparent; color:var(--white); border:1.5px solid rgba(255,255,255,.5); }
.btn-outline:hover{ background:rgba(255,255,255,.08); border-color: var(--gold-400); }
.btn-ghost-x{ background: rgba(255,255,255,.06); color: var(--white); border:1.5px solid rgba(255,255,255,.25); }
.btn-ghost-x:hover{ background: rgba(255,255,255,.14); }
.btn-block{ width:100%; }
.btn-row{ display:flex; gap:16px; flex-wrap:wrap; margin-top:28px; }

.pill-badge{
  position:absolute; top:-26px; inset-inline-end:34px;
  width:110px; height:110px; border-radius:50%;
  background: radial-gradient(circle at 30% 30%, var(--gold-400), var(--gold-700));
  color: var(--navy-950); display:flex; align-items:center; justify-content:center;
  text-align:center; font-weight:800; font-size:.92rem; line-height:1.2;
  box-shadow: var(--shadow-md); border: 3px solid rgba(255,255,255,.35);
  z-index:3;
}

.curve-panel{
  background: var(--navy-800);
  border-radius: var(--radius-lg);
  position:relative;
  box-shadow: var(--shadow-lg);
}
.watermark{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  opacity:.05; pointer-events:none; overflow:hidden; border-radius:inherit;
}
.watermark img{ width:120%; max-width:none; }

/* ---------- Top Nav ---------- */
.topnav{
  position: fixed; inset-inline:0; top:0; z-index:100;
  background: linear-gradient(180deg, rgba(7,14,38,.92), rgba(7,14,38,.72));
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(255,255,255,.08);
  transition: background .3s ease, padding .3s ease;
}
.topnav .container{
  display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding-top:14px; padding-bottom:14px;
}
.brand{ display:flex; align-items:center; gap:12px; font-family:var(--font-en); font-weight:800; letter-spacing:.02em; }
.brand img{ width:46px; height:46px; border-radius:50%; }
.brand span{ font-size:.98rem; line-height:1.15; color:var(--white); }
.brand small{ display:block; color:var(--gold-400); font-weight:600; font-size:.68rem; letter-spacing:.12em; }

.nav-links{ display:flex; align-items:center; gap:30px; }
.nav-links a{
  font-size:.86rem; font-weight:600; color:var(--text-muted); position:relative; padding-bottom:6px;
  white-space:nowrap;
}
.nav-links a::after{
  content:""; position:absolute; left:0; right:0; bottom:0; height:2px; background: var(--gold-500);
  transform: scaleX(0); transform-origin:center; transition: transform .25s ease;
}
.nav-links a:hover, .nav-links a.active{ color: var(--white); }
.nav-links a:hover::after, .nav-links a.active::after{ transform: scaleX(1); }

.nav-tools{ display:flex; align-items:center; gap:14px; }
.lang-toggle{
  border:1.5px solid rgba(255,255,255,.35); background:transparent; color:var(--white);
  padding:8px 16px; border-radius:999px; font-weight:700; font-size:.78rem; letter-spacing:.05em;
}
.lang-toggle:hover{ border-color: var(--gold-400); color: var(--gold-400); }
.burger{ display:none; flex-direction:column; gap:5px; background:none; border:none; padding:6px; }
.burger span{ width:26px; height:2px; background:var(--white); border-radius:2px; }

/* ---------- Hero ---------- */
.hero{
  position:relative; min-height:100vh; display:flex; align-items:stretch; overflow:hidden;
  background: var(--navy-900);
}
.hero-photo{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
  filter: saturate(.35) brightness(.9) sepia(.35) hue-rotate(178deg) contrast(1.05);
  opacity:.9;
}
.hero-photo-overlay{
  position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(6,12,34,.35) 0%, rgba(6,12,34,.15) 40%, rgba(11,26,66,.55) 62%, var(--navy-900) 78%);
}
.hero-diagonal{
  position:absolute; inset:0; z-index:2;
  clip-path: polygon(64% 0, 78% 0, 46% 100%, 32% 100%);
  background: linear-gradient(180deg, var(--gold-500), var(--gold-700));
  opacity:.92;
}
.hero-right{
  position:absolute; inset:0; z-index:1;
  clip-path: polygon(78% 0, 100% 0, 100% 100%, 46% 100%);
  background: var(--navy-900);
}
.hero-inner{
  position:relative; z-index:3; width:100%; display:flex; flex-direction:column; justify-content:center;
  min-height:100vh; padding-top:110px;
}
.hero-title{
  font-family: var(--font-en); font-weight:800; text-transform:uppercase;
  font-size: clamp(2rem, 5.4vw, 4.2rem); line-height:1.05; color:rgba(255,255,255,.94);
  letter-spacing:.01em; padding-inline-start:60px; max-width:640px;
  text-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.hero-emblem{
  position:absolute; z-index:3; top:50%; inset-inline-end:6%; transform:translateY(-50%);
  width:min(30vw, 420px);
  filter: drop-shadow(0 20px 40px rgba(0,0,0,.45));
}
.hero-copyright{
  position:absolute; z-index:3; bottom:32px; inset-inline-start:60px; font-size:.78rem; color:rgba(255,255,255,.75);
  font-weight:700; line-height:1.5;
}
.hero-social{
  position:absolute; z-index:3; bottom:32px; inset-inline-end:6%; display:flex; gap:12px;
}
.hero-social a{
  width:38px; height:38px; border-radius:50%; border:1.5px solid rgba(255,255,255,.5);
  display:flex; align-items:center; justify-content:center; color:var(--white); transition: all .25s ease;
}
.hero-social a:hover{ background: var(--gold-500); border-color:var(--gold-500); color:var(--navy-950); transform: translateY(-3px); }
.hero-social svg{ width:16px; height:16px; }

.hero-navbar{
  position:absolute; z-index:4; inset-inline-start:60px; bottom:118px;
  display:flex; gap:38px; align-items:center;
  background: rgba(9,18,48,.55); backdrop-filter: blur(6px);
  padding:16px 34px; border-radius:6px; border-top:1px solid rgba(255,255,255,.12);
}
.hero-navbar a{ font-size:.86rem; font-weight:600; color: var(--text-muted); }
.hero-navbar a.active{ color: var(--gold-400); }
.hero-navbar a.active::after{ content:""; display:block; height:2px; background:var(--gold-400); margin-top:8px; }
.scroll-cue{
  position:absolute; z-index:4; bottom:26px; left:50%; transform:translateX(-50%);
  width:34px; height:34px; border-radius:50%; border:1.5px solid rgba(255,255,255,.5);
  display:flex; align-items:center; justify-content:center; animation: bob 2s infinite;
}
@keyframes bob{ 0%,100%{ transform:translate(-50%,0);} 50%{ transform:translate(-50%,6px);} }

@media (max-width: 900px){
  .hero{ min-height: auto; flex-direction:column; }
  .hero-inner{ padding-top:120px; min-height:56vh; }
  .hero-title{ padding-inline-start:24px; font-size: clamp(1.6rem, 8vw, 2.4rem); }
  .hero-emblem{ width:52vw; top:auto; position:relative; margin:10px auto 0; inset-inline-end:auto; left:50%; transform:translateX(-50%); }
  .hero-navbar{ display:none; }
  .hero-copyright{ position:relative; inset-inline-start:0; bottom:auto; margin:40px 24px 16px; }
  .hero-social{ position:relative; inset-inline-end:auto; bottom:auto; margin:0 24px 30px; }
  .scroll-cue{ display:none; }
  .brand span{ font-size:.82rem; }
  .brand small{ font-size:.6rem; }
}

/* ---------- Sub nav (in-page sections) ---------- */
.subnav-strip{
  position:sticky; top:78px; z-index:40;
  background: rgba(9,18,48,.85); backdrop-filter: blur(8px);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.subnav-strip .container{ display:flex; gap:30px; overflow-x:auto; padding-top:16px; padding-bottom:16px; scrollbar-width:none; }
.subnav-strip .container::-webkit-scrollbar{ display:none; }
.subnav-strip a{ font-size:.82rem; font-weight:600; color: var(--text-muted); white-space:nowrap; padding-bottom:6px; border-bottom:2px solid transparent; }
.subnav-strip a.active{ color: var(--gold-400); border-color: var(--gold-400); }

/* ---------- Banner photo strips ---------- */
.banner-strip{ position:relative; height: clamp(140px,22vw,280px); overflow:hidden; }
.banner-strip img{ width:100%; height:100%; object-fit:cover; }
.banner-strip::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(7,14,38,.35), rgba(7,14,38,.85)); }
.banner-strip .banner-text{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center; text-align:center;
  z-index:2; font-family:var(--font-en); font-weight:700; font-size: clamp(1.1rem,2.6vw,1.8rem); color:var(--white);
  padding: 0 20px; line-height:1.4; text-shadow: 0 6px 20px rgba(0,0,0,.5);
}
.banner-strip.gold::after{ background: linear-gradient(180deg, rgba(120,90,20,.35), rgba(60,45,10,.75)); }

/* ================= ABOUT ================= */
.about-section{ padding: 110px 0 90px; }
.about-grid{ display:grid; grid-template-columns: 1.15fr .85fr; gap:60px; align-items:center; }
.about-photo-wrap{ position:relative; }
.about-photo-wrap img{
  border-radius: 210px 210px 210px 30px / 260px 260px 260px 40px;
  box-shadow: var(--shadow-lg); width:100%; aspect-ratio: 4/5; object-fit:cover;
}
@media (max-width: 900px){ .about-grid{ grid-template-columns:1fr; } .about-grid{ gap:40px; } }

/* ================= Educational Complex / Levels ================= */
.complex-section{ padding: 90px 0; background: var(--navy-800); }
.levels-track{ margin-top:60px; position:relative; }
.levels-line{ position:relative; display:flex; justify-content:space-between; align-items:center; padding:0 10px; }
.levels-line::before{
  content:""; position:absolute; left:0; right:0; top:50%; height:2px; background: rgba(255,255,255,.25);
}
.level-dot{
  position:relative; z-index:2; width:16px; height:16px; border-radius:50%; background: var(--gold-500);
  border:3px solid var(--navy-800); box-shadow:0 0 0 2px var(--gold-500);
}
.levels-labels{ display:flex; justify-content:space-between; margin-top:18px; }
.levels-labels span{ font-family:var(--font-en); font-weight:800; font-size:clamp(1.4rem,3vw,2.4rem); color:var(--white); }
.levels-groups{ display:flex; justify-content:space-between; margin-top:10px; font-size:.82rem; letter-spacing:.08em; color:var(--text-muted); text-transform:uppercase; }

/* facilities gallery */
.facility-block{ margin-top:80px; display:grid; grid-template-columns: 1fr 1fr; gap:40px; align-items:center; }
.facility-photo{ position:relative; border-radius: var(--radius-lg) var(--radius-lg) 30px var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:16/11; }
.facility-photo img{ width:100%; height:100%; object-fit:cover; transition: opacity .4s ease; }
.facility-photo .tag{ position:absolute; top:22px; left:22px; background:rgba(9,18,48,.75); padding:8px 18px; border-radius:999px; font-size:.78rem; font-weight:700; letter-spacing:.05em; }
.facility-tabs{ display:grid; grid-template-columns: 1fr 1fr; gap:14px; }
.facility-tab{
  padding:16px 20px; border-radius:14px; border:1px solid rgba(255,255,255,.15); background: rgba(255,255,255,.04);
  font-weight:600; font-size:.92rem; text-align:center; transition: all .2s ease;
}
.facility-tab.active{ background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); border-color:transparent; }
.facility-tab:hover:not(.active){ background: rgba(255,255,255,.1); }
.dots-row{ display:flex; gap:8px; justify-content:center; margin-top:22px; }
.dots-row button{ width:8px; height:8px; border-radius:50%; background: rgba(255,255,255,.3); border:none; padding:0; }
.dots-row button.active{ background: var(--gold-500); width:22px; border-radius:6px; transition: width .25s ease; }
@media (max-width: 900px){ .facility-block{ grid-template-columns:1fr; } }

/* ================= School Staff (accordion) ================= */
.staff-section{ padding: 90px 0; }
.accordion{ margin-top:40px; border-top:1px solid rgba(255,255,255,.14); }
.accordion-item{ border-bottom:1px solid rgba(255,255,255,.14); }
.accordion-head{
  width:100%; display:flex; justify-content:space-between; align-items:center; background:none; border:none; color:var(--white);
  padding:22px 4px; font-size:1.05rem; font-weight:700; text-align:start;
}
.accordion-head .plus{
  width:34px; height:34px; border-radius:50%; border:1.5px solid var(--gold-500); color: var(--gold-500);
  display:flex; align-items:center; justify-content:center; flex-shrink:0; transition: transform .3s ease, background .3s ease, color .3s ease;
  font-size:1.2rem; font-weight:400;
}
.accordion-item.open .accordion-head .plus{ background:var(--gold-500); color:var(--navy-950); transform: rotate(135deg); }
.accordion-body{ max-height:0; overflow:hidden; transition: max-height .4s ease; }
.accordion-body p{ color: var(--text-muted); padding: 0 4px 26px; max-width:900px; }
.accordion-item.open .accordion-body{ max-height:400px; }

/* ================= Accreditations ================= */
.accred-section{ padding:0; }
.accred-banner{ position:relative; min-height:420px; display:flex; align-items:center; overflow:hidden; }
.accred-banner img.bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.accred-banner::after{ content:""; position:absolute; inset:0; background: linear-gradient(100deg, rgba(6,12,34,.88) 30%, rgba(6,12,34,.35) 75%); }
.accred-content{ position:relative; z-index:2; padding: 70px 0; }
.accred-logos{ display:flex; gap:26px; margin-top:36px; flex-wrap:wrap; align-items:center; }
.accred-logos .logo-card{ background:var(--white); border-radius:18px; padding:14px 22px; display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-md); height:78px; }
.accred-logos .logo-card img{ max-height:52px; width:auto; }

/* ================= Activities ================= */
.activities-section{ padding:90px 0; background: var(--navy-800); }
.act-toolbar{ display:flex; gap:16px; margin-top:30px; }
.seg-btn{ padding:10px 26px; border-radius:999px; border:1px solid rgba(255,255,255,.25); background:transparent; color:var(--white); font-weight:700; }
.seg-btn.active{ background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color:var(--navy-950); border-color:transparent; }
.act-layout{ margin-top:34px; display:grid; grid-template-columns: 1fr 340px; gap:30px; }
.act-photo{ position:relative; border-radius: var(--radius-lg); overflow:hidden; box-shadow:var(--shadow-lg); aspect-ratio:16/9; }
.act-photo img{ width:100%; height:100%; object-fit:cover; }
.act-photo .badge-round{
  position:absolute; bottom:24px; left:24px; width:96px; height:96px; border-radius:50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-700)); color:var(--navy-950);
  display:flex; align-items:center; justify-content:center; flex-direction:column; font-weight:800; text-align:center; box-shadow: var(--shadow-md);
}
.badge-round small{ font-size:.62rem; letter-spacing:.05em; }
.act-list{ background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1); border-radius:20px; padding:10px; display:flex; flex-direction:column; }
.act-list button{
  background:none; border:none; color:var(--text-muted); text-align:start; padding:14px 16px; border-radius:12px;
  font-size:.92rem; font-weight:600; display:flex; justify-content:space-between; align-items:center;
}
.act-list button.active{ background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color:var(--navy-950); }
.act-list button:hover:not(.active){ background: rgba(255,255,255,.08); }
@media (max-width: 900px){ .act-layout{ grid-template-columns:1fr; } }

/* ================= Working Hours ================= */
.hours-section{ padding:90px 0; }
.hours-grid{ margin-top:40px; display:grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap:26px; }
.hours-card{ background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.12); border-radius:22px; padding:30px; }
.hours-card h4{ color:var(--gold-400); font-size:.95rem; text-transform:uppercase; letter-spacing:.06em; margin-bottom:14px; }
.hours-card .time{ font-size:1.8rem; font-weight:800; font-family:var(--font-en); }
.hours-card .sub{ color:var(--text-muted); font-size:.88rem; margin-top:6px; }

/* ================= Forms (Registration/Payment/Careers/Appointment/Contact) ================= */
.form-section{ padding:110px 0 90px; position:relative; }
.form-card{
  background: var(--navy-800); border-radius: var(--radius-lg); padding: 60px clamp(24px,5vw,64px) 50px;
  position:relative; box-shadow: var(--shadow-lg); overflow:hidden;
}
.form-grid{ display:grid; grid-template-columns:1fr 1fr; gap:26px 34px; margin-top:36px; }
.form-grid.cols-1{ grid-template-columns:1fr; }
.field{ position:relative; }
.field label{ display:block; font-size:.82rem; font-weight:600; color: var(--gold-400); margin-bottom:8px; letter-spacing:.02em; }
.field input, .field select, .field textarea{
  width:100%; background:transparent; border:none; border-bottom:1.5px solid rgba(255,255,255,.3);
  color:var(--white); padding:10px 4px; font-size:.98rem; outline:none; transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus{ border-color: var(--gold-500); }
.field select option{ background: var(--navy-800); color:var(--white); }
.field textarea{ resize:vertical; min-height:90px; border:1.5px solid rgba(255,255,255,.3); border-radius:12px; padding:12px; }
.field.file{ border:1.5px dashed rgba(255,255,255,.35); border-radius:14px; padding:16px; }
.field.file input{ border:none; }
.field-error{ color:#ff9f9f; font-size:.75rem; margin-top:6px; min-height:14px; }
.form-foot-note{ color: var(--text-muted); font-size:.8rem; margin-top:30px; }
.form-success{
  display:none; margin-top:26px; padding:16px 20px; border-radius:14px; background: rgba(97,209,140,.12);
  border:1px solid rgba(97,209,140,.4); color:#8fe8b4; font-weight:600; font-size:.92rem;
}
.form-success.show{ display:block; }

/* Fees */
.fees-section{ padding:90px 0; background: var(--navy-800); }
.fees-grid{ margin-top:40px; display:grid; grid-template-columns: 1fr 1fr; gap:30px; }
.fees-col h4{ color: var(--gold-400); font-family:var(--font-en); font-size:1.15rem; margin-bottom:20px; }
.fee-row{ display:flex; justify-content:space-between; align-items:baseline; padding:16px 0; border-bottom:1px dashed rgba(255,255,255,.18); }
.fee-row span:first-child{ color: var(--text-muted); font-size:.92rem; }
.fee-row span:last-child{ font-weight:800; font-family:var(--font-en); font-size:1.15rem; }
.store-links{ margin-top:44px; display:flex; gap:18px; flex-wrap:wrap; }
.store-links a{
  flex:1; min-width:200px; background: rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.14); border-radius:18px;
  padding:22px; text-align:center; font-weight:700; transition: all .25s ease;
}
.store-links a:hover{ background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950); transform: translateY(-4px); }

/* Calculators: Uniform / Books / Buses */
.calc-section{ padding:90px 0; }
.calc-card{ background: var(--navy-800); border-radius: var(--radius-lg); padding: 56px clamp(22px,5vw,60px); box-shadow: var(--shadow-lg); position:relative; }
.size-table{ margin-top:34px; overflow-x:auto; }
.size-table table{ width:100%; border-collapse:collapse; min-width:640px; }
.size-table th{ text-align:start; color:var(--gold-400); font-size:.82rem; text-transform:uppercase; letter-spacing:.05em; padding-bottom:14px; }
.size-table td{ padding:10px 14px 10px 0; border-top:1px solid rgba(255,255,255,.1); vertical-align:middle; }
.size-table td:first-child{ font-weight:700; color:var(--white); }
.size-table select{
  background: rgba(255,255,255,.05); border:1.5px solid rgba(255,255,255,.3); color:var(--white);
  padding:9px 10px; border-radius:10px; width:100%; min-width:90px;
}
.price-tag{ color: var(--gold-400); font-weight:700; }
.calc-summary{ margin-top:36px; display:flex; gap:24px; flex-wrap:wrap; align-items:center; justify-content:space-between; }
.total-bar{
  flex:1; min-width:260px; background: linear-gradient(135deg, var(--gold-400), var(--gold-600)); color: var(--navy-950);
  border-radius:999px; padding:16px 30px; display:flex; justify-content:space-between; align-items:center; font-weight:800; font-size:1.15rem;
}
.total-bar small{ display:block; font-weight:600; font-size:.68rem; opacity:.8; }
.vat-note{ color: var(--text-muted); font-size:.8rem; margin-top:8px; }

.mode-toggle{ display:flex; gap:14px; margin-top:26px; }
.mode-toggle label{
  display:flex; align-items:center; gap:10px; padding:12px 20px; border-radius:14px; border:1px solid rgba(255,255,255,.2);
  cursor:pointer; font-weight:600; font-size:.9rem; color: var(--text-muted);
}
.mode-toggle input{ accent-color: var(--gold-500); }
.mode-toggle label.checked{ border-color: var(--gold-500); color: var(--white); background: rgba(201,160,74,.1); }
.calc-mode{ display:none; }
.calc-mode.active{ display:block; }

.route-options{ display:grid; grid-template-columns: 1fr 1fr; gap:24px; margin-top:30px; }
.route-card{ border:1px solid rgba(255,255,255,.16); border-radius:18px; padding:22px; }
.route-card h5{ color: var(--gold-400); font-size:.85rem; text-transform:uppercase; letter-spacing:.06em; margin:0 0 16px; }
.route-choice{ display:flex; justify-content:space-between; align-items:center; padding:10px 0; border-top:1px solid rgba(255,255,255,.08); }
.route-choice:first-of-type{ border-top:none; }
.route-choice label{ display:flex; gap:10px; align-items:center; font-weight:600; }
@media (max-width: 800px){ .route-options{ grid-template-columns:1fr; } }

/* ================= Careers ================= */
.careers-section{ padding:100px 0; }
.careers-grid{ display:grid; grid-template-columns: .8fr 1.2fr; gap:50px; align-items:center; }
.careers-photo{ position:relative; }
.careers-photo img{ border-radius: 30px 200px 30px 200px; box-shadow: var(--shadow-lg); width:100%; aspect-ratio:3/4; object-fit:cover; }
@media (max-width: 900px){ .careers-grid{ grid-template-columns:1fr; } }

/* ================= News ================= */
.news-section{ padding:100px 0; background: var(--navy-800); }
.news-categories{ margin-top:44px; display:grid; grid-template-columns: repeat(5,1fr); gap:20px; }
.news-cat{ display:flex; flex-direction:column; align-items:center; gap:14px; text-align:center; }
.news-cat .circle{
  width:96px; height:96px; border-radius:50%; background: linear-gradient(135deg, var(--gold-400), var(--gold-700));
  display:flex; align-items:center; justify-content:center; box-shadow: var(--shadow-md); transition: transform .25s ease;
}
.news-cat.active .circle{ background: var(--white); }
.news-cat:hover .circle{ transform: translateY(-6px) scale(1.03); }
.news-cat span{ font-size:.85rem; font-weight:700; color: var(--text-muted); }
.news-cat svg{ width:34px; height:34px; color: var(--navy-950); }
@media (max-width: 900px){ .news-categories{ grid-template-columns: repeat(3,1fr); } }
@media (max-width: 560px){ .news-categories{ grid-template-columns: repeat(2,1fr); } }

.news-feed{ margin-top:50px; display:flex; flex-direction:column; gap:26px; }
.news-item{ display:flex; gap:24px; background: rgba(255,255,255,.04); border:1px solid rgba(255,255,255,.1); border-radius:20px; padding:26px; }
.news-date{ flex-shrink:0; width:80px; height:80px; border-radius:16px; background: var(--navy-900); border:1px solid var(--gold-500); display:flex; flex-direction:column; align-items:center; justify-content:center; }
.news-date .d{ font-size:1.6rem; font-weight:800; color:var(--white); font-family:var(--font-en); line-height:1; }
.news-date .m{ font-size:.68rem; color: var(--gold-400); text-transform:uppercase; letter-spacing:.08em; margin-top:4px; }
.news-item p{ margin:0; color: var(--text-muted); font-size:.95rem; }
.news-item .cat-tag{ display:inline-block; color: var(--gold-400); font-weight:700; font-size:.78rem; text-transform:uppercase; letter-spacing:.05em; margin-bottom:8px; }
@media (max-width: 640px){ .news-item{ flex-direction:column; } .news-date{ width:70px; height:70px; flex-direction:row; gap:6px; } }

/* ================= Contact / Footer ================= */
.contact-section{ padding:100px 0 60px; }
.contact-map{ margin-top:16px; border-radius:20px; overflow:hidden; box-shadow: var(--shadow-md); }
.contact-map img{ width:100%; }

footer{ background: var(--navy-950); padding-top:70px; }
.footer-banner{ position:relative; height: 220px; overflow:hidden; margin-bottom:60px; }
.footer-banner img{ width:100%; height:100%; object-fit:cover; }
.footer-banner::after{ content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(7,14,38,.2), var(--navy-950)); }
.footer-grid{ display:grid; grid-template-columns: 1.3fr 1fr 1fr; gap:40px; padding-bottom:40px; }
.footer-brand{ display:flex; gap:16px; }
.footer-brand img{ width:64px; height:64px; border-radius:50%; }
.footer-brand h5{ font-family:var(--font-en); font-weight:800; margin:0 0 6px; }
.footer-year{ color: var(--gold-500); font-size:2rem; font-weight:800; font-family:var(--font-en); }
.footer-col h6{ color: var(--gold-400); text-transform:uppercase; font-size:.78rem; letter-spacing:.08em; margin-bottom:16px; }
.footer-col ul li{ margin-bottom:10px; }
.footer-col ul a{ color: var(--text-muted); font-size:.9rem; }
.footer-col ul a:hover{ color: var(--gold-400); }
.footer-badges{ display:flex; gap:14px; align-items:center; }
.footer-badges img{ height:38px; width:auto; background:var(--white); border-radius:8px; padding:4px; }
.footer-social{ display:flex; gap:12px; margin-top:18px; }
.footer-social a{ width:34px; height:34px; border-radius:50%; border:1px solid rgba(255,255,255,.3); display:flex; align-items:center; justify-content:center; }
.footer-social svg{ width:14px; height:14px; }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.1); padding:22px 0; display:flex; justify-content:space-between; flex-wrap:wrap; gap:10px; color: rgba(255,255,255,.55); font-size:.8rem; }
@media (max-width: 900px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width: 600px){ .footer-grid{ grid-template-columns:1fr; } }

/* ---------- Mobile nav ---------- */
@media (max-width: 1080px){
  .nav-links{
    position:fixed; top:74px; inset-inline:0; bottom:0; height:calc(100vh - 74px); width:100vw;
    background: var(--navy-950); z-index:99;
    flex-direction:column; justify-content:flex-start; padding:40px 30px; gap:22px;
    transform: translateX(110%); transition: transform .35s ease; overflow-y:auto;
  }
  html[dir="rtl"] .nav-links{ transform: translateX(-110%); }
  .nav-links.open{ transform: translateX(0); }
  .nav-links a{ font-size:1.1rem; }
  .burger{ display:flex; }
}

@media (max-width: 700px){
  .about-section, .complex-section, .staff-section, .activities-section, .hours-section,
  .form-section, .calc-section, .careers-section, .news-section, .contact-section{ padding:70px 0; }
  .form-grid{ grid-template-columns:1fr; }
  .fees-grid{ grid-template-columns:1fr; }
}

/* ---------- Reveal animation ---------- */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

/* Utility spacing */
.mt-lg{ margin-top:60px; }
