.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  background: #232323;
  padding: 1.1rem 2.3rem 1.1rem 2.3rem;
  border-bottom: 1px solid #181818;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100vw;
  min-width: 0;
  box-sizing: border-box;
}
.nav-link {
  margin-left: 2.2rem;
  text-decoration: none;
  color: #fff;
  font-weight: 300;
  font-size: 0.78rem; /* match contact.html */
  letter-spacing: 0.12em;
  position: relative;
  text-transform: uppercase;
  transition: color 0.17s;
  padding-bottom: 0;
  cursor: pointer;
  white-space: nowrap; /* Prevent wrapping */
}
.nav-link.active,
.nav-link:hover,
.nav-link:focus {
  color: #f9b6c5;
  border-bottom: none;
}
body {
  margin: 0;
  font-family: 'Montserrat', Arial, sans-serif;
  background: #f8f8f8;
  min-height: 100vh;
  color: #232323;
}
.contact-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100vw;
  padding-top: 90px; /* Space for nav */
  box-sizing: border-box;
}
.contact-card {
  background: #fff;
  border-radius: 0;
  box-shadow: none;
  max-width: 344px;
  width: 76%;
  min-width: 0;
  padding: 2rem 1.6rem 1.6rem 1.6rem;
  margin: 5vh auto 5vh auto;
  text-align: center;
  z-index: 2;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}
.contact-icon {
  font-size: 1.3rem;
  margin-bottom: 0.15rem; /* reduced space between icon and heading */
  color: #7899c9;
}
.contact-title {
  color: #111;
  text-transform: uppercase;
  font-weight: 300;
  letter-spacing: 0.12em;
  margin-top: 0.3rem;
  margin-bottom: 2rem; /* 80% of 2.5rem */
  font-size: 1.06rem;  /* 80% of 1.32rem */
  font-family: 'Montserrat', Arial, sans-serif;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 0.88rem; /* 80% of 1.1rem */
  width: 100%;
}
.contact-row {
  display: flex;
  gap: 0.8rem; /* 80% of 1rem */
  width: 100%;
}
.contact-row input {
  width: 100%;
}
.contact-form input,
.contact-form textarea {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  border: 1px solid #d7dbec;
  border-radius: 0;
  padding: 1em 1em;
  background: #fff;
  margin-bottom: 0;
  outline: none;
  transition: border 0.2s;
  color: #232323;
  resize: none;
  width: 100%;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #f9b6c5;
}
.contact-form textarea {
  min-height: 110px;
}
.contact-form button {
  font-family: 'Montserrat', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.7em 2.4em;
  background: transparent;
  color: #111;
  border: 2px solid #111;
  border-radius: 0;
  cursor: pointer;
  margin-top: 0.2em;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background 0.18s;
  box-shadow: none;
  width: auto;
  box-sizing: border-box;
}
.footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100vw;
  padding: 0.7rem 1.2rem;
  font-size: 0.72rem;
  color: #888;
  background: none;
  text-align: left;
  pointer-events: none;
  z-index: 99;
}
.footer .copyright {
  pointer-events: auto;
}
.center-content {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100vw; /* Ensure full width on mobile */
  box-sizing: border-box;
  padding: 0 1rem;
}
.name-title {
  font-size: 28.9px; /* 34px reduced by 15% */
  font-family: 'Montserrat', Arial, sans-serif;
  font-weight: 200;
  letter-spacing: 0.2rem;
  line-height: 1.8;
  text-align: center;
  margin-top: 6vh;
  margin-bottom: 0.8em;
  text-transform: uppercase;
  word-break: break-word;
  max-width: 100%;
}
.main-center-content {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  box-sizing: border-box;
  padding: 0 0.5rem;
}
@media (max-width: 650px) {
  .navbar {
    flex-direction: column;
    align-items: flex-start;
    padding: 0.7rem 0.5rem 0.7rem 0.5rem;
  }
  .nav-link {
    margin-left: 0;
    margin-right: 1.2rem;
    font-size: 0.9rem;
    padding: 0.3rem 0;
  }
  .contact-card {
    padding: 1rem 0.5rem 1rem 0.5rem;
    max-width: 98vw;
    width: 98vw;
    margin: 2vh auto 2vh auto;
  }
  .contact-form input,
  .contact-form textarea,
  .contact-form button {
    font-size: 1rem;
    padding: 1em 0.7em;
    width: 100%;
  }
  .contact-row {
    flex-direction: column;
    gap: 0.5rem;
  }
  .main-center-content {
    min-height: 100vh;
    padding: 0 0.2rem;
  }
}