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

/* ─── Variables ─────────────────────────────────────── */
:root {
  --navy:       #0A2540;
  --blue:       #2563EB;
  --blue-light: #EFF6FF;
  --sky:        #93C5FD;
  --white:      #FFFFFF;
  --grey-bg:    #F8FAFC;
  --text:       #1E293B;
  --muted:      #64748B;
  --border:     #E2E8F0;
  --radius:     6px;
  --shadow:     0 1px 3px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-lg:  0 8px 32px rgba(0,0,0,.10);
  --transition: 0.2s ease;
}

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

/* ─── Utilities ─────────────────────────────────────── */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.section { padding: 96px 0; }
.section-sm { padding: 64px 0; }

.tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}

h1 { font-size: clamp(36px, 5vw, 58px); font-weight: 700; line-height: 1.15; color: var(--navy); }
h2 { font-size: clamp(28px, 4vw, 42px); font-weight: 700; line-height: 1.2;  color: var(--navy); }
h3 { font-size: 20px; font-weight: 600; color: var(--navy); }
h4 { font-size: 16px; font-weight: 600; color: var(--navy); }
p  { color: var(--muted); }

.lead { font-size: 18px; line-height: 1.7; color: var(--muted); }

/* ─── Buttons ───────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: #1d4ed8; border-color: #1d4ed8; }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

.btn-white {
  background: var(--white);
  color: var(--navy);
  border-color: var(--white);
}
.btn-white:hover { background: var(--grey-bg); }

.btn-lg { padding: 16px 32px; font-size: 16px; }

/* ─── Navigation ─────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 3px solid var(--blue);
  height: 100px;
  display: flex;
  align-items: center;
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
}
.nav-logo span { color: var(--sky); }
.nav-logo-mark {
  width: 58px;
  height: 58px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,.2);
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 7px 14px;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255,255,255,.85);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--white); background: rgba(255,255,255,.1); }
.nav-links a:hover .nav-mi, .nav-links a.active .nav-mi { color: var(--sky); opacity: 1; }
.nav-cta { margin-left: 16px; }

.nav-mi {
  display: block;
  font-size: 11px;
  font-weight: 400;
  color: var(--sky);
  line-height: 1.2;
  margin-top: 2px;
  letter-spacing: .01em;
  opacity: 0.75;
}

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 99;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--text);
  border-radius: var(--radius);
}
.mobile-menu a:hover { background: var(--grey-bg); }
.mobile-menu a:hover .nav-mi { color: var(--blue); opacity: 0.7; }
.mobile-menu .btn { margin-top: 8px; justify-content: center; }

/* ─── Hero ───────────────────────────────────────────── */
.hero {
  padding: 100px 0 90px;
  background: var(--white);
}
.hero-content { max-width: 680px; }
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 40px; max-width: 560px; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── Stats strip ─────────────────────────────────────── */
.stats {
  background: var(--navy);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-size: 44px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 14px;
  font-weight: 500;
  color: var(--sky);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ─── Section headings ────────────────────────────────── */
.section-heading { margin-bottom: 56px; }
.section-heading h2 { margin-bottom: 14px; }
.section-heading p { font-size: 17px; max-width: 520px; }
.section-heading.centered { text-align: center; }
.section-heading.centered p { margin: 0 auto; }

/* ─── Service overview cards (homepage) ───────────────── */
.services-overview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 40px;
  transition: var(--transition);
}
.service-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-2px);
}
.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--blue-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-card-icon svg { width: 26px; height: 26px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.service-card h3 { margin-bottom: 12px; }
.service-card p { margin-bottom: 24px; font-size: 15px; }
.service-card .link {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}
.service-card .link:hover { gap: 10px; }

/* ─── Why us ──────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.why-item { padding: 0; }
.why-icon {
  width: 44px;
  height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.why-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.why-item h4 { margin-bottom: 8px; }
.why-item p { font-size: 15px; }

/* ─── Logos strip ─────────────────────────────────────── */
.logos-strip {
  background: var(--grey-bg);
  padding: 48px 0;
}
.logos-label {
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 32px;
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
}
.logo-placeholder {
  height: 32px;
  background: var(--border);
  border-radius: 4px;
  opacity: .5;
}
.logo-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  opacity: .35;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.logo-img {
  height: 56px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .5;
  transition: var(--transition);
}
.logo-img:hover {
  opacity: .75;
  filter: grayscale(.5);
}

/* ─── Testimonials ────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.testimonial-card {
  background: var(--grey-bg);
  border-radius: 12px;
  padding: 36px;
}
.testimonial-quote {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--muted);
  font-size: 16px;
  flex-shrink: 0;
}
.testimonial-name { font-size: 15px; font-weight: 600; color: var(--navy); }
.testimonial-role { font-size: 13px; color: var(--muted); }

/* ─── CTA Banner ─────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  padding: 96px 0;
  text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 16px; }
.cta-banner p { color: var(--sky); font-size: 18px; margin-bottom: 40px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ─── Detail service cards (inner pages) ─────────────── */
.detail-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.detail-card {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  transition: var(--transition);
}
.detail-card:hover { box-shadow: var(--shadow); border-color: var(--blue); }
.detail-card-icon {
  width: 48px;
  height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.detail-card-icon svg { width: 24px; height: 24px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.outcome-badge {
  display: inline-block;
  background: var(--blue-light);
  color: var(--blue);
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}
.detail-card h3 { margin-bottom: 8px; }
.detail-card p { font-size: 15px; }

/* ─── Value props (3-col) ─────────────────────────────── */
.props-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.prop-item {
  border-left: 3px solid var(--blue);
  padding-left: 20px;
}
.prop-item h4 { margin-bottom: 8px; }
.prop-item p { font-size: 15px; }

/* ─── About page ─────────────────────────────────────── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-text h2 { margin-bottom: 24px; }
.about-text p { margin-bottom: 16px; font-size: 16px; }
.about-visual {
  background: var(--navy);
  border-radius: 16px;
  padding: 48px;
  color: var(--white);
}
.about-visual .stat-number { font-size: 52px; }
.about-visual .stat-label { color: var(--sky); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }

.team-card {
  background: var(--grey-bg);
  border-radius: 12px;
  padding: 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.team-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  flex-shrink: 0;
}
.team-info h3 { margin-bottom: 4px; }
.team-title { font-size: 14px; color: var(--blue); font-weight: 600; margin-bottom: 12px; }
.team-bio { font-size: 15px; }
.team-contact { display: flex; flex-direction: column; gap: 4px; margin-top: 16px; }
.team-contact a { font-size: 14px; color: var(--blue); font-weight: 500; }

/* ─── Contact page ─────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
}
.contact-info h2 { margin-bottom: 16px; }
.contact-info .lead { margin-bottom: 40px; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; }
.contact-detail-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 1.8; }
.contact-detail-text .label { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 2px; }
.contact-detail-text .value { font-size: 15px; font-weight: 500; color: var(--text); }
.contact-detail-text a { color: var(--blue); }

.contact-form { background: var(--grey-bg); border-radius: 16px; padding: 48px; }
.contact-form h3 { margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 6px; }
input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  outline: none;
  appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .12);
}
textarea { resize: vertical; min-height: 120px; }
select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748B' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }

/* ─── Page hero (inner pages) ─────────────────────────── */
.page-hero {
  background: var(--navy);
  padding: 80px 0;
  color: var(--white);
}
.page-hero .tag { color: var(--sky); }
.page-hero h1 { color: var(--white); margin-bottom: 20px; }
.page-hero .lead { color: var(--sky); max-width: 600px; }
.page-hero-btns { display: flex; gap: 14px; margin-top: 36px; flex-wrap: wrap; }

/* ─── Footer ──────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: var(--white);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 16px; }
.footer-brand .nav-logo-mark { background: var(--blue); }
.footer-brand p { color: rgba(255,255,255,.55); font-size: 15px; line-height: 1.7; }
.footer-col h5 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--sky); margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 15px; color: rgba(255,255,255,.65); transition: var(--transition); }
.footer-col ul li a:hover { color: var(--white); }
.footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-contact a { font-size: 15px; color: rgba(255,255,255,.65); display: flex; align-items: center; gap: 8px; transition: var(--transition); }
.footer-contact a:hover { color: var(--white); }
.footer-contact svg { width: 16px; height: 16px; stroke: var(--sky); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: rgba(255,255,255,.4);
}

/* ─── Responsive ─────────────────────────────────────── */
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 40px; }
  .services-overview { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .detail-cards { grid-template-columns: 1fr; }
  .props-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-banner { padding: 64px 0; }
  .contact-form { padding: 32px 24px; }
}
