*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #f5f7fb;
  --bg-alt: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --accent: #2563eb;
  --accent-soft: rgba(37, 99, 235, 0.12);
  --border-subtle: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.06);
  --radius-card: 20px;
  --radius-pill: 999px;
  --max-width: 1120px;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background-color: var(--bg);
  color: var(--text);
}

body {
  line-height: 1.6;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}


/* Header / Nav */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(249, 250, 251, 0.96);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-logo {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-links a {
  position: relative;
  padding-block: 4px;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent);
  border-radius: 999px;
  transition: width 0.18s ease-out;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links a:hover::after {
  width: 18px;
}

/* Hero */

.hero {
  padding: 80px 0 72px;
}

.hero-inner {
  text-align: center;
}

.hero-heading-wrap {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.hero-title {
  font-size: clamp(2.4rem, 4vw + 1rem, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin: 0;
}

.hero-bar {
  width: min(640px, 80vw);
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.hero-subtitle {
  max-width: 720px;
  margin: 32px auto 32px;
  font-size: 1.02rem;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  font-size: 0.98rem;
  font-weight: 600;
  transition: transform 0.12s ease-out, box-shadow 0.12s ease-out, filter 0.12s ease-out;
}

.btn-primary {
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: #ffffff;
  box-shadow: 0 18px 35px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
}

.btn-icon {
  font-size: 1rem;
}

.btn-full {
  width: 100%;
}

/* Sections generic */

.section {
  padding: 72px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-header h2 {
  margin: 0 0 8px;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

/* About */

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 36px;
  align-items: center;
  margin-bottom: 36px;
}

.about-text h2 {
  margin: 0 0 14px;
  font-size: 1.7rem;
}

.about-text p {
  margin: 0 0 10px;
  color: var(--muted);
}

.about-image-card {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background-color: #ffffff;
}

.about-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pillars */

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.pillar-card {
  background-color: var(--bg-alt);
  border-radius: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(209, 213, 219, 0.7);
}

.pillar-icon {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background-color: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 10px;
}

.pillar-card h3 {
  margin: 0 0 6px;
  font-size: 1.05rem;
}

.pillar-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Services */

.services {
  background-color: #f9fafb;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.service-card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  padding: 20px 20px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(209, 213, 219, 0.7);
}

.service-icon {
  width: 32px;
  height: 32px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent-soft);
  margin-bottom: 12px;
}

.service-card h3 {
  margin: 0 0 6px;
  font-size: 1.08rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Approach */

.approach {
  background-color: #ffffff;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.approach-card {
  background-color: #f9fafb;
  border-radius: var(--radius-card);
  padding: 18px 20px 18px;
  border: 1px solid rgba(209, 213, 219, 0.7);
}

.approach-badge {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--accent);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.approach-card h3 {
  margin: 0 0 6px;
  font-size: 1.02rem;
}

.approach-card p {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

/* Projects */

.projects {
  background-color: #f9fafb;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.project-card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  padding: 20px 20px 18px;
  border: 1px solid rgba(209, 213, 219, 0.8);
  box-shadow: var(--shadow-soft);
}

.project-card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.project-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 14px 0 10px;
}

.tag {
  padding: 4px 9px;
  border-radius: 999px;
  background-color: #eff3ff;
  color: #374151;
  font-size: 0.78rem;
}

.project-metric {
  margin-top: 6px;
  font-size: 0.9rem;
  color: #1d4ed8;
  font-weight: 500;
}

/* Team */

.team {
  background-color: #ffffff;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.team-card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  border: 1px solid rgba(209, 213, 219, 0.8);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.team-photo-wrap {
  background-color: transparent;
  height: 260px;
  overflow: hidden;
}

.team-photo-wrap img {
  width: 100%;
  object-fit: cover;
}

.team-body {
  padding: 18px 18px 16px;
}

.team-body h3 {
  margin: 0 0 4px;
}

.team-role {
  margin: 0 0 8px;
  font-size: 0.9rem;
  color: #2563eb;
}

.team-bio {
  margin: 0;
  font-size: 0.94rem;
  color: var(--muted);
}

/* Contact */

.contact {
  background-color: #f9fafb;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: 26px;
}

.contact-card {
  background-color: #ffffff;
  border-radius: var(--radius-card);
  padding: 22px 22px 20px;
  border: 1px solid rgba(209, 213, 219, 0.9);
  box-shadow: var(--shadow-soft);
}

.info-card h3,
.form-card h3 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
}

.info-list li {
  margin-bottom: 8px;
}

.info-label {
  display: block;
  font-size: 0.86rem;
  color: var(--muted);
}

.info-value {
  font-size: 0.96rem;
}

.info-note {
  font-size: 0.88rem;
  color: var(--muted);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.9rem;
  margin-bottom: 12px;
}

.field input,
.field textarea {
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
  padding: 9px 10px;
  font: inherit;
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent-soft);
}

.form-small-note {
  margin: 8px 0 0;
  font-size: 0.8rem;
  color: var(--muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(229, 231, 235, 0.9);
  background-color: #f9fafb;
  padding: 18px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.86rem;
  color: var(--muted);
}

.footer-logo {
  height: 50px;
  width: auto;
}

.footer-right p {
  margin: 0;
}

/* Responsive */


@media (max-width: 900px) {
  .nav-bar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 6px;
    padding-left: 8px;
  }

  .about-inner,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 72px;
  }

  .hero-bar {
    height: 54px;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.2rem;
  }

  .hero-bar {
    width: 70vw;
    height: 46px;
  }

  .section {
    padding: 56px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
