* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Arial, sans-serif;
}

:root {
  --primary: #38bdf8;
  --primary-dark: #0284c7;
  --dark: #0f172a;
  --dark-light: #1e293b;
  --text: #334155;
  --muted: #64748b;
  --light: #f8fafc;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow: 0 15px 35px rgba(15, 23, 42, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--light);
  color: var(--text);
  line-height: 1.7;
}

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

a {
  text-decoration: none;
}

.container {
  width: 84%;
  max-width: 1200px;
  margin: auto;
}

.header {
  width: 100%;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(12px);
  color: var(--white);
  padding: 18px 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
}

.logo {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span {
  color: var(--primary);
}

.navbar {
  display: flex;
  gap: 26px;
  align-items: center;
}

.navbar a {
  color: var(--white);
  font-size: 15px;
  font-weight: 500;
  transition: 0.3s;
}

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

.menu-btn {
  display: none;
  background: none;
  color: var(--white);
  border: none;
  font-size: 28px;
  cursor: pointer;
}

.hero {
  min-height: 100vh;
  background:
    linear-gradient(rgba(15, 23, 42, 0.82), rgba(15, 23, 42, 0.9)),
    url("https://images.unsplash.com/photo-1498050108023-c5249f4df085?auto=format&fit=crop&w=1600&q=80") center/cover;
  color: var(--white);
  display: flex;
  align-items: center;
  padding: 120px 8% 60px;
}

.hero-content {
  max-width: 740px;
}

.badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.16);
  color: var(--primary);
  padding: 8px 16px;
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 100px;
  margin-bottom: 22px;
  font-weight: 700;
}

.hero h1 {
  font-size: clamp(38px, 6vw, 72px);
  line-height: 1.08;
  letter-spacing: -2px;
  margin-bottom: 22px;
}

.hero p {
  max-width: 680px;
  color: #dbeafe;
  font-size: 18px;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 800;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

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

.primary-btn:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: translateY(-2px);
}

.secondary-btn {
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}

.secondary-btn:hover {
  background: var(--white);
  color: var(--dark);
  transform: translateY(-2px);
}

section {
  padding: 90px 0;
}

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

.section-label {
  color: var(--primary-dark);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-title h2,
.about-content h2 {
  color: var(--dark);
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -1px;
}

.section-title p,
.about-content p {
  color: var(--muted);
}

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

.about-image img {
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.stats div {
  background: var(--white);
  padding: 20px;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.stats h3 {
  color: var(--primary-dark);
  font-size: 30px;
}

.stats p {
  color: var(--muted);
  font-weight: 600;
}

.services-section {
  background: var(--white);
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.service-card,
.project-card,
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: var(--shadow);
  transition: 0.3s;
  overflow: hidden;
}

.service-card {
  padding: 30px;
}

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

.icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  background: #e0f2fe;
  border-radius: 18px;
  font-size: 30px;
  margin-bottom: 18px;
}

.service-card h3,
.project-card h3,
.team-card h3,
.why-card h3 {
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 22px;
}

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

.portfolio-section {
  background: #f1f5f9;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.project-card img {
  height: 230px;
  width: 100%;
  object-fit: cover;
}

.project-content {
  padding: 24px;
}

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

.light h2 {
  color: var(--white);
}

.light p {
  color: #cbd5e1;
}

.why-card {
  background: var(--dark-light);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 30px;
  border-radius: 24px;
  transition: 0.3s;
}

.why-card h3 {
  color: var(--primary);
}

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

.team-section {
  background: var(--white);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.team-card {
  text-align: center;
  padding: 34px 24px;
}

.team-card img {
  width: 135px;
  height: 135px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 18px;
  border: 5px solid #e0f2fe;
}

.contact-section {
  background: #f1f5f9;
}

.contact-grid {
  background: var(--white);
  border-radius: 28px;
  box-shadow: var(--shadow);
  padding: 42px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 42px;
}

.contact-info h3 {
  color: var(--dark);
  font-size: 30px;
  margin-bottom: 16px;
}

.contact-info p {
  margin-bottom: 12px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  margin-bottom: 15px;
  border: 1px solid var(--border);
  border-radius: 14px;
  outline: none;
  font-size: 15px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
}

.contact-form textarea {
  height: 135px;
  resize: none;
}

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

.footer {
  background: var(--dark);
  color: #cbd5e1;
  text-align: center;
  padding: 28px;
}

.footer span {
  color: var(--primary);
  font-weight: 800;
}

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

  .navbar {
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--dark);
    flex-direction: column;
    padding: 20px;
    display: none;
  }

  .navbar.active {
    display: flex;
  }

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

  .cards-grid,
  .portfolio-grid,
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .container {
    width: 90%;
  }

  .header {
    padding: 16px 5%;
  }

  .hero {
    padding-left: 5%;
    padding-right: 5%;
  }

  .cards-grid,
  .portfolio-grid,
  .team-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    padding: 26px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    text-align: center;
  }
}
