/* Executive Choice Solutions — site styles
   Brand colours taken from the company profile deck. */
:root {
  --navy: #002745;
  --navy-2: #0a3557;
  --green: #4dbf38;
  --lime: #80d12a;
  --ink: #1d2733;
  --muted: #5b6672;
  --line: #e3e8ee;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(0, 39, 69, 0.10);
  --max: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
}
img { max-width: 100%; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { font-family: "Poppins", "Inter", sans-serif; color: var(--navy); line-height: 1.2; margin: 0 0 .5em; }
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--green); margin-bottom: 10px;
}
.eyebrow::before { content: ""; display: inline-block; width: 28px; height: 3px; background: var(--green); vertical-align: middle; margin-right: 10px; border-radius: 2px; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 680px; }
.section-head { margin-bottom: 48px; }
.section-head--center { text-align: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border-radius: 999px;
  font-weight: 600; font-size: .95rem; border: 2px solid transparent; transition: .2s ease; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn--primary { background: var(--green); color: #fff; }
.btn--primary:hover { background: #3fa82c; }
.btn--ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--navy { background: var(--navy); color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96);
  backdrop-filter: blur(8px); border-bottom: 1px solid var(--line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { text-decoration: none; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-family: "Poppins", sans-serif; font-size: 1.15rem; letter-spacing: .02em; }
.brand-text span { font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: var(--navy); font-weight: 500; font-size: .95rem; }
.nav a:hover { color: var(--green); text-decoration: none; }
.nav .btn { color: #fff; padding: 10px 20px; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy) 55%, var(--navy-2) 100%);
  padding: 110px 0 120px;
}
.hero::before, .hero::after { content: ""; position: absolute; pointer-events: none; }
.hero::before { /* green chevron, echoing the deck */
  right: -120px; top: -160px; width: 560px; height: 560px;
  background: linear-gradient(135deg, var(--lime), var(--green));
  clip-path: polygon(0 0, 30% 0, 50% 40%, 70% 0, 100% 0, 50% 75%);
  opacity: .9;
}
.hero::after {
  left: -80px; bottom: -40px; width: 260px; height: 260px;
  background: var(--green); clip-path: polygon(0 100%, 0 30%, 70% 100%); opacity: .85;
}
.hero .container { position: relative; z-index: 1; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; margin-bottom: 18px; }
.hero h1 em { font-style: normal; color: var(--lime); }
.hero p { color: rgba(255,255,255,.85); font-size: 1.12rem; max-width: 540px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 26px; padding: 0; list-style: none; }
.hero-tags li { font-size: .82rem; font-weight: 600; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 190px 190px; gap: 14px; }
.hero-collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.hero-collage img:first-child { grid-row: span 2; }
.hero-collage img:nth-child(2) { border: 3px solid var(--green); }

/* ---------- Stats strip ---------- */
.stats { background: var(--green); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; text-align: center; }
.stats strong { display: block; font-family: "Poppins", sans-serif; font-size: 1.8rem; line-height: 1.1; }
.stats span { font-size: .88rem; opacity: .92; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.about-text p { color: var(--muted); font-size: 1.05rem; }
.about-text strong { color: var(--navy); }
.about-quote {
  margin-top: 28px; padding: 22px 26px; border-left: 5px solid var(--green); background: var(--bg-soft);
  border-radius: 0 var(--radius) var(--radius) 0; font-family: "Poppins", sans-serif; font-size: 1.25rem; color: var(--navy); font-weight: 600;
}
.about-media { position: relative; }
.about-media .photo { border-radius: var(--radius); height: 420px; width: 100%; object-fit: cover; box-shadow: var(--shadow); }
.about-media .float {
  position: absolute; left: -40px; bottom: -36px; width: 62%; background: #fff; padding: 14px;
  border-radius: var(--radius); box-shadow: var(--shadow);
}

/* ---------- Services ---------- */
.services-banner {
  position: relative; color: #fff; padding: 90px 0 150px; overflow: hidden;
  background: linear-gradient(rgba(0,39,69,.86), rgba(0,39,69,.86)), url("../images/building.jpg") center / cover no-repeat;
}
.services-banner h2 { color: #fff; }
.services-banner .lead { color: rgba(255,255,255,.8); }
.services-banner::after {
  content: ""; position: absolute; right: 8%; top: 0; width: 320px; height: 180px;
  background: linear-gradient(135deg, var(--lime), var(--green)); clip-path: polygon(0 0, 35% 0, 50% 45%, 65% 0, 100% 0, 50% 100%);
}
.services { margin-top: -100px; padding-bottom: 96px; position: relative; z-index: 1; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.card {
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 24px 26px;
  border-top: 4px solid var(--green); transition: .25s ease;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(0,39,69,.16); }
.card-icon { height: 84px; display: flex; align-items: flex-end; margin-bottom: 18px; }
.card-icon img { max-height: 84px; width: auto; }
.card h3 {
  display: inline-block; background: var(--navy); color: #fff; padding: 8px 16px; border-radius: 999px;
  font-size: .95rem; margin-bottom: 16px;
}
.card ul { list-style: none; margin: 0; padding: 0; }
.card li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--muted); font-size: .94rem; line-height: 1.45; }
.card li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 2px; background: var(--green); transform: rotate(45deg); }

/* ---------- Vision & Mission ---------- */
.vm { background: var(--navy); color: #fff; position: relative; overflow: hidden; }
.vm .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.vm h2 { color: #fff; }
.vm-item { margin-bottom: 30px; padding-left: 22px; border-left: 4px solid var(--green); }
.vm-item h3 { color: var(--lime); font-size: 1.5rem; margin-bottom: 8px; }
.vm-item p { color: rgba(255,255,255,.85); font-size: 1.08rem; margin: 0; }
.vm-visual { position: relative; display: grid; place-items: center; }
.vm-visual .ring { width: min(420px, 90%); aspect-ratio: 1; border-radius: 50%; padding: 18px; background: conic-gradient(var(--green) 0 28%, transparent 28% 36%, var(--green) 36% 62%, transparent 62% 70%, var(--lime) 70% 92%, transparent 92%); }
.vm-visual .ring img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 10px solid var(--navy); }

/* ---------- Milestones ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.timeline::before { content: ""; position: absolute; left: 10%; right: 10%; top: 44px; height: 4px; background: var(--navy); border-radius: 2px; }
.milestone { position: relative; text-align: center; }
.milestone-dot {
  width: 92px; height: 92px; margin: 0 auto 18px; border-radius: 50%; background: var(--navy); color: #fff;
  display: grid; place-items: center; font-family: "Poppins", sans-serif; font-weight: 700; font-size: 1.25rem;
  border: 5px solid #fff; box-shadow: 0 0 0 4px var(--green); position: relative; z-index: 1;
}
.milestone:last-child .milestone-dot { background: var(--green); box-shadow: 0 0 0 4px var(--navy); }
.milestone h3 { font-size: 1rem; margin-bottom: 8px; }
.milestone p { font-size: .9rem; color: var(--muted); line-height: 1.5; }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.project { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; background: var(--navy); }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.project:hover img { transform: scale(1.06); }
.project figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 20px 16px; color: #fff; font-weight: 600;
  background: linear-gradient(transparent, rgba(0,39,69,.92));
}
.project figcaption small { display: block; color: var(--lime); font-weight: 500; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
.sectors { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; padding: 0; list-style: none; }
.sectors li { padding: 8px 18px; border: 1.5px solid var(--navy); border-radius: 999px; color: var(--navy); font-weight: 600; font-size: .9rem; }

/* ---------- Clients ---------- */
.clients { display: grid; grid-template-columns: repeat(7, 1fr); gap: 18px; align-items: center; }
.client { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); height: 120px; display: grid; place-items: center; padding: 16px; transition: .2s; }
.client:hover { border-color: var(--green); box-shadow: var(--shadow); }
.client img { max-height: 80px; width: auto; max-width: 100%; object-fit: contain; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon { flex: 0 0 48px; height: 48px; border-radius: 50%; background: var(--navy); display: grid; place-items: center; }
.contact-icon svg { width: 22px; height: 22px; fill: #fff; }
.contact-list strong { display: block; color: var(--navy); }
.contact-list span, .contact-list a { color: var(--muted); }
.contact-cta {
  background: var(--navy); color: #fff; border-radius: var(--radius); padding: 40px; position: relative; overflow: hidden;
}
.contact-cta::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 180px; height: 180px; background: var(--green); clip-path: polygon(100% 0, 100% 100%, 0 100%); opacity: .9; }
.contact-cta h3 { color: #fff; font-size: 1.6rem; }
.contact-cta p { color: rgba(255,255,255,.82); }
.contact-cta .btn { margin: 6px 10px 0 0; position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.site-footer { background: #001a2f; color: rgba(255,255,255,.75); padding: 56px 0 26px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 14px; }
.site-footer a { color: rgba(255,255,255,.75); }
.site-footer a:hover { color: var(--lime); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 52px; height: 52px; background: #fff; border-radius: 10px; padding: 4px; }
.footer-brand strong { color: #fff; font-family: "Poppins", sans-serif; font-size: 1.1rem; display: block; line-height: 1.2; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .85rem; }

.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 56px; height: 56px; border-radius: 50%;
  background: #25d366; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(0,0,0,.25);
}
.whatsapp-float svg { width: 30px; height: 30px; fill: #fff; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } html { scroll-behavior: auto; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .clients { grid-template-columns: repeat(4, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); row-gap: 40px; }
  .timeline::before { display: none; }
}
@media (max-width: 860px) {
  .section { padding: 72px 0; }
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); display: none; padding: 8px 20px 20px;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; justify-content: center; border-bottom: 0; }
  .hero { padding: 72px 0 90px; }
  .hero .container, .about-grid, .vm .container, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .hero-collage { grid-template-rows: 150px 150px; }
  .services-banner::after { width: 150px; height: 84px; right: 4%; opacity: .6; }
  .hero::before { width: 340px; height: 340px; right: -140px; top: -120px; opacity: .55; }
  .about-media .float { left: 12px; bottom: -24px; width: 60%; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .vm-visual { order: -1; }
  .vm-visual .ring { width: min(300px, 80%); }
}
@media (max-width: 560px) {
  .cards, .projects-grid { grid-template-columns: 1fr; }
  .clients { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: 1fr; }
  .brand-text span { display: none; }
  .contact-cta { padding: 28px; }
}

/* ---------- Generic pages (used by the WordPress theme) ---------- */
.page-hero { background: var(--navy); color: #fff; padding: 64px 0; }
.page-hero h1 { color: #fff; margin: 0; font-size: clamp(2rem, 4vw, 2.8rem); }
.page-content { max-width: 820px; }
.page-content img { height: auto; border-radius: var(--radius); }
.page-content h2 { font-size: 1.8rem; margin-top: 1.4em; }
