:root {
  --primary-color: #F2C14E;
  --secondary-color: #FFD36B;
  --card-bg: #111111;
  --background-dark: #0A0A0A;
  --text-main: #FFF6D6;
  --border-color: #3A2A12;
  --glow-color: #FFD36B;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
  --button-text-color: #ffffff; /* White text for gradient buttons */
  --dark-text-on-light: #333333;
  --light-text-on-dark: #ffffff;
}

.page-contact {
  color: var(--text-main); /* Default text color for the page, as body background is dark */
  background-color: var(--background-dark); /* Ensure explicit background for main content */
  padding-bottom: 60px;
}

/* Fixed header spacing - only apply a small top padding to the first section, body handles the main offset */
.page-contact__hero-section {
  padding-top: 10px; /* Small top padding */
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  width: 100%;
  height: 600px; /* Fixed height for desktop hero image */
  overflow: hidden;
  position: relative;
}

.page-contact__hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Cover for desktop, will change to contain for mobile */
  display: block;
}

.page-contact__hero-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
  position: relative; /* Ensure content is above image if z-index is used */
  z-index: 2; /* To ensure content is visible */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.page-contact__main-title {
  font-size: clamp(2.5rem, 5vw, 3.2rem); /* Using clamp for responsive font-size */
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 20px;
  max-width: 800px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.page-contact__subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--text-main);
  margin-bottom: 40px;
  max-width: 900px;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
}

.page-contact__cta-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap; /* Allow wrapping for multiple buttons */
  justify-content: center;
  width: 100%;
  max-width: 600px; /* Limit button group width */
}

.page-contact__btn-primary,
.page-contact__btn-secondary,
.page-contact__btn-submit,
.page-contact__method-btn,
.page-contact__social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Allow text wrapping */
  box-sizing: border-box; /* Include padding and border in element's total width and height */
  max-width: 100%; /* Ensure buttons don't overflow */
}

.page-contact__btn-primary,
.page-contact__btn-submit {
  background: var(--button-gradient);
  color: var(--button-text-color);
  border: none;
  box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}