/* General styles */

body {
  background-color: #f5f5f5;
  min-height: 100vh;
}

/* Background Image Container */
.background-image-container {
  background-image: url("/static/images/contactUs4.jpg");
  background-size: cover;
  background-position: center;
  height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border-radius: 10px;
  width: 100%;
}

/* Contact Section */
.conatct-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  width: 100%;
}

.contact-container {
  display: flex;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 1200px;
  overflow: hidden;
}

.contact-info {
  flex: 1;
  padding: 40px;
  background-color: rgba(255, 255, 255, 0.9);
}

.contact-info h2 {
  color: #34588f;
  font-size: 28px;
  margin-bottom: 20px;
}

.contact-info p {
  color: #666;
  line-height: 1.6;
  margin-bottom: 30px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.icon-image {
  width: 25px;
  height: 25px;
  color: #34588f;
  flex-shrink: 0;
}

.contact-detail .detail {
  flex: 1;
}

.contact-detail strong {
  display: block;
  color: #666;
  margin-bottom: 5px;
  font-weight: 600;
}

.contact-detail a {
  color: #34588f;
  text-decoration: none;
}

.contact-detail a:hover {
  text-decoration: underline;
}

.detail p {
  color: #34588f;
  margin: 0;
}

/* Enquiry Form */
.enquiry-form {
  flex: 1;
  padding: 40px;
  background-color: #f8f9fa;
}

.enquiry-form h2 {
  color: #34588f;
  font-size: 28px;
  margin-bottom: 20px;
}

.enquiry-form p {
  color: #666;
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Form Labels - Make them visible */
.form-group label {
  display: block;
  color: #34588f;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 15px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #34588f;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
  font-family: inherit;
}

/* Error Messages */
.form-group .error {
  color: #dc3545;
  font-size: 13px;
  margin-top: 5px;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Submit Button */
.submit-btn {
  background-color: #34588f;
  color: white;
  border: none;
  border-radius: 25px;
  padding: 14px 30px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #2b4a7a;
}

/* Map Section */
.map-section {
  width: 100%;
  padding: 0;
  margin: 0;
}

.map-container {
  width: 100%;
  height: 450px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
  }

  .contact-info,
  .enquiry-form {
    padding: 30px 20px;
  }

  .form-row {
    flex-direction: column;
    gap: 0;
  }

  .background-image-container {
    height: 200px;
  }
}

@media (max-width: 480px) {
  .contact-info h2,
  .enquiry-form h2 {
    font-size: 24px;
  }

  .contact-info,
  .enquiry-form {
    padding: 20px 15px;
  }
}
