/* =================================== */
/* Contact Page: Hero Section
/* =================================== */
.contact-hero {
  position: relative;
  padding: 8rem 0;
  background-image: url("assets/contact-hero-bg.jpg"); /* Your hero background */
  background-size: cover;
  background-position: center;
  color: #ffffff;
}

.contact-hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(31, 54, 96, 0.7);
  z-index: 1;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-hero__title {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.5;
}

/* =================================== */
/* Contact Page: Info Section
  /* =================================== */
.contact-info-section {
  padding: 5rem 0;
}

.info-block {
  text-align: left;
  display: flex;
}
.innfo-card {
  display: flex;

  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.info-block__icon {
  margin-bottom: 1rem;
}
.info-block__icon img {
  height: 40px;
}

.info-block__title {
  font-size: 20px;
  font-weight: 700;
  color: #1f3660;
  margin-bottom: 0.75rem;
}

.info-block__content {
  font-size: 16px;
  color: #555;
  line-height: 1.7;
}
.info-block__content a {
  color: #555;
  text-decoration: none;
}
.info-block__content a:hover {
  color: #1a7fbe;
}

.info-block__social-icons {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}
.info-block__social-icons img {
  width: 28px;
  transition: transform 0.2s ease;
}
.info-block__social-icons a:hover img {
  transform: scale(1.1);
}

/* =================================== */
/* Contact Page: Form Section
/* =================================== */
.contact-form-page-section {
  padding: 5rem 0;
  background-color: #ffffff;
  position: relative;
}

.contact-form-page-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(circle at 20% 20%, rgba(31, 54, 96, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(31, 54, 96, 0.03) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.contact-form-page-section .container {
  position: relative;
  z-index: 2;
}

.contact-form-page__title {
  font-size: 48px;
  font-weight: 700;
  color: #1f3660;
  line-height: 1.3;
  margin-bottom: 1rem;
  text-align: center;
}

.contact-form-page__subtitle {
  font-size: 18px;
  color: #000000;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
  margin-bottom: 2rem;
}

/* Form Styling */
.contact-form-page .form-control,
.contact-form-page .form-select {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1rem 1.2rem;
  font-size: 16px;
  text-align: left;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.contact-form-page .form-control:focus,
.contact-form-page .form-select:focus {
  border-color: #1f3660;
  box-shadow: 0 4px 16px rgba(31, 54, 96, 0.15);
  outline: none;
}

.contact-form-page .form-control::placeholder {
  color: #999;
  font-weight: 400;
}

.contact-form-page .form-select {
  color: #333;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
  background-position: left 1rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-left: 3rem;
}

/* Input Group Styling */
.contact-form-page .input-group {
  direction: ltr;
}

.contact-form-page .input-group .form-control {
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-left: none;
}

.contact-form-page .input-group-text {
  background-color: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-right: none;
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
  color: #666;
  font-weight: 500;
  padding: 1rem 1.2rem;
}

/* Submit Button */
.btn.btn-submit-contact {
  background-color: #1f3660;
  color: #ffffff;
  padding: 1rem 3rem;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 700;
  border: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(31, 54, 96, 0.3);
  min-width: 200px;
}

.btn.btn-submit-contact:hover {
  background-color: #082680;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 54, 96, 0.4);
}

.btn.btn-submit-contact:active {
  transform: translateY(0);
}

/* =================================== */
/* Contact Form Section - Matching Services.html
/* =================================== */
.contact-form-section__content {
  text-align: left;
  color: #333;
}

.content__heading {
  font-family: "Tajawal", sans-serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 1rem;
  color: #1f3660;
}

.content__description {
  font-size: 18px;
  color: #000000;
  margin-bottom: 2rem;
  font-weight: 500;
}

.content__trusted-by {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
}

.content__trusted-by p {
  margin: 0;
  font-size: 16px;
  color: #666;
  font-weight: 500;
}

.trusted-by__avatars {
  display: flex;
}

.trusted-by__avatars img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #1f3660;
  margin-left: -15px;
}

/* Custom Form Styles - Matching Services.html */
.contact-form .form-control,
.contact-form .form-select {
  background-color: #ffffff;
  border: 1px solid #ced4da;
  border-radius: 10px;
  padding: 0.9rem 1.2rem;
  font-size: 16px;
  text-align: left;
  color: #333;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control::placeholder {
  color: #6c757d;
}

.contact-form .form-select {
  color: #6c757d;
}

/* Submit Button - Matching Services.html */
.btn.btn-submit {
  background-color: #1a7fbe;
  color: #ffffff;
  padding: 0.9rem;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  transition: background-color 0.3s ease;
  border: none;
}

.btn.btn-submit:hover {
  background-color: #1569a1;
}

/* =================================== */
/* Contact Page: Map Section
  /* =================================== */
.map-section iframe {
  display: block; /* Removes bottom space under iframe */
}

/* =================================== */
/* Contact Page: Responsive
  /* =================================== */
@media (max-width: 991.98px) {
  .info-block {
    text-align: center;
  }
  .info-block__social-icons {
    justify-content: center;
  }
}
@media (max-width: 767.98px) {
  .contact-hero__title {
    font-size: 36px;
  }

  .contact-form-page__title {
    font-size: 36px;
  }

  .contact-form-page__subtitle {
    font-size: 16px;
  }

  .btn.btn-submit-contact {
    min-width: 180px;
    padding: 0.9rem 2rem;
  }
}

@media (max-width: 991.98px) {
  .contact-form-section__content {
    text-align: center;
    margin-bottom: 3rem;
  }

  .content__trusted-by {
    justify-content: center;
  }
}
