:root {
  --primary-color: #C91F17;
  --secondary-color: #E53935;
  --button-gradient: linear-gradient(180deg, #FFD86A 0%, #E6B800 100%);
  --card-bg: #D32F2F;
  --page-bg: #B71C1C;
  --text-main: #FFF5E1;
  --border-color: #F2B544;
  --glow-color: #FFCC66;
  --gold-color: #F4D34D;
  --deep-red-color: #7A0E0E;
  --light-text-on-dark: #FFF5E1; /* Text Main for dark backgrounds */
  --dark-text-on-light: #333333; /* Default dark text for light backgrounds */
  --light-bg-for-text: #ffffff; /* Default light background for dark text */
}

.page-contact {
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--light-text-on-dark); /* Default text color for the page, as body is dark */
  background-color: var(--page-bg); /* Page background */
}

/* Hero Section */
.page-contact__hero-section {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
  padding-top: 10px; /* Small top padding as body handles header offset */
  background-color: var(--deep-red-color); /* Using a deeper red for the hero background */
  overflow: hidden; /* Ensure no overflow */
}

.page-contact__hero-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%; /* Ensure it takes full width within max-width */
}

.page-contact__hero-image {
  width: 100%;
  margin-bottom: 30px;
}

.page-contact__hero-image img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  border-radius: 8px;
  object-fit: cover;
  border: 2px solid var(--border-color); /* Gold border for hero image */
}

.page-contact__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  color: var(--light-text-on-dark);
}

.page-contact__main-title {
  font-size: 3.2em; /* Using em for relative sizing, will avoid fixed px */
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--gold-color);
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  margin-bottom: 30px;
  max-width: 800px;
  color: var(--light-text-on-dark);
}

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

.page-contact__cta-button {
  display: inline-block;
  padding: 15px 40px;
  text-decoration: none;
  border-radius: 8px;
  font-size: 18px;
  font-weight: bold;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  max-width: 100%; /* Responsive button */
  box-sizing: border-box; /* Include padding in width calculation */
  white-space: normal; /* Allow text wrapping */
  word-wrap: break-word; /* Break long words */
}

.page-contact__btn-primary {
  background: var(--button-gradient);
  color: #000000; /* Black text on gold gradient for contrast */
  border: 2px solid var(--gold-color);
}

.page-contact__btn-primary:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%); /* Invert gradient on hover */
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

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

.page-contact__btn-secondary:hover {
  background: var(--secondary-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

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

.page-contact__section-title {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: var(--gold-color);
  line-height: 1.2;
}

.page-contact__section-description {
  font-size: 1.1em;
  max-width: 900px;
  margin: 0 auto 40px auto;
  color: var(--light-text-on-dark);
}

.page-contact__container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%; /* Ensure full width within max-width */
}

/* Contact Info Section */
.page-contact__contact-info {
  background-color: var(--page-bg); /* Dark background */
  color: var(--light-text-on-dark);
}

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

.page-contact__info-card {
  background-color: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  border-radius: 10px;
  padding: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border: 1px solid var(--border-color);
  color: var(--light-text-on-dark);
  height: 100%; /* Ensure cards have equal height */
}

.page-contact__info-card img {
  width: 100%;
  height: auto;
  max-width: 250px; /* Limit image size within card */
  border-radius: 5px;
  margin-bottom: 20px;
  border: 1px solid var(--gold-color);
}

.page-contact__card-title {
  font-size: 1.8em;
  margin-bottom: 15px;
  color: var(--gold-color);
}

.page-contact__card-text {
  font-size: 1.05em;
  margin-bottom: 20px;
  flex-grow: 1; /* Push button to bottom */
}

.page-contact__card-email,
.page-contact__card-phone {
  font-size: 1.1em;
  font-weight: bold;
  margin-bottom: 20px;
  color: var(--gold-color);
}

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

.page-contact__social-icon {
  display: block;
  width: 48px; /* Display size */
  height: 48px;
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
  border: 1px solid var(--gold-color);
}

.page-contact__social-icon img {
   /* Display size of the icon inside the circle */
  
  max-width: 100%;
  border-radius: 0;
  border: none;
  margin: 0;
}

.page-contact__social-icon:hover {
  background-color: var(--gold-color);
}

/* Contact Form Section */
.page-contact__contact-form {
  background-color: var(--light-bg-for-text); /* White background for form */
  color: var(--dark-text-on-light); /* Dark text on white background */
}

.page-contact__light-text {
  color: var(--dark-text-on-light);
}

.page-contact__form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  background-color: #ffffff; /* White background for the form itself */
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
  text-align: left;
}

