/* ===== Jilani Group — Maintenance Landing Page ===== */

:root {
  --navy: #13213f;
  --navy-deep: #0c1630;
  --gold: #c9a96e;
  --gold-soft: #e8d9b8;
  --green: #2e9b3e;
  --orange: #e2541b;
  --ink: #1b2236;
  --muted: #5a6275;
  --line: #e3e6ee;
  --bg: #f6f7fa;
  --white: #ffffff;
  --radius: 14px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "DM Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .logo { font-family: "Poppins", system-ui, sans-serif; }

a { color: inherit; }

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

/* ---------- Maintenance strip ---------- */
.notice {
  background: var(--orange);
  color: var(--white);
  font-size: 0.92rem;
  font-weight: 500;
  text-align: center;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--white);
  flex-shrink: 0;
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.75); }
}

/* ---------- Header ---------- */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo-i { position: relative; }
.logo-i::after {               /* orange flame-dot over the "i" */
  content: "";
  position: absolute;
  left: 50%;
  top: 0.12em;
  width: 0.26em;
  height: 0.26em;
  background: var(--orange);
  border-radius: 50% 50% 50% 0;
  transform: translateX(-50%) rotate(-45deg);
}

.logo-group { font-weight: 700; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--navy-deep);
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--gold);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--gold-soft); border-color: var(--gold-soft); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); border-color: var(--white); color: var(--white); }

.btn-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.btn-small:hover { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--white); }

/* ---------- Hero ---------- */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 80px 0 88px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 56px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(226, 84, 27, 0.16);
  color: #ffb28f;
  border: 1px solid rgba(226, 84, 27, 0.5);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 22px 0 18px;
  letter-spacing: -1px;
}

.accent { color: var(--gold); }

.lead {
  font-size: 1.12rem;
  color: #c5cbdb;
  max-width: 560px;
  margin: 0 0 32px;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 32px;
}

.card-label {
  margin: 0 0 18px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--gold);
}

.countries {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.countries li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
  font-size: 1.05rem;
}

/* Simple CSS flags (no image files needed) */
.flag {
  width: 34px;
  height: 22px;
  border-radius: 3px;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2);
}
.flag-in { background: linear-gradient(#ff9933 0 33.3%, #fff 33.3% 66.6%, #138808 66.6%); position: relative; }
.flag-in::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border: 1px solid #000080; border-radius: 50%; transform: translate(-50%, -50%); }
.flag-ae { background: linear-gradient(90deg, #ce1126 0 26%, transparent 26%), linear-gradient(#00732f 0 33.3%, #fff 33.3% 66.6%, #000 66.6%); }
.flag-kw { background: linear-gradient(#007a3d 0 33.3%, #fff 33.3% 66.6%, #ce1126 66.6%); position: relative; overflow: hidden; }
.flag-kw::before { content: ""; position: absolute; left: 0; top: 0; border-style: solid; border-width: 11px 0 11px 10px; border-color: transparent transparent transparent #000; }
.flag-tz { background: linear-gradient(to top right, #1eb53a 0 40%, #fcd116 40% 44%, #000 44% 56%, #fcd116 56% 60%, #00a3dd 60%); }
.flag-ke { background: linear-gradient(#000 0 28%, #fff 28% 34%, #bb0000 34% 66%, #fff 66% 72%, #006600 72%); }

.progress {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.progress span {
  display: block;
  height: 100%;
  width: 72%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--gold));
  animation: load 2.4s ease-out;
}
@keyframes load { from { width: 0; } }

.progress-label { margin: 10px 0 0; font-size: 0.88rem; color: #aab2c6; }

/* ---------- Gold band ---------- */
.band {
  background: var(--gold);
  color: var(--navy-deep);
  text-align: center;
  padding: 20px 0;
}
.band p {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
}

/* ---------- Sections ---------- */
section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.3rem);
  color: var(--navy);
  margin: 0 0 8px;
  letter-spacing: -0.5px;
}

.section-sub { color: var(--muted); margin: 0 0 40px; font-size: 1.05rem; }
.section-sub.light { color: #c5cbdb; margin-bottom: 0; }

.divisions { padding: 88px 0; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.card:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 12px 28px rgba(19, 33, 63, 0.1);
}

.card h3 {
  font-size: 1.08rem;
  color: var(--navy);
  margin: 0 0 14px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-soft);
}

.card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.card li { position: relative; padding-left: 18px; color: #3a4258; }
.card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Upcoming ---------- */
.upcoming { background: var(--navy-deep); color: var(--white); padding: 80px 0; }
.upcoming h2 { color: var(--white); }

.upcoming-inner {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: center;
}

.projects {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  counter-reset: proj;
}

.projects li {
  counter-increment: proj;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(201, 169, 110, 0.35);
  border-radius: var(--radius);
  padding: 22px;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.projects li::before {
  content: "0" counter(proj);
  display: block;
  color: var(--gold);
  font-size: 0.85rem;
  margin-bottom: 6px;
}
.projects li span {
  display: block;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  font-size: 0.9rem;
  color: #aab2c6;
  margin-top: 4px;
}

/* ---------- Contact ---------- */
.contact { padding: 88px 0; }

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  text-decoration: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.contact-card:hover { border-color: var(--navy); box-shadow: 0 10px 24px rgba(19, 33, 63, 0.08); }

.contact-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--orange);
}
.contact-value {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  word-break: break-word;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aab2c6; padding: 26px 0; font-size: 0.9rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.footer-inner p { margin: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner, .upcoming-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .hero { padding: 56px 0 64px; }
  .divisions, .contact { padding: 64px 0; }
  .upcoming { padding: 64px 0; }
  .projects { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .notice { font-size: 0.85rem; }
  .logo { font-size: 1.45rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
