/* style/contact.css */

/* Base styles for the page-contact scope */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #ffffff; /* Default text color for dark body background */
  background-color: transparent; /* Body background is handled by shared.css */
}

.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: #017439; /* Brand color for titles */
  text-align: center;
  margin-bottom: 20px;
  font-weight: bold;
}

.page-contact__section-intro {
  font-size: 1.1em;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 40px auto;
  color: #f0f0f0;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  width: 100%;
  height: 600px; /* Adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

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

.page-contact__hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Dark overlay for text readability */
  z-index: -1;
}

.page-contact__hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  max-width: 900px;
  padding: 20px;
}

.page-contact__hero-title {
  font-size: 3.5em;
  margin-bottom: 20px;
  color: #FFFFFF; /* White for hero title */
  font-weight: bold;
}

.page-contact__hero-description {
  font-size: 1.3em;
  margin-bottom: 40px;
  color: #f0f0f0;
}

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

/* General Button Styles */
.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  box-sizing: border-box;
  max-width: 100%; /* For mobile responsiveness */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
}

.page-contact__btn-primary {
  background-color: #017439; /* Primary brand color */
  color: #ffffff;
  border: 2px solid #017439;
}

.page-contact__btn-primary:hover {
  background-color: #005f2e;
  border-color: #005f2e;
}

.page-contact__btn-secondary {
  background-color: #ffffff; /* Secondary brand color */
  color: #017439;
  border: 2px solid #ffffff;
}

.page-contact__btn-secondary:hover {
  background-color: #f0f0f0;
  border-color: #f0f0f0;
}

/* Specific button colors for Register/Login */
.page-contact__hero-buttons .page-contact__btn-primary,
.page-contact__cta-buttons .page-contact__btn-primary {
  background-color: #C30808; /* Register/Login color */
  color: #FFFF00; /* Register/Login font color */
  border-color: #C30808;
}

.page-contact__hero-buttons .page-contact__btn-primary:hover,
.page-contact__cta-buttons .page-contact__btn-primary:hover {
  background-color: #a10707;
  border-color: #a10707;
}

.page-contact__hero-buttons .page-contact__btn-secondary,
.page-contact__cta-buttons .page-contact__btn-secondary {
  background-color: #C30808; /* Register/Login color for secondary too for consistency */
  color: #FFFF00; /* Register/Login font color */
  border-color: #C30808;
}

.page-contact__hero-buttons .page-contact__btn-secondary:hover,
.page-contact__cta-buttons .page-contact__btn-secondary:hover {
  background-color: #a10707;
  border-color: #a10707;
}


/* Info Section */
.page-contact__info-section {
  padding: 80px 0;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter background for contrast */
}

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

.page-contact__contact-card {
  background-color: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  height: 100%; /* Ensure cards have equal height */
}

.page-contact__card-icon {
  width: 200px; /* Changed from 100px to meet minimum display size */
  height: 150px; /* Changed from 100px, maintaining aspect ratio */
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 5px; /* Added for general image styling */
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #017439;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  font-size: 1em;
  color: #e0e0e0;
  margin-bottom: 20px;
  flex-grow: 1; /* Pushes button to bottom */
}

.page-contact__link {
  color: #FFFF00; /* Yellow for links */
  text-decoration: underline;
}

.page-contact__link:hover {
  color: #ffd700;
}

/* Commitment Section */
.page-contact__commitment-section {
  padding: 80px 0;
  background-color: rgba(0, 0, 0, 0.3); /* Darker background */
}

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

.page-contact__commitment-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    display: flex;
    flex-direction: column;
}

.page-contact__commitment-subtitle {
    font-size: 1.6em;
    color: #017439;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__commitment-item p {
    color: #e0e0e0;
    font-size: 1em;
}