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

.page-g {
    font-family: 'Arial', sans-serif;
    color: var(--page-g-text-main); /* Default text color for the page */
    background-color: var(--page-g-bg-color); /* Default background for the page, derived from shared body */
    line-height: 1.6;
}

/* Hero Section */
.page-g__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-bottom: 60px; /* Space below content */
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-g-bg-color);
    overflow: hidden;
}

.page-g__hero-image-wrapper {
    width: 100%;
    max-width: 1920px; /* Full width for the image */
    margin-bottom: 30px; /* Space between image and content */
}

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

.page-g__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
}

.page-g__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem); /* Responsive font size */
    font-weight: 700;
    color: var(--page-g-gold-color); /* Gold for main title */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-g__hero-description {
    font-size: 1.15rem;
    color: var(--page-g-text-secondary);
    margin-bottom: 30px;
}

/* Buttons */
.page-g__cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.page-g__btn-primary,
.page-g__btn-secondary,
.page-g__btn-video-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%; /* Ensure buttons adapt */
    white-space: normal; /* Allow text wrapping */
    word-wrap: break-word; /* Allow text wrapping */
    text-align: center;
}

.page-g__btn-primary {
    background: var(--page-g-button-gradient);
    color: #ffffff; /* White text for primary button */
    border: 2px solid var(--page-g-glow-color);
    box-shadow: 0 5px 15px rgba(42, 209, 111, 0.4);
}

.page-g__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    box-shadow: 0 8px 20px rgba(42, 209, 111, 0.6);
    transform: translateY(-2px);
}

.page-g__btn-secondary {
    background-color: transparent;
    color: var(--page-g-glow-color); /* Glow color for secondary button text */
    border: 2px solid var(--page-g-glow-color);
}

.page-g__btn-secondary:hover {
    background-color: var(--page-g-glow-color);
    color: var(--page-g-bg-color); /* Dark text on hover */
    transform: translateY(-2px);
}

/* Video Section */
.page-g__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    padding-top: 10px; /* Small top padding, body handles header offset */
    background-color: var(--page-g-deep-green-color); /* Darker green background */
    text-align: center;
    overflow: hidden;
}

.page-g__video-container {
    width: 100%; /* Desktop: Must have width: 100% */
    max-width: 1200px;
    margin: 0 auto 30px auto;
    box-sizing: border-box;
    overflow: hidden; /* Prevent video overflow */
}

.page-g__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    width: 100%; /* Ensure wrapper takes full width */
    max-width: 100%; /* Ensure wrapper takes full width */
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.page-g__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
    display: block; /* Ensure no extra space below video */
}

.page-g__video-caption {
    font-size: 1.1rem;
    color: var(--page-g-text-main);
    margin-bottom: 30px;
    max-width: 800px;
}

.page-g__btn-video-cta {
    margin-top: 20px;
}

/* Content Sections */
.page-g__content-section {
    padding: 60px 20px;
    background-color: var(--page-g-bg-color);
    color: var(--page-g-text-main);
}

.page-g__content-section:nth-of-type(odd) { /* Alternate background for better visual separation */
    background-color: var(--page-g-card-bg);
}

.page-g__dark-section {
    background-color: var(--page-g-card-bg);
    color: var(--page-g-text-main);
}

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

.page-g__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--page-g-gold-color);
    text-align: center;
    margin-bottom: 40px;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-g__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
    color: var(--page-g-glow-color);
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.page-g__text-block p {
    margin-bottom: 15px;
    color: var(--page-g-text-secondary); /* Secondary text color for paragraphs */
    font-size: 1.05rem;
}

.page-g__text-block p strong {
    color: var(--page-g-text-main);
}

.page-g__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--page-g-text-secondary);
}

.page-g__list li {
    margin-bottom: 10px;
    color: var(--page-g-text-secondary);
    font-size: 1.05rem;
}

.page-g__list li strong {
    color: var(--page-g-text-main);
}

.page-g__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin-top: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    object-fit: cover;
}

/* FAQ Section */
.page-g__faq-section {
    padding: 60px 20px;
    background-color: var(--page-g-card-bg);
    color: var(--page-g-text-main);
}

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

.page-g__faq-item {
    background-color: var(--page-g-bg-color);
    border: 1px solid var(--page-g-border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    color: var(--page-g-text-main);
}

.page-g__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--page-g-glow-color); /* FAQ question color */
    background-color: var(--page-g-deep-green-color);
    border-bottom: 1px solid var(--page-g-border-color);
    transition: background-color 0.3s ease;
}

.page-g__faq-question:hover {
    background-color: var(--page-g-primary-color);
}

.page-g__faq-item[open] .page-g__faq-question {
    background-color: var(--page-g-primary-color);
    color: var(--page-g-text-main);
}

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

.page-g__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--page-g-text-main);
}

.page-g__faq-item[open] .page-g__faq-toggle {
    content: '−'; /* Change to minus when open */
}

.page-g__faq-answer {
    padding: 15px 25px 20px 25px;
    font-size: 1rem;
    color: var(--page-g-text-secondary);
}

.page-g__faq-answer p {
    margin-bottom: 0;
}

/* Details/Summary specific styling to remove default markers */
.page-g__faq-item summary {
    list-style: none;
}
.page-g__faq-item summary::-webkit-details-marker {
    display: none;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .page-g__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }

    .page-g__section-title {
        font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    }

    .page-g__sub-title {
        font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    }
}

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

    /* Hero Section */
    .page-g__hero-section {
        padding: 40px 15px;
        padding-top: 10px !important;
    }

    .page-g__hero-image-wrapper {
        margin-bottom: 20px;
    }

    .page-g__main-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 15px;
    }

    .page-g__hero-description {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    /* Buttons - Mobile Responsive */
    .page-g__cta-buttons {
        flex-direction: column; /* Stack buttons vertically */
        gap: 15px;
        padding: 0 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-g__btn-primary,
    .page-g__btn-secondary,
    .page-g__btn-video-cta {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 20px;
        font-size: 1rem;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    /* Video Section */
    .page-g__video-section {
        padding: 30px 15px;
        padding-top: 10px !important;
    }

    .page-g__video-container,
    .page-g__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .page-g__video-caption {
        font-size: 1rem;
        padding: 0 15px;
    }

    /* Content Sections */
    .page-g__content-section {
        padding: 40px 15px;
    }

    .page-g__container {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .page-g__section-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
        margin-bottom: 30px;
    }

    .page-g__sub-title {
        font-size: clamp(1.2rem, 5vw, 1.5rem);
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-g__text-block p,
    .page-g__list li {
        font-size: 0.95rem;
    }

    /* Images - Mobile Responsive */
    .page-g img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
        margin-top: 20px;
    }

    /* FAQ Section */
    .page-g__faq-section {
        padding: 40px 15px;
    }

    .page-g__faq-question {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .page-g__faq-answer {
        padding: 10px 20px 15px 20px;
        font-size: 0.95rem;
    }
}