:root {
    --background: #08160F;
    --card-bg: #11271B;
    --text-main: #F2FFF6;
    --text-secondary: #A7D9B8;
    --button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --border: #2E7A4E;
    --glow: #57E38D;
    --gold: #F2C14E;
    --divider: #1E3A2A;
    --deep-green: #0A4B2C;
}

/* General styling for the contact page */
.page-contact {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Light text on dark background */
    background-color: var(--background); /* Deep dark green */
}

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

.page-contact__section-title {
    font-size: 2.5em;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
    letter-spacing: -0.02em;
}

.page-contact__section-description {
    font-size: 1.1em;
    color: var(--text-secondary);
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

/* Buttons */
.page-contact__btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: var(--button-gradient); /* Green gradient */
    color: var(--text-main); /* Light text */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
}

.page-contact__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 15px rgba(0, 255, 100, 0.2);
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image first, then content */
    align-items: center;
    padding: 10px 0 60px 0; /* Small top padding, larger bottom padding */
    overflow: hidden;
    box-sizing: border-box;
}

.page-contact__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 70vh; /* Limit height for hero image */
    margin-bottom: 40px; /* Space between image and content */
}

.page-contact__hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-contact__hero-title {
    font-size: clamp(2.5em, 5vw, 3.5em); /* Responsive H1, no fixed large size */
    color: var(--text-main);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
}

.page-contact__hero-description {
    font-size: 1.2em;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Form Section */
.page-contact__form-section {
    padding: 80px 0;
    background-color: var(--card-bg); /* Card BG color */
    border-radius: 15px;
    margin: 40px auto;
    max-width: 1200px;
}

.page-contact__contact-form {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.page-contact__form-label {
    display: block;
    margin-bottom: 10px;
    font-weight: bold;
    color: var(--text-main);
    font-size: 1.1em;
}

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border); /* Border color */
    border-radius: 8px;
    background-color: #1a3426; /* Slightly lighter than card-bg for input contrast */
    color: var(--text-main);
    font-size: 1em;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.page-contact__form-input::placeholder,
.page-contact__form-textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.page-contact__form-input:focus,
.page-contact__form-textarea:focus {
    border-color: var(--glow); /* Glow color on focus */
    outline: none;
}

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

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

.page-contact__info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
    padding: 0 20px;
}

.page-contact__info-card {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-contact__info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 100, 0.15);
}

.page-contact__info-title {
    font-size: 1.5em;
    color: var(--text-main);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__info-text {
    font-size: 1.1em;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.page-contact__info-link {
    color: var(--gold); /* Gold color for links */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-contact__info-link:hover {
    color: var(--glow);
}

.page-contact__info-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    border-radius: 15px;
    object-fit: cover;
    max-width: 800px;
}

/* Live Chat Section */
.page-contact__livechat-section {
    padding: 80px 0;
    text-align: center;
    background-color: var(--deep-green); /* Deep Green background */
    margin-bottom: 40px;
}

.page-contact__livechat-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 40px auto 0 auto;
    max-width: 800px;
    border-radius: 15px;
    object-fit: cover;
}

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

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

.page-contact__faq-item {
    background-color: var(--card-bg);
    margin-bottom: 20px;
    border-radius: 10px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.page-contact__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    color: var(--text-main);
    font-size: 1.2em;
    font-weight: bold;
    background-color: #1a3426; /* Slightly lighter for question header */
    transition: background-color 0.3s ease;
    user-select: none;
    list-style: none; /* For details/summary */
}
.page-contact__faq-item summary::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}
.page-contact__faq-item summary::marker {
    display: none; /* Hide default marker for Firefox */
}

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

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

.page-contact__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--gold);
}

.page-contact__faq-answer {
    padding: 0 25px 20px 25px;
    color: var(--text-secondary);
    font-size: 1em;
    line-height: 1.6;
    /* For <details> tag, browser handles expand/collapse */
    /* For JS controlled div, these would be used with max-height:0 and transition */
}

/* For <details> tag, browser handles expand/collapse */
.page-contact__faq-item[open] .page-contact__faq-answer {
    padding-top: 15px;
    /* max-height is implicitly handled by browser for details */
}
.page-contact__faq-item[open] .page-contact__faq-toggle {
    content: "−"; /* Change toggle symbol when open, handled by JS */
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-contact__hero-title {
        font-size: clamp(2em, 4vw, 3em);
    }
    .page-contact__hero-description {
        font-size: 1.1em;
    }
    .page-contact__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    /* Mobile General */
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-contact__container {
        padding: 0 15px !important;
    }

    /* Images */
    .page-contact img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-contact__hero-image {
        max-height: 50vh;
        border-radius: 8px;
    }
    .page-contact__info-image,
    .page-contact__livechat-image {
        border-radius: 8px;
    }

    /* Sections */
    .page-contact__hero-section {
        padding: 10px 0 40px 0 !important;
    }
    .page-contact__hero-content {
        padding: 0 15px !important;
    }
    .page-contact__form-section,
    .page-contact__info-section,
    .page-contact__livechat-section,
    .page-contact__faq-section {
        padding: 40px 0 !important;
        margin: 20px auto !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        border-radius: 8px;
    }
    .page-contact__section-title {
        font-size: 1.8em !important;
        margin-bottom: 15px !important;
    }
    .page-contact__section-description {
        font-size: 1em !important;
        margin-bottom: 30px !important;
    }

    /* Buttons */
    .page-contact__btn-primary {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding: 12px 15px !important;
        font-size: 1em !important;
    }

    /* Forms */
    .page-contact__contact-form {
        padding: 0 15px !important;
    }
    .page-contact__form-input,
    .page-contact__form-textarea {
        padding: 12px !important;
    }

    /* Info Grid */
    .page-contact__info-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    .page-contact__info-card {
        padding: 20px !important;
    }

    /* FAQ */
    .page-contact__faq-list {
        padding: 0 15px !important;
    }
    .page-contact__faq-item {
        border-radius: 8px;
    }
    .page-contact__faq-question {
        font-size: 1.1em !important;
        padding: 15px 20px !important;
    }
    .page-contact__faq-toggle {
        font-size: 1.2em !important;
    }
    .page-contact__faq-answer {
        padding: 0 20px 15px 20px !important;
    }
}