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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: #1d1d1f;
  background-color: #ffffff;
  line-height: 1.6;
}

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

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

.container {
  width: min(100% - 40px, 1200px);
  margin: 0 auto;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: #ffffff;
  box-shadow: 0 3px 14px rgba(80, 0, 120, 0.16);
}

.navbar {
  height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo img {
  width: 120px;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 35px;
}

.nav-items a {
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
}

.nav-items a:hover {
  color: #7b2cff;
}

/* HAMBURGER */

.hamburger {
  display: none;
  width: 35px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #1d1d1f;
  border-radius: 10px;
  transition: 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* HERO */

.hero {
  padding: 80px 0;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
  margin-bottom: 25px;
}

.hero-text h1 span {
  display: block;
}

.hero-text strong {
  color: #7b2cff;
}

.hero-text p {
  max-width: 560px;
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}

.button-wrapper {
  display: flex;
  justify-content: center;
}

.primary-btn {
  display: inline-block;
  border: none;
  cursor: pointer;
  padding: 14px 34px;
  border-radius: 50px;
  color: #ffffff;
  font-weight: 700;
  font-size: 15px;
  background: linear-gradient(135deg, #7b2cff, #b044ff);
  box-shadow: 0 10px 25px rgba(123, 44, 255, 0.35);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(123, 44, 255, 0.45);
}

.hero-image img {
  height: 430px;
  width: 100%;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 20px 45px rgba(80, 0, 120, 0.25);
}

/* ABOUT */

.about {
  padding: 80px 0;
  background-color: #f8f5ff;
  text-align: center;
}

.about h2,
.services h2,
.contact h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 20px;
}

.about p {
  max-width: 800px;
  margin: 0 auto;
  color: #555;
  font-size: 18px;
}

/* SERVICES */

.services {
  padding: 90px 0;
}

.services h2 {
  text-align: center;
  font-size: clamp(2.4rem, 5vw, 4rem);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  margin-top: 45px;
}

.service-card {
  padding: 35px;
  border-radius: 22px;
  background-color: #ffffff;
  box-shadow: 0 12px 35px rgba(123, 44, 255, 0.22);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 45px rgba(123, 44, 255, 0.32);
}

.service-card h3 {
  color: #7b2cff;
  margin-bottom: 12px;
  font-size: 22px;
}

.service-card p {
  color: #555;
}

/* CONTACT */

.contact {
  padding: 90px 0;
  background-color: #f8f5ff;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.contact-info p {
  color: #555;
  font-size: 18px;
  max-width: 500px;
}

.contact-form {
  background-color: #ffffff;
  padding: 35px;
  border-radius: 22px;
  box-shadow: 0 12px 35px rgba(123, 44, 255, 0.2);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #ddd;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #7b2cff;
}

/* FOOTER */

.footer {
  background-color: #111;
  color: #ffffff;
  padding: 30px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.footer-links {
  display: flex;
  gap: 25px;
}

.footer-links a {
  color: #dddddd;
  font-size: 14px;
}

.footer-links a:hover {
  color: #b044ff;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .hamburger {
    display: flex;
  }

  .nav-items {
    position: absolute;
    top: 72px;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    gap: 0;
    padding: 20px 0;
    box-shadow: 0 10px 25px rgba(80, 0, 120, 0.18);
    display: none;
  }

  .nav-items.active {
    display: flex;
  }

  .nav-items a {
    padding: 15px;
    width: 100%;
    text-align: center;
  }

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

  .hero-text {
    text-align: center;
  }

  .hero-text p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image img {
    height: 350px;
  }

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

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 500px) {
  .container {
    width: min(100% - 24px, 1200px);
  }

  .navbar {
    height: 65px;
  }

  .logo img {
    width: 100px;
  }

  .nav-items {
    top: 65px;
  }

  .hero {
    padding: 55px 0;
  }

  .hero-image img {
    height: 260px;
  }

  .contact-form {
    padding: 25px;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}