/* Typography & General */
.contact-page {
  font-family: 'Inter', sans-serif; /* Recommended professional font */
  padding: 60px 0;
}

.section-title{
  text-align: center;
  margin-bottom: 40px;
}

.small-text-muted {
  font-size: 14px;
  color: #6c757d;
  margin-top: -10px;
  margin-bottom: 30px;
}

/* Cards */
.contact-form-card, .info-card {
  background: #ffffff;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid #f0f0f0;
}

/* Inputs */
.contact-page-form .form-control {
  font-size: 14px; /* Professional small text */
  padding: 12px 16px;
  background: #fdfdfd;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  margin-bottom: 15px;
}

.contact-page-form .form-control:focus {
  background: #fff;
  border-color: #0d6efd;
  box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

/* Label spacing and appearance */
.contact-page-form .form-group {
  margin-bottom: 14px;
}

.contact-page-form label,
.contact-page-form .control-label,
.contact-page-form .form-label {
  display: inline-block;
  margin-bottom: 8px;
  color: #1f2937 !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
}

/* Stop global .has-error color from turning labels red */
.contact-page .contact-page-form .has-error,
.contact-page .contact-page-form .has-success {
  color: inherit !important;
}

.contact-page .contact-page-form .has-error label,
.contact-page .contact-page-form .has-success label,
.contact-page .contact-page-form .has-error .control-label,
.contact-page .contact-page-form .has-success .control-label,
.contact-page .contact-page-form .has-error .form-label,
.contact-page .contact-page-form .has-success .form-label {
  color: #1f2937 !important;
}

/* Keep only validation message red */
.contact-page .contact-page-form .has-error .help-block,
.contact-page .contact-page-form .help-block-error {
  color: #dc3545 !important;
  font-size: 12px;
  line-height: 1.3;
  margin-top: 4px;
  margin-bottom: 0;
  padding: 0;
  display: block;
}

/* ReCaptcha Alignment */
.captcha-container {
  display: flex;
  justify-content: flex-start; /* Keeps it strictly left */
  margin-bottom: 10px;
}

/* Info Section Styling */
.info-item {
  display: flex;
  margin-bottom: 25px;
}

.info-item i {
  font-size: 18px;
  color: #0d6efd;
  background: rgba(13, 110, 253, 0.08);
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  margin-right: 15px;
  flex-shrink: 0;
}

.info-item h4 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 5px 0;
  color: #1a202c;
}

.info-item p {
  font-size: 13.5px;
  color: #4a5568;
  margin: 0;
}

/* Social Media Fix */
.social-links a {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #475569;
  margin-right: 12px;
  border-radius: 8px;
  width: 38px;
  height: 38px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-links a:hover {
  background: #0d6efd;
  color: #fff;
  transform: translateY(-3px);
}

.contact-map iframe {
  border-radius: 10px;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.08);
}

/* Button */
.btn-submit {
  font-size: 14px;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Image Container Styling */
.info-img-wrapper {
  margin-bottom: 25px; /* Creates space between image and contact details */
  overflow: hidden;    /* Prevents image from breaking out of rounded corners */
  border-radius: 8px;  /* Matches the card's theme */
  line-height: 0;      /* Removes bottom whitespace gap */
}

.info-img-wrapper img {
  width: 100%;         /* Ensures it fills the card width */
  height: 200px;       /* Fixed height for a uniform look */
  object-fit: cover;   /* Crops the image proportionally to fill the area */
  transition: transform 0.4s ease; /* Subtle hover effect */
}

.info-img-wrapper img:hover {
  transform: scale(1.05); /* Slight zoom on hover for a premium feel */
}