@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --navy:     #0f2d6b;
  --blue:     #1d72c4;
  --blue-mid: #1660aa;
  --sky:      #68b8df;
  --sky-pale: #d4eaf6;
  --white:    #ffffff;
  --off:      #f5f7fa;
  --off2:     #eaf2fb;
  --border:   #dce8f2;
  --text:     #1a2533;
  --muted:    #56708a;
  --light:    #8aa5b8;

  --font-body:    'Inter', sans-serif;
  --font-display: 'DM Serif Display', serif;

  --nav-h: 72px;
  --max-w: 1160px;
  --pad:   clamp(1.25rem, 5vw, 3rem);

  --shadow-sm: 0 1px 4px rgba(15,45,107,.06);
  --shadow:    0 4px 20px rgba(15,45,107,.09);
  --shadow-md: 0 8px 32px rgba(15,45,107,.13);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Utility ───────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 var(--pad); }

.eyebrow {
  display: inline-block;
  font-size: .84rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .6rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.15;
}

.divider {
  width: 40px; height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 1rem 0 2rem;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.6rem;
  background: var(--blue);
  color: var(--white);
  font-size: .875rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid var(--blue);
  cursor: pointer;
  transition: background .18s, transform .12s, box-shadow .18s;
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover {
  background: var(--blue-mid);
  border-color: var(--blue-mid);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(29,114,196,.28);
}

.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--off2);
  transform: translateY(-1px);
  box-shadow: none;
}

.btn-navy {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.btn-navy:hover {
  background: #0a2256;
  border-color: #0a2256;
}

.btn-white {
  background: var(--white);
  border-color: var(--white);
  color: var(--navy);
}
.btn-white:hover {
  background: var(--sky-pale);
  border-color: var(--sky-pale);
  box-shadow: none;
  transform: translateY(-1px);
}

/* Used in CTA strips (dark/navy background) */
.btn-dark {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .7rem 1.6rem;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: .875rem;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .18s, border-color .18s, transform .12s;
  white-space: nowrap;
  text-decoration: none;
}
.btn-dark:hover {
  background: rgba(255,255,255,.22);
  border-color: rgba(255,255,255,.6);
  transform: translateY(-1px);
}

/* ── Topbar ────────────────────────────────────────────────── */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  font-size: .78rem;
  padding: .4rem 0;
}
.topbar-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  text-align: right;
}
.topbar a { color: var(--sky-pale); font-weight: 500; }
.topbar a:hover { color: var(--white); }

/* ── Nav ───────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo { display: flex; align-items: center; gap: .75rem; flex-shrink: 0; }
.nav-logo img { height: 56px; width: auto; }
.nav-brand {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--navy);
}
.nav-brand span { color: var(--blue); }
.nav-links { display: flex; gap: 1.75rem; align-items: center; }
.nav-links a {
  font-size: .875rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .18s;
  position: relative;
  padding-bottom: 2px;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  border-radius: 1px;
  transition: width .22s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--navy); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }
.nav-cta { font-size: .82rem; padding: .55rem 1.25rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--navy); transition: all .25s; }

/* ── Hero ──────────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a92 60%, var(--blue) 100%);
  padding: 3.5rem 0 5rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -30%; right: -15%;
  width: 65vw; height: 65vw;
  background: radial-gradient(circle, rgba(104,184,223,.18) 0%, transparent 65%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -10%; left: -10%;
  width: 40vw; height: 40vw;
  background: radial-gradient(circle, rgba(255,255,255,.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero-bg, .hero-grid-overlay { display: none; }
.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.hero .eyebrow { color: var(--sky-pale); opacity: .9; }
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}
.hero h1 em { color: var(--sky); font-style: normal; }
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-img-main {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow-md);
}
.hero-stat-strip {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  margin-top: 1rem;
  overflow: hidden;
}
.hero-stat {
  padding: 1rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.15);
}
.hero-stat:last-child { border-right: none; }
.hero-stat .num {
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--sky-pale);
  display: block;
}
.hero-stat .lbl {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ── Sections ──────────────────────────────────────────────── */
section { padding: 5rem 0; }

/* ── Quick links ───────────────────────────────────────────── */
.quicklinks-section {
  background: var(--off);
  padding: 5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.quicklinks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}
.quicklink-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
  transition: box-shadow .2s, transform .15s, border-color .2s;
  text-decoration: none;
  color: var(--text);
}
.quicklink-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: var(--sky);
}
.quicklink-card .ql-tag {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--off2);
  border-radius: 4px;
  padding: .2rem .55rem;
  align-self: flex-start;
}
.quicklink-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
}
.quicklink-card p {
  font-size: .84rem;
  color: var(--muted);
  line-height: 1.55;
  flex: 1;
}
.quicklink-card .ql-meta { font-size: .75rem; color: var(--light); font-weight: 500; margin-top: .25rem; }
.quicklink-card .ql-status { font-size: .75rem; font-weight: 600; color: #1d8a4e; }

/* ── Services ──────────────────────────────────────────────── */
.services-section { background: var(--white); }
.services-header { margin-bottom: .5rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  transition: box-shadow .22s, transform .15s;
  display: flex;
  flex-direction: column;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.service-card img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  transition: transform .4s;
}
.service-card:hover img { transform: scale(1.03); }
.service-card h3 {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--blue);
  padding: 1.4rem 1.5rem .6rem;
  margin-bottom: 0;
}
.service-card ul {
  padding: 0 1.5rem 1.5rem;
  flex: 1;
}
.service-card ul li {
  font-size: .875rem;
  color: var(--muted);
  padding: .35rem 0 .35rem 1rem;
  border-bottom: 1px solid var(--off2);
  position: relative;
}
.service-card ul li:last-child { border-bottom: none; }
.service-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 5px; height: 5px;
  background: var(--sky);
  border-radius: 50%;
}

