/* Docere Group Limited — Minimalistic, responsive styling (Light theme) */
:root {
  --bg: #f7fafc;
  --panel: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --primary: #3ab8ff; /* light blue */
  --primary-2: #ffb873; /* light orange */
  --accent: #7ea7ff; /* soft blue */
  --outline: rgba(15, 23, 42, 0.12);
  --shadow: rgba(15, 23, 42, 0.08);
  /* Expanded palette for colorful buttons */
  --blue-600: #2563eb;
  --cyan-400: #22d3ee;
  --orange-500: #ff9f43;
  --pink-500: #ec4899;
  --teal-400: #2dd4bf;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; position: relative; }
.section h2 { font-size: 32px; margin: 0 0 16px; }
.lead { font-size: 20px; color: var(--muted); }
.muted { color: var(--muted); }

/* Navigation */
.site-header { position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(180%) blur(10px); background: rgba(255,255,255,0.8); border-bottom: 1px solid var(--outline); }
.nav { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--text); }
.brand-logo { width: 34px; height: 34px; }
.nav-links { list-style: none; display: flex; gap: 12px; margin: 0; padding: 0; }
 .nav-links a { color: var(--text); opacity: 0.9; }

/* Hero */
.hero { padding-top: 48px; }
.hero-content { text-align: center; }
.hero h1 { font-size: 42px; line-height: 1.15; margin: 0 0 12px; }
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 18px; border-radius: 10px; border: 1px solid var(--outline); transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease; background: #fff; color: var(--text); }
.btn-primary { background: linear-gradient(135deg, var(--blue-600), var(--cyan-400)); color: #ffffff; border: none; box-shadow: 0 8px 24px rgba(37, 99, 235, 0.28); text-shadow: 0 1px 0 rgba(0,0,0,0.08); }
.btn-secondary { background: linear-gradient(135deg, var(--orange-500), var(--pink-500)); color: #ffffff; border: none; box-shadow: 0 8px 24px rgba(255, 159, 67, 0.3); text-shadow: 0 1px 0 rgba(0,0,0,0.08); }
.btn-outline { color: var(--text); background: transparent; }

.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0,0,0,0.25); }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.45); }

.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(1200px 600px at 50% -10%, rgba(255, 184, 115, 0.25), transparent 60%), radial-gradient(900px 500px at 90% 10%, rgba(58, 184, 255, 0.18), transparent 60%), radial-gradient(900px 500px at 10% 20%, rgba(126, 167, 255, 0.16), transparent 60%); }

/* Cards & grids */
.grid.two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; align-items: start; }
.feature-card { background: var(--panel); border: 1px solid var(--outline); border-radius: 16px; padding: 18px; box-shadow: 0 8px 16px var(--shadow); }
.feature-card h3 { margin-top: 0; }

.checklist, .bullets { list-style: none; padding-left: 0; margin: 10px 0 0; }
.checklist li, .bullets li { padding-left: 26px; position: relative; margin: 8px 0; }
.checklist li::before { content: "✔"; position: absolute; left: 0; color: var(--primary-2); }
.bullets li::before { content: "•"; position: absolute; left: 0; color: var(--accent); }

.note { border-left: 3px solid var(--accent); padding-left: 12px; margin-top: 12px; color: var(--muted); }

/* Stats */
.stats { display: flex; gap: 16px; margin-top: 16px; flex-wrap: wrap; }
.stat { background: var(--panel); border: 1px solid var(--outline); border-radius: 12px; padding: 12px 16px; }
.stat .num { font-weight: 700; font-size: 18px; }
.stat .label { color: var(--muted); font-size: 12px; }

/* Careers */
.job-list { display: grid; grid-template-columns: 1fr; gap: 18px; }
.job-card { background: var(--panel); border: 1px solid var(--outline); border-radius: 14px; padding: 14px; }
.job-card details { margin-top: 8px; }
.apply { margin-top: 24px; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 10px; }
.map { width: 100%; min-height: 280px; border: 1px solid var(--outline); border-radius: 12px; }

/* Footer */
.site-footer { border-top: 1px solid var(--outline); padding: 24px 0; background: rgba(255,255,255,0.6); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; align-items: center; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, auto); gap: 10px; }
.legal { color: var(--muted); }

/* Reveal animations */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 500ms ease, transform 500ms ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 860px) {
  .grid.two { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .nav-links { flex-wrap: wrap; }
}

/* Arabic (RTL) utility demo */
.rtl-demo { font-family: Cairo, Inter, system-ui; direction: rtl; text-align: right; }
.rtl-demo .btn { justify-content: flex-start; }