/* ============================================================
   JIDASH CONSULTING LIMITED — Main Stylesheet
   ============================================================ */

/* ── RESET & VARIABLES ──────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy:       #0a1f44;
  --navy-mid:   #112d5e;
  --navy-light: #1a3d7a;
  --red:        #cc1a1a;
  --red-light:  #e83333;
  --white:      #ffffff;
  --offwhite:   #f8f9fc;
  --light:      #eef1f8;
  --muted:      #5a6683;
  --border:     #d0d8ea;
  --ink:        #111827;
  --gap:        6rem;
}

html { scroll-behavior: smooth; }

body {
  font-family: "Source Sans 3", sans-serif;
  background: var(--offwhite);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── NAVIGATION ─────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 5vw;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.1); }

.nav-logo { text-decoration: none; display: flex; align-items: center; }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s;
}
.nav-links a:hover { color: var(--navy); }

.nav-cta {
  background: var(--red) !important;
  color: #fff !important;
  padding: .5rem 1.4rem;
  border-radius: 3px;
}
.nav-cta:hover { background: var(--red-light) !important; color: #fff !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 68px;
}

.hero-left {
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 5vw 3.5rem 8vw;
  position: relative;
  overflow: hidden;
}
.hero-left::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -40px;
  width: 80px; height: calc(100% + 2px);
  background: var(--navy);
  clip-path: polygon(0 0, 0% 100%, 100% 100%);
}

.hero-stripe { width: 44px; height: 4px; background: var(--red); margin-bottom: 1.2rem; }

.hero-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  line-height: 1.12;
  color: #fff;
  margin-bottom: 1.2rem;
}
.hero-title em { font-style: italic; color: #7eaaff; }

.hero-sub {
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(255,255,255,.65);
  max-width: 400px;
  margin-bottom: 2rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-red {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  padding: .8rem 1.8rem;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: background .25s, transform .2s;
}
.btn-red:hover { background: var(--red-light); transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  border: 1.5px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.8);
  text-decoration: none;
  padding: .8rem 1.8rem;
  font-size: .82rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 3px;
  transition: all .25s;
}
.btn-ghost:hover { border-color: #fff; color: #fff; }

.hero-right {
  background: var(--light);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3.5rem 6vw 3.5rem 8vw;
  position: relative;
  overflow: hidden;
}
.hero-right::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle, rgba(10,31,68,.08) 1.5px, transparent 1.5px);
  background-size: 26px 26px;
  pointer-events: none;
  z-index: 0;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  position: relative;
  z-index: 2;
}

.stat-card {
  background: #fff;
  padding: 1.6rem 1.4rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  border-left: 3px solid var(--navy);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp .6s forwards;
}
.stat-card:nth-child(1) { animation-delay: .3s; }
.stat-card:nth-child(2) { animation-delay: .45s; }
.stat-card:nth-child(3) { animation-delay: .6s; }
.stat-card:nth-child(4) { animation-delay: .75s; }

.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: .35rem;
}
.stat-label {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  color: var(--muted);
  text-transform: uppercase;
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

/* ── SHARED SECTION STYLES ──────────────────────────────────── */
section { position: relative; z-index: 1; }

.section-inner { max-width: 1180px; margin: 0 auto; padding: 0 5vw; }

.eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .9rem;
}

.section-heading {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.8rem);
  line-height: 1.18;
  color: var(--navy);
  margin-bottom: 1.4rem;
}
.section-heading em { font-style: italic; color: var(--navy-light); }

.red-bar { width: 44px; height: 3px; background: var(--red); margin-bottom: 1.2rem; }

/* ── ABOUT ──────────────────────────────────────────────────── */
#about { padding: var(--gap) 0; background: #fff; }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: start;
}

.body-text { font-size: .97rem; line-height: 1.9; color: #3a4258; }
.body-text p + p { margin-top: 1rem; }

.vmv-stack { display: flex; flex-direction: column; gap: 1.4rem; }

.vmv-item {
  padding: 1.5rem 1.8rem;
  background: var(--offwhite);
  border-radius: 4px;
  border-top: 3px solid var(--navy);
}
.vmv-item h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .5rem;
}
.vmv-item p { font-size: .9rem; line-height: 1.75; color: var(--muted); }

/* ── SERVICES ───────────────────────────────────────────────── */
#services { padding: var(--gap) 0; background: var(--offwhite); }

.services-head { text-align: center; margin-bottom: 3.5rem; }
.services-head p {
  font-size: .97rem;
  color: var(--muted);
  max-width: 520px;
  margin: .8rem auto 0;
  line-height: 1.8;
}

.tabs {
  display: flex;
  justify-content: center;
  max-width: 600px;
  margin: 0 auto 2.8rem;
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: #fff;
}

.tab-btn {
  flex: 1;
  padding: .85rem 1rem;
  background: transparent;
  border: none;
  border-right: 1px solid var(--border);
  cursor: pointer;
  font-family: "Source Sans 3", sans-serif;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--muted);
  transition: all .2s;
}
.tab-btn:last-child { border-right: none; }
.tab-btn.active { background: var(--navy); color: #fff; }
.tab-btn:hover:not(.active) { background: var(--light); }

.tab-content { display: none; }
.tab-content.active { display: block; }

.srv-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(275px, 1fr));
  gap: 1.1rem;
}

.srv-item {
  background: #fff;
  padding: 1.4rem 1.6rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  display: flex;
  gap: .9rem;
  align-items: flex-start;
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.srv-item:hover {
  border-color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10,31,68,.08);
}
.srv-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
  margin-top: 6px;
}
.srv-item h4 { font-size: .9rem; font-weight: 600; color: var(--navy); line-height: 1.45; }

