/* style/contact.css */

/* Global styles for page-contact scope */
.page-contact {
  background-color: #0D0E12; /* Background color from custom palette */
  color: #FFF3E6; /* Text color for dark background */
  font-family: Arial, sans-serif;
  line-height: 1.6;
  padding-bottom: 40px;
}

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

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column; /* Image on top, content below */
  align-items: center;
  text-align: center;
  overflow: hidden;
  padding-top: 10px; /* Small top padding, body handles header offset */
  padding-bottom: 40px;
}

.page-contact__hero-image-wrap {
  width: 100%;
  max-height: 500px; /* Limit height of hero image */
  overflow: hidden;
  margin-bottom: 30px;
}

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

.page-contact__hero-content {
  position: relative;
  z-index: 1;
}

.page-contact__main-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem); /* Responsive H1 size */
  font-weight: bold;
  color: #FFB04D; /* Glow color for title */
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(255, 176, 77, 0.5);
}

.page-contact__description {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.page-contact__cta-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap; /* Allow buttons to wrap on smaller screens */
  width: 100%; /* Ensure container takes full width for wrapping */
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  cursor: pointer;
  max-width: 100%; /* Ensure buttons don't overflow */
  box-sizing: border-box; /* Include padding and border in the element's total width and height */
  white-space: normal; /* Allow text to wrap */
  word-wrap: break-word; /* Break long words */
}

.page-contact__btn-primary {
  background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%);
  color: #FFF3E6;
  border: 2px solid #A84F0C;
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #FFB04D 0%, #FF8C1A 100%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 176, 77, 0.4);
}

.page-contact__btn-secondary {
  background-color: #17191F; /* Card BG color */
  color: #FF8C1A;
  border: 2px solid #FF8C1A;
}

.page-contact__btn-secondary:hover {
  background-color: #FF8C1A;
  color: #FFF3E6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 140, 26, 0.3);
}

/* General Section Styling */
.page-contact__section {
  padding: 60px 0;
  border-bottom: 1px solid rgba(255, 243, 230, 0.1); /* Light border for separation */
}

.page-contact__section:last-of-type {
  border-bottom: none;
}

.page-contact__section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  color: #FFB04D;
  text-align: center;
  margin-bottom: 20px;
  text-shadow: 0 0 8px rgba(255, 176, 77, 0.3);
}

.page-contact__section-intro {
  font-size: 1.05rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: rgba(255, 243, 230, 0.8);
}

/* Why Contact Section */
.page-contact__why-contact {
  background-color: #0D0E12;
}

.page-contact__feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}