.page-contact {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f0f0f0; /* Light text for dark body background */
  background-color: #121212; /* Inherited from body */
}

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

.page-contact__hero-section {
  position: relative;
  padding-bottom: 60px;
  padding-left: 0;
  padding-right: 0;
  padding-top: var(--header-offset, 120px);
  margin-top: 0;
  background: linear-gradient(135deg, #8B0000, #FFD700);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

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

.page-contact__hero-title {
  font-size: 3.2em;
  margin-bottom: 20px;
  color: #ffffff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-weight: bold;
  line-height: 1.2;
}

.page-contact__hero-description {
  font-size: 1.2em;
  color: #f0f0f0;
  max-width: 800px;
  margin: 0 auto;
}

.page-contact__section-title {
  font-size: 2.5em;
  color: #FFD700;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
  text-transform: uppercase;
}

.page-contact__section-description {
  font-size: 1.1em;
  text-align: center;
  margin-bottom: 50px;
  color: #f0f0f0;
}

.page-contact__info-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-contact__card {
  background: #282828;
  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;
  border: 2px solid transparent;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.page-contact__card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  border-color: #FFD700;
}

.page-contact__card-icon {
  margin-bottom: 20px;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
}

.page-contact__card-icon img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  
  
  object-fit: contain;
}

.page-contact__card-title {
  font-size: 1.8em;
  color: #FFD700;
  margin-bottom: 15px;
  font-weight: bold;
}

.page-contact__card-text {
  color: #cccccc;
  margin-bottom: 25px;
  flex-grow: 1;
}

.page-contact__btn-primary {
  display: inline-block;
  background: #FFD700;
  color: #121212;
  padding: 12px 25px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-primary:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

.page-contact__form-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-contact__light-text {
  color: #f0f0f0;
}

.page-contact__contact-form {
  max-width: 700px;
  margin: 0 auto;
  background: #282828;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

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

.page-contact__form-label {
  display: block;
  margin-bottom: 10px;
  color: #FFD700;
  font-weight: bold;
  font-size: 1.1em;
}

.page-contact__form-input,
.page-contact__form-textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #444;
  border-radius: 5px;
  background: #333;
  color: #ffffff;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
  color: #999;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.3);
  outline: none;
}

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

.page-contact__btn-submit {
  display: block;
  width: 100%;
  background: #FFD700;
  color: #121212;
  padding: 15px 30px;
  border-radius: 5px;
  border: none;
  font-size: 1.2em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  max-width: 100%;
  box-sizing: border-box;
  white-space: normal;
  word-wrap: break-word;
}

.page-contact__btn-submit:hover {
  background: #e6c200;
  transform: translateY(-2px);
}

.page-contact__faq-section {
  padding: 80px 0;
  background-color: #1a1a1a;
}

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

.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  background: #282828;
  border: 1px solid #444;
  border-radius: 8px;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.page-contact__faq-question:hover {
  background: #333;
  border-color: #FFD700;
}

.page-contact__faq-question h3 {
  margin: 0;
  padding: 0;
  flex: 1;
  font-size: 1.1em;
  font-weight: 600;
  line-height: 1.5;
  pointer-events: none;
  color: #f0f0f0;
}

.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  color: #FFD700;
  transition: transform 0.3s ease, color 0.3s ease;
  flex-shrink: 0;
  margin-left: 15px;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
  color: #FFD700;
  transform: rotate(45deg);
}

.page-contact__faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
  padding: 0 25px;
  opacity: 0;
  background: #202020;
  color: #cccccc;
}

.page-contact__faq-item.active .page-contact__faq-answer {
  max-height: 2000px !important;
  padding: 20px 25px !important;
  opacity: 1;
  border-radius: 0 0 8px 8px;
}

.page-contact__location-section {
  padding: 80px 0;
  background-color: #121212;
}

.page-contact__map-placeholder {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  box-sizing: border-box;
  height: 450px;
  background-color: #282828;
  border-radius: 10px;
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-contact__map-placeholder img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .page-contact__hero-title {
    font-size: 2.8em;
  }

  .page-contact__section-title {
    font-size: 2em;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 12px;
  }

  .page-contact__btn-submit {
    padding: 12px 25px;
    font-size: 1.1em;
  }
}

@media (max-width: 768px) {
  .page-contact {
    font-size: 16px;
    line-height: 1.6;
  }

  .page-contact__hero-section {
    padding-top: var(--header-offset, 120px) !important;
    padding-bottom: 40px;
  }

  .page-contact__hero-title {
    font-size: 2em;
    margin-bottom: 15px;
  }

  .page-contact__hero-description {
    font-size: 1em;
  }

  .page-contact__section-title {
    font-size: 1.8em;
    margin-bottom: 30px;
  }

  .page-contact__section-description {
    font-size: 0.95em;
    margin-bottom: 30px;
  }

  .page-contact__info-section,
  .page-contact__form-section,
  .page-contact__faq-section,
  .page-contact__location-section {
    padding: 50px 0;
  }

  .page-contact__container {
    padding: 0 15px;
  }

  .page-contact__grid {
    gap: 20px;
  }

  .page-contact__card {
    padding: 25px;
  }

  .page-contact__card-title {
    font-size: 1.5em;
  }

  .page-contact__btn-primary,
  .page-contact__btn-submit,
  .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;
  }

  .page-contact__contact-form {
    padding: 30px 20px;
  }

  .page-contact__form-label {
    font-size: 1em;
  }

  .page-contact__form-input,
  .page-contact__form-textarea {
    padding: 10px;
    font-size: 0.9em;
  }

  .page-contact__faq-question {
    padding: 15px 20px;
  }

  .page-contact__faq-question h3 {
    font-size: 1em;
  }

  .page-contact__faq-toggle {
    font-size: 24px;
    width: 28px;
    height: 28px;
  }

  .page-contact__faq-item.active .page-contact__faq-answer {
    padding: 15px 20px !important;
  }

  .page-contact__map-placeholder {
    height: 300px;
  }

  .page-contact img {
    max-width: 100% !important;
    width: 100% !important;
    height: auto !important;
  }

  .page-contact__section,
  .page-contact__card,
  .page-contact__container,
  .page-contact__contact-form,
  .page-contact__map-placeholder {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
    padding-left: 15px;
    padding-right: 15px;
  }
}