/* =========================================================
   RESET
========================================================= */

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


/* =========================================================
   HTML / BODY
========================================================= */

html {
  scroll-behavior: smooth;
}


body {
  min-height: 100vh;

  font-family:
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;

  color: #f5f5f5;

  background: #0d0d0d;

  line-height: 1.6;
}
/* =========================================================
   NAVBAR — SAME AS INDEX
   ========================================================= */

.nav {
  display: flex;
  align-items: center;
  /* justify-content: space-between; */

  gap: 1.5rem;

  padding: 16px 5%;

  min-height: 76px;
}

/* Logo */

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

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

/* Navigation links */

.nav ul {
  display: flex;
  align-items: center;

  gap: 30px;

  list-style: none;

  margin-left: 300px;
  padding: 0;

  flex-wrap: nowrap;
}

.nav li {
  color: var(--muted);

  white-space: nowrap;

  transition: color 0.25s ease;
}

.nav li:hover {
  color: #fff;
}

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

/* Contact / CTA */

.nav .about-button {
  flex-shrink: 0;

  white-space: nowrap;

  padding: 11px 22px;

  border-radius: 999px;
}


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

  .nav ul {
    justify-content: center;
    width: 100%;
    margin-left: auto;
  }
  
}

@media (max-width: 720px) {
  .nav {
    padding: 24px 4%;
  }
}

@media (max-width: 520px) {
  .nav ul {
    gap: 16px;
  }
}

/* =========================================================
   CONTACT PAGE
========================================================= */

.contact-page {
  position: relative;

  min-height: 100vh;

  padding: 70px 0 120px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 85% 10%,
      rgba(255, 140, 26, 0.12),
      transparent 25%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(255, 140, 26, 0.07),
      transparent 25%
    ),
    #0d0d0d;
}


/* =========================================================
   BACKGROUND GLOW
========================================================= */

.contact-page::before {
  content: "";

  position: absolute;

  width: 500px;
  height: 500px;

  right: -250px;
  top: 25%;

  border-radius: 50%;

  background: rgba(255, 140, 26, 0.035);

  filter: blur(80px);

  pointer-events: none;
}


.contact-page::after {
  content: "";

  position: absolute;

  width: 400px;
  height: 400px;

  left: -200px;
  bottom: 5%;

  border-radius: 50%;

  background: rgba(255, 140, 26, 0.025);

  filter: blur(80px);

  pointer-events: none;
}


/* =========================================================
   CONTAINER
========================================================= */

.contact-container {
  position: relative;

  z-index: 2;

  width: min(1200px, 92%);

  margin: 0 auto;
}


/* =========================================================
   BACK HOME
========================================================= */

.back-home {
  display: inline-flex;

  align-items: center;

  margin-bottom: 70px;

  color: #aaa;

  text-decoration: none;

  font-size: 15px;

  transition: color 0.25s ease;
}


.back-home:hover {
  color: #ff8c1a;
}


/* =========================================================
   HEADING
========================================================= */

.contact-heading {
  max-width: 800px;

  margin-bottom: 80px;
}


.tag {
  display: inline-block;

  margin-bottom: 20px;

  color: #ff8c1a;

  font-size: 14px;

  font-weight: 600;

  letter-spacing: 0.2em;

  text-transform: uppercase;
}


.contact-heading h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);

  line-height: 0.98;

  letter-spacing: -0.045em;

  font-weight: 800;
}


.contact-heading h1 span {
  color: #ff8c1a;
}


.heading-text {
  max-width: 620px;

  margin-top: 30px;

  color: #999;

  font-size: 17px;

  line-height: 1.8;
}


/* =========================================================
   CONTACT GRID
========================================================= */

.contact-grid {
  display: grid;

  grid-template-columns: 1.2fr 0.8fr;

  gap: 110px;

  align-items: start;
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
  width: 100%;

  padding: 40px;

  background: rgba(255, 255, 255, 0.025);

  border: 1px solid rgba(255, 140, 26, 0.12);

  border-radius: 24px;

  box-shadow:
    0 30px 80px
    rgba(0, 0, 0, 0.18);

  backdrop-filter: blur(10px);
}


