/* ==========================================================================
   Ishad Limited — Brand palette (see Ishad_Brand_Guidelines.pdf)
   ========================================================================== */
:root {
  --ink: #14384f;
  --petrol: #2e7a98;
  --signal: #4f9dbf;
  --amber: #f2a93b;

  --paper: #f6f8f9;
  --panel: #edf3f6;
  --body-c: #2e3a40;
  --muted: #6c8a98;
  --hairline: #d9e2e7;

  --sky: #6fb9d6;
  --teal: #3e8cae;

  /* dark canvas, derived from Ink for depth */
  --bg-0: #081722;
  --bg-1: #0b2130;
  --bg-2: #14384f;
  --bg-3: #1b4763;
  --line: rgba(217, 226, 231, 0.12);
  --line-strong: rgba(217, 226, 231, 0.22);
  --text-hi: #f6f8f9;
  --text-mid: #b9cbd4;
  --text-low: #7e97a4;

  --radius: 14px;
  --radius-sm: 8px;
  --container: 1180px;
  --nav-h: 76px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg-0);
  color: var(--text-mid);
  font-family: "Poppins", "Calibri", "Segoe UI", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: "Poppins", "Calibri", sans-serif;
  color: var(--text-hi);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h2 { font-weight: 600; }
h3, h4 { font-weight: 500; }

p { margin: 0 0 1em; }
a { color: var(--signal); text-decoration: none; }
a:hover { color: var(--sky); }
img { max-width: 100%; display: block; }
ul { padding-left: 1.1em; }
li { margin-bottom: 0.5em; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

section { position: relative; padding: 100px 0; }
section.tight { padding: 64px 0; }

/* ---------- eyebrow / section label (amber module bullet, per guidelines) --- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 2px;
  background: var(--amber);
  flex-shrink: 0;
}

.section-head { max-width: 700px; margin-bottom: 56px; }
.section-head p { color: var(--text-low); font-size: 1.05rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- buttons ---------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease), color 0.25s var(--ease), box-shadow 0.25s var(--ease);
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--signal), var(--petrol));
  color: #ffffff;
  box-shadow: 0 8px 30px -8px rgba(79, 157, 191, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 34px -6px rgba(79, 157, 191, 0.75); color: #fff; }
.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--text-hi);
}
.btn-ghost:hover { border-color: var(--signal); color: var(--sky); transform: translateY(-2px); }
.btn-block { width: 100%; }
.btn svg { width: 16px; height: 16px; }

/* ---------- top navigation ---------------------------------------------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 500;
  display: flex;
  align-items: center;
  background: rgba(8, 23, 34, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--line); background: rgba(8, 23, 34, 0.92); }
.nav .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand-word { font-weight: 700; letter-spacing: 0.02em; color: var(--text-hi); font-size: 1.05rem; }
.brand-word span { font-weight: 500; color: var(--text-low); font-size: 0.62em; letter-spacing: 0.18em; display: block; margin-top: 1px; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  color: var(--text-mid);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}
.nav-links a:hover { color: var(--text-hi); }
.nav-links a.active { color: var(--text-hi); }
.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -4px;
  height: 2px;
  background: var(--amber);
  border-radius: 2px;
}
.nav-cta { display: flex; align-items: center; gap: 22px; }
.nav-cta .btn-primary { padding: 11px 22px; font-size: 0.88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 501;
}
.nav-toggle span { width: 22px; height: 2px; background: var(--text-hi); border-radius: 2px; transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero --------------------------------------------------------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 96px) 0 110px;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(720px 420px at 82% -10%, rgba(79, 157, 191, 0.28), transparent 60%),
    radial-gradient(600px 400px at 8% 110%, rgba(46, 122, 152, 0.22), transparent 60%),
    linear-gradient(180deg, var(--bg-0), var(--bg-1) 60%, var(--bg-0));
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 60% 20%, black 10%, transparent 75%);
  opacity: 0.55;
}
.hero-modules {
  position: absolute;
  top: 12%;
  right: 6%;
  width: 260px;
  height: 260px;
  z-index: -1;
  opacity: 0.9;
}
.hero-inner { max-width: 760px; }
.hero-inner h1 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.hero-inner .lede { font-size: 1.15rem; color: var(--text-mid); max-width: 620px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.hero-tags span { font-size: 0.82rem; color: var(--text-low); letter-spacing: 0.04em; }
.hero-tags strong { color: var(--text-mid); font-weight: 500; }

/* ---------- pillar / capability cards ------------------------------------ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: linear-gradient(180deg, rgba(20, 56, 79, 0.55), rgba(20, 56, 79, 0.28));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.card:hover {
  transform: translateY(-4px);
  border-color: rgba(79, 157, 191, 0.5);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.55);
}
.card .icon-tile {
  width: 46px; height: 46px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(79, 157, 191, 0.14);
  border: 1px solid rgba(79, 157, 191, 0.3);
  margin-bottom: 22px;
  color: var(--sky);
}
.card .icon-tile svg { width: 22px; height: 22px; }
.card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.card p { color: var(--text-low); font-size: 0.95rem; margin-bottom: 0; }
.card .tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

/* ---------- why-choose list ---------------------------------------------- */
.reasons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px 40px; }
.reason { display: flex; gap: 18px; }
.reason .num {
  flex-shrink: 0;
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sky);
}
.reason h4 { margin-bottom: 6px; font-size: 1.02rem; }
.reason p { color: var(--text-low); font-size: 0.93rem; margin: 0; }