/* ── APPROACH ───────────────────────────────────────────────── */
#approach { padding: var(--gap) 0; background: var(--navy); }
#approach .section-heading { color: #fff; }
#approach .eyebrow { color: #7eaaff; }

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.approach-text p { font-size: .97rem; line-height: 1.88; color: rgba(255,255,255,.62); margin-bottom: 1rem; }

.steps { display: flex; flex-direction: column; gap: 1.6rem; }
.step { display: flex; gap: 1.4rem; align-items: flex-start; }

.step-n {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  min-width: 32px;
}
.step-body h4 { font-size: .92rem; font-weight: 600; color: #fff; margin-bottom: .35rem; }
.step-body p  { font-size: .87rem; line-height: 1.72; color: rgba(255,255,255,.52); }

/* ── TEAM ───────────────────────────────────────────────────── */
#team { padding: var(--gap) 0; background: #fff; }
.team-head { text-align: center; margin-bottom: 3.5rem; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.team-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}
.team-card:hover { box-shadow: 0 12px 40px rgba(0,0,0,.09); transform: translateY(-3px); }

.tc-top { background: var(--navy); padding: 1.8rem 2rem 1.5rem; position: relative; }
.tc-top::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
}

.tc-init {
  width: 52px; height: 52px;
  background: var(--red);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: .9rem;
}
.tc-name { font-family: "Playfair Display", serif; font-size: 1.15rem; font-weight: 600; color: #fff; margin-bottom: .25rem; }
.tc-creds { font-size: .76rem; color: #7eaaff; letter-spacing: .04em; }

.tc-body { padding: 1.4rem 2rem; background: var(--offwhite); }
.tc-body p { font-size: .87rem; line-height: 1.8; color: #4a5470; }

/* ── CLIENTS ────────────────────────────────────────────────── */
#clients { padding: var(--gap) 0; background: var(--offwhite); }
.clients-head { text-align: center; margin-bottom: 3rem; }

.marquee-wrap { overflow: hidden; position: relative; }
.marquee-wrap::before,
.marquee-wrap::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 100px;
  z-index: 2;
}
.marquee-wrap::before { left: 0;  background: linear-gradient(to right, var(--offwhite), transparent); }
.marquee-wrap::after  { right: 0; background: linear-gradient(to left,  var(--offwhite), transparent); }

.marquee-track {
  display: flex;
  gap: 1.6rem;
  animation: scroll 32s linear infinite;
  width: max-content;
}
.marquee-track:hover { animation-play-state: paused; }

@keyframes scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.client-tag {
  background: #fff;
  border: 1px solid var(--border);
  padding: .75rem 1.5rem;
  border-radius: 3px;
  font-size: .82rem;
  font-weight: 500;
  color: var(--muted);
  white-space: nowrap;
  transition: border-color .2s, color .2s;
}
.client-tag:hover { border-color: var(--navy); color: var(--navy); }

/* ── CONTACT ────────────────────────────────────────────────── */
#contact { padding: var(--gap) 0; background: var(--navy); position: relative; overflow: hidden; }
#contact::before {
  content: "";
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(204,26,26,.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 5rem;
  align-items: center;
}
#contact .section-heading { color: #fff; }
#contact .eyebrow { color: #7eaaff; }
#contact .red-bar  { background: var(--red); }

.contact-intro {
  font-size: .97rem;
  line-height: 1.85;
  color: rgba(255,255,255,.58);
  margin: 1rem 0 2.5rem;
}

.contact-info { display: flex; flex-direction: column; gap: 1.1rem; }

.ci-row { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7eaaff;
  flex-shrink: 0;
  font-size: .95rem;
}
.ci-text h5 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #7eaaff;
  margin-bottom: .2rem;
}
.ci-text a,
.ci-text p { font-size: .9rem; color: rgba(255,255,255,.65); text-decoration: none; transition: color .2s; }
.ci-text a:hover { color: #fff; }

.cform {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 2.4rem;
}

.fg { margin-bottom: 1.1rem; }
.fg label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: .45rem;
}
.fg input,
.fg textarea,
.fg select {
  width: 100%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 3px;
  padding: .85rem 1rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: .9rem;
  color: #fff;
  outline: none;
  transition: border-color .2s;
}
.fg input::placeholder,
.fg textarea::placeholder { color: rgba(255,255,255,.22); }
.fg input:focus,
.fg textarea:focus,
.fg select:focus { border-color: var(--red); }
.fg textarea { resize: vertical; min-height: 110px; }
.fg select option { background: var(--navy); color: #fff; }

.btn-submit {
  width: 100%;
  background: var(--red);
  color: #fff;
  border: none;
  padding: 1rem;
  font-family: "Source Sans 3", sans-serif;
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  transition: background .25s, transform .2s;
}
.btn-submit:hover { background: var(--red-light); transform: translateY(-1px); }

/* ── FOOTER ─────────────────────────────────────────────────── */
footer {
  background: #060e1f;
  padding: 2.5rem 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer-copy { font-size: .76rem; color: rgba(255,255,255,.28); }
.footer-est  { font-size: .72rem; letter-spacing: .15em; text-transform: uppercase; color: rgba(255,255,255,.22); }

/* ── SCROLL REVEAL ──────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 900px) {
  :root { --gap: 4.5rem; }

  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-left { padding: 4rem 6vw 3rem; }
  .hero-left::after { display: none; }
  .hero-right { padding: 3rem 6vw 4rem; }

  .about-grid,
  .approach-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }

  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 5vw 2rem;
    gap: 1.2rem;
  }
  .nav-links.open a { font-size: 1rem; }

  .team-grid { grid-template-columns: 1fr; }
}
