/* Reset */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  background: #0A1929;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
}

/* ===== HEADER ===== */
header {
  width: 100%;
  max-width: 1440px;
  height: 77px;
  margin: 0 auto;
  background: #0A1929;
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}
.nav-container {
  max-width: 1196px;
  height: 100%;
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo img {
  width: 166px;
  height: 32px;
  border-radius: 10px;
}
.nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
}
.nav a {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}
.nav a:hover {
  color: #FFFFFF;
}
.nav-cta-btn {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #FFFFFF;
  background: #0EA5E9;
  padding: 10px 22px;
  border-radius: 8px;
  transition: background 0.2s ease;
}
.nav-cta-btn:hover {
  background: #38BDF8;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #FFFFFF;
  border-radius: 2px;
}

/* ===== CONTACT SECTION ===== */
.contact-page {
  max-width: 1440px;
  margin: 77px auto 0;
  min-height: calc(100vh - 77px);
  background: #F8FAFC;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
}
.contact-container {
  width: 520px;
  max-width: 100%;
}
.contact-heading {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 36px;
  line-height: 44px;
  color: #334155;
  text-align: center;
}
.contact-subtext {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: #64748B;
  text-align: center;
  margin-top: 10px;
}
.contact-form {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  color: #334155;
}
.form-label .optional {
  font-weight: 400;
  font-size: 12px;
  color: #94A3B8;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #334155;
  background: #FFFFFF;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.form-input::placeholder,
.form-textarea::placeholder {
  color: #94A3B8;
}
.form-input:focus,
.form-textarea:focus {
  border-color: #0EA5E9;
  box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.1);
}
.form-input.input-error,
.form-textarea.input-error {
  border-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.form-error {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #EF4444;
  display: none;
}
.form-error.visible {
  display: block;
}
.form-textarea {
  min-height: 130px;
  resize: vertical;
}
.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  overflow: hidden;
  tab-index: -1;
}
.contact-submit {
  width: 100%;
  padding: 14px 0;
  background: #0EA5E9;
  border: none;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 16px;
  color: #FFFFFF;
  cursor: pointer;
  text-transform: uppercase;
  transition: background 0.2s ease, transform 0.15s ease;
}
.contact-submit:hover {
  background: #0284C7;
  transform: translateY(-1px);
}
.contact-submit:disabled {
  background: #94A3B8;
  cursor: not-allowed;
  transform: none;
}
.contact-note {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #94A3B8;
  text-align: center;
  margin-top: 4px;
}
.contact-success {
  display: none;
  text-align: center;
  padding: 40px 0;
}
.contact-success.visible {
  display: block;
}
.contact-success-icon {
  width: 56px;
  height: 56px;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.contact-success-heading {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #334155;
  margin-bottom: 8px;
}
.contact-success-text {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #64748B;
  line-height: 22px;
}
.contact-success-home {
  display: inline-block;
  margin-top: 24px;
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: #0EA5E9;
  transition: color 0.2s ease;
}
.contact-success-home:hover {
  color: #38BDF8;
}

/* ===== FOOTER ===== */
.footer {
  max-width: 1440px;
  margin: 0 auto;
  padding: 48px 122px 36px;
  background: #0A1929;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}
.footer-logo img {
  width: 166px;
  height: 32px;
  border-radius: 10px;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}
.footer-links a:hover {
  color: #FFFFFF;
}
.footer-links span {
  color: rgba(255, 255, 255, 0.3);
}
.footer-socials {
  display: flex;
  gap: 12px;
}
.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.6);
  font-size: 16px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-socials a:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}
.footer-copyright {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  color: #6A7282;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }
  .nav {
    display: none;
  }
  .nav.nav-open {
    display: block;
    position: absolute;
    top: 77px;
    left: 0;
    right: 0;
    background: #0A1929;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 32px;
  }
  .nav.nav-open .nav-buttons {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  .nav-cta-btn {
    display: none;
  }
  .nav-cta-btn.nav-open {
    display: none;
  }
  .nav-container {
    padding: 0 20px;
  }
  .contact-heading {
    font-size: 28px;
    line-height: 34px;
  }
  .footer {
    padding: 40px 20px 30px;
  }
}
