/* InteGreat Solutions — site styles */

:root {
  --navy: #0e2a47;
  --navy-deep: #0a1f36;
  --blue: #1668b0;
  --blue-dark: #0f4e86;
  --teal: #14707e;
  --green: #2e9e6b;
  --ink: #1d2b3a;
  --muted: #5b6d80;
  --line: #e3e9f0;
  --bg: #ffffff;
  --bg-soft: #f4f7fa;
  --radius: 10px;
  --shadow-sm: 0 1px 3px rgba(14, 42, 71, 0.08);
  --shadow-md: 0 6px 20px rgba(14, 42, 71, 0.10);
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */

.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.brand img { height: 56px; width: auto; }

.nav-toggle { display: none; }
.nav-toggle-label { display: none; }

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
}

.site-nav a {
  display: block;
  padding: 10px 14px;
  color: var(--ink);
  font-weight: 500;
  font-size: 15px;
  border-radius: 6px;
  white-space: nowrap;
}

.site-nav a:hover {
  color: var(--blue-dark);
  background: var(--bg-soft);
  text-decoration: none;
}

.site-nav a.active {
  color: var(--blue-dark);
  background: #e9f2fb;
}

/* ---------- Hero ---------- */

.hero {
  background:
    radial-gradient(900px 320px at 85% -60px, rgba(46, 158, 107, 0.22), transparent 60%),
    radial-gradient(700px 380px at 10% 120%, rgba(22, 104, 176, 0.35), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, #134a63 100%);
  color: #fff;
  padding: 88px 0;
}

.hero h1 {
  margin: 0;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 900px;
}

.hero .lede {
  margin: 18px 0 0;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
}

.page-hero {
  background:
    radial-gradient(700px 260px at 85% -40px, rgba(46, 158, 107, 0.18), transparent 60%),
    linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #134a63 100%);
  color: #fff;
  padding: 56px 0;
}

.page-hero h1 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---------- Sections ---------- */

.section { padding: 72px 0; }
.section.soft { background: var(--bg-soft); }

.eyebrow {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-title {
  margin: 0 0 16px;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
}

.section-intro {
  font-size: 18px;
  color: var(--muted);
  max-width: 820px;
  margin: 0 0 40px;
}

/* ---------- Cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.card img.card-img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-bottom: 3px solid var(--green);
}

.card-body { padding: 26px 26px 30px; }

.card-body h3 {
  margin: 0 0 12px;
  font-size: 20px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.card-body p { margin: 0 0 14px; color: var(--muted); font-size: 15.5px; }
.card-body p:last-child { margin-bottom: 0; }

/* ---------- Feature rows (services / clients) ---------- */

.feature { padding: 26px 0; }
.feature + .feature { border-top: 1px solid var(--line); }

.feature h3 {
  margin: 0 0 6px;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.feature h4 {
  margin: 22px 0 8px;
  font-size: 17px;
  color: var(--navy);
}

.feature p { margin: 0 0 12px; color: var(--ink); }
.feature p.sub { color: var(--muted); font-size: 17px; }

.bullet-list {
  margin: 8px 0 16px;
  padding: 0;
  list-style: none;
}

.bullet-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 10px;
  color: var(--ink);
}

.bullet-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

/* ---------- Logo strips ---------- */

.logo-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 34px;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 8px 0 44px;
}

.logo-strip img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(35%);
  opacity: 0.9;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.logo-strip img:hover { filter: none; opacity: 1; }

.client-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  align-items: stretch;
  margin: 8px 0 44px;
}

.client-logo-grid .logo-cell {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
}

.client-logo-grid img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin: 0 0 44px;
}

.photo-strip img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* ---------- Callout ---------- */

.callout {
  background: linear-gradient(135deg, #eef6f3 0%, #e9f2fb 100%);
  border-left: 4px solid var(--green);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 22px 26px;
  margin: 30px 0;
  font-size: 17px;
  color: var(--navy);
}

/* ---------- About ---------- */

.about-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 44px;
  align-items: start;
}

.about-layout img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.cert-block {
  margin-top: 34px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 30px;
}

.cert-block .cert-title {
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.cert-block p { margin: 6px 0; color: var(--ink); }
.cert-block .codes { font-variant-numeric: tabular-nums; }

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 34px;
}

.contact-card h2 { margin-top: 0; color: var(--navy); }

.address-lines p { margin: 8px 0; font-size: 17px; }
.address-lines .label {
  display: inline-block;
  min-width: 52px;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- Careers form ---------- */

.careers-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  align-items: start;
}

.careers-layout img.side {
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.apply-form {
  margin-top: 36px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 34px;
}

.apply-form h3 { margin: 0 0 20px; color: var(--navy); font-size: 20px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field { margin-bottom: 18px; }

.form-field label {
  display: block;
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 6px;
  color: var(--navy);
}

.form-field label .req { color: #c0392b; }

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 15.5px;
  font-family: var(--font);
  border: 1px solid #c8d3de;
  border-radius: 7px;
  background: #fbfdff;
  color: var(--ink);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(22, 104, 176, 0.15);
  background: #fff;
}

.form-field textarea { min-height: 130px; resize: vertical; }

.checkbox-field {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 6px 0 22px;
  font-size: 15px;
  color: var(--muted);
}

.checkbox-field input { margin-top: 5px; }

.btn {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 13px 34px;
  font-size: 16px;
  font-weight: 600;
  font-family: var(--font);
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.btn:hover { background: var(--blue-dark); transform: translateY(-1px); }

.form-note {
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--muted);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.72);
  padding: 40px 0;
  margin-top: 0;
  font-size: 14.5px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-nav { display: flex; gap: 4px; flex-wrap: wrap; }
.footer-nav a {
  color: rgba(255, 255, 255, 0.72);
  padding: 6px 10px;
  font-size: 14px;
}
.footer-nav a:hover { color: #fff; text-decoration: none; }

/* ---------- Responsive ---------- */

@media (max-width: 960px) {
  .card-grid { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .about-layout, .contact-layout, .careers-layout { grid-template-columns: 1fr; }
  .careers-layout img.side { max-width: 340px; }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }

  .nav-toggle-label {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    cursor: pointer;
    align-items: center;
  }
  .nav-toggle-label span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    display: none;
  }
  .site-nav ul { flex-direction: column; padding: 10px; }
  .site-nav a { padding: 12px 14px; }
  .nav-toggle:checked ~ .site-nav { display: block; }
  .site-header { position: sticky; }
  .header-inner { position: relative; }
}

@media (max-width: 640px) {
  .section { padding: 52px 0; }
  .hero { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .photo-strip img { height: 120px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
