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

.page-contact__hero-section {
  background: linear-gradient(135deg, #FFD700, #8B0000); /* Gold to Deep Red gradient */
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  padding-bottom: 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.page-contact__hero-container {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  line-height: 1.6;
  opacity: 0.9;
}

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

.page-contact__hero-button {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  min-width: 180px; /* Ensure buttons are not too small */
}

.page-contact__hero-button--primary {
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
  border: 2px solid #FFD700;
}

.page-contact__hero-button--primary:hover {
  background-color: #e6c200;
  border-color: #e6c200;
  transform: translateY(-3px);
}

.page-contact__hero-button--secondary {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
}

.page-contact__hero-button--secondary:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.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__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #8B0000; /* Deep Red */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__section-subtitle {
  font-size: 1.1em;
  color: #555555;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 50px auto;
  line-height: 1.6;
}

.page-contact__methods-section {
  background-color: #f9f9f9;
  padding: 60px 0;
}

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

.page-contact__method-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 450px; /* Ensure cards have a consistent height */
}

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

.page-contact__method-icon {
  width: 250px; /* Increased size for content image */
  height: auto;
  margin-bottom: 25px;
  object-fit: contain;
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #8B0000; /* Deep Red */
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__card-description {
  font-size: 1em;
  color: #666666;
  line-height: 1.6;
  margin-bottom: 30px;
  flex-grow: 1;
}

.page-contact__method-button {
  display: inline-block;
  background-color: #FFD700; /* Gold */
  color: #8B0000; /* Deep Red */
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1em;
  transition: background-color 0.3s ease;
}

.page-contact__method-button:hover {
  background-color: #e6c200;
}

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

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background-color: #f9f9f9;
  padding: 40px;
  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;
  font-size: 1.1em;
  color: #333333;
  margin-bottom: 10px;
  font-weight: 500;
}

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

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

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

.page-contact__form-submit-button {
  display: block;
  width: 100%;
  padding: 15px;
  background-color: #8B0000; /* Deep Red */
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__form-submit-button:hover {
  background-color: #6a0000;
  transform: translateY(-2px);
}

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

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

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

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

.page-contact__social-icon-link img {
  
  
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  object-fit: contain;
  /* Ensure images are not too small as per rules */
  min-width: 200px; /* Enforcing minimum size for content images */
  min-height: 200px;
  width: 200px; /* Setting display size to match min requirements */
  height: 200px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }
  .page-contact__hero-description {
    font-size: 1.15em;
  }
  .page-contact__section-title {
    font-size: 2em;
  }
  .page-contact__method-card {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: var(--header-offset, 80px); /* Adjust for mobile header */
    padding-bottom: 40px;
  }
  .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__hero-button {
    width: 80%;
    max-width: 300px;
  }
  .page-contact__container {
    padding: 30px 15px;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-subtitle {
    margin-bottom: 30px;
  }
  .page-contact__methods-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__method-card {
    padding: 25px;
    min-height: auto;
  }
  .page-contact__form-contact {
    padding: 25px;
  }
  .page-contact__form-label {
    font-size: 1em;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
  }
  .page-contact__form-submit-button {
    font-size: 1.1em;
  }
  /* Ensure content images are responsive and don't overflow */
  .page-contact__methods-section img,
  .page-contact__social-icon-link img {
    max-width: 100%;
    height: auto;
    width: auto; /* Allow auto width for proportional scaling */
    min-width: 200px; /* Maintain minimum size */
    min-height: 200px;
  }
  .page-contact__hero-image {
    min-width: 200px;
    min-height: 200px;
    width: 100%;
    height: auto;
  }
}

@media (max-width: 480px) {
  .page-contact__hero-title {
    font-size: 1.8em;
  }
  .page-contact__hero-description {
    font-size: 0.9em;
  }
  .page-contact__section-title {
    font-size: 1.5em;
  }
  .page-contact__method-icon {
    width: 200px; /* Smallest allowed size for content image */
    height: auto;
  }
  .page-contact__card-title {
    font-size: 1.5em;
  }
  .page-contact__card-description {
    font-size: 0.9em;
  }
  .page-contact__method-button {
    font-size: 0.9em;
    padding: 10px 20px;
  }
  .page-contact__social-links {
    gap: 20px;
  }
  .page-contact__social-icon-link img {
    width: 200px; /* Smallest allowed size for content image */
    height: 200px;
  }
}