/* Modern Contact Section Styles */

/* Contact Container */
.contact-container {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.contact-container {
  min-height: 600px;
}

/* Contact Info Section */
.contact-info-section {
  background: linear-gradient(135deg, var(--primary-color), #003d7a);
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-info-content {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.section-title {
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 50px;
  height: 3px;
  background-color: white;
}

.contact-form-section .section-title::after {
  background-color: var(--primary-color);
}

/* Contact Icons */
.contact-icon-wrapper {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background-color: white;
  color: var(--primary-color);
  transform: translateY(-3px);
}

/* Contact Form Section */
.contact-form-section {
  background-color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.contact-form-content {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Form Styles */
.form-control-lg {
  padding: 10px 15px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease;
}

/* Phone Input Field */
.phone-input {
  width: 100%;
}

/* Comprehensive form spacing fix */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Reset alert messages */
.contact-form .alert {
  margin-bottom: 15px;
  padding: 10px;
}

.contact-form .row {
  margin: 0;
  padding: 0;
}

.contact-form .col-md-6 {
  padding-top: 0;
  padding-bottom: 5px;
}

.form-group {
  margin-bottom: 0;
}

.form-label {
  margin-bottom: 2px;
}

/* Remove all extra spacing */
.contact-form .row + .row {
  margin-top: 0;
}

.form-control-lg:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 86, 179, 0.1);
}

.form-label {
  font-weight: 500;
  margin-bottom: 8px;
}

/* Submit Button */
.contact-submit-btn {
  background-color: var(--primary-color);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-submit-btn:hover {
  background-color: #004494;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 86, 179, 0.2);
}

/* Responsive Adjustments */
@media (max-width: 767px) {
  .contact-info-section {
    border-radius: 10px 10px 0 0;
  }
  
  .contact-form-section {
    border-radius: 0 0 10px 10px;
  }
}
