/* style/contact.css */
/* BEM naming convention: .page-contact__element-name */

/* Base styles for the contact page */
.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-main); /* Default text color, will be overridden by sections */
  background-color: var(--background); /* Overall page background */
}

/* Color variables from prompt */
:root {
  --primary-color: #11A84E;
  --secondary-color: #22C768;
  --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
  --card-bg: #11271B;
  --background: #08160F;
  --text-main: #F2FFF6;
  --text-secondary: #A7D9B8;
  --border-color: #2E7A4E;
  --glow-color: #57E38D;
  --gold-color: #F2C14E;
  --divider-color: #1E3A2A;
  --deep-green: #0A4B2C;
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Default to column for mobile first */
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding, body handles header offset */
  background-color: var(--background); /* Dark background for hero */
  color: var(--text-main); /* Light text on dark background */
  text-align: center;
  overflow: hidden;
}

.page-contact__hero-content {
  max-width: 900px;
  margin-bottom: 40px; /* Space between content and image on mobile/column layout */
  z-index: 2; /* Ensure content is above image if any overlap */
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw + 1rem, 3.5rem); /* Responsive font size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.page-contact__description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  box-sizing: border-box; /* Crucial for responsive buttons */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Allow long words to break */
  max-width: 100%; /* Ensure buttons don't exceed container width */
}

.page-contact__btn-primary {
  background: var(--button-gradient);
  color: #ffffff; /* White text on green gradient */
  border: none;
}

.page-contact__btn-primary:hover {
  filter: brightness(1.1);
  transform: translateY(-2px);
}

.page-contact__btn-secondary {
  background: transparent;
  color: var(--text-main); /* Light text on dark background */
  border: 2px solid var(--primary-color);
}

.page-contact__btn-secondary:hover {
  background: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
}

.page-contact__hero-image-wrapper {
  width: 100%;
  max-width: 1200px; /* Max width for the image */
  margin-top: 40px; /* Space between content and image on desktop */
  text-align: center;
}

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

/* General Section Styles */
.page-contact__methods-section,
.page-contact__form-section,
.page-contact__why-us-section,
.page-contact__faq-section,
.page-contact__location-section,
.page-contact__final-cta-section {
  padding: 80px 20px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.page-contact__section-title {
  font-size: clamp(1.8rem, 3vw + 1rem, 2.8rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}

.page-contact__section-description {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

/* Dark Background Sections */
.page-contact__dark-section {
  background-color: var(--card-bg); /* Darker green background */
  color: var(--text-main);
}
.page-contact__dark-section .page-contact__section-title {
  color: var(--text-main);
}
.page-contact__dark-section .page-contact__section-description {
  color: var(--text-secondary);
}

/* Light Background Sections (for contrast) */
.page-contact__light-bg {
  background-color: var(--text-main); /* Light background */
  color: var(--deep-green); /* Dark text */
}
.page-contact__light-bg .page-contact__section-title {
  color: var(--deep-green);
}
.page-contact__light-bg .page-contact__section-description {
  color: var(--primary-color);
}

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

.page-contact__card {
  background-color: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  color: var(--text-main);
}

.page-contact__card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__card-title {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-bottom: 15px;
  font-weight: 600;
}

.page-contact__card-text {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 25px;
}

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