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

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

.page-contact__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding, assuming shared.css handles body padding-top */
    margin-bottom: 40px;
    overflow: hidden;
    text-align: center;
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    margin-bottom: 30px; /* Space between image and content */
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    object-position: center;
}

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

.page-contact__main-title {
    font-size: clamp(28px, 4vw, 48px); /* Using clamp for H1 as per rules */
    font-weight: 700;
    color: #FFF3E6;
    margin-bottom: 15px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 165, 58, 0.4); /* Glow */
}

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

/* Form Section */
.page-contact__form-section {
    padding: 60px 0;
    background: #17191F; /* Card BG */
    margin-bottom: 40px;
}

.page-contact__form {
    max-width: 600px;
    margin: 0 auto;
    padding: 30px;
    background: #0D0E12; /* Background */
    border-radius: 10px;
    border: 1px solid #A84F0C; /* Border */
    box-shadow: 0 0 20px rgba(255, 140, 26, 0.2);
}

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

.page-contact__form-label {
    display: block;
    font-size: 16px;
    color: #FFF3E6;
    margin-bottom: 8px;
    font-weight: 600;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #A84F0C; /* Border */
    border-radius: 8px;
    color: #FFF3E6;
    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);
}

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

.page-contact__form-textarea {
    resize: vertical;
    min-height: 120px;
}

.page-contact__submit-button {
    display: block;
    width: 100%;
    padding: 15px 25px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #FFF3E6;
    font-size: 18px;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 165, 58, 0.4);
}

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

/* Support Channels Section */
.page-contact__support-channels {
    padding: 60px 0;
    margin-bottom: 40px;
}

.page-contact__section-title {
    font-size: 36px;
    font-weight: 700;
    color: #FF8C1A; /* Main color for section titles */
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 0 8px rgba(255, 165, 58, 0.3);
}

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

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

.page-contact__channel-card {
    background: #17191F; /* Card BG */
    border: 1px solid #A84F0C; /* Border */
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 0 15px rgba(255, 140, 26, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.page-contact__channel-icon {
    width: 100%; /* Ensure image fills card width */
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #A84F0C;
}

.page-contact__channel-title {
    font-size: 22px;
    font-weight: 700;
    color: #FF8C1A;
    margin-bottom: 15px;
}

.page-contact__channel-text {
    font-size: 15px;
    color: #FFF3E6;
    margin-bottom: 25px;
}

.page-contact__channel-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(180deg, #FFA53A 0%, #D96800 100%); /* Button gradient */
    color: #FFF3E6;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(255, 165, 58, 0.3);
}

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

/* FAQ Section */
.page-contact__faq-section {
    padding: 60px 0;
    background: #17191F; /* Card BG */
}

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

details.page-contact__faq-item {
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #A84F0C; /* Border */
    overflow: hidden;
    background: #0D0E12; /* Background */
    box-shadow: 0 2px 10px rgba(255, 140, 26, 0.1);
    transition: all 0.3s ease;
}

details.page-contact__faq-item[open] {
    box-shadow: 0 5px 20px rgba(255, 165, 58, 0.3);
}

details.page-contact__faq-item summary.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    font-weight: 600;
    color: #FFF3E6;
    background: #17191F; /* Card BG */
    border-bottom: 1px solid transparent;
}

details.page-contact__faq-item[open] summary.page-contact__faq-question {
    border-bottom-color: #A84F0C; /* Border */
}

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: rgba(255, 140, 26, 0.1); /* Slight hover effect */
}

.page-contact__faq-qtext {
    flex: 1;
    font-size: 18px;
    line-height: 1.5;
    text-align: left;
    color: #FFF3E6;
}

.page-contact__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    color: #FF8C1A; /* Main color */
    flex-shrink: 0;
    margin-left: 20px;
    width: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

details.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg); /* Change + to X visually */
}

details.page-contact__faq-item .page-contact__faq-answer {
    padding: 0 25px 20px;
    background: #0D0E12; /* Background */
    border-radius: 0 0 10px 10px;
    color: #FFF3E6;
}

.page-contact__faq-answer p {
    margin: 0;
    font-size: 16px;
    color: #FFF3E6;
}

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

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

/* --- Responsive styles for tablet (max-width: 1024px) --- */
@media (max-width: 1024px) {
    .page-contact__hero-image-wrapper {
        max-height: 400px;
    }
    .page-contact__channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .page-contact__channel-icon {
        height: 220px;
    }
}

/* --- Responsive styles for mobile (max-width: 768px) --- */
@media (max-width: 768px) {
    .page-contact__container {
        padding: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__hero-section {
        padding-top: 10px !important; /* Small top padding */
        margin-bottom: 30px;
    }

    .page-contact__hero-image-wrapper {
        max-height: 300px;
        margin-bottom: 20px;
    }

    .page-contact__main-title {
        font-size: clamp(24px, 7vw, 36px);
        margin-bottom: 10px;
    }

    .page-contact__description {
        font-size: 15px;
        margin-bottom: 30px;
        padding: 0 10px;
    }

    .page-contact__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }

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

    /* Form Section */
    .page-contact__form-section {
        padding: 40px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__form {
        padding: 20px;
    }

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

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

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

    /* Support Channels Section */
    .page-contact__support-channels {
        padding: 40px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__channels-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-contact__channel-card {
        padding: 20px;
    }

    .page-contact__channel-icon {
        height: 180px;
        margin-bottom: 15px;
    }

    .page-contact__channel-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .page-contact__channel-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .page-contact__channel-button {
        padding: 10px 20px;
        font-size: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* FAQ Section */
    .page-contact__faq-section {
        padding: 40px 0;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    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;
        margin-left: 15px;
        width: 25px;
    }

    details.page-contact__faq-item .page-contact__faq-answer {
        padding: 0 20px 15px;
    }

    .page-contact__faq-answer p {
        font-size: 14px;
    }

    /* General image responsiveness for mobile */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
}