/* Contact Us Shortcode - Tailwind Style */
.contact-us-shortcode {
  padding: 24px 0;
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 auto;
  align-items: start;
}

/* Contact Info Section */

.contact-title {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 16px;
  line-height: 1.3;
}

.contact-description {
  font-size: 16px;
  color: #6b7280;
  margin-bottom: 32px;
  line-height: 1.6;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

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

.contact-icon {
  width: 48px;
  height: 48px;
  background: #f3f4f6;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #e5e7eb;
}

.contact-icon i {
  font-size: 18px;
  color: var(--primary-color);
}

.contact-content {
  flex: 1;
  min-width: 0;
}

.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-value {
  font-size: 14px;
  color: #111827;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.contact-value:hover {
  color: var(--primary-color);
}

/* Contact Form Section */
.contact-form {
  padding-left: 24px;
  border-left: 1px solid #e5e7eb;
}

.form-title {
  font-size: 28px;
  font-weight: 700;
  color: #111827;
  margin-bottom: 24px;
  line-height: 1.3;
}

/* Form Styling (for Formidable Forms) */
.contact-form form {
  margin-bottom: 0px !important;
}
.contact-form .frm_forms {
  margin: 0;
}

.contact-form .frm_form_fields {
  border: none;
  background: none;
  padding: 0;
}

.contact-form .frm_form_field {
  margin-bottom: 15px !important;
}

.contact-form .frm_form_field label {
  font-size: 14px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
  display: block;
}

.contact-form .frm_form_field input,
.contact-form .frm_form_field textarea {
  background-color: white;
}
.contact-form .frm_form_field input[type="text"],
.contact-form .frm_form_field input[type="email"],
.contact-form .frm_form_field input[type="tel"],
.contact-form .frm_form_field textarea,
.contact-form .frm_form_field select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d1d5db;
  border-radius: 5px;
  color: #111827;
  transition: all 0.15s ease;
  box-sizing: border-box;
  box-shadow: none;
  height: auto;
}
.contact-form .frm_form_field select {
  background-position-y: calc(50% + 0px) !important;
}

.contact-form .frm_form_field input:focus,
.contact-form .frm_form_field textarea:focus,
.contact-form .frm_form_field select:focus {
  outline: none;
  border-color: var(--primary-color) !important;
  box-shadow: none !important;
}

.contact-form .frm_form_field textarea {
  min-height: 120px;
  resize: vertical;
}

.frm_style_formidable-style.with_frm_style .frm_submit button {
  all: unset;
  background: var(--primary-color);
  color: #fff;
  padding: 8px 20px;
  font-size: 0.85em;
  gap: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  text-transform: uppercase;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

/* Add icon to submit button */
.frm_style_formidable-style.with_frm_style
  .frm_submit
  .frm_button_submit::after {
  content: "\f1d8"; /* Font Awesome paper-plane icon */
  font-family: "Font Awesome 5 Pro";
  font-weight: 900;
  margin-left: 8px;
  font-size: 0.9em;
}

.frm_style_formidable-style.with_frm_style .frm_submit button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.frm_style_formidable-style.with_frm_style .frm_submit button:hover {
  background: #651014;
  transform: translateY(-2px);
  color: #fff;
  border-color: var(--primary-color);
}
.frm_style_formidable-style.with_frm_style .frm_submit button:hover::before {
  left: 100%;
}
.frm_style_formidable-style.with_frm_style .frm_submit button:focus,
.frm_style_formidable-style.with_frm_style .frm_submit button:active {
  background: #651014;
  background-color: #651014;
  border-color: var(--primary-color);
}

/* Error and Success Messages */
.contact-form .frm_error_style {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #dc2626;
  padding: 12px 16px;
  border-radius: 5px;
  margin-bottom: 16px;
  font-size: 14px;
}

.contact-form .frm_message {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 12px 16px;
  border-radius: 5px;
  margin-bottom: 16px;
  font-size: 14px;
}

/* Contact Map Section */
.contact-map-section {
  margin-top: 32px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  border: 1px solid #e5e7eb;
}

.contact-map {
  width: 100%;
  border: none;
  display: block;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .contact-container {
    gap: 24px;
  }

  .contact-form {
    padding-left: 20px;
  }
}

@media (max-width: 768px) {
  .contact-us-shortcode {
    padding: 24px 0;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-info {
    padding-right: 0;
  }

  .contact-form {
    padding-left: 0;
    border-left: none;
    border-top: 1px solid #e5e7eb;
    padding-top: 32px;
  }

  .contact-map-section {
    margin-top: 24px;
  }

  .contact-title {
    font-size: 24px;
  }

  .form-title {
    font-size: 20px;
  }

  .contact-icon {
    width: 44px;
    height: 44px;
  }

  .contact-icon i {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .contact-us-shortcode {
    padding: 24px 0;
  }

  .contact-container {
    gap: 24px;
  }

  .contact-items {
    gap: 20px;
  }

  .contact-map-section {
    margin-top: 20px;
  }

  .contact-icon {
    width: 40px;
    height: 40px;
  }

  .contact-icon i {
    font-size: 14px;
  }

  .contact-title {
    font-size: 20px;
  }

  .form-title {
    font-size: 18px;
  }
}
