/* style/contact.css */

:root {
    --primary-color: #017439;
    --secondary-color: #FFFFFF;
    --text-dark: #333333;
    --text-light: #ffffff;
    --bg-light: #ffffff;
    --bg-dark: #017439;
    --button-register: #C30808;
    --button-login: #C30808;
    --button-text-login-register: #FFFF00;
}

.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark); /* Default dark text for light body background */
}

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

.page-contact__dark-bg {
    background-color: var(--bg-dark);
    color: var(--text-light);
}

.page-contact__light-bg {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.page-contact__section-title {
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
    color: inherit; /* Inherit color from parent section */
}

.page-contact__section-description {
    font-size: 18px;
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.8;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: inherit; /* Inherit color from parent section */
}

/* HERO Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
    padding-top: var(--header-offset, 120px); /* Ensures content is not hidden by fixed header */
    overflow: hidden;
}

.page-contact__hero-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.page-contact__hero-image {
    width: 100%;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-contact__hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.page-contact__hero-image img:hover {
    transform: scale(1.03);
}

.page-contact__hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page-contact__hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 800;
    color: var(--text-light);
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 20px;
    line-height: 1.7;
    max-width: 800px;
    margin: 0 auto 30px auto;
    color: var(--text-light);
}

.page-contact__cta-button {
    display: inline-block;
    padding: 18px 45px;
    background: var(--button-register); /* Using #C30808 for CTA */
    color: var(--button-text-login-register); /* Using #FFFF00 for text */
    text-decoration: none;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.25);
    border: none;
}

.page-contact__cta-button:hover {
    background: #e00b0b; /* Slightly darker red on hover */
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Contact Info Section */
.page-contact__info-section {
    padding: 80px 0;
}

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

.page-contact__info-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.page-contact__info-card-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

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

.page-contact__info-link,
.page-contact__info-address {
    display: block;
    font-size: 18px;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.page-contact__info-link:hover {
    color: #005a2e; /* Darker green on hover */
    text-decoration: underline;
}

/* Contact Form Section */
.page-contact__form-section {
    padding: 80px 0;
}

.page-contact__form-wrapper {
    display: flex;
    gap: 40px;
    align-items: center;
    background: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.page-contact__form-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.page-contact__form-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-contact__contact-form {
    flex: 2;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.page-contact__form-group {
    display: flex;
    flex-direction: column;
}

.page-contact__form-label {
    font-size: 16px;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
}

.page-contact__form-input,
.page-contact__form-textarea {
    padding: 12px 15px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 16px;
    color: var(--text-dark);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(1, 116, 57, 0.2);
    outline: none;
}

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

.page-contact__btn-submit {
    display: inline-block;
    padding: 15px 30px;
    background: var(--primary-color);
    color: var(--text-light);
    border: none;
    border-radius: 8px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.page-contact__btn-submit:hover {
    background-color: #005a2e;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Support Channels Section */
.page-contact__support-channels-section {
    padding: 80px 0;
}

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

.page-contact__channel-card {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e0e0e0;
}

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

.page-contact__channel-card img {
    width: 100%;
    max-width: 250px; /* Adjust as needed */
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page-contact__channel-card-title {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--primary-color);
    font-weight: 700;
}

.page-contact__channel-card-text {
    font-size: 16px;
    color: #555;
    margin-bottom: 25px;
}

.page-contact__channel-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-light);
    text-decoration: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__channel-button:hover {
    background-color: #005a2e;
    transform: translateY(-2px);
}

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

.page-contact__social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.page-contact__social-icon img {
    
    
    margin: 0;
}

.page-contact__social-icon:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.page-contact__social-icon--facebook:hover {
    background: #3b5998;
}

.page-contact__social-icon--twitter:hover {
    background: #1da1f2;
}

.page-contact__social-icon--telegram:hover {
    background: #0088cc;
}

/* FAQ Section */
.page-contact__faq-section {
    padding: 80px 0;
}

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

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

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

.page-contact__faq-item.active .page-contact__faq-question {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-color: var(--primary-color);
}

.page-contact__faq-question:hover {
    background: #f5f5f5;
    border-color: #d0d0d0;
}

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

.page-contact__faq-toggle {
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    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: 30px;
    height: 30px;
}

.page-contact__faq-item.active .page-contact__faq-toggle {
    transform: rotate(0deg); /* No rotation for + to - */
    color: var(--primary-color);
}

.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: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-top: none;
    border-radius: 0 0 8px 8px;
}

.page-contact__faq-item.active .page-contact__faq-answer {
    max-height: 2000px !important;
    padding: 20px 25px !important;
    opacity: 1;
    border-color: var(--primary-color);
}

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

.page-contact__faq-answer a {
    color: var(--primary-color);
    text-decoration: underline;
}

.page-contact__faq-answer a:hover {
    color: #005a2e;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: 40px;
    }
    .page-contact__hero-description {
        font-size: 18px;
    }
    .page-contact__form-wrapper {
        flex-direction: column;
    }
    .page-contact__form-image {
        width: 100%;
    }
    .page-contact__contact-form {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .page-contact__hero-section {
        padding-top: var(--header-offset, 120px) !important;
        padding-bottom: 40px;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__hero-title {
        font-size: 32px;
        margin-bottom: 15px;
    }
    .page-contact__hero-description {
        font-size: 16px;
        margin-bottom: 25px;
    }
    .page-contact__cta-button {
        padding: 15px 30px;
        font-size: 18px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .page-contact__section-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    .page-contact__section-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    .page-contact__info-section, .page-contact__form-section, .page-contact__support-channels-section, .page-contact__faq-section {
        padding: 40px 0;
    }
    .page-contact__info-card, .page-contact__channel-card {
        padding: 25px;
    }
    .page-contact__info-card-title, .page-contact__channel-card-title {
        font-size: 22px;
    }
    .page-contact__form-wrapper {
        padding: 25px;
    }
    .page-contact__form-label {
        font-size: 15px;
    }
    .page-contact__form-input, .page-contact__form-textarea {
        padding: 10px 12px;
        font-size: 15px;
    }
    .page-contact__btn-submit {
        padding: 12px 25px;
        font-size: 16px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
    .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;
    }
    .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-answer {
        padding: 0 15px;
    }
    .page-contact__faq-item.active .page-contact__faq-answer {
        padding: 15px !important;
    }
    /* Mobile image responsive */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-contact__section, .page-contact__card, .page-contact__container, .page-contact__form-wrapper, .page-contact__channels-grid {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    .page-contact__social-links {
        flex-wrap: wrap;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-title {
        font-size: 28px;
    }
    .page-contact__hero-description {
        font-size: 15px;
    }
    .page-contact__section-title {
        font-size: 24px;
    }
    .page-contact__info-grid, .page-contact__channels-grid {
        grid-template-columns: 1fr;
    }
    .page-contact__info-card, .page-contact__channel-card {
        margin-left: 0;
        margin-right: 0;
    }
    .page-contact__social-icon {
        width: 35px;
        height: 35px;
    }
    .page-contact__social-icon img {
        
        
    }
}