/* ── Why us ────────────────────────────────────────────────── */
.why-section { background: var(--off); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: .5rem;
  transition: box-shadow .2s, border-color .2s;
}
.why-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--sky);
}
.why-icon {
  width: 40px; height: 40px;
  background: var(--off2);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: .5rem;
}
.why-card h4 { font-size: .9rem; font-weight: 700; color: var(--navy); }
.why-card p  { font-size: .875rem; color: var(--muted); line-height: 1.6; }

/* ── CTA strip ─────────────────────────────────────────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a92 100%);
  padding: 4.5rem 0;
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta-strip .eyebrow { color: var(--sky); }
.cta-strip .section-title { color: var(--white); }

/* ── Contact ───────────────────────────────────────────────── */
.contact-section { background: var(--off); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 4rem;
  align-items: start;
}
.contact-info p { font-size: .95rem; color: var(--muted); margin-bottom: 2rem; max-width: 400px; }
.contact-detail { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 2rem; }
.contact-detail a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: .6rem;
  transition: color .18s;
}
.contact-detail a:hover { color: var(--blue); }
.contact-detail a .icon {
  width: 32px; height: 32px;
  background: var(--off2);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  font-size: .85rem;
  flex-shrink: 0;
}
.contact-form { display: flex; flex-direction: column; gap: .9rem; }
.contact-form input,
.contact-form textarea {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .9rem;
  padding: .8rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color .18s, box-shadow .18s;
  resize: vertical;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,114,196,.11);
}
.contact-form textarea { min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.form-notice { font-size: .75rem; color: var(--light); }

/* ── Projects ──────────────────────────────────────────────── */
.projects-list { display: flex; flex-direction: column; gap: 3.5rem; margin-top: 3rem; }
.project-entry {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border);
}
.project-entry:last-child { border-bottom: none; }
.project-entry:nth-child(even) { direction: rtl; }
.project-entry:nth-child(even) > * { direction: ltr; }
.project-entry img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: var(--shadow);
}
.project-entry-body { display: flex; flex-direction: column; gap: .9rem; }
.project-entry-body h3 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  color: var(--navy);
}
.project-entry-body p { font-size: .925rem; color: var(--muted); line-height: 1.75; }
.project-meta { display: flex; gap: 2rem; flex-wrap: wrap; margin-top: .25rem; }
.project-meta-item { display: flex; flex-direction: column; gap: .15rem; }
.project-meta-item .label { font-size: .68rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.project-meta-item .value { font-size: .875rem; color: var(--muted); font-weight: 500; }

/* ── About ─────────────────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.about-text p { color: var(--muted); margin-bottom: 1.2rem; line-height: 1.8; }
.about-text p:first-of-type { font-size: 1.05rem; color: var(--text); }
.values-list { display: flex; flex-direction: column; gap: 0; }
.value-item {
  display: flex;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}
.value-item:first-child { border-top: 1px solid var(--border); }
.value-num {
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1;
  min-width: 2.5rem;
  color: var(--blue);
  opacity: .35;
}
.value-item h4 { font-size: .85rem; font-weight: 700; color: var(--navy); margin-bottom: .3rem; }
.value-item p { font-size: .875rem; color: var(--muted); }

/* ── Page hero (inner) ─────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #1a4a92 100%);
  padding: 4.5rem 0 3.5rem;
}
.page-hero .eyebrow { color: var(--sky); }
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-top: .4rem;
  line-height: 1.1;
}

/* ── Stats bar ─────────────────────────────────────────────── */
.stats-bar {
  background: var(--off2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
}
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px,1fr));
}
.stats-bar-item {
  padding: 2.25rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stats-bar-item:last-child { border-right: none; }
.stats-bar-item .num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  color: var(--blue);
  display: block;
}
.stats-bar-item .lbl {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .25rem;
}

/* ── Footer ────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.75);
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 2rem;
}
.footer-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; text-decoration: none; }
.footer-brand img { height: 40px; background: white; border-radius: 4px; padding: 3px; }
.footer-brand span { font-size: 1rem; font-weight: 700; color: var(--white); letter-spacing: .04em; }
.footer-brand em { color: var(--sky); font-style: normal; }
.footer-desc { font-size: .875rem; line-height: 1.7; color: rgba(255,255,255,.55); max-width: 260px; }
.footer-col h5 {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 1.25rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul li a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color .18s; }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: .55rem; }
.footer-contact a { font-size: .875rem; color: rgba(255,255,255,.6); transition: color .18s; }
.footer-contact a:hover { color: var(--sky-pale); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.35); }
.footer-bottom a { color: rgba(255,255,255,.35); transition: color .18s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ── Mobile ────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 99;
    border-top: 1px solid var(--border);
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.05rem; }
  .nav-cta { display: none; }
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .project-entry { grid-template-columns: 1fr; }
  .project-entry:nth-child(even) { direction: ltr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; }
  .hero h1 { font-size: 2.2rem; }
  .stats-bar-item { border-right: none; border-bottom: 1px solid var(--border); }
}

/* ── Animations ────────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.fade-up   { animation: fadeUp .55s ease both; }
.fade-up-2 { animation: fadeUp .55s .12s ease both; }
.fade-up-3 { animation: fadeUp .55s .24s ease both; }
.fade-up-4 { animation: fadeUp .55s .36s ease both; }
