/* Contact Page Styles */
.com-contact.contact {
  background: #f8fafc;
  padding: 64px 0;
  font-family: "Assistant Regular", sans-serif;
}

.contact-page-container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* Header Section */
.contact-page-header {
  text-align: center;
  margin-bottom: 64px;
}

.contact-page-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 16px 0;
  line-height: 1.2;
  font-family: "Assistant Bold", sans-serif;
}

.contact-page-description {
  font-size: 1.25rem;
  color: #4b5563;
  line-height: 1.75;
  margin: 0;
  max-width: 768px;
  margin-left: auto;
  margin-right: auto;
}

/* Contact Cards Wrapper */
.contact-cards-wrapper {
  padding: 0;
  margin-bottom: 48px;
}

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

@media (min-width: 768px) {
  .contact-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Contact Info Cards */
.contact-info-card {
  background: #fff;
  padding: 32px;
  border-radius: 16px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid #f3f4f6;
}

.contact-info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.contact-info-icon-blue {
  background: #dbeafe;
  color: #2563eb;
}

.contact-info-icon-orange {
  background: #fed7aa;
  color: #ea580c;
}

.contact-info-icon-green {
  background: #d1fae5;
  color: #059669;
}

.contact-info-icon svg {
  width: 24px;
  height: 24px;
}

.contact-info-card-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 12px 0;
  font-family: "Assistant Bold", sans-serif;
}

.contact-info-card-value {
  font-size: 1rem;
  color: #374151;
  margin: 0 0 8px 0;
  line-height: 1.5;
}

.contact-info-card-value a {
  color: #374151;
  text-decoration: none;
  transition: color 0.2s ease;
}

.contact-info-card-value a:hover {
  color: #ea580c;
}

.contact-info-card-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.5;
}

.contact-navigate-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #059669;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  margin-top: 8px;
  transition: color 0.2s ease;
  font-family: "Assistant Bold", sans-serif;
}

.contact-navigate-link:hover {
  color: #047857;
  text-decoration: underline;
}

.contact-navigate-arrow {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.contact-navigate-link:hover .contact-navigate-arrow {
  transform: translateX(-4px);
}

/* Form and Map Container */
.contact-form-map-container {
  margin-top: 48px;
}

.contact-form-map-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1),
    0 10px 10px -5px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

@media (min-width: 768px) {
  .contact-form-map-wrapper {
    flex-direction: row;
  }
}

/* Map Column */
.contact-map-column {
  width: 100%;
  position: relative;
  min-height: 300px;
}

@media (min-width: 768px) {
  .contact-map-column {
    width: 50%;
  }
}

.contact-map-container {
  width: 100%;
  height: 100%;
  min-height: 300px;
  position: relative;
}

.contact-map-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Form Column */
.contact-form-column {
  width: 100%;
}

@media (min-width: 768px) {
  .contact-form-column {
    width: 50%;
  }
}

.contact-form-wrapper {
  padding: 32px;
}

.contact-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 8px 0;
  font-family: "Assistant Bold", sans-serif;
}

.contact-form-description {
  font-size: 0.875rem;
  color: #6b7280;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-form-row {
  display: flex;
  flex-direction: column;
}

.contact-form-row-grid {
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .contact-form-row-grid {
    flex-direction: row;
    gap: 20px;
  }

  .contact-form-col {
    flex: 1;
  }
}

.contact-form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  color: #374151;
  margin-bottom: 8px;
  font-family: "Assistant Regular", sans-serif;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 1rem;
  font-family: "Assistant Regular", sans-serif;
  background: #f9fafb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.contact-form input[type="text"]:focus,
.contact-form input[type="email"]:focus,
.contact-form input[type="tel"]:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #ea580c;
  box-shadow: 0 0 0 3px rgba(234, 88, 12, 0.1);
}

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

.contact-form-website-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  overflow: hidden;
}

