/* style/contact.css */
:root {
  --primary-color: #C61F1F;
  --secondary-color: #E53030;
  --button-gradient: linear-gradient(180deg, #FFB04A 0%, #D86A14 100%);
  --card-bg: #2A1212;
  --page-bg: #140C0C;
  --text-main-color: #FFF1E8;
  --border-color: #6A1E1E;
  --gold-color: #F3C54D;
  --deep-red-color: #7E0D0D;
}

.page-contact {
  font-family: Arial, sans-serif;
  color: var(--text-main-color); /* Light text for dark body background */
  background-color: var(--page-bg); /* Dark background */
  line-height: 1.6;
}

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

.page-contact__hero-section {
  padding-top: 10px; /* Small top padding, body handles --header-offset */
  padding-bottom: 40px;
  text-align: center;
  background-color: var(--page-bg);
  position: relative;
  overflow: hidden;
}

.page-contact__hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  margin-bottom: 20px;
}

.page-contact__hero-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.page-contact__hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.page-contact__main-title {
  font-size: 3.2em;
  font-weight: bold;
  color: var(--gold-color);
  margin-bottom: 20px;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.1em;
  color: var(--text-main-color);
  margin-bottom: 40px;
}

.page-contact__section-title {
  font-size: 2.5em;
  font-weight: bold;
  color: var(--gold-color);
  text-align: center;
  margin-bottom: 20px;
}

.page-contact__section-description {
  font-size: 1.05em;
  text-align: center;
  color: var(--text-main-color);
  max-width: 800px;
  margin: 0 auto 40px auto;
}

.page-contact__info-section {
  padding: 60px 0;
  background-color: var(--page-bg);
}

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

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

.page-contact__method-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
}

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

.page-contact__card-text {
  font-size: 1em;
  color: var(--text-main-color);
  margin-bottom: 10px;
}

