:root {
  --bg: #f5f7fb;
  --bg-alt: #d9dbde;
  --bg-muted: #f0f2f6;
  --text-main: #111827;
  --text-muted: #6b7280;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-soft: #eff3ff;
  --border-soft: #e5e7eb;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 999px;
}

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

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-main);
  background: var(--bg);
  line-height: 1.6;
}

/* LAYOUT HELPERS */

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.section-subtitle {
  text-align: center;
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 2.75rem;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(229, 231, 235, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0070c9;
}

.logo-mark {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(135deg, #1d4ed8, #38bdf8);
}

.nav {
  display: flex;
  gap: 1.75rem;
  font-size: 0.95rem;
}

.nav a {
  text-decoration: none;
  color: #4b5563;
  font-weight: 500;
  position: relative;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.18s ease-out;
}

.nav a:hover {
  color: var(--primary-dark);
}

.nav a:hover::after {
  width: 100%;
}

/* HERO */

.hero {
  background: var(--bg-alt);
  padding: 4.5rem 0 4rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.hero-content h1 {
  font-size: 2.6rem;
  line-height: 1.1;
  margin: 0 0 1.25rem;
}

.hero-content p {
  color: var(--text-muted);
  font-size: 0.98rem;
  max-width: 480px;
  margin-bottom: 1.75rem;
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.1s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.35);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(37, 99, 235, 0.4);
}

.btn-outline {
  background: #fff;
  color: var(--text-main);
  border-color: var(--border-soft);
}

.btn-outline:hover {
  background: var(--primary-soft);
  border-color: var(--primary);
}

.full-width {
  width: 100%;
}

/* HERO IMAGE */

.hero-image {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: #020617;
}

.hero-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* GRID */

.grid {
  display: grid;
  gap: 1.75rem;
}

/* SERVICES */

.services {
  background: var(--bg-alt);
}

.services-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.75rem 1.6rem;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.85);
}

.service-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
}

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

.service-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary);
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--primary);
  text-decoration: none;
}

.card-link:hover {
  color: var(--primary-dark);
}

/* INDUSTRIES */

.industries {
  background: var(--bg);
}

.industries-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.industry-card {
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-soft);
}

.industry-image {
  position: relative;
  height: 210px;
  overflow: hidden;
}

.industry-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.25s ease-out, filter 0.25s ease-out;
  filter: brightness(0.85);
}

.industry-card:hover img {
  transform: scale(1.03);
  filter: brightness(0.98);
}

.industry-label {
  position: absolute;
  left: 1.1rem;
  bottom: 1rem;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: #f9fafb;
  font-size: 0.86rem;
  font-weight: 500;
}

/* PROJECTS */

.projects {
  background: var(--bg-alt);
}

.projects-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-image {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.project-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.project-body h3 {
  margin: 0 0 0.4rem;
  font-size: 1.02rem;
}

.project-meta {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #6b7280;
}

.project-text {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ABOUT */

.about {
  background: var(--bg);
}

.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: center;
}

.about-text h2 {
  font-size: 1.8rem;
  margin: 0 0 0.8rem;
}

.about-text p {
  color: var(--text-muted);
  font-size: 0.96rem;
  margin: 0 0 0.9rem;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.about-item {
  background: #0f172a;
  color: #e5e7eb;
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.4);
}

.about-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.about-label {
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* CONTACT */

.contact {
  background: var(--bg-alt);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.1fr);
  gap: 2rem;
  align-items: flex-start;
}

.contact-info h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

.contact-info h4 {
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}

.contact-info p {
  margin: 0.15rem 0;
  font-size: 0.94rem;
}

.contact-form {
  padding: 1.75rem 1.75rem 1.5rem;
}

.form-row {
  margin-bottom: 0.9rem;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  background: #f9fafb;
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.18);
  background: #ffffff;
}

textarea {
  resize: vertical;
}

.form-note {
  margin-top: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* FOOTER */

.site-footer {
  background: #020617;
  color: #e5e7eb;
  padding-top: 2.5rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 2rem;
  padding-bottom: 1.5rem;
}

.footer-col h4 {
  margin-top: 0;
  margin-bottom: 0.65rem;
}

.footer-col p {
  margin: 0;
  font-size: 0.9rem;
  color: #9ca3af;
}

.footer-col a {
  display: block;
  text-decoration: none;
  font-size: 0.9rem;
  color: #d1d5db;
  margin-bottom: 0.25rem;
}

.footer-col a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(55, 65, 81, 0.8);
  padding: 0.9rem 0 1.2rem;
}

.footer-bottom-inner {
  display: flex;
  justify-content: center;
  font-size: 0.82rem;
  color: #6b7280;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-image {
    order: -1;
  }

  .services-grid,
  .industries-grid,
  .projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

@media (max-width: 720px) {
  .header-inner {
    gap: 1rem;
  }

  .nav {
    display: none; /* keep it dead simple for now; no mobile menu JS */
  }

  .hero {
    padding-top: 3.25rem;
  }

  .hero-content h1 {
    font-size: 2.1rem;
  }

  .services-grid,
  .industries-grid,
  .projects-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

  .section {
    padding: 3.2rem 0;
  }

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