.contact-form-submit-btn {
  width: 100%;
  background: #ea580c;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 12px 24px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
  font-family: "Assistant Bold", sans-serif;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.contact-form-submit-btn:hover {
  background: #c2410c;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.contact-form-submit-btn:active {
  transform: translateY(1px);
}

.contact-form-privacy {
  font-size: 0.75rem;
  color: #9ca3af;
  margin: 12px 0 0 0;
  text-align: center;
  line-height: 1.5;
}

/* Messages */
.success-msg,
.error-msg,
.warning-msg {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
}

.success-msg {
  background: #d1fae5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.error-msg {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.warning-msg {
  background: #fef3c7;
  color: #92400e;
  border: 1px solid #fde68a;
}

.inline-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Responsive Design */
@media (max-width: 767px) {
  .com-contact.contact {
    padding: 48px 0;
  }


  .contact-page-title {
    font-size: 1.875rem;
    margin-bottom: 12px;
  }

  .contact-page-description {
    font-size: 1.125rem;
  }

  .contact-cards-grid {
    gap: 16px;
  }

  .contact-info-card {
    padding: 24px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .contact-form-title {
    font-size: 1.25rem;
  }

  .contact-map-column {
    min-height: 250px;
  }
}

@media (max-width: 480px) {
  .com-contact.contact {
    padding: 32px 0;
  }

  .contact-page-title {
    font-size: 1.5rem;
  }

  .contact-page-description {
    font-size: 1rem;
  }

  .contact-info-card {
    padding: 20px;
  }

  .contact-form-wrapper {
    padding: 20px;
  }
}
.success-msg {
  direction: rtl;
  margin-top: 1rem;
  color: #059669 !important;
  background-color: #d1fae5 !important;
  border: 2px solid #a7f3d0;
  text-align: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-family: "Assistant Bold", Arial, sans-serif;
  animation: slideIn 1.5s ease-out;
}
.error-msg,
.warning-msg {
  direction: rtl;
  margin-top: 1rem;
  background: #fee2e2 !important;
  color: #dd4c4c !important;
  border: 2px solid #fecaca;
  text-align: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-family: "Assistant Bold", Arial, sans-serif;
  animation: slideIn 1.5s ease-out;
}

/* Form Validation Styles */
.contact-form input[type="text"].border-red-500,
.contact-form input[type="email"].border-red-500,
.contact-form textarea.border-red-500 {
  border-color: #ef4444 !important;
  box-shadow: none;
  transition: all 0.3s ease;
}

.contact-form input[type="text"].focus\:ring-red-500:focus,
.contact-form input[type="email"].focus\:ring-red-500:focus,
.contact-form textarea.focus\:ring-red-500:focus {
  border-color: #ef4444 !important;
  box-shadow: none;
}

.contact-form input[type="text"].border-gray-300,
.contact-form input[type="email"].border-gray-300,
.contact-form textarea.border-gray-300 {
  border-color: #d1d5db !important;
  transition: all 0.3s ease;
}

.contact-form input[type="text"].focus\:ring-orange-500:focus,
.contact-form input[type="email"].focus\:ring-orange-500:focus,
.contact-form textarea.focus\:ring-orange-500:focus {
  border-color: #5c67c6 !important;
  box-shadow: none;
  transition: all 0.3s ease;
}

/* Form Message Styles */
#contact-form-message {
  text-align: center;
  border-radius: 0.5rem;
  font-family: "Assistant Bold", Arial, sans-serif;
  animation: slideIn 1.5s ease-out;
}

#contact-form-message.text-green-600 {
  direction: rtl;
  padding: 0.75rem;

  color: #059669 !important;
  background-color: #d1fae5 !important;
  border: 2px solid #a7f3d0;
  animation: slideIn 1.5s ease-out, pulse 2s ease-in-out;
}

#contact-form-message.text-red-600 {
  direction: rtl;
  padding: 0.75rem;

  color: #dd4c4c !important;
  background-color: #fee2e2 !important;
  border: 2px solid #fecaca;
  animation: slideIn 1.5s ease-out;
}

/* Captcha Error Styling */
.captcha-reg {
  border: none;
  transition: border 0.2s;
}

.captcha-reg.error {
  border: 2px solid #ef4444 !important;
  border-radius: 8px;
  padding: 0.5rem;
}

/* Form Validation Icons */
#contact-form-message i {
  margin-left: 0.5rem;
}

/* SVG Icon Styles */
.inline-icon {
  display: inline-block;
  vertical-align: text-top;
  margin-left: 0.5rem;
  margin-right: 0.25rem;
  margin-top: 2px;
}

/* Responsive adjustments for validation */
@media (max-width: 700px) {
  #contact-form-message {
    font-size: 0.9rem;
    padding: 0.5rem;
  }
}
.g-recaptcha {
  direction: rtl;
}
/* Error Tooltip Styles */
.error-tooltip {
  position: absolute;
  background: #dd4c4c;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  z-index: 49;
  top: -5px;
  left: -14px;
  white-space: nowrap;
  font-family: "Assistant Regular", Arial, sans-serif;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  animation: tooltipSlideIn 0.3s ease-out;
}

.error-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -5px;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border: 10px solid transparent;
  border-left-color: #dd4c4c;
  border-right: 0;
}

/* Animation Keyframes */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes tooltipSlideIn {
  0% {
    opacity: 0;
    transform: translateY(-5px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* Responsive adjustments for tooltips */
@media (max-width: 1000px) {
  .error-tooltip {
    left: 0px;
  }
  .error-tooltip::after {
    border-width: 8px;
    right: -8px;
  }
}

.website-field {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -999 !important;
}
@media (max-width: 390px) {
  .g-recaptcha {
    display: flex;
    justify-content: center;
    align-items: center;
    scale: 0.8;
  }
}
