:root{
  --green-dark:#08281e;
  --green:#0f4c3a;
  --green-light:#146450;
  --gold:#d4af37;
  --gold-light:#f2d675;
  --text:#f3efe2;
  --text-muted:#c9c2ac;
  --danger:#e35d5d;
  --radius:16px;
  --shadow:0 10px 30px rgba(0,0,0,.35);
  --font:'Tajawal', Tahoma, Arial, sans-serif;
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font);
  background:linear-gradient(180deg,var(--green-dark),var(--green) 40%,var(--green-dark));
  color:var(--text);
  line-height:1.7;
  overflow-x:hidden;
}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.container{max-width:1080px;margin:0 auto;padding:0 20px}

/* ---------- Header ---------- */
.site-header{
  position:sticky;top:0;z-index:50;
  background:rgba(8,40,30,.92);
  backdrop-filter:blur(6px);
  border-bottom:1px solid rgba(212,175,55,.35);
}
.site-header .container{display:flex;align-items:center;justify-content:space-between;padding:10px 20px}
.brand{display:flex;align-items:center;gap:10px}
.main-nav{display:none;gap:18px;align-items:center}
.main-nav a{font-size:14px;font-weight:600;color:var(--text-muted);transition:.2s}
.main-nav a:hover{color:var(--gold-light)}
@media(min-width:820px){.main-nav{display:flex}}
.brand img{width:46px;height:46px;border-radius:50%;border:2px solid var(--gold)}
.brand span{font-weight:700;color:var(--gold-light);font-size:18px}
.header-actions{display:flex;gap:10px}
.icon-btn{
  width:40px;height:40px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  background:rgba(212,175,55,.12);border:1px solid rgba(212,175,55,.4);
  color:var(--gold-light);font-size:16px;
  transition:.2s;
}
.icon-btn:hover{background:var(--gold);color:var(--green-dark)}

/* ---------- Hero ---------- */
.hero{
  text-align:center;
  padding:56px 16px 40px;
  position:relative;
}
.hero.hero-compact{padding-bottom:20px}
.hero-logo{
  width:130px;height:130px;border-radius:50%;
  margin:0 auto 20px;border:3px solid var(--gold);
  box-shadow:0 0 0 6px rgba(212,175,55,.15), var(--shadow);
}
.hero h1{
  font-size:clamp(26px,6vw,42px);
  color:var(--gold-light);
  font-weight:800;
  margin-bottom:10px;
}
.hero p.subtitle{
  color:var(--text-muted);
  font-size:clamp(15px,3.6vw,19px);
  max-width:620px;margin:0 auto 26px;
}
.badges{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:30px}
.badge{
  background:rgba(212,175,55,.1);
  border:1px solid rgba(212,175,55,.4);
  color:var(--gold-light);
  padding:7px 14px;border-radius:30px;font-size:13px;font-weight:600;
}
.cta-btn{
  display:inline-flex;align-items:center;gap:10px;
  background:linear-gradient(135deg,var(--gold-light),var(--gold));
  color:var(--green-dark);
  font-weight:800;font-size:17px;
  padding:16px 36px;border-radius:50px;
  box-shadow:0 8px 24px rgba(212,175,55,.35);
  border:none;cursor:pointer;
  animation:pulse 2.4s infinite;
}
.cta-btn:hover{filter:brightness(1.08)}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(212,175,55,.5)}
  70%{box-shadow:0 0 0 16px rgba(212,175,55,0)}
  100%{box-shadow:0 0 0 0 rgba(212,175,55,0)}
}

/* ---------- Section shared ---------- */
.section{padding:50px 0}
.section-title{
  text-align:center;color:var(--gold-light);
  font-size:clamp(22px,5vw,30px);font-weight:800;margin-bottom:8px;
}
.section-sub{text-align:center;color:var(--text-muted);margin-bottom:34px;font-size:15px}

/* ---------- Stats ---------- */
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;text-align:center}
.stat-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(212,175,55,.25);
  border-radius:var(--radius);
  padding:18px 8px;
}
.stat-card .num{font-size:clamp(22px,5vw,30px);font-weight:800;color:var(--gold)}
.stat-card .lbl{font-size:12.5px;color:var(--text-muted);margin-top:4px}