.page-contact__card-link {
  color: var(--gold-color);
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.page-contact__card-link:hover {
  color: var(--gold-color);
  text-decoration: underline;
}

.page-contact__cta-wrapper {
  text-align: center;
  margin-top: 60px;
}

.page-contact__btn-primary {
  background: var(--button-gradient);
  color: #ffffff;
  padding: 15px 30px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
  border: none;
  cursor: pointer;
}

.page-contact__btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.page-contact__form-section {
  padding: 60px 0;
  background-color: var(--deep-red-color);
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 40px auto 0 auto;
  padding: 40px;
  background: var(--card-bg);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-contact__form-label {
  display: block;
  font-size: 1.1em;
  color: var(--gold-color);
  margin-bottom: 8px;
  font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  background-color: #3a1a1a; /* Slightly lighter dark for input */
  color: var(--text-main-color);
  font-size: 1em;
  box-sizing: border-box;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: rgba(255, 241, 232, 0.6);
}

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

.page-contact__form-submit-btn {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
  padding: 15px 20px;
}

.page-contact__live-chat-section {
  padding: 60px 0;
  background-color: var(--page-bg);
}

.page-contact__live-chat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-contact__live-chat-content {
  text-align: left;
}

.page-contact__live-chat-content .page-contact__section-title,
.page-contact__live-chat-content .page-contact__section-description {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
}

.page-contact__live-chat-image-wrapper {
  text-align: center;
}

.page-contact__live-chat-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__faq-section {
  padding: 60px 0;
  background-color: var(--deep-red-color);
}

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

.page-contact__faq-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  font-size: 1.2em;
  font-weight: bold;
  color: var(--gold-color);
  cursor: pointer;
  background-color: #3a1a1a;
  border-bottom: 1px solid var(--border-color);
  transition: background-color 0.3s ease;
}

.page-contact__faq-question:hover {
  background-color: #4a2a2a;
}

.page-contact__faq-toggle {
  font-size: 1.5em;
  line-height: 1;
  color: var(--gold-color);
}

.page-contact__faq-answer {
  padding: 0 30px;
  color: var(--text-main-color);
  font-size: 1em;
  line-height: 1.8;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-contact__faq-answer p {
  padding: 20px 0;
  margin: 0;
}

.page-contact__faq-item[open] .page-contact__faq-answer {
  max-height: 2000px; /* Sufficiently large for content */
  transition: max-height 0.5s ease-in, padding 0.3s ease-in;
}

.page-contact__faq-item[open] .page-contact__faq-question {
  border-bottom: none;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
  content: '−';
}

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

.page-contact__social-section {
  padding: 60px 0;
  background-color: var(--page-bg);
}

.page-contact__social-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.page-contact__social-content {
  text-align: right;
}

.page-contact__social-content .page-contact__section-title,
.page-contact__social-content .page-contact__section-description {
  text-align: right;
  margin-left: auto;
  margin-right: 0;
}

.page-contact__social-icons {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}

.page-contact__social-link img {
  
  
  transition: transform 0.3s ease;
}

.page-contact__social-link img:hover {
  transform: translateY(-5px);
}

.page-contact__social-image-wrapper {
  text-align: center;
}

.page-contact__social-image {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* General image and container responsive styles */
.page-contact img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-contact__section,
.page-contact__card,
.page-contact__container {
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

/* Media Queries for Responsive Design */
@media (max-width: 1024px) {
  .page-contact__main-title {
    font-size: 2.8em;
  }
  .page-contact__section-title {
    font-size: 2.2em;
  }
  .page-contact__contact-methods {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
  .page-contact__live-chat-grid,
  .page-contact__social-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .page-contact__live-chat-content,
  .page-contact__social-content {
    text-align: center;
  }
  .page-contact__live-chat-content .page-contact__section-title,
  .page-contact__live-chat-content .page-contact__section-description,
  .page-contact__social-content .page-contact__section-title,
  .page-contact__social-content .page-contact__section-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .page-contact__social-icons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }
  .page-contact__hero-section {
    padding-top: 10px !important;
    padding-bottom: 30px;
  }
  .page-contact__main-title {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
  .page-contact__hero-description {
    font-size: 1em;
  }
  .page-contact__section-title {
    font-size: 1.8em;
    margin-bottom: 15px;
  }
  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }
  .page-contact__container {
    padding-left: 15px;
    padding-right: 15px;
  }

  /* General image and container responsive styles */
  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }
  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__hero-image-wrapper,
  .page-contact__live-chat-image-wrapper,
  .page-contact__social-image-wrapper {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important; /* Ensure no horizontal scroll */
  }

  /* Buttons responsive styles */
  .page-contact__btn-primary,
  .page-contact__form-submit-btn,
  .page-contact a[class*="button"],
  .page-contact a[class*="btn"] {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-wrap: break-word !important;
    padding-left: 15px;
    padding-right: 15px;
    font-size: 1em;
  }
  .page-contact__cta-wrapper {
    padding-left: 15px;
    padding-right: 15px;
  }
  .page-contact__contact-form {
    padding: 25px;
  }

  /* Contact methods grid for mobile */
  .page-contact__contact-methods {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Live Chat and Social sections for mobile */
  .page-contact__live-chat-grid,
  .page-contact__social-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .page-contact__live-chat-content,
  .page-contact__social-content {
    text-align: center;
  }
  .page-contact__live-chat-content .page-contact__section-title,
  .page-contact__live-chat-content .page-contact__section-description,
  .page-contact__social-content .page-contact__section-title,
  .page-contact__social-content .page-contact__section-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .page-contact__social-icons {
    justify-content: center;
  }

  /* FAQ section for mobile */
  .page-contact__faq-question {
    padding: 15px 20px;
    font-size: 1.1em;
  }
  .page-contact__faq-answer {
    padding: 0 20px;
  }
  .page-contact__faq-answer p {
    padding: 15px 0;
  }
}