html {
  font-size: 70%; /* 1rem ≈ 14.4px (instead of zoom:0.9) */
  scroll-behavior: smooth;
}


:root {
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
}
/* contact.css - improved UX */

/* --- Hero Section --- */
.hero {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f3f3f3; /* fallback */
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.3);
}

.hero-text {
  position: absolute;
  text-align: center;
  color: white;
  z-index: 2;
  padding: 1rem;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.hero-text p {
  font-size: 1.125rem;
  opacity: 0.9;
}

/* --- Contact Form Section --- */
.container {
  max-width: 640px;
  margin: -4rem auto 5rem; /* pulls form up closer to hero */
  padding: 2.5rem 2rem;
  background-color: #fff;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  position: relative;
  z-index: 3;
}

.container h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #242424;
}

/* Form styling stays similar */
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.5rem;
}

.form-group label {
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: #444;
}

.form-group input,
.form-group textarea {
  padding: 0.9rem 1rem;
  border: 1px solid #d2d2d7;
  border-radius: 10px;
  font-size: 1rem;
  background: #f9f9f9;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #242424;
  box-shadow: 0 0 0 3px rgba(0,113,227,0.2);
  background: #fff;
  outline: none;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Submit button */
button[type="submit"] {
  width: 100%;
  background: #242424;
  color: #fff;
  font-weight: 600;
  font-size: 1.125rem;
  padding: 1rem 1.25rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s;
}

button[type="submit"]:hover {
  background: #005bb5;
  transform: translateY(-2px);
}

#responseMessage {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 1rem;
  color: #0071e3;
}

/* --- Footer --- */
.footer {
  background-color: #242424;
  color: white;
  padding: 3rem 1.5rem;
  border-radius: 2rem 2rem 0 0;
  margin-top: auto;
}

.footer-content {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2.5rem;
}

.footer-logo img {
  width: 48px;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-column h4 {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 600;
}

.footer-column a {
  display: block;
  color: white;
  text-decoration: none;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  opacity: 0.85;
  transition: opacity 0.25s, transform 0.25s;
}

.footer-column a:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .hero {
    height: 240px;
  }

  .hero-text h1 {
    font-size: 2rem;
  }

  .container {
    margin: -3rem 1rem 3rem;
    padding: 2rem 1.25rem;
  }

  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 2rem;
  }
}
