/* ============================================================
   Alchotech Solutions - Contact Page Stylesheet (contact.css)
   ============================================================ */

/* --- Contact Hero Banner --- */
.contact-hero-section {
  background: linear-gradient(135deg, #030712 0%, #0f172a 60%, #1e1b4b 100%);
  padding: 140px 0 90px;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.contact-hero-section::before {
  content: "";
  position: absolute;
  top: -20%;
  right: -10%;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(13, 82, 243, 0.25) 0%, rgba(13, 82, 243, 0) 70%);
  pointer-events: none;
}

.contact-hero-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
}

.contact-hero-subtitle {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #cbd5e1;
  max-width: 680px;
  margin: 0 auto;
}

/* --- Contact Details & Form Section --- */
.contact-main-section {
  padding: 90px 0 100px;
  background-color: #f8fafc;
}

/* Contact Info Cards Sidebar */
.contact-info-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 40px 32px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
  height: 100%;
}

.contact-info-header {
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid #f1f5f9;
}

.contact-info-header h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.contact-info-header p {
  font-size: 0.95rem;
  color: #64748b;
  margin-bottom: 0;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 28px;
}

.contact-detail-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(13, 82, 243, 0.08);
  border: 1px solid rgba(13, 82, 243, 0.18);
  color: #0d52f3;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-detail-item:hover .contact-detail-icon {
  background: #0d52f3;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(13, 82, 243, 0.25);
}

.contact-detail-text .label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #0d52f3;
  margin-bottom: 4px;
}

.contact-detail-text .value {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.5;
}

.contact-detail-text .value a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.25s ease;
}

.contact-detail-text .value a:hover {
  color: #0d52f3;
}

.contact-social-box {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #f1f5f9;
}

.contact-social-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 14px;
}

.social-links-grid {
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-pill-link {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #f1f5f9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-pill-link:hover {
  background: #0d52f3;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(13, 82, 243, 0.25);
}

/* Contact Form Box */
.contact-form-wrapper {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 44px 40px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.05);
}

.contact-form-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.contact-form-subtitle {
  font-size: 0.98rem;
  color: #64748b;
  margin-bottom: 32px;
}

.form-group-custom {
  margin-bottom: 22px;
}

.form-label-custom {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 8px;
  display: block;
}

.form-control-custom {
  width: 100%;
  padding: 13px 18px;
  font-size: 0.96rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background-color: #f8fafc !important;
  color: #0f172a !important;
  transition: all 0.25s ease;
  outline: none;
}

.form-select-custom {
  width: 100%;
  padding: 13px 48px 13px 18px;
  font-size: 0.96rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  background-color: #f8fafc !important;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23334155' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 16px 12px !important;
  color: #0f172a !important;
  transition: all 0.25s ease;
  outline: none;
  line-height: normal;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
}

.form-select-custom.is-placeholder,
.form-select-custom.is-placeholder:focus {
  color: #64748b !important;
}

.form-control-custom:focus,
.form-select-custom:focus,
.form-control-custom:active,
.form-select-custom:active {
  color: #0f172a !important;
  background-color: #ffffff !important;
  border-color: #0d52f3 !important;
  box-shadow: 0 0 0 4px rgba(13, 82, 243, 0.12) !important;
  outline: none !important;
}

/* Explicit option menu styling for cross-browser fix */
.form-select-custom option {
  background-color: #ffffff !important;
  color: #0f172a !important;
  padding: 12px 16px;
  font-size: 0.95rem;
}

.form-select-custom option[disabled] {
  color: #94a3b8 !important;
  background-color: #f8fafc !important;
}

.form-select-custom option:checked {
  background-color: #0d52f3 !important;
  color: #ffffff !important;
}

textarea.form-control-custom {
  resize: vertical;
  min-height: 130px;
}

.contact-submit-btn {
  background: #0d52f3;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.02rem;
  border-radius: 50px;
  padding: 16px 36px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 22px rgba(13, 82, 243, 0.28);
  width: 100%;
  justify-content: center;
}

.contact-submit-btn:hover {
  background: #0b43c7;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(13, 82, 243, 0.38);
}

.contact-submit-btn i {
  font-size: 1.15rem;
  transition: transform 0.3s ease;
}

.contact-submit-btn:hover i {
  transform: translateX(4px);
}

/* Map Section */
.contact-map-section {
  padding: 0 0 100px;
  background-color: #f8fafc;
}

.map-card-wrapper {
  background: #ffffff;
  border-radius: 28px;
  border: 1px solid #e2e8f0;
  padding: 16px;
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.map-iframe-container {
  width: 100%;
  height: 440px;
  border-radius: 20px;
  overflow: hidden;
}

.map-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* Trust Footer Badge Styling */
.trust-footer-card {
  background: rgba(241, 245, 249, 0.8);
  border: 1px solid #cbd5e1;
  border-radius: 14px;
  padding: 14px 18px;
  margin-top: 18px;
  margin-bottom: 22px;
}

.trust-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-title i {
  color: #0d52f3;
  font-size: 1.1rem;
}

.trust-details {
  font-size: 0.8rem;
  color: #475569;
  margin-top: 4px;
}

/* Responsive Styles */
@media (max-width: 991px) {
  .contact-hero-title {
    font-size: 2.2rem;
  }
  .contact-form-wrapper {
    padding: 32px 24px;
    margin-top: 40px;
  }
  .contact-info-wrapper {
    padding: 32px 24px;
  }
  .map-iframe-container {
    height: 350px;
  }
}

@media (max-width: 575px) {
  .contact-hero-section {
    padding: 110px 0 60px;
  }
  .contact-hero-title {
    font-size: 1.85rem;
  }
  .contact-hero-subtitle {
    font-size: 0.98rem;
  }
  .contact-form-title {
    font-size: 1.5rem;
  }
}
