/* Base Styles */

body {
  font-family: 'Inter', Arial, sans-serif;
  background: #fff;
  margin: 20px 16px;
  padding: 0;
  color: #222;
}

.heading {
  font-size: 3rem; /* Responsive font size */
  font-weight: 700;
  letter-spacing: -1px;
  width: 100%;
  line-height: 1.2;
}

.goback {
  font-size: clamp(3rem, 10vw, 6.5rem); /* scale based on screen width */
  font-weight: 700;
  letter-spacing: -1px;
  width: 100%;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.6;
  font-size: 1rem;
}

.body {
  width: 100%;
  font-weight: 300;
  font-size: 1.2rem;
  color: #969696;
  text-transform: lowercase;
}

.aka {
  color: #636363;
}

a {
  color: #1886FF;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* ================ NAVBAR ================ */

.navbar {
  padding: 2rem 0 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  color: #1677ff;
  text-decoration: underline;
  font-size: 1.2rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-link:hover {
  color: #0956ba;
}

@media (max-width: 768px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding-top: 1.5rem;
  }

  .nav-link {
    font-size: 1.1rem;
  }
}

/* ========== CONTACT FORM & IMAGE ========= */

.container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1rem;
  max-width: 100%;
}

.input-email {
  width: 100%;
  max-width: 510px;
  padding: 1em;
  font-size: 1rem;
  border: none;
  background: #eee;
  border-radius: 10px;
  margin: 10px 0 22px 0;
  color: #222;
}

.input-email.error {
  border: 2px solid #e54848 !important;
  background: #fff5f5;
}

.input-email::placeholder {
  color: #ababab;
}

.input-email.error::placeholder {
  color: #e54848;
}

.main-btn {
  width: 100%;
  max-width: 554px;
  padding: 1em;
  background: #000;
  color: #fff;
  border-radius: 6px;
  border: none;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 500;
  margin-bottom: 32px;
  cursor: pointer;
  transition: background 0.18s ease-in-out;
}
.main-btn:hover {
  background: #333;
}

.central-image {
  width: 100%;
  max-width: 555px;
  margin-bottom: 20px;
  display: block;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.09);
}

.contact-line {
  color: #888;
  font-size: 1rem;
  margin-top: 1.6rem;
  text-align: left;
  width: 100%;
  max-width: 430px;
  margin-bottom: 30px;
}

/* ============= Mobile Responsiveness ============= */

@media (max-width: 500px) {
  body {
    margin: 10px;
  }

  .heading {
    font-size: 2rem;
  }

  .goback {
    font-size: 3.5rem;
  }

  p, .body {
    font-size: 1rem;
  }

  .navbar {
    flex-direction: column;
    padding-top: 1rem;
    gap: 1rem;
  }

  .nav-link {
    font-size: 1rem;
  }

  .container {
    padding: 0 1rem;
  }

  .input-email,
  .main-btn,
  .contact-line,
  .central-image {
    max-width: 100%;
  }
}
