* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #102a43;
  --primary-dark: #061826;
  --accent: #f2b705;
  --text: #15202b;
  --muted: #657482;
  --light: #f5f7fa;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.10);
  --radius: 20px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

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

.container {
  width: min(1180px, 92%);
  margin: auto;
}

.topbar {
  background: var(--primary-dark);
  color: #dce8f2;
  font-size: 14px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
}

.topbar-left {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.nav-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

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

.logo-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  border-radius: 14px;
  font-size: 28px;
  font-weight: 800;
}

.logo strong {
  display: block;
  font-size: 22px;
  line-height: 1;
}

.logo small {
  color: var(--muted);
  font-weight: 600;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
  font-weight: 600;
}

.nav-menu a {
  transition: .25s;
}

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

.nav-btn {
  background: var(--primary);
  color: white !important;
  padding: 12px 18px;
  border-radius: 999px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: var(--light);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  margin: 5px auto;
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(115deg, rgba(6, 24, 38, 0.90), rgba(16, 42, 67, 0.56)),
    url('https://images.unsplash.com/photo-1487958449943-2429e8be8625?auto=format&fit=crop&w=1600&q=80') center/cover;
  color: white;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  align-items: center;
  padding: 90px 0;
}

.badge,
.section-tag,
.section-heading span,
.cta span {
  display: inline-block;
  background: rgba(242, 183, 5, 0.16);
  color: var(--accent);
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.05;
  margin-bottom: 22px;
  max-width: 820px;
}

.hero p {
  max-width: 700px;
  color: #e4edf5;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  min-height: 48px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 800;
  transition: .25s;
}

.btn.primary {
  background: var(--accent);
  color: #1d1700;
}

.btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 35px rgba(242, 183, 5, .35);
}

.btn.secondary {
  background: rgba(255,255,255,.14);
  color: white;
  border: 1px solid rgba(255,255,255,.28);
}

.btn.whatsapp {
  background: #25D366;
  color: white;
  width: 100%;
}

.hero-card {
  background: rgba(255,255,255,.96);
  color: var(--text);
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card h3 {
  font-size: 28px;
  margin-bottom: 10px;
}

.hero-card p {
  color: var(--muted);
  margin-bottom: 24px;
}

.stats {
  margin-top: -58px;
  position: relative;
  z-index: 5;
}

.stats-grid {
  background: white;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  overflow: hidden;
}

.stat-box {
  padding: 32px 22px;
  text-align: center;
  border-right: 1px solid #edf0ef;
}

.stat-box:last-child {
  border-right: 0;
}

.stat-box strong {
  display: block;
  font-size: 40px;
  color: var(--primary);
}

.stat-box strong::after {
  content: "+";
}

.stat-box:last-child strong::after {
  content: "%";
}

.stat-box span {
  color: var(--muted);
  font-weight: 600;
}

.section {
  padding: 100px 0;
}

.section-heading {
  text-align: center;
  max-width: 740px;
  margin: 0 auto 48px;
}

.section-heading h2,
.about-content h2,
.contact-info h2,
.cta h2 {
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.15;
  margin-bottom: 14px;
}

.section-heading p,
.about-content p,
.contact-info p,
.cta p {
  color: var(--muted);
}

.service-grid,
.project-grid,
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.service-card,
.project-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(0,0,0,.08);
  transition: .25s;
  overflow: hidden;
}

.service-card {
  padding: 30px;
}

.service-card:hover,
.project-card:hover {
  transform: translateY(-8px);
}

.icon {
  width: 58px;
  height: 58px;
  background: rgba(242,183,5,.16);
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 28px;
  margin-bottom: 22px;
}

.service-card h3,
.why-card h3 {
  margin-bottom: 10px;
  font-size: 22px;
}

.service-card p,
.project-body p,
.project-body li,
.why-card p {
  color: var(--muted);
}

.project-section {
  background: var(--light);
}

.project-img {
  height: 230px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.project-img span {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--primary);
  color: white;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.img-1 { background-image: url('https://images.unsplash.com/photo-1511818966892-d7d671e672a2?auto=format&fit=crop&w=900&q=80'); }
.img-2 { background-image: url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=900&q=80'); }
.img-3 { background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=900&q=80'); }
.img-4 { background-image: url('https://images.unsplash.com/photo-1618220179428-22790b461013?auto=format&fit=crop&w=900&q=80'); }

.project-body {
  padding: 24px;
}

.project-body h3 {
  font-size: 22px;
  margin-bottom: 10px;
}

.project-body ul {
  margin: 18px 0;
  list-style: none;
}

.project-body a {
  color: var(--primary);
  font-weight: 800;
}

.about-section {
  background: white;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-image {
  min-height: 520px;
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(16,42,67,.05), rgba(16,42,67,.45)),
    url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=1100&q=80') center/cover;
  position: relative;
  overflow: hidden;
}

.image-card {
  position: absolute;
  left: 30px;
  bottom: 30px;
  right: 30px;
  background: white;
  padding: 28px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.image-card h3 {
  font-size: 28px;
  color: var(--primary);
}

.about-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 26px;
  font-weight: 700;
}

.why-section {
  background: var(--primary-dark);
}

.section-heading.light h2,
.section-heading.light p {
  color: white;
}

.why-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 30px;
  color: white;
}

.why-card p {
  color: #d8e5ee;
}

.cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 70px 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.cta p {
  color: #dfeaf2;
}

.contact-section {
  background: var(--light);
}

.contact-item {
  background: white;
  padding: 18px 20px;
  border-radius: 16px;
  margin-top: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.contact-item strong {
  display: block;
  color: var(--primary);
}

.contact-form {
  background: white;
  padding: 34px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid #dce4e1;
  border-radius: 14px;
  padding: 15px 16px;
  margin-bottom: 14px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--primary);
}

.contact-form .btn {
  width: 100%;
}

.form-status {
  margin-top: 12px;
  font-weight: 700;
  color: var(--primary);
}

.footer {
  background: #061826;
  color: white;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr;
  gap: 34px;
  padding: 70px 0;
}

.footer p,
.footer a {
  color: #cad7e2;
}

.footer a {
  display: block;
  margin-top: 8px;
}

.footer h3 {
  margin-bottom: 14px;
}

.footer-logo {
  margin-bottom: 18px;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 18px 0;
  text-align: center;
  color: #cad7e2;
}

.floating-whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  background: #25D366;
  color: white;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(37,211,102,.35);
}

@media (max-width: 1024px) {
  .service-grid,
  .project-grid,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-content,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 768px) {
  .topbar-inner,
  .topbar-left {
    justify-content: center;
    text-align: center;
  }

  .topbar-right {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-menu {
    position: absolute;
    top: 78px;
    left: 4%;
    right: 4%;
    background: white;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 18px;
    border-radius: 18px;
    box-shadow: var(--shadow);
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    transition: .25s;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li a {
    display: block;
    padding: 13px 10px;
  }

  .nav-btn {
    text-align: center;
    margin-top: 8px;
  }

  .hero-content {
    padding: 70px 0;
  }

  .stats {
    margin-top: 0;
    padding-top: 24px;
    background: var(--light);
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-box {
    border-bottom: 1px solid #edf0ef;
  }

  .section {
    padding: 70px 0;
  }

  .service-grid,
  .project-grid,
  .why-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-list,
  .form-row {
    grid-template-columns: 1fr;
  }

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

  .floating-whatsapp {
    right: 14px;
    bottom: 14px;
    padding: 12px 16px;
  }
}
