.page-contact {
    font-family: Arial, sans-serif;
    color: #FFF3E6; /* Text Main */
    background-color: #0D0E12; /* Background */
    line-height: 1.6;
}

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

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

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 500px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.page-contact__hero-content {
    position: relative;
    z-index: 10;
    padding: 30px 20px;
    max-width: 900px;
    background: rgba(23, 25, 31, 0.85); /* Card B G with transparency */
    border-radius: 8px;
    margin-top: -100px; /* Overlap with image for visual effect */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #A84F0C; /* Border */
}

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

.page-contact__hero-description {
    font-size: 18px;
    color: #FFF3E6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.page-contact__section-title {
    font-size: clamp(24px, 3.5vw, 40px);
    font-weight: 700;
    color: #FF8C1A;
    text-align: center;
    margin-bottom: 25px;
    padding-top: 40px;
    text-shadow: 0 0 8px rgba(255, 140, 26, 0.4);
}

.page-contact__section-description {
    font-size: 16px;
    color: #FFF3E6;
    text-align: center;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__info-section,
.page-contact__form-section,
.page-contact__faq-section,
.page-contact__commitment-section {
    padding: 60px 0;
    margin-bottom: 20px;
    background-color: #17191F; /* Card B G */
    border-radius: 12px;
    border: 1px solid #A84F0C; /* Border */
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-contact__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    justify-content: center;
}

.page-contact__info-card {
    background: #0D0E12; /* Background */
    border: 1px solid #D96800; /* Deep Orange */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(255, 140, 26, 0.3);
}

.page-contact__info-icon {
    width: 100%;
    height: auto;
    max-width: 250px;
    margin: 0 auto 20px auto;
    display: block;
    border-radius: 8px;
    object-fit: cover;
}

.page-contact__info-card-title {
    font-size: 24px;
    color: #FFA53A; /* Auxiliary */
    margin-bottom: 15px;
}

.page-contact__info-card-text {
    font-size: 16px;
    color: #FFF3E6;
    margin-bottom: 20px;
}

.page-contact__info-link {
    display: inline-block;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #ffffff;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-contact__info-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background: #0D0E12; /* Background */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.page-contact__form-label {
    display: block;
    font-size: 16px;
    color: #FFA53A; /* Auxiliary */
    margin-bottom: 10px;
    font-weight: bold;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    background: #17191F; /* Card B G */
    border: 1px solid #D96800; /* Deep Orange */
    border-radius: 5px;
    color: #FFF3E6; /* Text Main */
    font-size: 16px;
    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: rgba(255, 243, 230, 0.6); /* Lighter Text Main */
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: #FFB04D; /* Glow */
    box-shadow: 0 0 8px rgba(255, 176, 77, 0.5);
    outline: none;
}

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

.page-contact__submit-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

.page-contact__submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

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

details.page-contact__faq-item {
  margin-bottom: 15px;
  border-radius: 8px;
  border: 1px solid #A84F0C; /* Border */
  overflow: hidden;
  background: #0D0E12; /* Background */
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
details.page-contact__faq-item summary.page-contact__faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 25px;
  cursor: pointer;
  user-select: none;
  list-style: none;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #FFF3E6;
}
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: #17191F; /* Card B G */
  color: #FFA53A;
}
.page-contact__faq-qtext {
  flex: 1;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: left;
  color: inherit;
}
.page-contact__faq-toggle {
  font-size: 28px;
  font-weight: bold;
  color: #FFA53A; /* Auxiliary */
  flex-shrink: 0;
  margin-left: 15px;
  width: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}
details.page-contact__faq-item[open] .page-contact__faq-toggle {
  transform: rotate(45deg);
  color: #FF8C1A;
}
details.page-contact__faq-item .page-contact__faq-answer {
  padding: 0 25px 20px;
  background: #17191F; /* Card B G */
  border-radius: 0 0 8px 8px;
  color: #FFF3E6;
  font-size: 16px;
}
.page-contact__faq-answer p {
    margin: 0;
    padding-top: 10px;
}

.page-contact__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    box-sizing: border-box;
}

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

.page-contact__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 165, 58, 0.4);
}

.page-contact__btn-secondary {
    background: #0D0E12; /* Background */
    color: #FF8C1A; /* Primary */
    border: 2px solid #FF8C1A; /* Primary */
}

.page-contact__btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 140, 26, 0.4);
    background: #17191F; /* Card B G */
}

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

/* Media Queries */
@media (max-width: 1024px) {
    .page-contact__hero-content {
        margin-top: -80px;
        padding: 25px 15px;
    }
    .page-contact__main-title {
        font-size: clamp(26px, 3.8vw, 42px);
    }
    .page-contact__hero-description {
        font-size: 17px;
    }
    .page-contact__section-title {
        font-size: clamp(22px, 3.2vw, 36px);
    }
    .page-contact__info-card {
        padding: 25px;
    }
    .page-contact__info-card-title {
        font-size: 22px;
    }
    .page-contact__form-input, .page-contact__form-textarea, .page-contact__submit-button {
        padding: 12px;
        font-size: 16px;
    }
    .page-contact__faq-qtext {
        font-size: 17px;
    }
    .page-contact__btn-primary, .page-contact__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-contact__container {
        padding: 15px;
    }
    .page-contact__hero-section {
        padding-top: 10px; /* Small top padding for mobile */
        margin-bottom: 20px;
    }
    .page-contact__hero-image-wrapper {
        max-height: 300px;
    }
    .page-contact__hero-image {
        object-fit: contain !important;
        aspect-ratio: unset !important;
    }
    .page-contact__hero-content {
        margin-top: -60px;
        padding: 20px 15px;
        max-width: 100%;
        box-sizing: border-box !important;
    }
    .page-contact__main-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 15px;
    }
    .page-contact__hero-description {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .page-contact__hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        padding: 0 15px;
        box-sizing: border-box !important;
    }
    .page-contact__section-title {
        font-size: clamp(20px, 6vw, 32px);
        margin-bottom: 20px;
        padding-top: 30px;
    }
    .page-contact__section-description {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 10px;
    }
    .page-contact__info-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__commitment-section {
        padding: 40px 0;
        margin-bottom: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    .page-contact__info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    .page-contact__info-card {
        padding: 20px;
    }
    .page-contact__info-icon {
        max-width: 200px;
    }
    .page-contact__info-card-title {
        font-size: 20px;
    }
    .page-contact__info-card-text {
        font-size: 15px;
    }
    .page-contact__info-link {
        padding: 10px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__contact-form {
        padding: 25px;
        max-width: 100%;
        box-sizing: border-box !important;
    }
    .page-contact__form-group {
        margin-bottom: 20px;
    }
    .page-contact__form-label {
        font-size: 15px;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 12px;
        font-size: 15px;
    }
    .page-contact__submit-button {
        padding: 12px 15px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__faq-list {
        padding: 0 15px;
        margin-bottom: 30px;
    }
    details.page-contact__faq-item summary.page-contact__faq-question {
        padding: 15px 20px;
    }
    .page-contact__faq-qtext {
        font-size: 16px;
    }
    .page-contact__faq-toggle {
        font-size: 24px;
        width: 24px;
    }
    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 20px 15px;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
        box-sizing: border-box !important;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        padding: 12px 20px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Universal image handling for mobile */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-contact__hero-image-wrapper, .page-contact__info-card, .page-contact__form-section, .page-contact__faq-section, .page-contact__commitment-section {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}