/* style/contact.css */
.page-contact {
    color: #ffffff; /* Dark body background #0a0a0a, so use light text */
    background-color: #0a0a0a;
    font-family: 'Arial', sans-serif;
}

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

/* HERO Section */
.page-contact__hero-section {
    position: relative;
    padding-bottom: 0;
    padding-left: 0;
    padding-right: 0;
    padding-top: var(--header-offset, 120px); /* Assuming shared did not set body padding-top */
    margin-top: 0;
    width: 100%;
    overflow: hidden;
}

.page-contact__hero-container {
    position: relative;
    margin: 0 auto;
    width: 100%;
}

.page-contact__hero-image {
    width: 100%;
    margin: 0;
}

.page-contact__hero-image img {
    width: 100%;
    height: 600px;
    max-width: 100%;
    display: block;
    object-fit: cover;
}

/* General Section Styling */
.page-contact__introduction-section,
.page-contact__why-us-section,
.page-contact__methods-section,
.page-contact__help-section,
.page-contact__faq-section,
.page-contact__feedback-section,
.page-contact__cta-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.page-contact__dark-bg {
    background-color: #0a0a0a;
    color: #ffffff;
}

.page-contact__light-bg {
    background-color: #1a1a1a; /* Slightly lighter for contrast on dark body */
    color: #ffffff;
}

.page-contact__section-heading {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 40px;
    color: #FFD700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

.page-contact__main-title {
    font-size: 48px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #FFD700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

.page-contact__description-text {
    font-size: 18px;
    line-height: 1.8;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

.page-contact__description-text a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__description-text a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Why Us Section */
.page-contact__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.page-contact__feature-card {
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    background-color: #1a1a1a; /* Lighter dark for card background */
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-contact__feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__feature-title {
    font-size: 24px;
    color: #FFD700;
    margin-bottom: 15px;
}

.page-contact__feature-text {
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
}

/* Contact Methods Section */
.page-contact__contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

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

.page-contact__method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__method-icon {
    margin-bottom: 20px;
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.page-contact__method-icon img {
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

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

.page-contact__method-description {
    font-size: 16px;
    line-height: 1.7;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.page-contact__contact-info {
    font-size: 18px;
    font-weight: bold;
    color: #FFD700;
    margin-top: 15px;
}

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

.page-contact__social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: #8B0000;
    color: #ffffff;
    font-size: 22px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-icon:hover {
    background-color: #FFD700;
    transform: translateY(-3px);
    color: #0a0a0a;
}

/* Help Section */
.page-contact__help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.page-contact__help-item {
    background-color: #1a1a1a;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

.page-contact__help-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

.page-contact__help-title {
    font-size: 22px;
    color: #FFD700;
    margin-bottom: 10px;
}

.page-contact__help-description {
    font-size: 15px;
    line-height: 1.6;
    color: #e0e0e0;
}

.page-contact__help-description a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__help-description a:hover {
    color: #fff;
    text-decoration: underline;
}

/* FAQ Section */
.page-contact__faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #1a1a1a;
    border: 1px solid rgba(255, 215, 0, 0.2);
}

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

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

.page-contact__faq-question:active {
    background: #3a3a3a;
}

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

.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: #ffffff;
    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 20px;
    opacity: 0;
    background-color: #2a2a2a;
    color: #e0e0e0;
}

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

.page-contact__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

.page-contact__faq-answer a {
    color: #FFD700;
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-contact__faq-answer a:hover {
    color: #fff;
    text-decoration: underline;
}

/* Feedback Section */
.page-contact__feedback-form-container {
    max-width: 700px;
    margin: 0 auto;
    background-color: #1a1a1a;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(139, 0, 0, 0.3);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #8B0000;
    border-radius: 5px;
    background-color: #0a0a0a;
    color: #ffffff;
    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: #aaa;
}

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

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

/* Buttons */
.page-contact__btn-primary {
    display: inline-block;
    background-color: #FFD700;
    color: #0a0a0a;
    padding: 14px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.page-contact__btn-primary:hover {
    background-color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 215, 0, 0.4);
}

.page-contact__cta-button {
    margin-top: 30px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-image img {
        height: 500px;
    }

    .page-contact__main-title {
        font-size: 40px;
    }

    .page-contact__section-heading {
        font-size: 30px;
    }

    .page-contact__features-grid,
    .page-contact__contact-grid,
    .page-contact__help-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure spacing for mobile header */
    }

    .page-contact__hero-image img {
        height: 350px;
    }

    .page-contact__introduction-section,
    .page-contact__why-us-section,
    .page-contact__methods-section,
    .page-contact__help-section,
    .page-contact__faq-section,
    .page-contact__feedback-section,
    .page-contact__cta-section {
        padding: 40px 0;
    }

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

    .page-contact__main-title {
        font-size: 32px;
        margin-bottom: 20px;
    }

    .page-contact__section-heading {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .page-contact__description-text {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 20px;
    }

    .page-contact__features-grid,
    .page-contact__contact-grid,
    .page-contact__help-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-contact__feature-card,
    .page-contact__method-card,
    .page-contact__help-item {
        padding: 25px;
    }

    .page-contact__feature-title {
        font-size: 20px;
    }

    .page-contact__method-title {
        font-size: 22px;
    }

    .page-contact__method-icon {
        height: 150px;
    }

    .page-contact__faq-list {
        max-width: 100%;
    }

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

    .page-contact__faq-question h3 {
        font-size: 16px;
    }

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

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

    .page-contact__feedback-form-container {
        padding: 30px;
    }

    .page-contact__form-label {
        font-size: 15px;
    }

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

    .page-contact__btn-primary {
        padding: 12px 20px;
        font-size: 16px;
        width: 100%;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-contact__social-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    /* Mobile image and container responsiveness */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    
    .page-contact__section,
    .page-contact__card,
    .page-contact__container,
    .page-contact__feedback-form-container,
    .page-contact__contact-grid,
    .page-contact__help-grid,
    .page-contact__features-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Exclude logo-item from general image responsiveness as it has fixed size */
    .page-contact__logo-item {
        width: 80px !important; 
        height: 80px !important; 
        max-width: 80px !important; 
        box-sizing: border-box;
        padding-left: 0;
        padding-right: 0;
    }
    /* Button container responsiveness */
    .page-contact__cta-buttons,
    .page-contact__button-group,
    .page-contact__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-contact__cta-buttons {
        display: flex;
        flex-direction: column;
    }
}