/* style/contact.css */
.page-contact {
  padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
  color: #333333; /* Dark text for light body background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
}

.page-contact__hero-section {
  background-color: #f8f9fa; /* Light background for hero */
  padding: 80px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__hero-content {
  max-width: 800px;
  z-index: 1;
  position: relative;
}

.page-contact__hero-title {
  font-size: 2.8em;
  color: #007bff; /* Primary color for title */
  margin-bottom: 20px;
  font-weight: bold;
}

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

.page-contact__hero-button {
  display: inline-block;
  background-color: #ffc107; /* Secondary color for button */
  color: #333333;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

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

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

.page-contact__info-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding: 60px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__info-card {
  background-color: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
  text-align: center;
  flex: 1 1 300px;
  min-width: 250px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__info-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

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

.page-contact__card-text {
  font-size: 1em;
  color: #666666;
  margin-bottom: 20px;
}

.page-contact__card-link,
.page-contact__card-button {
  display: inline-block;
  background-color: #007bff;
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__card-link:hover,
.page-contact__card-button:hover {
  background-color: #0056b3;
}

.page-contact__form-section {
  background-color: #f0f8ff; /* Light blue background */
  padding: 60px 20px;
  text-align: center;
}

.page-contact__form-title {
  font-size: 2.5em;
  color: #007bff;
  margin-bottom: 20px;
}

.page-contact__form-description {
  font-size: 1.1em;
  color: #555555;
  max-width: 700px;
  margin: 0 auto 40px;
}

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

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

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

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

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

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

.page-contact__form-submit-button {
  background-color: #ffc107;
  color: #333333;
  padding: 15px 30px;
  border-radius: 5px;
  border: none;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  width: 100%;
}

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

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

.page-contact__social-title {
  font-size: 2.5em;
  color: #007bff;
  margin-bottom: 20px;
}

.page-contact__social-description {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 30px;
}

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

.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-link img {
  width: 200px; /* Enforcing minimum size for social icons as per strict rule */
  height: 200px; /* Enforcing minimum size for social icons as per strict rule */
  border-radius: 50%; /* Make them circular */
  object-fit: contain;
  background-color: #ffffff; /* White background for visibility */
  padding: 10px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .page-contact__hero-title {
    font-size: 2em;
  }

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

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

  .page-contact__info-section {
    flex-direction: column;
    align-items: center;
  }

  .page-contact__info-card {
    flex: 1 1 100%;
    max-width: 400px;
  }

  .page-contact__form {
    padding: 25px;
  }

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

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

  .page-contact__social-icon-link img {
    width: 200px; /* Enforcing minimum size for social icons on mobile too */
    height: 200px;
  }

  /* Mobile content area overflow prevention */
  .page-contact img {
    max-width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-section,
  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__social-section {
    padding-left: 15px;
    padding-right: 15px;
  }

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

  .page-contact__form-submit-button {
    font-size: 1em;
    padding: 12px 20px;
  }
}