/* Contact Page Styles */
.com-contact {
  background-color: #f8fafc; /* bg-slate-50 */
  box-sizing: border-box;
  overflow-x: hidden;
}

.com-contact *,
.com-contact *::before,
.com-contact *::after {
  box-sizing: border-box;
}

/* Contact Page Header */
.contact-page-header {
  background-color: #ffffff; /* bg-white */
  padding: 5rem 0 7rem;
  text-align: center;
}

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

.contact-title {
  font-size: 3rem; /* text-4xl md:text-5xl */
  font-weight: 700; /* font-bold */
  color: #1e293b; /* text-slate-800 */
  margin: 0 0 1rem 0;
  line-height: 1.2;
  font-family: "Assistant Bold", Arial, sans-serif;
}

.contact-accent {
  color: #2563eb; /* text-blue-600 */
}

.contact-description {
  font-size: 1.25rem; /* text-lg md:text-xl */
  color: #475569; /* text-slate-600 */
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
  font-family: "Assistant Regular", Arial, sans-serif;
}

/* Two Column Layout */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  max-width: 1100px;
  background-color: #ffffff; /* bg-white */
  padding: 2rem 1.5rem;
  border-radius: 0.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  margin: 2rem auto;
  position: relative;
  z-index: 10;
}

/* Contact Form Column */
.contact-form-column {
  text-align: right;
  min-width: 0;
  overflow: hidden;
}

.contact-form-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1e293b; /* text-slate-800 */
  margin: 0 0 1.5rem 0;
  font-family: "Assistant Bold", Arial, sans-serif;
}

/* Contact Form Styles */
.com-contact__form {
  width: 100%;
}

.contact-form {
  width: 100%;
}

.field-row {
  margin-bottom: 1rem;
}

.field-row label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #374151; /* text-gray-700 */
  font-size: 0.875rem;
  font-family: "Assistant SemiBold", Arial, sans-serif;
}

.field-row input,
.field-row textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: #ffffff; /* bg-white */
  border: 1px solid #d1d5db; /* border-gray-300 */
  border-radius: 0.5rem;
  color: #1e293b; /* text-slate-800 */
  font-size: 1rem;
  font-family: "Assistant Regular", Arial, sans-serif;
  transition: all 0.3s ease;
  box-sizing: border-box;
  max-width: 100%;
}

.field-row input:focus,
.field-row textarea:focus {
  outline: none;
  border-color: #2563eb; /* border-blue-600 */
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.field-row input::placeholder,
.field-row textarea::placeholder {
  color: #9ca3af; /* text-gray-400 */
}

.field-row textarea {
  resize: vertical;
  min-height: 120px;
}

/* Form Validation Styles */
.field-row input.border-red-500,
.field-row textarea.border-red-500 {
  border-color: #ef4444 !important; /* red-500 */
}

.field-row input.border-red-500::placeholder,
.field-row textarea.border-red-500::placeholder {
  color: #ef4444;
}

/* Submit Button */
.control-group {
  margin-top: 1.5rem;
}

.controls .btn {
  background-color: #0d9488; /* teal-600 */
  color: #ffffff;
  font-weight: 700;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 0.5rem;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: "Assistant Bold", Arial, sans-serif;
  width: 100%;
}

.controls .btn:hover {
  background-color: #0f766e; /* teal-700 */
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.controls .btn:disabled,
.controls .btn.sending {
  background-color: #6b7280; /* gray-500 */
  color: #9ca3af; /* gray-400 */
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* Contact Info Column */
.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background-color: #ffffff;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
}

/* Contact Info Items */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 1.5rem;
}

.contact-info-item:last-child {
  margin-bottom: 0;
}

.contact-info-icon {
  background-color: #dbeafe;
  color: #2563eb;
  padding: 12px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

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

.contact-info-content strong {
  display: block;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 4px;
  font-size: 1.125rem;
}

.contact-info-content p {
  color: #64748b;
  margin: 0;
  font-size: 1rem;
  line-height: 1.5;
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b; /* text-slate-800 */
  margin: 0 0 1rem 0;
  font-family: "Assistant Bold", Arial, sans-serif;
}

/* Contact Info List */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-align: right;
}

.contact-info-icon {
  flex-shrink: 0;
  color: #2563eb; /* blue-600 */
  margin-top: 0.125rem;
  background-color: #dbeafe; /* blue-100 */
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-info-content {
  flex: 1;
}

.contact-info-content strong {
  display: block;
  font-weight: 700;
  color: #1e293b; /* text-slate-800 */
  margin-bottom: 0.25rem;
  font-family: "Assistant Bold", Arial, sans-serif;
}

.contact-link {
  color: #475569; /* text-slate-600 */
  text-decoration: none;
  transition: color 0.3s ease;
  font-family: "Assistant Regular", Arial, sans-serif;
}

.contact-link:hover {
  color: #2563eb; /* blue-600 */
}

.contact-address {
  color: #475569; /* text-slate-600 */
  line-height: 1.5;
  font-family: "Assistant Regular", Arial, sans-serif;
}

/* Google Map */
.contact-map-card {
  width: 100%;
  height: 320px;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  margin-top: 1rem;
}

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

.inline-icon {
  flex-shrink: 0;
}

/* Captcha Styles */
.captcha-reg {
  margin: 1rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    margin: 1rem 1.5rem;
  }

  .contact-title {
    font-size: 2rem;
  }

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

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

  .contact-map-card {
    height: 250px;
  }

  .contact-page-header {
    padding: 4rem 0 5rem;
  }

  .contact-header-content {
    padding: 0 20px;
  }
}

@media (max-width: 480px) {
  .contact-title {
    font-size: 1.75rem;
  }

  .contact-layout {
    padding: 1rem;
    gap: 1.5rem;
  }

  .field-row input,
  .field-row textarea {
    padding: 0.625rem 0.875rem;
    font-size: 0.875rem;
    width: 100%;
    max-width: 100%;
  }

  .controls .btn {
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
  }

  .contact-page-header {
    padding: 3rem 0 4rem;
  }

}

@media (max-width: 400px) {
  .g-recaptcha {
    transform: scale(0.6);
  }
}
.success-msg {
  direction: rtl;
  margin-top: 1rem;
  color: #059669 !important;
  background-color: #d1fae5 !important;
  border: 1px solid #a7f3d0;
  text-align: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-family: "Assistant Bold";
  animation: slideIn 1.5s ease-out;
}
.error-msg,
.warning-msg {
  direction: rtl;
  margin-top: 1rem;
  background: #fee2e2 !important;
  color: #dd4c4c !important;
  border: 1px solid #fecaca;
  text-align: center;
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-family: "Assistant Bold";
  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: #2563eb !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";
  animation: slideIn 1.5s ease-out;
}

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

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

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

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

.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;
  }
}

/* Error Tooltip Styles */
.error-tooltip {
  position: absolute;
  background: #dd4c4c;
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  z-index: 49;
  top: -8px;
  left: 1px;
  white-space: nowrap;
  font-family: "Assistant SemiBold";
  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;
  }
}
/* Honeypot field - hidden from users but visible to bots */
.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: -9999 !important;
}
