:root {
  --bg: #f2f5f8;
  --paper: #ffffff;
  --ink: #0f2338;
  --muted: #5b6b79;
  --line: #d7e0e7;
  --brand: #0b5ba8;
  --brand-dark: #0b3863;
  --accent: #de8a1e;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% -10%, #e2edf8 0%, transparent 32%),
    radial-gradient(circle at 100% 0%, #e7f2ff 0%, transparent 26%),
    var(--bg);
}

.wrap {
  width: 100%;
  max-width: none;
  padding-inline: clamp(16px, 3vw, 44px);
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 72px;
  height: auto;
  object-fit: contain;
}

.brand strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.03em;
  font-size: 1.18rem;
}

.brand small {
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
}

.nav a:hover {
  color: var(--brand);
}

.cta,
.btn {
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
}

.cta {
  background: linear-gradient(120deg, var(--brand) 0%, #1a74cb 100%);
  color: #fff;
  padding: 10px 16px;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  position: relative;
  isolation: isolate;
  background-size: cover;
  background-position: center;
}

.hero-slider {
  overflow: hidden;
}

.slider-track {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
  transition: background-image 0.5s ease;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(5, 22, 38, 0.86) 0%, rgba(10, 33, 55, 0.68) 44%, rgba(11, 56, 99, 0.4) 100%);
}

.hero-content {
  color: #f5f8fc;
  max-width: 760px;
  padding: 40px 0;
}

.slider-content {
  position: relative;
}

.slider-controls {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-btn {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  background: rgba(0, 0, 0, 0.15);
  font-size: 1.4rem;
  cursor: pointer;
}

.slider-dots {
  display: flex;
  gap: 6px;
}

.slider-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
}

.slider-dots button.active {
  background: #ffffff;
}

.kicker {
  font-family: "Rajdhani", sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #4e8ecb;
  margin-bottom: 8px;
  font-weight: 700;
}

.hero h1 {
  font-family: "Rajdhani", sans-serif;
  line-height: 0.96;
  font-size: clamp(2rem, 7vw, 4.2rem);
  margin: 0 0 16px;
}

.hero p {
  margin: 0;
  max-width: 650px;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: #dce9f7;
}

.hero-actions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn {
  padding: 11px 18px;
}

.btn-primary {
  background: linear-gradient(130deg, var(--accent) 0%, #f0a23f 100%);
  color: #1f1911;
}

.btn-ghost {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.55);
}

.metrics {
  margin-top: -34px;
  position: relative;
  z-index: 2;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.metric-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 10px 22px rgba(16, 35, 56, 0.08);
  padding: 18px 16px;
}

.metric-grid strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
  color: var(--brand-dark);
  line-height: 1;
}

.metric-grid span {
  color: var(--muted);
}

.about,
.services,
.projects,
.contact {
  margin-top: 64px;
}

.trust,
.process,
.company-info {
  margin-top: 64px;
}

.trust-head {
  margin-bottom: 12px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.trust-grid article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.trust-grid h3 {
  margin: 0 0 6px;
  color: var(--brand-dark);
  font-family: "Rajdhani", sans-serif;
}

.trust-grid p {
  margin: 0;
  color: var(--muted);
}

.about {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 24px;
  align-items: center;
}

.about-media img {
  width: 100%;
  border-radius: 16px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(16, 35, 56, 0.12);
}

.about-copy h2,
.services h2,
.projects h2,
.contact h2 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.5rem, 3.3vw, 2.4rem);
  line-height: 1;
  color: var(--brand-dark);
}

.about-copy p,
.about-copy li,
.section-intro,
.contact p,
.contact li {
  color: var(--muted);
  font-size: 1.03rem;
}

.service-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.service-card {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 14px;
  padding: 14px;
  box-shadow: 0 10px 24px rgba(16, 35, 56, 0.07);
}

.service-media {
  margin: -14px -14px 12px;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  background: #e9f1fa;
}

.service-media img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.service-card h3 {
  margin: 4px 0 6px;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.25rem;
  color: var(--brand-dark);
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.projects {
  padding: 42px 0;
  background: linear-gradient(180deg, rgba(230, 239, 248, 0.45) 0%, rgba(230, 239, 248, 0.03) 100%);
  border-top: 1px solid #dde5ee;
  border-bottom: 1px solid #dde5ee;
}

.hero-gallery {
  min-height: 52vh;
}

.profile-showcase {
  margin-top: 16px;
  display: grid;
  gap: 16px;
}

.profile-card {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 10px 22px rgba(16, 35, 56, 0.08);
}

.profile-media {
  background: #e9f1fa;
}

.profile-media img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
  display: block;
}

.profile-copy {
  padding: 16px 16px 14px 0;
}

.profile-copy h3 {
  margin: 2px 0 8px;
  font-family: "Rajdhani", sans-serif;
  color: var(--brand-dark);
  font-size: 1.6rem;
}

.profile-copy p,
.profile-copy li {
  color: var(--muted);
}

.profile-copy ul {
  margin: 10px 0 0;
}

.gallery-link-wrap {
  margin-top: 20px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.process-steps article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px;
}

.process-steps span {
  color: var(--accent);
  font-family: "Rajdhani", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.process-steps h3 {
  margin: 6px 0;
  color: var(--brand-dark);
  font-family: "Rajdhani", sans-serif;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
}

.company-info {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 12px;
}

.company-info > div,
.company-box {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
}

.company-info ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: var(--muted);
}

.company-box h3 {
  margin: 2px 0 8px;
  color: var(--brand-dark);
  font-family: "Rajdhani", sans-serif;
}

.company-box p {
  color: var(--muted);
}

.gallery-section {
  margin-top: 28px;
}

.gallery-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-head h3 {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  color: var(--brand-dark);
  font-size: 1.5rem;
}

.gallery-head span {
  color: var(--muted);
  font-size: 0.95rem;
}

.gallery {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 10px;
}

.tile {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #cfdbe8;
  background: #e8eef6;
  cursor: zoom-in;
  position: relative;
}

.tile img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.tile:hover img {
  transform: scale(1.05);
}

.tile figcaption {
  display: none;
}

.contact {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 14px;
  margin-bottom: 58px;
}

.contact-card,
.contact-note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 20px;
}

.footer {
  border-top: 1px solid var(--line);
  background: #0d1f30;
  color: #d7e4f3;
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lightbox {
  width: min(1000px, 94vw);
  border: 0;
  border-radius: 14px;
  padding: 14px;
  background: #081520;
  color: #f1f5f9;
  position: relative;
}

.lightbox::backdrop {
  background: rgba(6, 16, 25, 0.82);
}

.lightbox img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-close {
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  margin-left: auto;
  display: block;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  font-size: 1.6rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  z-index: 2;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

#lightboxCaption {
  margin: 8px 0 2px;
  color: #c9d9ea;
}

@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-grid,
  .process-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about,
  .contact,
  .company-info,
  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-copy {
    padding: 14px;
  }
}

@media (max-width: 640px) {
  .cta {
    display: none;
  }

  .metric-grid,
  .service-grid,
  .trust-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 100vh;
  }

  .tile img {
    height: 210px;
  }
}