/* Inherit global fonts/background from style.css */



.contact-hero {
  width: 100%;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
  overflow: hidden;
}

/* Decorative gradient blobs for depth */
.contact-hero::before,
.contact-hero::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.22;
  z-index: -1;
}

.contact-hero::before {
  background: radial-gradient(circle at 30% 30%, #ff9a9e, transparent 60%);
  top: -120px;
  left: -120px;
}

.contact-hero::after {
  background: radial-gradient(circle at 70% 70%, #fad0c4, transparent 60%);
  bottom: -140px;
  right: -140px;
}

/* Image styling for better look */
.header-image img {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
  object-fit: cover;
}


.contact-section {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(10px);
  padding: 42px;
  border-radius: 16px;
  max-width: 520px;
  width: 100%;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  text-align: center;
}

.contact-section h2 {
  color: #E63946;
  margin-bottom: 18px;
  font-weight: 900;
  position: relative;
}

.contact-section h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -10px;
  width: 100px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, #FFB703, #E63946);
}

.contact-section p {
  color: #555;
  margin-bottom: 20px;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #E63946;
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}

.contact-form button {
  padding: 14px;
  background: linear-gradient(135deg, #E63946, #FFB703);
  color: white;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.3px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  box-shadow: 0 8px 20px rgba(230, 57, 70, 0.25);
}

.contact-form button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(230, 57, 70, 0.35);
  filter: brightness(1.02);
}

/* Footer styling same as index */
.footer {
  background: #E63946;
  color: #fff5e1;
  padding: 50px 20px 20px;
  margin-top: 0;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

.footer-links h3,
.footer-contact h3 {
  margin-bottom: 15px;
  font-size: 18px;
  color: black;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #fff5e1;
  text-decoration: none;
  transition: 0.3s;
}

.footer-links ul li a:hover {
  color: #ff9900;
}

.footer-contact p {
  font-size: 14px;
  margin: 5px 0;
}

.footer-bottom {
  text-align: center;
  padding: 15px;
  margin-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

/* Responsive: stack nicely on small screens */
@media (max-width: 1024px) {
  .contact-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-top: 90px;
    padding-bottom: 40px;
  }

  .header-image img {
    max-width: 100%;
    height: auto;
  }

  .contact-section {
    max-width: 100%;
    padding: 36px;
  }
}

@media (max-width: 768px) {
  .contact-hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-top: 80px;
    padding-bottom: 30px;
  }

  .header-image img {
    max-width: 100%;
    height: auto;
  }

  .contact-section {
    max-width: 100%;
    padding: 28px;
  }

  .contact-section h2 {
    font-size: 24px;
  }

  .contact-section p {
    font-size: 16px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 12px;
    font-size: 15px;
  }

  .contact-form button {
    padding: 12px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .contact-hero {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding-top: 70px;
    padding-bottom: 20px;
  }

  .header-image img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
  }

  .contact-section {
    max-width: 100%;
    padding: 20px;
    border-radius: 8px;
  }

  .contact-section h2 {
    font-size: 20px;
    margin-bottom: 8px;
  }

  .contact-section p {
    font-size: 14px;
    margin-bottom: 15px;
  }

  .contact-form {
    gap: 12px;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 10px;
    font-size: 14px;
    border-radius: 6px;
  }

  .contact-form button {
    padding: 10px;
    font-size: 14px;
    border-radius: 6px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-about h2 {
    font-size: 1.3rem;
  }

  .footer-links h3,
  .footer-contact h3 {
    font-size: 1rem;
    margin-bottom: 0.8rem;
  }
}