.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 {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 20px;
  background-color: #0A2463; /* Primary color background */
  color: #ffffff;
  overflow: hidden;
}

.page-contact__hero-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin-bottom: 40px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #FFD700; /* Secondary color for emphasis */
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap;
}

.page-contact__button--primary {
  background-color: #FFD700; /* Secondary color */
  color: #0A2463; /* Primary color */
  border: 2px solid #FFD700;
}

.page-contact__button--primary:hover {
  background-color: #e6c200;
  transform: translateY(-2px);
}

.page-contact__button--secondary {
  background-color: transparent;
  color: #FFD700;
  border: 2px solid #FFD700;
}

.page-contact__button--secondary:hover {
  background-color: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

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

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

.page-contact__channels-container {
  max-width: 1200px;
  margin: 0 auto;
}

.page-contact__channels-title {
  font-size: 2.5em;
  color: #0A2463;
  margin-bottom: 20px;
}

.page-contact__channels-description {
  font-size: 1.1em;
  margin-bottom: 50px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.page-contact__channel-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.page-contact__channel-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.page-contact__channel-icon {
  width: 200px; /* Minimum size requirement */
  height: 200px;
  margin-bottom: 20px;
  object-fit: contain;
}

.page-contact__channel-name {
  font-size: 1.8em;
  color: #0A2463;
  margin-bottom: 15px;
}

.page-contact__channel-info {
  font-size: 1em;
  color: #555555;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__button--small {
  padding: 10px 20px;
  font-size: 0.9em;
  border-radius: 6px;
  background-color: #0A2463;
  color: #FFD700;
  border: 2px solid #0A2463;
}

.page-contact__button--small:hover {
  background-color: #071a4f;
  border-color: #071a4f;
  transform: translateY(-2px);
}

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

.page-contact__social-icon-link img {
  
  
  transition: transform 0.2s ease;
  min-width: 200px; /* Ensure social icons are also large enough */
  min-height: 200px;
}

.page-contact__social-icon-link:hover img {
  transform: scale(1.1);
}

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

.page-contact__form-container {
  max-width: 800px;
  margin: 0 auto;
  background-color: #fefefe;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  padding: 40px;
}

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

.page-contact__form-description {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  margin-bottom: 40px;
}

.page-contact__contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__form-group {
  text-align: left;
}

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

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

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

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

.page-contact__button--submit {
  background-color: #0A2463;
  color: #FFD700;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  align-self: center;
  max-width: 250px;
}

.page-contact__button--submit:hover {
  background-color: #071a4f;
  transform: translateY(-2px);
}

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

.page-contact__faq-container {
  max-width: 1000px;
  margin: 0 auto;
}

.page-contact__faq-title {
  font-size: 2.5em;
  color: #0A2463;
  text-align: center;
  margin-bottom: 40px;
}

.page-contact__faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.page-contact__faq-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.05);
  padding: 25px;
  text-align: left;
}

.page-contact__faq-question {
  font-size: 1.3em;
  color: #0A2463;
  margin-bottom: 10px;
  cursor: pointer;
  position: relative;
  padding-right: 30px;
}

.page-contact__faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5em;
  color: #FFD700;
  transition: transform 0.3s ease;
}

.page-contact__faq-question.active::after {
  content: '-';
  transform: translateY(-50%) rotate(180deg);
}

.page-contact__faq-answer {
  font-size: 1em;
  color: #555555;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease-out, opacity 0.4s ease-out;
  opacity: 0;
}

.page-contact__faq-answer.active {
  max-height: 200px; /* Adjust as needed */
  opacity: 1;
}

.page-contact__faq-cta {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #e0e0e0;
}

.page-contact__faq-cta-text {
  font-size: 1.1em;
  color: #555555;
  margin-bottom: 25px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .page-contact {
    padding-top: var(--header-offset, 80px);
  }

  .page-contact__hero-section {
    padding: 60px 20px;
  }

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

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

  .page-contact__hero-actions {
    flex-direction: column;
    gap: 15px;
  }

  .page-contact__button {
    width: 100%;
    max-width: 300px;
  }

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

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

  .page-contact__channel-card {
    padding: 25px;
  }

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

  .page-contact__button--submit {
    width: 100%;
    max-width: none;
  }

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

  /* Ensure content area images are not tiny on mobile, overriding any smaller defaults */
  .page-contact__channel-icon, 
  .page-contact__social-icon-link img {
    min-width: 200px; 
    min-height: 200px;
    width: auto; /* Allow auto width to maintain aspect ratio */
    max-width: 100%;
    height: auto;
  }
}

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

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

  .page-contact__hero-section {
    padding: 40px 15px;
  }

  .page-contact__channels-section,
  .page-contact__form-section,
  .page-contact__faq-section {
    padding: 40px 15px;
  }

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

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