:root {
  --navy: #163a63;
  --blue: #0078d4;
  --light: #f8fafc;
  --soft-blue: #eaf4fb;
  --text: #333333;
  --border: #dfe7ef;
  --white: #ffffff;
  --green: #107c41;
  --purple: #742774;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: var(--light);
  color: var(--text);
  line-height: 1.6;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: white;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 7%;
}

.logo a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.2rem;
}

.logo span {
  display: block;
  font-size: 0.8rem;
  color: #667085;
}

nav {
  display: flex;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
}

nav a:hover {
  color: var(--blue);
}

.menu-btn {
  display: none;
  font-size: 1.6rem;
  background: none;
  border: none;
  cursor: pointer;
}

.hero {
  padding: 100px 8%;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 60px;
  align-items: center;
}

.eyebrow {
  color: var(--blue);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 1;
  color: var(--navy);
}

.hero h1 span {
  color: var(--blue);
}

.hero-description {
  font-size: 1.25rem;
  max-width: 700px;
  margin-top: 25px;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-top: 35px;
}

.btn {
  padding: 14px 24px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}

.btn-primary {
  background: var(--blue);
  color: white;
}

.btn-secondary {
  border: 2px solid var(--blue);
  color: var(--blue);
}

.hero-card {
  background: var(--navy);
  color: white;
  border-radius: 20px;
  padding: 35px;
}

.hero-card-label {
  font-size: 0.75rem;
  letter-spacing: 2px;
}

.hero-card h3 {
  margin: 15px 0;
}

.specialties {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--navy);
  color: white;
}

.specialty {
  padding: 30px;
}

.section {
  padding: 90px 8%;
}

.section-header {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  margin-bottom: 40px;
}

.section-header p {
  max-width: 550px;
}

.projects-grid,
.earlier-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.card {
  background: white;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.card-banner {
  padding: 30px;
  color: white;
}

.card-banner h3 {
  margin-top: 10px;
}

.card-content {
  padding: 24px;
}
.project-image {
  width: 100%;

  height: 220px;

  object-fit: cover;

  display: block;

  border-bottom: 1px solid #dfe7ef;
}

.tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 15px 0;
}

.tag {
  background: var(--soft-blue);
  color: var(--navy);
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.75rem;
}

.card-link {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}

.section-dark {
  background: var(--navy);
  color: white;
}

.section-dark h2 {
  margin-bottom: 20px;
}

.about-text {
  font-size: 1.25rem;
  max-width: 900px;
}

.process-grid {
  margin-top: 45px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.process-grid div {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 15px;
}

.services-grid,
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 35px;
}

.services-grid article,
.skills-grid article {
  background: white;
  padding: 25px;
  border-radius: 14px;
  border: 1px solid var(--border);
}

.earlier-section {
  background: var(--soft-blue);
}

.contact-section {
  text-align: center;
  padding: 100px 8%;
}

.contact-section p {
  max-width: 700px;
  margin: 20px auto 30px;
}
.about-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 50px;
  align-items: center;
  margin-top: 30px;
  margin-bottom: 50px;
}

.about-photo {
  text-align: center;
}

.about-photo img {
  width: 280px;
  height: 280px;
  object-fit: cover;
  border-radius: 50%;

  border: 5px solid #0078d4;

  box-shadow:
    0 0 0 8px rgba(255, 255, 255, 0.08),
    0 15px 40px rgba(0, 0, 0, 0.35);
}

.about-content h2 {
  color: white;
  margin-bottom: 20px;
}

.about-content p {
  font-size: 1.15rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #d9e5f1;
}

footer {
  background: #0f2742;
  color: white;
  text-align: center;
  padding: 30px;
}

footer p:first-child {
  margin-bottom: 10px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .projects-grid,
  .earlier-grid,
  .skills-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .specialties {
    grid-template-columns: 1fr 1fr;
  }

  .section-header {
    flex-direction: column;
  }

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

@media (max-width: 700px) {
  .menu-btn {
    display: block;
  }

  nav {
    display: none;
  }

  nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 75px;
    left: 0;
    right: 0;
    background: white;
    padding: 25px;
  }

  .specialties {
    grid-template-columns: 1fr;
  }
  @media (max-width: 900px) {
    .about-layout {
      grid-template-columns: 1fr;
      text-align: center;
    }

    .about-photo img {
      max-width: 250px;
    }
  }
}