.page-contact__form-group {
  margin-bottom: 25px;
}

.page-contact__form-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
  color: var(--dark-text-on-light);
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  color: var(--dark-text-on-light);
  background-color: #f9f9f9;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.2);
  outline: none;
}

.page-contact__form-textarea {
  resize: vertical;
}

.page-contact__form-submit {
  width: 100%;
  padding: 15px;
  font-size: 1.1em;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--button-gradient);
  color: #000000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.page-contact__form-submit:hover {
  background: linear-gradient(180deg, #E6B800 0%, #FFD86A 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* FAQ Section */
.page-contact__faq-section {
  background-color: var(--page-bg); /* Dark background */
  color: var(--light-text-on-dark);
}

.page-contact__faq-list {
  max-width: 900px;
  margin: 40px auto 0 auto;
}

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 10px;
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1); /* Semi-transparent white on dark bg */
  color: var(--light-text-on-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease;
  background-color: rgba(255, 255, 255, 0.05); /* Slightly lighter for summary */
  color: var(--gold-color);
  font-weight: bold;
}

details.page-contact__faq-item summary.page-contact__faq-question::-webkit-details-marker {
  display: none;
}

details.page-contact__faq-item summary.page-contact__faq-question:hover {
  background-color: rgba(255, 255, 255, 0.15);
}

.page-contact__faq-qtext {
  flex: 1;
  font-size: 1.1em;
  line-height: 1.5;
  text-align: left;
  color: var(--gold-color);
}

.page-contact__faq-toggle {
  font-size: 24px;
  font-weight: bold;
  color: var(--gold-color);
  flex-shrink: 0;
  margin-left: 15px;
  width: 28px;
  text-align: center;
}

details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 20px 20px;
  background-color: rgba(255, 255, 255, 0.08); /* Slightly darker for answer */
  border-radius: 0 0 10px 10px;
  text-align: left;
  color: var(--light-text-on-dark);
}

.page-contact__faq-answer p {
  margin: 0;
  padding-top: 15px;
  font-size: 1em;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2.2em;
  }
  .page-contact__info-card img {
    max-width: 200px;
  }
}

@media (max-width: 768px) {
  .page-contact__hero-section {
    padding-top: 10px !important; /* Important for fixed header offset rule */
    padding-bottom: 40px;
    padding-left: 15px;
    padding-right: 15px;
  }
  
  .page-contact__main-title {
    font-size: 2em;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__cta-buttons {
    flex-direction: column; /* Stack buttons vertically */
    gap: 15px;
    padding-left: 15px;
    padding-right: 15px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }
  .page-contact__cta-button {
    padding: 12px 20px;
    font-size: 16px;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
  }

  .page-contact__section {
    padding: 60px 15px;
  }
  .page-contact__section-title {
    font-size: 1.8em;
  }
  .page-contact__section-description {
    font-size: 0.95em;
  }

  .page-contact__info-grid {
    grid-template-columns: 1fr;
  }
  .page-contact__info-card {
    padding: 25px;
  }
  .page-contact__info-card img {
    
  }
  .page-contact__card-title {
    font-size: 1.5em;
  }
  .page-contact__card-text {
    font-size: 0.95em;
  }

  .page-contact__form {
    padding: 30px 20px;
  }
  .page-contact__form-label {
    font-size: 0.95em;
  }
  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px 12px;
    font-size: 0.95em;
  }
  .page-contact__form-submit {
    padding: 12px;
    font-size: 1em;
  }

  details.page-contact__faq-item summary.page-contact__faq-question { padding: 15px; } 
  .page-contact__faq-qtext { font-size: 1em; }
  .page-contact__faq-toggle { font-size: 20px; width: 24px; }
  details.page-contact__faq-item .page-contact__faq-answer { padding: 0 15px 15px; }
  .page-contact__faq-answer p { padding-top: 10px; font-size: 0.95em; }

  /* Images responsive */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__section,
  .page-contact__container,
  .page-contact__form,
  .page-contact__info-grid,
  .page-contact__faq-list {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__hero-section .page-contact__hero-container {
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 480px) {
  .page-contact__main-title {
    font-size: 1.8em;
  }
  .page-contact__section-title {
    font-size: 1.6em;
  }
  .page-contact__cta-button {
    font-size: 15px;
    padding: 10px 15px;
  }
  .page-contact__social-icon {
    width: 40px;
    height: 40px;
  }
  .page-contact__social-icon img {
    
    
  }
}