/* Contact Page Styles */

/* Contact Hero */
.contact-hero {
  background-color: #e3f2fd;
  background-image: linear-gradient(rgba(26, 82, 118, 0.8), rgba(26, 82, 118, 0.8)), url("/media/images/contact/hero.webp");
  background-size: cover;
  background-position: center;
  color: #fff;
}

.contact-hero h1,
.contact-hero p {
  color: #fff;
}

/* Contact Information Section */
.contact-info-section {
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-details {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.contact-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.icon-container {
  width: 70px;
  height: 70px;
  background-color: #e3f2fd;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 1.5rem;
}

.icon-container i {
  font-size: 1.75rem;
  color: #3498db;
}

.contact-card h3 {
  color: #1a5276;
  margin-bottom: 1rem;
}

.contact-card p {
  color: #666;
  margin-bottom: 0;
}

/* Map and Form Section */
.map-form-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  padding: 0 1.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.map-container,
.form-container {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.map-container h2,
.form-container h2 {
  color: #1a5276;
  margin-bottom: 1.5rem;
}

.clinic-map {
  height: 300px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.static-map {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.directions h3 {
  color: #1a5276;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.directions-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background-color: #3498db;
  color: #fff;
  border-radius: 4px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.directions-button:hover {
  background-color: #2980b9;
  color: #fff;
}

/* General Contact Form Section */
.general-contact-section {
  padding: 4rem 1.5rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.general-contact-section h2 {
  color: #1a5276;
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.general-contact-section h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.general-contact-section p {
  margin-bottom: 2rem;
}

.contact-form {
  text-align: left;
}

/* Careers Section */
.careers-section {
  background-color: #f8f9fa;
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.careers-section h2 {
  color: #1a5276;
  margin-bottom: 1.5rem;
}

.job-listings {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.job-card {
  background-color: #fff;
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.job-card h3 {
  color: #1a5276;
  margin-bottom: 0.5rem;
}

.job-type {
  color: #3498db;
  font-weight: 600;
  margin-bottom: 1rem;
  display: block;
}

.career-contact {
  text-align: center;
  margin-top: 2rem;
}

.career-contact h3 {
  color: #1a5276;
  margin-bottom: 0.75rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .contact-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .map-form-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .job-listings {
    grid-template-columns: 1fr;
    max-width: 600px;
    margin: 3rem auto;
  }
}

@media (max-width: 768px) {
  .contact-details {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin: 0 auto;
  }
}

@media (max-width: 576px) {
  .contact-info-section,
  .general-contact-section,
  .careers-section {
    padding: 3rem 1.5rem;
  }

  .map-form-section {
    padding: 0 1.5rem 3rem;
  }

  .map-container,
  .form-container {
    padding: 1.5rem;
  }
}
