/* CONTACT PAGE STYLING */

/* Overall Contact Section */
.contact-section {
  padding: 100px 5% 60px; /* Top padding allows space for fixed navbar */
  background-color: #f9f9f9;
}

.contact-section h2 {
  text-align: center;
  font-size: 2rem;
  padding: 20px 0;
}

.contact-section h5 {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 400;
  color: #555;
  margin-bottom: 30px;
}


/* Container to hold left and right columns */
.contact-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding: 0 40px; /* Extra horizontal padding so content doesn't hit browser edges */
}

/* Left Column: Contact Form */
.contact-left {
  flex: 1;                     /* Equal width */
  padding: 20px;               /* Internal padding */
  box-sizing: border-box;
  text-align: center;          /* Center content within the column */
}

/* Right Column: Direct Contact Information */
.contact-right {
  flex: 1;                     /* Equal width */
  padding: 20px;
  box-sizing: border-box;
  text-align: center;
}

/* Vertical Divider */
.contact-divider {
  width: 1.2px;
  background-color: #ccc;
  min-height: 800px;           /* Adjust height as needed */
  margin: 0 20px;
}

/* CONTACT FORM STYLING */
.contact-form {
  margin: 0 auto;
  text-align: left;            /* Left-align labels and inputs */
}

.contact-form .form-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-form .form-group {
  margin-bottom: 26px;
  flex: 1;
  min-width: 250px;
}

.contact-form .form-group label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.8rem;    /* smaller font size for labels */
  font-weight: bold;
  color: #333;
  text-align: left;
}

.contact-form .form-group input,
.contact-form .form-group select,
.contact-form .form-group textarea {
  width: 100%;
  padding: 8px;
  font-size: .8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

/* Send Button */
.btn-send {
  display: block;
  width: 100%;
  padding: 12px;
  background-color: #272727;
  color: #fff;
  border: none;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-align: center;
}

.btn-send:hover {
  background-color: #000000;
}

/* DIRECT CONTACT INFO (Right Column) */
.contact-right h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

.direct-contact {
  margin-top: auto;
}

.direct-contact p {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.6;
}

.direct-contact strong {
  font-weight: bold;
  color: #333;
}

.direct-contact a {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 30px;
  line-height: 1.4;
  text-decoration: none;
}

/* ALERT MESSAGE STYLING */
.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
  text-align: center;
  font-size: 1.2rem;
}

.alert.success {
  color: #3c763d;
  background-color: #dff0d8;
  border-color: #d6e9c6;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
  .contact-container {
    flex-direction: column;
    align-items: center; /* Center children horizontally */
    padding: 0 20px;
  }
  .contact-divider {
    display: none;
  }
  .contact-right {
    margin-top: 40px;
    width: 100%;       /* Ensure it takes full width */
    text-align: center;
  }
}

