.page-contact {
  font-family: 'Arial', sans-serif;
  color: #333333;
  background-color: #ffffff;
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.page-contact__section-padding {
  padding: 60px 0;
}

.page-contact__section-title {
  font-size: 38px;
  font-weight: 700;
  color: #017439;
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__section-description {
  font-size: 18px;
  line-height: 1.6;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Hero Section */
.page-contact__hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 60px;
  background-color: #f8f8f8;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-bottom: 30px;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__hero-content {
  max-width: 900px;
  padding: 0 15px;
}

.page-contact__main-title {
  font-weight: 700;
  color: #017439;
  line-height: 1.2;
  margin-bottom: 20px;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-contact__hero-description {
  font-size: 19px;
  line-height: 1.7;
  color: #444444;
  margin-bottom: 30px;
}

.page-contact__cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.page-contact__cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary {
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border: 2px solid #C30808;
}

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

.page-contact__btn-secondary {
  background: #017439;
  color: #FFFFFF;
  border: 2px solid #017439;
}

.page-contact__btn-secondary:hover {
  background: #005a2e;
  transform: translateY(-2px);
}

/* Contact Form Section */
.page-contact__form-section {
  background-color: #ffffff;
}

.page-contact__form-wrapper {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  justify-content: center;
}

.page-contact__form-image {
  flex-shrink: 0;
  width: 500px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__contact-form {
  flex-grow: 1;
  background: #f9f9f9;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

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

.page-contact__form-label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #333333;
  margin-bottom: 8px;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e0e0e0;
  border-radius: 5px;
  font-size: 16px;
  color: #333333;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #017439;
  outline: none;
}

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

.page-contact__form-submit-btn {
  width: 100%;
  display: block;
  padding: 15px 20px;
  border: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  background: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__form-submit-btn:hover {
  background: #a80707;
  transform: translateY(-2px);
}

/* Alternative Contact Section */
.page-contact__alt-contact-section {
  background-color: #017439;
  color: #ffffff;
}

.page-contact__alt-contact-section .page-contact__section-title,
.page-contact__alt-contact-section .page-contact__section-description {
  color: #ffffff;
}

.page-contact__social-wrapper {
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.page-contact__social-image {
  flex-shrink: 0;
  width: 600px;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  min-width: 200px;
  min-height: 200px;
}

.page-contact__social-links {
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex-grow: 1;
}

.page-contact__social-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 500;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__social-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(5px);
}

.page-contact__social-icon {
  width: 32px;
  height: 32px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
}

.page-contact__social-icon--facebook {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M22 12c0-5.52-4.48-10-10-10S2 6.48 2 12c0 4.84 3.44 8.87 8 9.8V15h-2.5v-3H10V9.35c0-2.45 1.55-3.8 3.85-3.8C15.06 5.55 16.4 5.76 16.4 5.76V8h-1.24c-1.22 0-1.63.75-1.63 1.5V12h3.03l-.48 3h-2.55v6.79C18.56 20.87 22 16.84 22 12z"/></svg>');
}

.page-contact__social-icon--telegram {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="white"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm4.43 8.35L8.55 14.8c-.73.45-1.33.22-1.33-.69L7.02 9.07c-.16-.94 1.15-1.36 1.95-.87l6.51 4.02c.8.5.57 1.1-.31 1.05zM15 9l-4.5 3 2.5 4.5 2-7.5z"/></svg>');
}