/* ---------- sectors -------------------------------------------------------*/
.sector-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.sector-chip {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 10px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-mid);
  background: rgba(255,255,255,0.015);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease);
}
.sector-chip:hover { border-color: var(--signal); color: var(--text-hi); background: rgba(79,157,191,0.08); }

/* ---------- CTA banner ---------------------------------------------------- */
.cta-banner {
  border-radius: 22px;
  padding: 64px 56px;
  background:
    radial-gradient(500px 260px at 15% 20%, rgba(242, 169, 59, 0.12), transparent 65%),
    linear-gradient(135deg, var(--bg-3), var(--ink));
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-banner h2 { margin-bottom: 10px; font-size: 1.8rem; }
.cta-banner p { color: var(--text-mid); margin: 0; max-width: 460px; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- footer --------------------------------------------------------*/
footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 30px;
  background: var(--bg-0);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand p { color: var(--text-low); font-size: 0.9rem; max-width: 300px; }
.footer-col h5 {
  color: var(--text-hi);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: var(--text-low); font-size: 0.9rem; }
.footer-col a:hover { color: var(--sky); }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
  color: var(--text-low);
}

/* ---------- reveal-on-scroll ---------------------------------------------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { transition-delay: calc(var(--i, 0) * 90ms); }

/* ---------- page hero (inner pages) ---------------------------------------*/
.page-hero {
  padding: calc(var(--nav-h) + 70px) 0 70px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, var(--bg-1), var(--bg-0));
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: 760px; }
.page-hero .lede { color: var(--text-mid); max-width: 640px; font-size: 1.05rem; margin: 0; }
.breadcrumb { color: var(--text-low); font-size: 0.82rem; margin-bottom: 20px; }
.breadcrumb a { color: var(--text-low); }
.breadcrumb a:hover { color: var(--sky); }

/* ---------- about page specifics ------------------------------------------*/
.stat-line { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 10px; }
.stat-line div { border-left: 2px solid var(--amber); padding-left: 14px; }
.stat-line strong { display: block; color: var(--text-hi); font-size: 1rem; font-weight: 600; }
.stat-line span { color: var(--text-low); font-size: 0.85rem; }

.map-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  background: rgba(255,255,255,0.02);
}
.region-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.region-list li { display: flex; align-items: baseline; gap: 14px; margin: 0; }
.region-list .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--signal); flex-shrink: 0; }
.region-list strong { color: var(--text-hi); font-weight: 600; }
.region-list span { color: var(--text-low); font-size: 0.9rem; }

