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

/* Base styles for the page-contact scope */
.page-contact {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-main); /* Default text color for dark background */
    background-color: var(--background-main);
}

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

.page-contact__section-title {
    font-size: clamp(28px, 4vw, 42px);
    color: var(--text-main);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.page-contact__text-block {
    font-size: 16px;
    margin-bottom: 20px;
    text-align: center;
    color: var(--text-secondary);
}

.page-contact__text-block a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-contact__text-block a:hover {
    text-decoration: underline;
}

/* Hero Section */
.page-contact__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding, body handles header offset */
    overflow: hidden;
    background-color: var(--background-main);
}

.page-contact__hero-image-wrapper {
    width: 100%;
    max-height: 500px; /* Limit height for hero image */
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
}

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

.page-contact__hero-content {
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
    margin-top: 20px; /* Space between image and text */
}

.page-contact__main-title {
    font-size: clamp(32px, 5vw, 56px);
    color: var(--gold-color);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.1;
    letter-spacing: 1px;
}

.page-contact__hero-description {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__cta-button {
    display: inline-block;
    background: var(--button-gradient);
    color: var(--text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-contact__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-contact__cta-button--secondary {
    background: var(--deep-green);
    border: 1px solid var(--border-color);
    color: var(--text-main);
}

.page-contact__cta-button--secondary:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

/* Section backgrounds */
.page-contact__dark-bg {
    background-color: var(--background-main);
    color: var(--text-main);
    padding: 80px 0;
}

.page-contact__light-bg {
    background-color: var(--card-bg);
    color: var(--text-main);
    padding: 80px 0;
}

/* Intro Section */
.page-contact__intro-section .page-contact__text-block {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page-contact__contact-card {
    background-color: var(--card-bg);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

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

.page-contact__card-image {
    width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: contain; /* Ensure image fits without cropping */
    margin-bottom: 20px;
    display: block;
}

.page-contact__card-title {
    font-size: 24px;
    color: var(--gold-color);
    margin-bottom: 15px;
    font-weight: bold;
}

.page-contact__card-description {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 25px;
    flex-grow: 1;
}

.page-contact__email-address, .page-contact__phone-number {
    font-size: 16px;
    font-weight: bold;
    color: var(--text-main);
    margin-bottom: 25px;
}

.page-contact__email-address a, .page-contact__phone-number a {
    color: var(--secondary-color);
    text-decoration: none;
}

.page-contact__email-address a:hover, .page-contact__phone-number a:hover {
    text-decoration: underline;
}

/* Contact Form Section */
.page-contact__contact-form {
    max-width: 700px;
    margin: 40px auto 0 auto;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

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

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

.page-contact__form-input,
.page-contact__form-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: var(--background-main);
    color: var(--text-main);
    font-size: 16px;
    box-sizing: border-box;
}

.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(--secondary-color);
    outline: none;
    box-shadow: 0 0 0 3px rgba(34, 199, 104, 0.3);
}

.page-contact__contact-form .page-contact__cta-button {
    width: 100%;
    padding: 15px;
    font-size: 18px;
}

/* FAQ Section */
.page-contact__faq-list {
    margin-top: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.page-contact__faq-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-contact__faq-item summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    font-size: 18px;
    font-weight: bold;
    color: var(--text-main);
    cursor: pointer;
    outline: none;
    list-style: none; /* Remove default marker */
    position: relative;
}

.page-contact__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for Webkit browsers */
}

.page-contact__faq-question {
    flex-grow: 1;
    text-align: left;
}

.page-contact__faq-toggle {
    font-size: 24px;
    line-height: 1;
    color: var(--secondary-color);
    margin-left: 15px;
    transition: transform 0.3s ease;
}

.page-contact__faq-item[open] .page-contact__faq-toggle {
    transform: rotate(45deg);
}

.page-contact__faq-answer {
    padding: 0 25px 20px 25px;
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Office Section */
.page-contact__office-content {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    flex-wrap: wrap;
}

.page-contact__office-info {
    flex: 1;
    min-width: 300px;
}

.page-contact__office-info .page-contact__section-title {
    text-align: left;
    margin-bottom: 25px;
}

.page-contact__office-info .page-contact__text-block {
    text-align: left;
    color: var(--text-secondary);
}

.page-contact__address-details {
    font-style: normal;
    font-size: 16px;
    color: var(--text-main);
    margin-top: 20px;
    line-height: 1.8;
    text-align: left;
}

.page-contact__office-map {
    flex: 1;
    min-width: 400px;
    background-color: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

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

/* Conclusion Section */
.page-contact__conclusion-section .page-contact__text-block {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-contact__hero-section {
        padding: 40px 0;
        padding-top: 10px;
    }

    .page-contact__main-title {
        font-size: clamp(28px, 4.5vw, 48px);
    }

    .page-contact__hero-description {
        font-size: 16px;
    }

    .page-contact__section-title {
        font-size: clamp(24px, 3.5vw, 36px);
    }

    .page-contact__office-content {
        flex-direction: column;
        align-items: center;
    }

    .page-contact__office-info,
    .page-contact__office-map {
        width: 100%;
        min-width: unset;
    }

    .page-contact__office-info .page-contact__section-title {
        text-align: center;
    }
    .page-contact__office-info .page-contact__text-block, .page-contact__address-details {
        text-align: center;
    }
}

@media (max-width: 768px) {
    .page-contact {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-contact__hero-section,
    .page-contact__intro-section,
    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__office-section,
    .page-contact__conclusion-section {
        padding: 40px 0;
    }

    .page-contact__hero-section {
        padding-top: 10px !important;
    }

    .page-contact__container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-contact__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-contact__card-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-contact__map-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-contact__hero-content {
        margin-top: 0;
    }

    .page-contact__main-title {
        font-size: clamp(24px, 6vw, 36px);
    }

    .page-contact__hero-description {
        font-size: 15px;
    }

    .page-contact__section-title {
        font-size: clamp(22px, 5vw, 30px);
    }

    .page-contact__text-block {
        font-size: 15px;
    }

    .page-contact__cta-button {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .page-contact__contact-grid {
        grid-template-columns: 1fr;
    }

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

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

    .page-contact__card-description {
        font-size: 14px;
    }

    .page-contact__email-address, .page-contact__phone-number {
        font-size: 15px;
    }

    .page-contact__contact-form {
        padding: 20px;
    }

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

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

    .page-contact__faq-item summary {
        padding: 15px 20px;
        font-size: 16px;
    }

    .page-contact__faq-answer {
        padding: 0 20px 15px 20px;
        font-size: 14px;
    }
    
    .page-contact__office-map {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-contact__office-info {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-contact__hero-section,
    .page-contact__intro-section,
    .page-contact__methods-section,
    .page-contact__form-section,
    .page-contact__faq-section,
    .page-contact__office-section,
    .page-contact__conclusion-section {
        padding: 30px 0;
    }

    .page-contact__hero-section {
        padding-top: 10px !important;
    }

    .page-contact__main-title {
        font-size: clamp(20px, 7vw, 32px);
    }

    .page-contact__hero-description {
        font-size: 14px;
    }

    .page-contact__section-title {
        font-size: clamp(20px, 6vw, 26px);
        margin-bottom: 30px;
    }

    .page-contact__text-block {
        font-size: 14px;
    }

    .page-contact__cta-button {
        padding: 12px 20px;
        font-size: 16px;
    }

    .page-contact__contact-card {
        padding: 15px;
    }

    .page-contact__card-title {
        font-size: 18px;
    }

    .page-contact__contact-form {
        padding: 15px;
    }

    .page-contact__faq-item summary {
        padding: 12px 15px;
        font-size: 15px;
    }

    .page-contact__faq-answer {
        padding: 0 15px 12px 15px;
        font-size: 13px;
    }
}