/* style/contact.css */

/* Base styles for the contact page */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333333; /* Default text color for light background */
  background-color: #ffffff; /* Default body background */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 20px;
  padding-top: var(--header-offset, 120px); /* Ensure space for fixed header */
  background: linear-gradient(135deg, #26A9E0, #1A7BBF); /* Brand color gradient */
  color: #ffffff;
  text-align: center;
  overflow: hidden; /* For image positioning */
}

.page-contact__hero-image-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.15; /* Subtle background image */
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(50%); /* Optional: to make it more subtle */
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
}

.page-contact__hero-title {
  font-size: 2.8em;
  margin-bottom: 20px;
  line-height: 1.2;
}

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

/* General Section Styling */
.page-contact__section {
  padding: 60px 20px;
  text-align: center;
}

.page-contact__dark-bg {
  background-color: #26A9E0;
  color: #ffffff;
}

.page-contact__light-bg {
  background-color: #ffffff;
  color: #333333;
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px; /* Consistent padding for content */
}

.page-contact__section-title {
  font-size: 2.2em;
  margin-bottom: 20px;
  color: inherit; /* Inherit color from section background */
}

.page-contact__section-description {
  font-size: 1.1em;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  color: inherit; /* Inherit color from section background */
}

/* Buttons */
a.page-contact__btn-primary,
button.page-contact__btn-primary {
  display: inline-block;
  background-color: #EA7C07; /* Login color for primary action */
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease;
  border: none;
  cursor: pointer;
}

a.page-contact__btn-primary:hover,
button.page-contact__btn-primary:hover {
  background-color: #d16b05;
}

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

a.page-contact__btn-secondary:hover,
button.page-contact__btn-secondary:hover {
  background-color: #26A9E0;
  color: #ffffff;
  border-color: #26A9E0;
}

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

.page-contact__info-item {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px; /* Ensure cards have enough height for content */
}

.page-contact__info-item .page-contact__info-icon {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 150px;
  height: auto;
  opacity: 0.1;
  z-index: 0;
}

.page-contact__info-item > * {
  position: relative;
  z-index: 1;
}

.page-contact__info-title {
  font-size: 1.6em;
  color: #26A9E0;
  margin-bottom: 15px;
}

.page-contact__info-text {
  font-size: 1em;
  color: #555555;
  margin-bottom: 20px;
  flex-grow: 1;
}

.page-contact__info-detail {
  font-size: 1.1em;
  font-weight: bold;
  color: #333333;
  margin-bottom: 20px;
}

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

.page-contact__link:hover {
  text-decoration: underline;
}