/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: #333333; /* Default dark text for light body background */
  background-color: #FFFFFF; /* Explicitly set for clarity, though shared.css might define body */
}

/* Fixed Header Spacing - desktop */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: var(--header-offset, 120px); /* Ensures content is not covered by fixed header */
  background: linear-gradient(135deg, #26A9E0, #FFFFFF); /* Brand color gradient */
  color: #ffffff; /* Light text for dark/gradient background */
}

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.page-contact__hero-image {
  width: 100%;
  margin-bottom: 30px;
  overflow: hidden; /* Ensure image doesn't overflow container */
  border-radius: 8px;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  padding: 0 20px;
}

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 15px;
  color: #ffffff; /* White text for contrast on gradient */
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.page-contact__hero-description {
  font-size: 1.2em;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto 30px auto;
  color: #f0f0f0; /* Slightly off-white for softer look */
}

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  background: #EA7C07; /* Login color for CTA */
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  margin-top: 20px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.page-contact__cta-button:hover {
  background: #d46b05; /* Darker orange on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* General section styles */
.page-contact__section {
  padding: 60px 0;
  background-color: #ffffff; /* Default light background */
  color: #333333; /* Dark text for light background */
}

.page-contact__section:nth-of-type(even) {
  background-color: #f9f9f9; /* Alternate background for visual separation */
}

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

.page-contact__section-title {
  font-size: 2.5em;
  color: #26A9E0; /* Primary brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  line-height: 1.7;
  color: #555555;
}

/* Contact Methods Section */
.page-contact__methods-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.page-contact__method-item {
  background-color: #ffffff;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid #e0e0e0;
}

.page-contact__method-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.page-contact__method-item img {
  width: 100%;
  height: 200px; /* Fixed height for consistency */
  object-fit: contain; /* Ensure images fit without cropping for icons */
  margin-bottom: 20px;
  border-radius: 5px;
}

.page-contact__method-title {
  font-size: 1.5em;
  color: #26A9E0;
  margin-bottom: 15px;
  font-weight: 600;
}

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

.page-contact__method-text a {
  color: #26A9E0;
  text-decoration: none;
  font-weight: bold;
}

.page-contact__method-text a:hover {
  text-decoration: underline;
}

.page-contact__method-button {
  display: inline-block;
  padding: 12px 25px;
  background: #26A9E0;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1em;
  font-weight: bold;
  transition: background-color 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__method-button:hover {
  background: #1e87bb;
  transform: translateY(-1px);
}

/* Contact Form Section */
.page-contact__contact-form-section {
  background-color: #f0f8ff; /* Light blue background for contact form */
}

.page-contact__form-wrapper {
  position: relative;
  background-color: #ffffff;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.page-contact__form-background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1; /* Subtle background image */
  z-index: 0;
  border-radius: 10px;
}

.page-contact__contact-form {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 600px; /* Constrain form width */
}

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