/* ================= CONTACT PAGE STYLES ================= */

/* ============================================
   PAGE HEADER
   ============================================ */
.contact-page-header {
  background: linear-gradient(rgba(16, 31, 75, 0.82), rgba(16, 31, 75, 0.82)), url('../images/pages-banner.jpg') center/cover no-repeat;
  padding: 100px 0;
  text-align: left;
}

.contact-breadcrumb {
  color: #cfd8f5;
  font-size: 14px;
  display: flex;
  align-items: center;
}

.contact-breadcrumb a {
  color: #cfd8f5;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-breadcrumb a:hover {
  color: #ffffff;
}

.contact-breadcrumb i {
  margin: 0 8px;
  font-size: 12px;
  color: #cfd8f5;
}

.contact-page-header h1 {
  color: #ffffff;
  font-size: 42px;
  font-weight: 700;
  margin-top: 10px;
  line-height: 1.2;
}

/* ============================================
   CONTACT INFO CARDS (4 Columns)
   ============================================ */
.contact-section {
  padding: 40px 0;
}

.contact-section.contact-section-bottom {
  padding-top: 20px;
  padding-bottom: 80px;
}

.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.contact-info-card {
  background: #fafafa;
  padding: 40px 20px;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.contact-info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(16, 31, 75, 0.08);
  border-color: #eaeaea;
}

.contact-info-icon {
  width: 75px;
  height: 75px;
  margin: 0 auto 20px;
  border: 1px dashed #4fa3e3;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #4fa3e3;
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-info-icon {
  background: #2952e3;
  color: #ffffff;
  border-color: #2952e3;
}

.contact-info-card h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
  color: #1c1c2b;
}

.contact-info-card p {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   MAP & FORM WRAPPER
   ============================================ */
.contact-map-form-wrapper {
  background: #fafafa;
  padding: 40px;
  border-radius: 8px;
}

.contact-map-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: stretch;
}

/* Map Container */
.contact-map-container iframe {
  border: 0;
  min-height: 400px;
  border-radius: 8px;
  width: 100%;
  height: 100%;
}

/* Form Container */
.contact-form-container {
  display: flex;
  flex-direction: column;
}

/* ============================================
   CONTACT FORM
   ============================================ */
.contact-form {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-form .contact-form-row {
  margin-bottom: 18px;
  width: 100%;
}

/* Two Column Layout */
.contact-form .contact-form-row-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.contact-field-wrap {
  width: 100%;
}

/* Input, Select & Textarea */
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  background-color: #ffffff;
  color: #1c1c2b;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 0;
}

/* Custom Dropdown Arrow */
.contact-form select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%2364748b' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  cursor: pointer;
}

.contact-form select:invalid {
  color: #000000;
}

.contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

/* Focus States */
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2952e3;
  box-shadow: 0 0 0 3px rgba(16, 31, 75, 0.1);
}

/* Form Alert Messages */
.contact-form-alert {
  padding: 12px 14px;
  border-radius: 4px;
  margin-bottom: 15px;
  font-size: 14px;
}

.contact-form-alert.contact-success {
  background: #e6f4ea;
  color: #137333;
}

.contact-form-alert.contact-error {
  background: #fce8e6;
  color: #c5221f;
}

/* ============================================
   BUTTONS
   ============================================ */
.contact-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  text-align: center;
  font-family: inherit;
  font-size: 14px;
  text-decoration: none;
}

.contact-btn-primary {
  background: #2952e3;
  color: #ffffff;
}

.contact-btn-primary:hover {
  background: #4fa3e3;
  color: #ffffff;
}

.contact-btn-full-width {
  width: 100%;
}

/* ============================================
   CONTAINER
   ============================================ */
.contact-container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   SECTION UTILITIES
   ============================================ */
.contact-section-white {
  background: #ffffff;
}

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Tablets */
@media (max-width: 991px) {
  .contact-info-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .contact-map-form-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-map-container iframe {
    min-height: 350px;
  }

  .contact-page-header {
    padding: 70px 0;
  }

  .contact-page-header h1 {
    font-size: 34px;
  }

  .contact-map-form-wrapper {
    padding: 30px 25px;
  }

  .contact-section-bottom {
    padding-bottom: 60px;
  }
}

/* Mobile Phones */
@media (max-width: 768px) {
  .contact-info-cards {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .contact-info-card {
    padding: 30px 15px;
  }

  .contact-info-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }

  .contact-page-header {
    padding: 50px 0;
  }

  .contact-page-header h1 {
    font-size: 28px;
  }

  .contact-breadcrumb {
    font-size: 12px;
  }

  .contact-map-form-wrapper {
    padding: 20px;
  }

  .contact-map-container iframe {
    min-height: 300px;
  }

  /* Two column fields stack on mobile */
  .contact-form .contact-form-row-two-col {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 12px 16px;
    font-size: 13px;
  }

  .contact-btn {
    padding: 12px 28px;
    font-size: 13px;
    width: 100%;
  }

  .contact-container {
    padding: 0 15px;
  }

  .contact-section-bottom {
    padding-bottom: 50px;
  }
}

/* Small Mobile Phones */
@media (max-width: 480px) {
  .contact-info-cards {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .contact-page-header h1 {
    font-size: 24px;
  }

  .contact-page-header {
    padding: 40px 0;
  }

  .contact-map-form-wrapper {
    padding: 15px;
  }

  .contact-map-container iframe {
    min-height: 250px;
  }

  .contact-info-card {
    padding: 25px 15px;
  }

  .contact-info-icon {
    width: 55px;
    height: 55px;
    font-size: 22px;
  }

  .contact-info-card h4 {
    font-size: 13px;
  }

  .contact-info-card p {
    font-size: 13px;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    padding: 11px 14px;
    font-size: 13px;
  }

  .contact-container {
    padding: 0 12px;
  }

  .contact-section-bottom {
    padding-bottom: 40px;
  }
}