/* ==========================================================================
   REUSABLE CONTACT FORM MODULE
   Used across: Homepage, Contact Page, Single Service Pages
   ========================================================================== */

.contact-form-section,
.service-contact-section {
  padding: 80px 0;
  background: #fff;
}

.contact-form-wrapper,
.service-contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 60px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.form-column {
  background: #fff;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.form-column h2 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 15px;
  color: #222;
}

.form-subheading {
  font-size: 1rem;
  color: #718096;
  margin: 0 0 35px;
  line-height: 1.6;
}

.consultation-column {
  position: sticky;
  top: 100px;
}

.consultation-box-contact {
  background: #0b2b47;
  color: #fff;
  padding: 40px 35px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(11, 43, 71, 0.15);
}

.consultation-box-contact h3 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 20px;
  color: #fff;
  line-height: 1.3;
}

.consultation-box-contact p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 0 30px;
  line-height: 1.6;
}

.social-links-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.social-link-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.social-link-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.social-link-item i {
  font-size: 1.3rem;
  width: 30px;
  flex-shrink: 0;
}

.social-link-item i.fa-facebook-square {
  color: #1877f2;
}

.social-link-item i.fa-linkedin {
  color: #0077b5;
}

.social-link-item i.fa-phone {
  color: #4caf50;
}

.social-link-item span {
  font-weight: 500;
}

/* Homepage variant - different background */
.contact-section {
  padding: 80px 0;
  background: #f3f6f8;
}

.contact-section .contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: start;
}

.contact-section .contact-form {
  background: #fff;
  padding: 36px;
  border-radius: 6px;
  box-shadow: var(--card-shadow);
}

.contact-section .contact-form h2 {
  margin: 0 0 18px;
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
}

.contact-section .consultation-box {
  background: var(--navy);
  color: #fff;
  padding: 28px;
  border-radius: 6px;
  min-height: 180px;
  box-shadow: 0 8px 30px rgba(11, 43, 71, 0.06);
}

.contact-section .consultation-box h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
  color: #fff;
}

.contact-section .consultation-box .consultation-content {
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .contact-form-wrapper,
  .service-contact-wrapper {
    grid-template-columns: 1fr 350px;
    gap: 40px;
  }
}

@media (max-width: 980px) {
  .contact-form-wrapper,
  .service-contact-wrapper,
  .contact-section .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .consultation-column {
    position: static;
  }

  .consultation-box,
  .consultation-column {
    width: 100%;
    order: 2;
  }

  .contact-form,
  .form-column {
    order: 1;
  }
}

@media (max-width: 768px) {
  .contact-form-section,
  .service-contact-section,
  .contact-section {
    padding: 50px 0;
  }

  .consultation-box-contact {
    padding: 30px 25px;
  }

  .form-column,
  .contact-form {
    padding: 25px 20px;
  }
}

@media (max-width: 480px) {
  .consultation-box-contact h3 {
    font-size: 1.3rem;
  }

  .form-column {
    padding: 25px 20px;
  }

  .consultation-box-contact {
    padding: 25px 20px;
  }
}
