/* General styles for the contact page */
.page-contact {
  font-family: Arial, sans-serif;
  color: #1F2D3D; /* Text Main */
  background-color: #F4F7FB; /* Background */
  line-height: 1.6;
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__text-block {
  font-size: 1.1em;
  color: #1F2D3D; /* Text Main */
  text-align: center;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  padding-top: 10px; /* Small top padding as body handles header offset */
  padding-bottom: 50px;
  background-color: #F4F7FB;
}

.page-contact__hero-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  max-height: 500px; /* Limit hero image height */
  min-height: 200px; /* Ensure minimum size */
}

.page-contact__hero-content {
  text-align: center;
  padding: 40px 20px;
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__main-title {
  font-size: clamp(2em, 3.5vw, 3em); /* H1 font size clamp */
  color: #1F2D3D; /* Text Main */
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #1F2D3D; /* Text Main */
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-link {
  display: inline-block;
  padding: 12px 25px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  max-width: 100%; /* Ensure responsiveness */
  box-sizing: border-box; /* Ensure padding is included in width */
  white-space: normal; /* Allow text wrap */
  word-wrap: break-word; /* Allow text wrap */
  min-width: 150px; /* Ensure buttons are not too small */
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #4A8BFF 0%, #2F6BFF 100%); /* Button color */
  color: #ffffff;
  border: none;
  box-shadow: 0 4px 10px rgba(47, 107, 255, 0.3);
}

.page-contact__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(47, 107, 255, 0.4);
}

.page-contact__btn-secondary {
  background: #ffffff;
  color: #2F6BFF; /* Primary color */
  border: 2px solid #2F6BFF; /* Primary color */
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__btn-secondary:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.page-contact__btn-link {
  background: none;
  color: #2F6BFF;
  border: 1px solid #2F6BFF;
  padding: 8px 15px;
  font-size: 0.9em;
  margin-top: 15px;
  min-width: 120px;
}

.page-contact__btn-link:hover {
  background-color: #2F6BFF;
  color: #ffffff;
}

/* Contact Info Section */
.page-contact__info-section {
  background-color: #2F6BFF; /* Primary color */
  color: #ffffff;
  padding: 60px 20px;
  text-align: center;
}

.page-contact__info-section .page-contact__section-title,
.page-contact__info-section .page-contact__text-block {
  color: #ffffff;
}

.page-contact__contact-details {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 40px;
}

.page-contact__detail-item {
  flex: 1;
  min-width: 280px;
  max-width: 350px;
  padding: 25px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__detail-title {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #ffffff;
  font-weight: bold;
}

.page-contact__detail-text {
  font-size: 1.1em;
  color: #f0f0f0;
}

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

.page-contact__social-text-link {
  color: #ffffff;
  text-decoration: underline;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-contact__social-text-link:hover {
  color: #A5C4FF; /* Glow color */
}

/* Contact Form Section */
.page-contact__form-section {
  padding: 60px 20px;
  background-color: #F4F7FB; /* Background */
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  padding: 40px;
  background-color: #ffffff; /* Card BG */
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: bold;
  color: #1F2D3D; /* Text Main */
  font-size: 1.1em;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #D6E2FF; /* Border color */
  border-radius: 8px;
  font-size: 1em;
  color: #1F2D3D; /* Text Main */
  background-color: #fcfdff;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #2F6BFF; /* Primary color */
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.2);
}