.form-group {
  display: flex;

  flex-direction: column;

  margin-bottom: 26px;
}


.form-group label {
  margin-bottom: 10px;

  color: #aaa;

  font-size: 14px;

  font-weight: 500;
}


/* =========================================================
   INPUTS
========================================================= */

.form-group input,
.form-group textarea {
  width: 100%;

  padding: 16px 18px;

  background: #151515;

  border: 1px solid #333;

  border-radius: 8px;

  color: #fff;

  outline: none;

  font-family: inherit;

  font-size: 16px;

  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}


.form-group input {
  height: 54px;
}


.form-group textarea {
  min-height: 170px;

  resize: vertical;
}


.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #666;
}


.form-group input:focus,
.form-group textarea:focus {
  background: #191919;

  border-color: #ff8c1a;

  box-shadow:
    0 0 0 3px
    rgba(255, 140, 26, 0.08);
}


/* =========================================================
   SUBMIT BUTTON
========================================================= */

.contact-submit {
  display: inline-flex;

  align-items: center;

  justify-content: space-between;

  gap: 35px;

  min-width: 200px;

  padding: 16px 24px;

  border: none;

  border-radius: 999px;

  background:
    linear-gradient(
      135deg,
      #ff8c1a,
      #ffb65c
    );

  color: #111;

  font-family: inherit;

  font-size: 16px;

  font-weight: 700;

  cursor: pointer;

  transition:
    box-shadow 0.25s ease;
}


.contact-submit:hover {
  box-shadow:
    0 15px 35px
    rgba(255, 140, 26, 0.2);
}


.submit-arrow {
  font-size: 22px;

  line-height: 1;
}


/* =========================================================
   COMPANY INFORMATION
========================================================= */

.contact-info {
  padding-top: 20px;
}


.info-label {
  margin-bottom: 25px;

  color: #ff8c1a;

  font-size: 13px;

  font-weight: 600;

  letter-spacing: 0.2em;
}


.contact-info h2 {
  margin-bottom: 60px;

  color: #fff;

  font-size: 36px;

  line-height: 1.15;

  letter-spacing: -0.02em;
}


/* =========================================================
   INFO ITEMS
========================================================= */

.info-item {
  padding: 25px 0;

  border-top: 1px solid #333;
}


.info-item:last-child {
  border-bottom: 1px solid #333;
}


.info-title {
  display: block;

  margin-bottom: 9px;

  color: #777;

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 0.2em;
}


.info-item p {
  margin: 0;

  color: #ddd;

  font-size: 16px;

  line-height: 1.6;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

  .contact-grid {
    grid-template-columns: 1fr;

    gap: 70px;
  }


  .contact-info {
    padding-top: 0;
  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 768px) {

  .contact-page {
    padding: 45px 0 80px;
  }


  .contact-container {
    width: 90%;
  }


  .back-home {
    margin-bottom: 50px;
  }


  .contact-heading {
    margin-bottom: 55px;
  }


  .contact-heading h1 {
    font-size: 3.5rem;
  }


  .heading-text {
    font-size: 16px;
  }


  .contact-form {
    padding: 25px;

    border-radius: 18px;
  }


  .contact-info h2 {
    font-size: 30px;

    margin-bottom: 45px;
  }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 480px) {

  .contact-page {
    padding-top: 35px;
  }


  .contact-heading h1 {
    font-size: 2.7rem;
  }


  .tag {
    font-size: 12px;
  }


  .contact-form {
    padding: 20px;
  }


  .form-group input,
  .form-group textarea {
    font-size: 15px;
  }


  .contact-submit {
    width: 100%;
  }


  .contact-info h2 {
    font-size: 27px;
  }

}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;

    animation-iteration-count: 1 !important;

    transition-duration: 0.01ms !important;
  }

}
