:root {
  --dark: #1A1A1D;
  --muted: #5E5E63;
  --light: #F7F7F7;
  --white: #ffffff;
  --accent: #3A76FF;
  --soft: rgba(58,118,255,0.08);
}

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

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

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

header {
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.nav {
  max-width: 1200px;
  margin: auto;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-links a {
  margin-left: 28px;
  font-weight: 500;
  color: var(--muted);
}

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

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, var(--accent), transparent 70%);
  opacity: 0.15;
  top: 10%;
  right: 10%;
  filter: blur(120px);
}

.container {
  max-width: 1200px;
  width: 100%;
  padding: 0 1rem;
  margin: 0 auto;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
}

p {
  line-height: 1.6;
}

h3 {
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  max-width: 650px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 16px 36px;
  border-radius: 10px;
  margin-top: 32px;
  font-weight: 500;
  box-shadow: 0 20px 50px rgba(58,118,255,0.35);
}

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

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

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 36px;
  margin-top: 60px;
}

.card {
  background: var(--white);
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

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

.form-card {
  max-width: 600px;
  background: var(--white);
  padding: 50px;
  border-radius: 22px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.08);
}

label {
  font-size: 14px;
  font-weight: 500;
}

input, textarea, select {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.1);
  margin: 10px 0 22px;
}

button {
  width: 100%;
  padding: 16px;
  border-radius: 10px;
  border: none;
  background: var(--accent);
  color: white;
  font-size: 16px;
  cursor: pointer;
}

footer {
  padding: 60px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}

.social-links {
  display: flex;
  gap: 15px; /* space between icons */
  margin-top: 20px;
}

.social-links a img {
  width: 40px;
  height: 40px;
  transition: transform 0.2s;
}

.social-links a:hover img {
  transform: scale(1.1); /* slight zoom on hover */
}


/* ---------- MOBILE (default) ---------- */
body {
  font-size: 16px;
}

nav ul {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.hero {
  padding: 3rem 1rem;
  text-align: center;
}

.services {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* ---------- TABLET ---------- */
@media (min-width: 768px) {
  nav ul {
    flex-direction: row;
    justify-content: space-between;
  }

  .services {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    width: 48%;
  }
}

/* ---------- DESKTOP ---------- */
@media (min-width: 1024px) {
  body {
    font-size: 18px;
  }

  .hero {
    text-align: left;
    padding: 6rem 0;
  }

  .service-card {
    width: 30%;
  }
}


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

.nav {
  display: flex;
  flex-direction: column;
}

.nav.active {
  display: flex;
}

/* Desktop */
@media (min-width: 768px)

  .nav {
    display: flex;
    flex-direction: row;
    gap: 2rem;
  }
}
