/* Contact Page Styles */
.main-header {
  position: absolute;
  top: -80px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 3rem 0 0;
  background: transparent;
  z-index: 100;
}

/* Contact Hero Banner */
.contact-hero-banner {
  position: relative;
  width: 100%;
  height: 500px;
  background-image: url('images/About5.webp');
  background-size: cover;
  background-position: center;
  background-color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-hero-banner + .section-title {
  margin-top: 4rem;
}

.about-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.3) 20%, rgba(0, 0, 0, 0) 40%);
  z-index: 1;
}

/* Contact Intro Text */
.contact-intro-text {
  text-align: center;
  font-size: 1.3rem;
  color: #ffffff;
  margin: -2rem auto 3rem;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  max-width: 700px;
  padding: 0 2rem;
}

/* Contact Form Section */
.contact-form-section {
  padding: 0 2rem 6rem 2rem;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.contact-form-container {
  max-width: 700px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  padding: 3rem;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  padding: 1rem;
  font-size: 1rem;
  font-family: 'Roboto', sans-serif;
  border: 1px solid #ddd;
  border-radius: 5px;
  transition: border-color 0.3s;
  background-color: #ffffff;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #999;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00a0e0;
  box-shadow: 0 0 0 3px rgba(0, 160, 224, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-submit-btn {
  background-color: #00a0e0;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
}

.contact-submit-btn:hover {
  background-color: #08acf2;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 160, 224, 0.3);
}

/* Mobile Responsive */
@media (max-width: 993px) {
  .contact-hero-banner {
    height: 350px;
  }
}

@media (max-width: 768px) {
  .contact-hero-banner {
    height: 300px;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.875rem;
  }
}