* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #000;
  font-family: Inter, Arial, sans-serif;
  overflow-x: hidden;
}

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

.page {
  background: #000;
  color: #fff;
}

/* NAVBAR */

.navbar {
  width: min(100% - 48px, 1120px);
  margin: 0 auto;
  padding: 43px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.logo {
  width: 182px;
  height: 64px;
  object-fit: cover;
}

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

.nav-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 16px;
  line-height: 32px;
  transition: 0.3s ease;
}

.nav-links a.active,
.nav-links a:hover {
  color: #fff;
}

.nav-button {
  background: #8200db;
  color: #fff;
  border-radius: 30px;
  padding: 0 32px;
  height: 47px;
  line-height: 47px;
  font-weight: 600;
  white-space: nowrap;
}

/* HERO */

.hero {
  text-align: center;
  padding: 95px 24px 85px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.25;
  font-weight: 500;
}

.hero h1 span {
  color: #d677ff;
}

.hero p {
  margin: 18px auto 0;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  line-height: 33px;
}

/* CONTACT SECTION */

.contact-section {
  width: min(100% - 48px, 1255px);
  margin: 0 auto 145px;
  display: grid;
  grid-template-columns: 730px 477px;
  gap: 46px;
  align-items: start;
}

.contact-form {
  border: 2px solid #9810fa;
  border-radius: 20px;
  padding: 36px;
}

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

.form-group label {
  display: block;
  margin-bottom: 18px;
  font-size: 20px;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  height: 55px;
  border: none;
  outline: none;
  border-radius: 10px;
  padding: 0 36px;
  color: #111;
  font-size: 16px;
  font-family: inherit;
}

.form-group textarea {
  height: 95px;
  padding-top: 16px;
  resize: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.footer-newsletter input::placeholder {
  color: #969aa2;
}

.contact-form button {
  width: 100%;
  height: 55px;
  border: none;
  border-radius: 10px;
  background: #9810fa;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
}

/* CONTACT CARDS */

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 39px;
}

.contact-card {
  min-height: 116px;
  border: 2px solid #9810fa;
  border-radius: 20px;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  gap: 36px;
}

.contact-card img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  flex-shrink: 0;
}

.contact-card h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 20px;
  font-weight: 500;
}

.contact-card p {
  margin: 0;
  color: #8f9092;
  font-size: 16px;
  line-height: 23px;
}

.contact-card:nth-child(1) p,
.contact-card:nth-child(2) p {
  font-size: 20px;
  line-height: 33px;
}

/* FOOTER */

.footer {
  background: #7228d9;
  padding: 74px 24px 36px;
}

.footer-inner {
  width: min(100%, 1268px);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  align-items: flex-start;
}

.footer-brand {
  max-width: 300px;
}

.footer-logo {
  width: 182px;
  height: 64px;
  object-fit: cover;
}

.footer-brand p,
.footer-newsletter p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 26px;
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 18px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border: 0.5px solid #fff;
  border-radius: 10px;
  display: grid;
  place-items: center;
}

.footer-social img {
  width: 22px;
  height: 22px;
  object-fit: cover;
}

.footer-nav-cols {
  display: flex;
  gap: 60px;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-col h4,
.footer-newsletter h4,
.footer-newsletter label {
  margin: 0;
  color: #fff;
  font-size: 16px;
  line-height: 32px;
  font-weight: 500;
}

.footer-nav-col a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  line-height: 28px;
}

.footer-newsletter {
  max-width: 262px;
}

.footer-newsletter input {
  width: 262px;
  height: 55px;
  border: none;
  outline: none;
  border-radius: 10px;
  padding: 0 18px;
  font-size: 14px;
}

.footer-divider {
  width: 100%;
  height: 1px;
  margin: 36px 0 18px;
  background: rgba(255, 255, 255, 0.3);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.8;
  font-size: 14px;
  line-height: 32px;
}

/* TABLET */

@media (max-width: 1100px) {
  .navbar {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .contact-section {
    grid-template-columns: 1fr;
    max-width: 730px;
  }

  .footer-top {
    flex-wrap: wrap;
  }
}

/* MOBILE */

@media (max-width: 768px) {
  .navbar {
    width: min(100% - 32px, 1120px);
    padding-top: 28px;
  }

  .logo {
    width: 150px;
    height: auto;
  }

  .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 14px;
  }

  .hero {
    padding: 70px 18px 60px;
  }

  .hero p {
    font-size: 16px;
    line-height: 28px;
  }

  .contact-section {
    width: min(100% - 32px, 730px);
    margin-bottom: 90px;
  }

  .contact-form {
    padding: 24px;
  }

  .form-group label {
    font-size: 18px;
  }

  .contact-card {
    gap: 22px;
    padding: 22px;
  }

  .footer-top,
  .footer-nav-cols {
    flex-direction: column;
  }

  .footer-newsletter,
  .footer-newsletter input {
    width: 100%;
    max-width: 100%;
  }
}

/* SMALL MOBILE */

@media (max-width: 480px) {
  .nav-button {
    width: 100%;
    text-align: center;
  }

  .hero h1 {
    font-size: 30px;
  }

  .contact-form {
    padding: 20px;
  }

  .form-group input,
  .form-group textarea {
    padding: 0 18px;
  }

  .form-group textarea {
    padding-top: 16px;
  }

  .contact-card {
    align-items: flex-start;
  }

  .contact-card h3 {
    font-size: 18px;
  }

  .contact-card:nth-child(1) p,
  .contact-card:nth-child(2) p,
  .contact-card p {
    font-size: 15px;
    line-height: 24px;
  }
}