.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Light text on dark body background */
    background-color: #0a0a0a;
}

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

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    padding: 80px 0;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Account for fixed header */
}

.page-contact__hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.page-contact__hero-overlay {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Dark overlay for text readability */
    z-index: 1;
}

.page-contact__hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    color: #ffffff;
}

.page-contact__hero-heading {
    font-size: 3.5em;
    margin-bottom: 20px;
    color: #26A9E0; /* Brand color for emphasis */
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* Section Headings */
.page-contact__section-heading {
    font-size: 2.8em;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 15px;
    margin-top: 60px;
}

.page-contact__section-subheading {
    font-size: 1.1em;
    color: #f0f0f0;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Form Section */
.page-contact__form-section {
    background-color: #1a1a1a;
    padding: 60px 0;
}

.page-contact__form {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #ffffff;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #26A9E0;
    border-radius: 5px;
    background-color: #0d0d0d;
    color: #ffffff;
    font-size: 1em;
    box-sizing: border-box;
}

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

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

/* Buttons */
.page-contact__btn-primary,
.page-contact__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    text-align: center;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-contact__btn-primary {
    background-color: #26A9E0;
    color: #ffffff;
    border: 2px solid #26A9E0;
}

.page-contact__btn-primary:hover {
    background-color: #1e87b3;
    border-color: #1e87b3;
}

.page-contact__btn-secondary {
    background-color: transparent;
    color: #26A9E0;
    border: 2px solid #26A9E0;
}

.page-contact__btn-secondary:hover {
    background-color: #26A9E0;
    color: #ffffff;
}

.page-contact__form-submit-btn {
    width: 100%;
    margin-top: 10px;
}

/* Methods Section */
.page-contact__methods-section {
    padding: 60px 0;
    background-color: #0a0a0a;
}

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

.page-contact__method-card {
    background-color: rgba(255, 255, 255, 0.08);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 350px;
}

.page-contact__method-icon {
    width: 100%;
    height: 150px;
    object-fit: contain;
    margin-bottom: 20px;
}

.page-contact__method-title {
    font-size: 1.8em;
    color: #26A9E0;
    margin-bottom: 15px;
}

.page-contact__method-description {
    color: #f0f0f0;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* FAQ Section */
.page-contact__faq-section {
    background-color: #1a1a1a;
    padding: 60px 0;
}

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

.page-contact__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: #ffffff;
}

.page-contact__faq-item summary {
    list-style: none;
}

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

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 1.2em;
    font-weight: bold;
    cursor: pointer;
    background-color: rgba(255, 255, 255, 0.08);
    color: #26A9E0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.page-contact__faq-qtext {
    flex-grow: 1;
    color: #ffffff;
}

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: #26A9E0;
}

.page-contact__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: #f0f0f0;
    line-height: 1.6;
    background-color: rgba(255, 255, 255, 0.03);
}

/* Call to Action Section */
.page-contact__cta-section {
    background-color: #0a0a0a;
    padding: 80px 0;
    text-align: center;
}

.page-contact__cta-heading {
    font-size: 3em;
    color: #26A9E0;
    margin-bottom: 20px;
}

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

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

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-heading {
        font-size: 3em;
    }
    .page-contact__section-heading {
        font-size: 2.2em;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding: 60px 20px;
        min-height: 400px;
        padding-top: var(--header-offset, 120px) !important;
    }
    .page-contact__hero-heading {
        font-size: 2.5em;
    }
    .page-contact__hero-description {
        font-size: 1em;
    }
    .page-contact__section-heading {
        font-size: 2em;
    }
    .page-contact__section-subheading {
        font-size: 1em;
    }
    .page-contact__form {
        padding: 25px;
    }
    .page-contact__methods-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__method-card {
        min-height: auto;
    }
    .page-contact__faq-question {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-contact__faq-answer {
        padding: 15px 20px;
    }
    .page-contact__cta-heading {
        font-size: 2.2em;
    }
    .page-contact__cta-description {
        font-size: 1em;
    }
    .page-contact__cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .page-contact__btn-primary,
    .page-contact__btn-secondary {
        width: calc(100% - 30px); /* Adjust for padding on container */
        margin: 5px 0;
        padding: 10px 20px;
        font-size: 1em;
    }

    /* Mobile image and container adaptations */
    .page-contact img {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__form-section,
    .page-contact__methods-section,
    .page-contact__faq-section,
    .page-contact__cta-section,
    .page-contact__hero-section {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow-x: hidden !important;
    }

    /* Override padding for hero section to prevent double padding */
    .page-contact__hero-section {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    .page-contact__hero-content {
        padding-left: 15px;
        padding-right: 15px;
    }

    /* Specific for button containers */
    .page-contact__cta-buttons {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
}