/* style/contact.css */

.page-contact {
  font-family: 'Arial', sans-serif;
  color: #333;
  line-height: 1.6;
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.page-contact__hero {
  background: linear-gradient(135deg, #007bff, #28a745);
  color: #fff;
  padding: 80px 0;
  text-align: center;
}

.page-contact__title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.page-contact__description {
  font-size: 1.2em;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
}

/* Form Section */
.page-contact__form-section {
  padding: 60px 0;
  background-color: #f9f9f9;
}

.page-contact__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 768px) {
  .page-contact__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.page-contact__subtitle {
  font-size: 2em;
  color: #007bff;
  margin-bottom: 25px;
  border-bottom: 3px solid #28a745;
  padding-bottom: 10px;
  display: inline-block;
}

.page-contact__contact-info p {
  margin-bottom: 20px;
  color: #555;
}

.page-contact__info-item {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  color: #333;
}

.page-contact__info-item strong {
  margin-right: 10px;
  color: #007bff;
}

.page-contact__icon {
  display: inline-block;
  width: 24px;
  height: 24px;
  margin-right: 15px;
  background-size: contain;
  background-repeat: no-repeat;
  filter: brightness(0.8) saturate(1.5) hue-rotate(200deg); /* Adjust icon color to match theme */
}

.page-contact__icon--email {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"%3E%3Cpath d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/%3E%3Csvg/%3E');
}
.page-contact__icon--phone {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"%3E%3Cpath d="M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.32.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.12.35.03.75-.25 1.02l-2.2 2.2z"/%3E%3Csvg/%3E');
}
.page-contact__icon--address {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"%3E%3Cpath d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/%3E%3Csvg/%3E');
}
.page-contact__icon--time {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"%3E%3Cpath d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/%3E%3Csvg/%3E');
}
.page-contact__icon--facebook {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"%3E%3Cpath d="M12 2.04C6.5 2.04 2 6.53 2 12.04c0 5.04 3.65 9.25 8.44 9.94v-7.05H7.37V12.04h3.07V9.3c0-3.03 1.85-4.69 4.54-4.69 1.3 0 2.41.23 2.73.34v2.79h-1.66c-1.32 0-1.58.63-1.58 1.55v2.05h3.14l-.51 3.15h-2.63v7.05C19.35 21.29 23 17.08 23 12.04c0-5.51-4.5-10-9.96-10z"/%3E%3C/svg%3E');
}
.page-contact__icon--twitter {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"%3E%3Cpath d="M22.46 6c-.77.34-1.6.56-2.45.65.89-.53 1.56-1.37 1.88-2.39-.83.49-1.75.85-2.73 1.04C18.46 4.68 17.22 4 15.8 4c-2.39 0-4.34 1.95-4.34 4.34 0 .34.04.67.11.99-3.61-.18-6.8-1.91-8.94-4.54-.37.64-.58 1.38-.58 2.19 0 1.51.77 2.85 1.94 3.64-.7-.02-1.36-.22-1.93-.53v.05c0 2.11 1.5 3.87 3.48 4.28-.36.1-.74.15-1.13.15-.27 0-.53-.03-.79-.08.55 1.72 2.14 2.98 4.02 3.01-1.49 1.17-3.37 1.87-5.41 1.87-.35 0-.7-.02-1.04-.06C3.57 19.16 5.86 20 8.35 20c7.87 0 12.16-6.52 12.16-12.16 0-.19-.01-.37-.01-.56.83-.6 1.55-1.35 2.12-2.2z"/%3E%3C/svg%3E');
}
.page-contact__icon--telegram {
  background-image: url('data:image/svg+xml;charset=utf8,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23007bff"%3E%3Cpath d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.3 8.3L9.5 13.7c-.7.3-1.4-.2-1.2-.9l.7-3.4c.1-.5.6-.8 1.1-.8h3.3c.4 0 .6-.2.4-.6l-1.3-1.6c-.3-.4-.2-.9.2-1.1l5.5-3.3c.6-.4 1.3.1 1.1.7l-2.4 11.8c-.2 1.1-.9 1.7-1.8 1.7-.5 0-.9-.2-1.3-.5l-2.4-1.8c-.4-.3-.6-.8-.3-1.2l.9-3.4c.1-.3 0-.6-.3-.7z"/%3E%3C/svg%3E');
}

.page-contact__link {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.page-contact__link:hover {
  color: #0056b3;
  text-decoration: underline;
}

.page-contact__social-links {
  margin-top: 25px;
  display: flex;
  gap: 15px;
}

.page-contact__social-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #007bff;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
}

.page-contact__social-link:hover {
  background-color: #28a745;
}

.page-contact__social-link .page-contact__icon {
  filter: invert(100%); /* Make social icons white */
  margin: 0;
}

.page-contact__info-image {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__form-wrapper {
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.page-contact__form-group {
  margin-bottom: 20px;
}

.page-contact__label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: #333;
}

.page-contact__input,
.page-contact__textarea {
  width: calc(100% - 20px);
  padding: 12px 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__input:focus,
.page-contact__textarea:focus {
  border-color: #007bff;
  box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
  outline: none;
}

.page-contact__textarea {
  resize: vertical;
}

.page-contact__button {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  text-align: center;
}

.page-contact__button--submit {
  background-color: #007bff;
  color: #fff;
}

.page-contact__button--submit:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

/* CTA Section */
.page-contact__cta-section {
  background-color: #e9f5ff;
  padding: 60px 0;
  text-align: center;
}

.page-contact__cta-content h2 {
  color: #007bff;
  margin-bottom: 20px;
}

.page-contact__cta-content p {
  max-width: 700px;
  margin: 0 auto 30px auto;
  font-size: 1.1em;
  color: #555;
}

.page-contact__button--primary {
  background-color: #007bff;
  color: #fff;
  margin: 0 10px 10px 10px;
}

.page-contact__button--primary:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.page-contact__button--secondary {
  background-color: #28a745;
  color: #fff;
  margin: 0 10px 10px 10px;
}

.page-contact__button--secondary:hover {
  background-color: #1c7530;
  transform: translateY(-2px);
}

/* Map Section */
.page-contact__map-section {
  padding: 60px 0;
  background-color: #f1f1f1;
  text-align: center;
}

.page-contact__map-placeholder {
  background-color: #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin-top: 30px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__map-image {
  width: 100%;
  height: 400px;
  display: block;
  object-fit: cover;
}

/* Responsive adjustments */
@media (max-width: 992px) {
  .page-contact__title {
    font-size: 2.8em;
  }
  .page-contact__description {
    font-size: 1.1em;
  }
}

@media (max-width: 767px) {
  .page-contact__hero {
    padding: 60px 0;
  }
  .page-contact__title {
    font-size: 2.2em;
  }
  .page-contact__description {
    font-size: 1em;
  }
  .page-contact__form-section, .page-contact__cta-section, .page-contact__map-section {
    padding: 40px 0;
  }
  .page-contact__subtitle {
    font-size: 1.8em;
  }
  .page-contact__button {
    width: 100%;
    margin: 10px 0;
  }
  .page-contact__map-image {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .page-contact__title {
    font-size: 1.8em;
  }
  .page-contact__subtitle {
    font-size: 1.5em;
  }
  .page-contact__form-wrapper {
    padding: 20px;
  }
  .page-contact__input, .page-contact__textarea {
    width: calc(100% - 16px);
    padding: 10px 8px;
  }
  .page-contact__map-image {
    height: 250px;
  }
}