/* General Layout */
.contact-main {
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Contact Header */
.contact-header {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.contact-header p {
  font-size: 1rem;
  color: #555;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 2fr 1fr;
  }
}

/* Form Styling */
form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

form input,
form textarea {
  padding: 1rem;
  border: 1px solid #ccc;
  font-size: 1rem;
  border-radius: 6px;
  font-weight: 400;
  outline: none;
  transition: border-color 0.2s ease;
  width: 100%;
}

form input:focus,
form textarea:focus {
  border-color: #6b21a8;
}

form button {
  background: #6b21a8;
  color: #fff;
  border: none;
  width: 100%;
  max-width: 200px;
  padding: 0.9rem 1rem;
  font-size: 1rem;
  border-radius: 35px;
  cursor: pointer;
  transition: background 0.3s ease;
}

form button:hover {
  background: #581c87;
}

#form-error {
  color: red;
  font-weight: 500;
  font-size: 0.95rem;
}

/* Contact Info Box */
.contact-information {
  background: #a175aa;
  color: white;
  padding: 2rem;
  border: 1px solid white;
  font-size: 1rem;
  line-height: 1.8;
}

.contact-information p {
  border-bottom: 1px solid #fff;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
}

.contact-information a {
  color: #fff;
  text-decoration: none;
  word-break: break-word;
}

.contact-header .get-in-touch{
font-size: 2rem;
font-weight: 600;
}
.contact-information a:hover {
  text-decoration: underline;
  text-decoration-color: purple;
}

/* Google Map Section */
.map-section {
  height: 400px;
  margin-top: 3rem;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .contact-main {
    padding: 2rem 1rem;
  }

  .contact-header .get-in-touch{
    font-size: 1.6rem;
    text-align: center;
  }

  .form input,
  .form textarea {
    font-size: 1rem;
    padding: 1rem;
  }

  form button {
    width: 100%;
  }

  .contact-information {
    font-size: 0.95rem;
    padding: 1.5rem;
  }

  .map-section {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 1.25rem;
  }

  .hero-section {
    height: 180px;
  }

  .contact-header h2 {
    font-size: 1.4rem;
  }

  .contact-header p {
    font-size: 0.9rem;
  }

  .contact-information {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .contact-information p {
    padding-bottom: 0.5rem;
    margin-bottom: 0.8rem;
  }

  .map-section {
    height: 250px;
  }
}
