/* style/contact.css */
.page-contact {
  font-family: 'Arial', sans-serif;
  color: #E0E0E0;
  background-color: #0D1C3B; /* Darker background to provide contrast with main color */
  line-height: 1.6;
}

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

.page-contact__hero {
  background: linear-gradient(135deg, #1A2B4C 0%, #0D1C3B 100%);
  padding: 80px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.page-contact__hero-content {
  text-align: center;
  z-index: 1;
  color: #FFFFFF;
  max-width: 800px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  color: #FFD700;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #E0E0E0;
  margin-bottom: 30px;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 0;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-top: 60px;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-intro {
  font-size: 1.1em;
  color: #B0B0B0;
  text-align: center;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__methods {
  padding: 60px 0;
  background-color: #1A2B4C;
}

.page-contact__method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.page-contact__method-card {
  background-color: #0D1C3B;
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #FFD70033;
}

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

.page-contact__method-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
  color: #FFD700;
  font-size: 3em;
  display: inline-block;
}

/* Placeholder for icons, in a real scenario, these would be SVG or font icons */
.page-contact__icon--email::before {
  content: '✉️'; /* Unicode mail symbol */
}

.page-contact__icon--phone::before {
  content: '📞'; /* Unicode phone symbol */
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
}

.page-contact__card-description {
  font-size: 1em;
  color: #B0B0B0;
  margin-bottom: 25px;
}

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

.page-contact__btn:hover {
  background-color: #E0B800;
  transform: translateY(-2px);
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: #0D1C3B;
}

.page-contact__form-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
  align-items: center;
  background-color: #1A2B4C;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.page-contact__contact-form {
  flex: 1;
  min-width: 300px;
  max-width: 500px;
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  color: #FFD700;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #FFD70066;
  border-radius: 5px;
  background-color: #0D1C3B;
  color: #FFFFFF;
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #A0A0A0;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  outline: none;
  box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__submit-btn {
  width: 100%;
  background-color: #FFD700;
  color: #1A2B4C;
  padding: 15px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.page-contact__submit-btn:hover {
  background-color: #E0B800;
  transform: translateY(-2px);
}

.page-contact__form-illustration {
  flex: 1;
  min-width: 300px;
  max-width: 400px;
  text-align: center;
}

.page-contact__illustration-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-contact__social-media {
  padding: 60px 0 80px;
  background-color: #1A2B4C;
}

.page-contact__social-links {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}

.page-contact__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 55px;
  height: 55px;
  background-color: #FFD700;
  color: #1A2B4C;
  border-radius: 50%;
  font-size: 1.5em;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
  position: relative;
  overflow: hidden;
  font-weight: bold;
  text-indent: -9999px; /* Hide text, use background for icon */
}

.page-contact__social-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
}

.page-contact__social-link--facebook::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231A2B4C"><path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.627 0 12-5.373 12-12S18.627 0 12 0zm3 8h-1.5c-.552 0-.649.26-.649.914V10h2.1l-.3 2h-1.8v6h-3v-6H8V10h1.5V8.75c0-1.774.98-2.75 2.885-2.75H15v2z"/></svg>');
}

.page-contact__social-link--twitter::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231A2B4C"><path d="M24 4.557c-.883.392-1.832.656-2.828.775 1.017-.609 1.798-1.574 2.165-2.724-.951.564-2.005.974-3.127 1.195-.897-.957-2.178-1.555-3.594-1.555-3.593 0-6.492 2.901-6.492 6.492 0 .509.058 1.007.168 1.488-5.397-.271-10.197-2.868-13.407-6.814-.56.96-.883 2.07-.883 3.242 0 2.253 1.149 4.246 2.887 5.418-.845-.025-1.649-.263-2.349-.648-.043.751.218 1.474.743 2.05-.69.022-1.348-.195-1.926-.532v.083c0 3.151 2.239 5.767 5.215 6.362-.323.088-.66.134-1.009.134-.246 0-.484-.029-.718-.068.832 2.577 3.243 4.45 6.114 4.45 0-.008 0-.016 0-.025C19.055 22.094 22.091 19 23.409 15.107c.957-.695 1.79-1.564 2.44-2.528-.923.456-1.936.765-2.981.906z"/></svg>');
}

.page-contact__social-link--telegram::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%231A2B4C"><path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c6.627 0 12-5.373 12-12S18.627 0 12 0zm5.187 8.337l-2.427 11.231c-.198.917-.768.995-1.503.582l-3.687-2.735-1.776 1.714c-.199.198-.363.364-.738.364l.26-.967 1.77-5.467L6.687 9.097c-.898-.403-.918-.876.183-1.306l10.517-4.045c.87-.335 1.623.193 1.34 1.391z"/></svg>');
}

.page-contact__social-link:hover {
  background-color: #E0B800;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-contact__social-link:active {
  transform: translateY(0);
}

.highlight {
  color: #FFD700;
  font-weight: bold;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-contact__hero {
    padding: 60px 0;
    min-height: 300px;
  }

  .page-contact__hero-title {
    font-size: 2.5em;
  }

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__section-title {
    font-size: 2em;
    margin-top: 40px;
    margin-bottom: 15px;
  }

  .page-contact__section-intro {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-contact__method-grid {
    grid-template-columns: 1fr;
  }

  .page-contact__form-wrapper {
    flex-direction: column;
    padding: 30px;
  }

  .page-contact__contact-form,
  .page-contact__form-illustration {
    min-width: unset;
    max-width: 100%;
  }

  .page-contact__social-links {
    gap: 15px;
  }

  .page-contact__social-link {
    width: 45px;
    height: 45px;
    font-size: 1.2em;
  }
}

@media (max-width: 480px) {
  .page-contact__hero {
    padding: 40px 0;
    min-height: 250px;
  }

  .page-contact__hero-title {
    font-size: 2em;
  }

  .page-contact__hero-description {
    font-size: 0.9em;
  }

  .page-contact__section-title {
    font-size: 1.8em;
  }

  .page-contact__btn,
  .page-contact__submit-btn {
    padding: 10px 20px;
    font-size: 1em;
  }
}