.page-contact {
  color: #333333; /* Dark text for light body background */
}

.page-contact__hero-section {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
  padding-top: var(--header-offset, 120px); /* Ensure content is not hidden by fixed header */
  background-color: #000000; /* Dark background for hero section */
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6; /* Slightly dim the background image for text readability */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #FFFFFF;
  padding: 20px;
  max-width: 900px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  line-height: 1.2;
  font-weight: bold;
  color: #FCBC45; /* Login color for emphasis */
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  line-height: 1.6;
}

.page-contact__hero-button {
  display: inline-block;
  background-color: #FCBC45; /* Login color */
  color: #000000; /* Dark text for contrast */
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
}

.page-contact__hero-button:hover {
  background-color: #e0a73d;
}

.page-contact__info-section {
  padding: 60px 20px;
  background-color: #FFFFFF;
  text-align: center;
}

.page-contact__info-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__info-card {
  background-color: #f8f8f8;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.page-contact__info-card:hover {
  transform: translateY(-5px);
}

.page-contact__info-icon {
  width: 200px; /* Enforce min-size 200px */
  height: 200px; /* Enforce min-size 200px */
  margin-bottom: 20px;
  object-fit: contain;
}

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

.page-contact__info-text {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 20px;
}

.page-contact__info-link,
.page-contact__info-button {
  display: inline-block;
  color: #FCBC45; /* Login color */
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: color 0.3s ease;
}

.page-contact__info-button {
  background-color: #000000; /* Main color */
  color: #FFFFFF; /* White text */
  padding: 10px 20px;
  border-radius: 5px;
}

.page-contact__info-link:hover,
.page-contact__info-button:hover {
  color: #e0a73d;
  background-color: #333333;
}

.page-contact__form-section {
  padding: 60px 20px;
  background-color: #f0f0f0;
}

.page-contact__form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.page-contact__form-title {
  font-size: 2.5em;
  color: #000000;
  text-align: center;
  margin-bottom: 20px;
}

.page-contact__form-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

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

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

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

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

.page-contact__form-submit-button {
  width: 100%;
  background-color: #FCBC45; /* Login color */
  border: none;
  padding: 15px 25px;
  border-radius: 5px;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.page-contact__form-submit-button:hover {
  background-color: #e0a73d;
}

.page-contact__form-submit-link {
  color: #000000;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

.page-contact__social-section {
  padding: 60px 20px;
  background-color: #000000; /* Main color */
  color: #FFFFFF;
  text-align: center;
}

.page-contact__social-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #FCBC45; /* Login color for emphasis */
}

.page-contact__social-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  line-height: 1.6;
}

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

.page-contact__social-icon-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.page-contact__social-icon-link:hover {
  transform: translateY(-5px);
}

.page-contact__social-icon {
  width: 200px; /* Enforce min-size 200px */
  height: 200px; /* Enforce min-size 200px */
  border-radius: 50%; /* Make them circular */
  object-fit: cover;
  background-color: #FFFFFF; /* White background for icons */
  padding: 10px; /* Add some padding */
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 3em;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    min-height: 400px;
  }

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

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

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

  .page-contact__form-container {
    padding: 30px;
  }

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

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

  /* Ensure images are responsive and do not overflow */
  .page-contact__hero-image,
  .page-contact__info-icon,
  .page-contact__social-icon {
    max-width: 100%;
    height: auto;
  }

  .page-contact {
    overflow-x: hidden;
  }

  /* Content area image CSS size lower bound enforcement for mobile */
  .page-contact__hero-image,
  .page-contact__info-card img,
  .page-contact__social-icon-link img {
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
    width: auto; /* Allow auto width to respect aspect ratio */
    height: auto; /* Allow auto height to respect aspect ratio */
  }

  .page-contact__social-icon {
    width: 80px; /* Example, still > 48px, but smaller for mobile */
    height: 80px;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 2em;
  }

  .page-contact__hero-button {
    padding: 12px 25px;
    font-size: 1em;
  }

  .page-contact__info-card {
    padding: 20px;
  }

  .page-contact__info-title {
    font-size: 1.5em;
  }

  .page-contact__form-container {
    padding: 20px;
  }

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

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

  .page-contact__social-icon {
    width: 60px; 
    height: 60px;
  }
}