.value-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 22px; }
.value-list li { display: flex; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.value-list li:last-child { border-bottom: none; padding-bottom: 0; }
.value-list h4 { margin-bottom: 6px; }
.value-list p { margin: 0; color: var(--text-low); font-size: 0.93rem; }

/* ---------- services page -------------------------------------------------*/
.service-group {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 44px;
  margin-bottom: 28px;
  background: rgba(255,255,255,0.015);
}
.service-group-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}
.service-group-head h2 { margin-bottom: 8px; font-size: 1.5rem; }
.service-group-head p { color: var(--text-low); margin: 0; max-width: 520px; }
.service-group-index {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 6px 14px;
  white-space: nowrap;
}
.service-items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 24px;
  background: rgba(8,23,34,0.35);
}
.service-item h4 { font-size: 1.02rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.service-item h4::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--amber); flex-shrink: 0; }
.service-item .field { margin-top: 12px; }
.service-item .field-label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky); margin-bottom: 4px; }
.service-item p { color: var(--text-low); font-size: 0.9rem; margin: 0; }

/* ---------- contact page ---------------------------------------------------*/
.contact-layout { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: flex-start; }
.contact-info .email-card {
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  padding: 28px;
  background: linear-gradient(160deg, rgba(79,157,191,0.12), rgba(79,157,191,0.02));
  margin-bottom: 28px;
}
.contact-info .email-card a { font-size: 1.25rem; font-weight: 600; color: var(--text-hi); }
.contact-info .email-card a:hover { color: var(--sky); }
.contact-info .email-card p { margin: 6px 0 0; font-size: 0.85rem; color: var(--text-low); }
.contact-detail { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-detail .icon-tile { width: 38px; height: 38px; }
.contact-detail h5 { margin: 0 0 4px; color: var(--text-hi); font-size: 0.92rem; font-weight: 600; }
.contact-detail p { margin: 0; color: var(--text-low); font-size: 0.88rem; }

.form-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px;
  background: rgba(255,255,255,0.02);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-group { margin-bottom: 20px; }
.field-group label { display: block; font-size: 0.82rem; font-weight: 500; color: var(--text-mid); margin-bottom: 8px; }
.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  background: rgba(8,23,34,0.55);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 13px 16px;
  color: var(--text-hi);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field-group textarea { resize: vertical; min-height: 130px; }
.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgba(79, 157, 191, 0.18);
}
.field-group input::placeholder,
.field-group textarea::placeholder { color: var(--text-low); opacity: 0.7; }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-note { font-size: 0.8rem; color: var(--text-low); margin-top: 14px; }
.form-status { margin-top: 16px; font-size: 0.9rem; display: none; padding: 12px 16px; border-radius: 10px; }
.form-status.show { display: block; }
.form-status.ok { background: rgba(79,157,191,0.14); color: var(--sky); border: 1px solid rgba(79,157,191,0.35); }
.form-status.err { background: rgba(242,169,59,0.1); color: var(--amber); border: 1px solid rgba(242,169,59,0.35); }

/* ---------- responsive ------------------------------------------------------*/
@media (max-width: 980px) {
  .grid-3, .reasons, .grid-2 { grid-template-columns: 1fr; }
  .sector-grid { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .service-items { grid-template-columns: 1fr; }
  .hero-modules { display: none; }
}

@media (max-width: 760px) {
  .nav-links, .nav-cta .btn-primary { display: none; }
  .nav-toggle { display: flex; }
  .nav.mobile-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(8,23,34,0.98);
    padding: 26px 28px 30px;
    gap: 22px;
    border-bottom: 1px solid var(--line);
  }
  .nav.mobile-open .nav-cta .btn-primary {
    display: inline-flex;
    position: fixed;
    left: 28px; right: 28px;
    top: calc(var(--nav-h) + 210px);
    justify-content: center;
  }
  section { padding: 70px 0; }
  .cta-banner { padding: 40px 28px; text-align: left; }
  .sector-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .service-group { padding: 28px; }
  .service-group-head { flex-direction: column; }
}