/* ---------- Features ---------- */
.features{display:grid;grid-template-columns:1fr;gap:16px}
@media(min-width:640px){.features{grid-template-columns:repeat(2,1fr)}}
@media(min-width:960px){.features{grid-template-columns:repeat(4,1fr)}}
.feature-card{
  background:rgba(255,255,255,.04);
  border:1px solid rgba(212,175,55,.2);
  border-radius:var(--radius);
  padding:24px 18px;text-align:center;
  transition:.25s;
}
.feature-card:hover{transform:translateY(-4px);border-color:var(--gold)}
.feature-card .ic{
  width:56px;height:56px;border-radius:50%;
  background:rgba(212,175,55,.12);
  display:flex;align-items:center;justify-content:center;
  margin:0 auto 14px;color:var(--gold);font-size:24px;
}
.feature-card h3{font-size:16px;color:var(--gold-light);margin-bottom:6px}
.feature-card p{font-size:13.5px;color:var(--text-muted)}

/* ---------- Courses ---------- */
.courses-grid{display:grid;grid-template-columns:1fr;gap:12px}
@media(min-width:640px){.courses-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:960px){.courses-grid{grid-template-columns:repeat(3,1fr)}}
.course-chip{
  display:flex;align-items:center;gap:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(212,175,55,.2);
  border-radius:12px;padding:14px 16px;font-size:14.5px;
}
.course-chip .dot{width:10px;height:10px;border-radius:50%;background:var(--gold);flex-shrink:0}

/* ---------- Form ---------- */
.form-section{
  background:rgba(0,0,0,.18);
  border-top:1px solid rgba(212,175,55,.25);
  border-bottom:1px solid rgba(212,175,55,.25);
}
.form-card{
  max-width:640px;margin:0 auto;
  background:var(--green);
  border:1px solid rgba(212,175,55,.35);
  border-radius:20px;
  padding:28px 22px;
  box-shadow:var(--shadow);
}
.field{margin-bottom:18px}
.field label{
  display:block;font-size:14px;font-weight:700;
  color:var(--gold-light);margin-bottom:8px;
}
.field .req{color:var(--danger)}
.field input[type=text],
.field input[type=tel],
.field select{
  width:100%;padding:13px 14px;
  border-radius:10px;border:1px solid rgba(212,175,55,.35);
  background:rgba(255,255,255,.06);color:var(--text);
  font-family:var(--font);font-size:15px;
  transition:.2s;
}
.field input:focus,.field select:focus{
  outline:none;border-color:var(--gold);
  background:rgba(255,255,255,.1);
}
.field select option{color:#000}
.checkbox-grid{
  display:grid;grid-template-columns:1fr;gap:10px;
}
@media(min-width:520px){.checkbox-grid{grid-template-columns:1fr 1fr}}
.checkbox-item{
  display:flex;align-items:center;gap:10px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(212,175,55,.2);
  border-radius:10px;padding:11px 12px;
  cursor:pointer;font-size:13.5px;
  transition:.2s;
}
.checkbox-item:hover{border-color:var(--gold)}
.checkbox-item input{accent-color:var(--gold);width:17px;height:17px;flex-shrink:0}
.checkbox-item.checked{background:rgba(212,175,55,.15);border-color:var(--gold)}
.error-text{color:var(--danger);font-size:12.5px;margin-top:6px;display:none}
.submit-btn{
  width:100%;padding:16px;border:none;border-radius:12px;
  background:linear-gradient(135deg,var(--gold-light),var(--gold));
  color:var(--green-dark);font-weight:800;font-size:16px;
  cursor:pointer;transition:.2s;
}
.submit-btn:disabled{opacity:.6;cursor:not-allowed}
.submit-btn:hover:not(:disabled){filter:brightness(1.06)}
.form-note{text-align:center;font-size:12.5px;color:var(--text-muted);margin-top:14px}

.alert{
  border-radius:12px;padding:14px 16px;margin-bottom:18px;
  font-size:14px;display:none;
}
.alert.success{background:rgba(46,163,93,.15);border:1px solid #2ea35d;color:#8ee6a8}
.alert.error{background:rgba(227,93,93,.15);border:1px solid var(--danger);color:#ffb3b3}

/* ---------- Footer ---------- */
footer{padding:34px 0 100px;text-align:center;color:var(--text-muted);font-size:13.5px}
footer .brand{justify-content:center;margin-bottom:14px}
footer .contact-line{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin-bottom:14px;font-size:14px}
footer .contact-line a{color:var(--gold-light)}

/* ---------- Floating action buttons ---------- */
.fab-group{
  position:fixed;bottom:18px;left:18px;z-index:60;
  display:flex;flex-direction:column;gap:10px;
}
.fab{
  width:52px;height:52px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;font-size:22px;box-shadow:0 6px 18px rgba(0,0,0,.35);
}
.fab.call{background:#2ea35d}
.fab.fb{background:#1877f2}

/* utility */
.text-center{text-align:center}
.hidden{display:none !important}
