/* style/g.css */

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

/* Base styles for the page content */
.page-g {
    font-family: 'Arial', sans-serif;
    color: var(--text-main); /* Light text for dark background */
    background-color: var(--bg-main); /* Main background color */
    line-height: 1.6;
    padding-bottom: 50px; /* Add some padding at the bottom */
}

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

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

.page-g__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
    margin-bottom: 30px;
}

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

.page-g__hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin-top: -80px; /* Adjust to slightly overlap the image for visual flow */
    background-color: var(--bg-card); /* Darker background for content */
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-color);
}

.page-g__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: var(--color-gold);
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-g__description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-g__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

/* General Section Styling */
.page-g__section {
    padding: 60px 0;
    background-color: var(--bg-main);
}

.page-g__section:nth-of-type(even) {
    background-color: var(--color-deep-green); /* Alternate background for sections */
}

.page-g__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-g__sub-title {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    color: var(--color-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.page-g__content-block p {
    margin-bottom: 15px;
    color: var(--text-main);
}

.page-g__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.page-g__list-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-main);
}

.page-g__list-item::before {
    content: '✅';
    display: inline-block;
    color: var(--color-glow);
    font-size: 1.2em;
    line-height: 1;
}

/* Images within content */
.page-g__image-container {
    margin: 40px auto;
    max-width: 800px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
}

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

/* Buttons */
.page-g__btn-primary,
.page-g__btn-secondary,
.page-g__text-link {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    text-align: center;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-g__btn-primary {
    background: var(--btn-gradient);
    color: #ffffff;
    border: 2px solid var(--color-glow);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-g__btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(87, 227, 141, 0.6);
    opacity: 0.9;
}

.page-g__btn-secondary {
    background: transparent;
    color: var(--color-glow);
    border: 2px solid var(--color-glow);
}

.page-g__btn-secondary:hover {
    background: var(--color-glow);
    color: var(--bg-main);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(87, 227, 141, 0.4);
}

.page-g__text-link {
    color: var(--color-glow);
    text-decoration: underline;
    padding: 0;
    border-radius: 0;
    border: none;
    background: none;
}
.page-g__text-link:hover {
    color: var(--color-gold);
    text-decoration: none;
}

/* Video Section */
.page-g__video-section {
    background-color: var(--color-deep-green);
    text-align: center;
    padding: 60px 0;
    padding-top: 10px; /* Small top padding */
}

.page-g__video-wrapper {
    position: relative;
    width: 100%;
    max-width: 1000px; /* Max width for video container */
    margin: 40px auto;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid var(--color-glow);
}

.page-g__video-wrapper::before {
    content: '';
    display: block;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
}

.page-g__video-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.page-g__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.page-g__video-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* FAQ Section */
.page-g__faq-list {
    margin-top: 40px;
}

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

.page-g__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15rem;
    font-weight: bold;
    cursor: pointer;
    color: var(--color-gold);
    background-color: var(--color-deep-green);
    border-bottom: 1px solid var(--color-divider);
    list-style: none; /* For details/summary */
}

.page-g__faq-question::-webkit-details-marker {
    display: none; /* Hide default marker for Chrome */
}

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

.page-g__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--color-glow);
    transition: transform 0.3s ease;
}

.page-g__faq-item[open] .page-g__faq-toggle {
    transform: rotate(45deg); /* Rotate '+' to 'x' */
}

.page-g__faq-answer {
    padding: 20px;
    padding-top: 0;
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-g__hero-content {
        margin-top: -60px;
        padding: 25px;
    }
    .page-g__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-g__description {
        font-size: clamp(0.95rem, 1.8vw, 1.1rem);
    }
    .page-g__section-title {
        font-size: clamp(1.6rem, 3.8vw, 2.5rem);
    }
    .page-g__sub-title {
        font-size: clamp(1.2rem, 2.8vw, 1.6rem);
    }
}

@media (max-width: 768px) {
    .page-g__hero-section {
        padding-bottom: 40px;
    }
    .page-g__hero-content {
        margin-top: -40px;
        padding: 20px;
        max-width: 95%;
    }
    .page-g__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-g__description {
        font-size: clamp(0.9rem, 2.5vw, 1rem);
    }
    .page-g__cta-buttons {
        flex-direction: column;
        gap: 15px;
    }
    .page-g__btn-primary,
    .page-g__btn-secondary,
    .page-g a[class*="button"],
    .page-g a[class*="btn"] {
        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-g__section {
        padding: 40px 0;
    }
    .page-g__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .page-g__sub-title {
        font-size: clamp(1.1rem, 3.5vw, 1.4rem);
    }
    .page-g__list-item {
        padding: 12px 15px;
    }
    .page-g img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-g video,
    .page-g__video {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-g__video-section,
    .page-g__video-container,
    .page-g__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important;
    }
    .page-g__video-section {
        padding-top: 10px !important; /* body already handles --header-offset */
    }
    .page-g__faq-question {
        padding: 15px;
        font-size: 1rem;
    }
    .page-g__faq-answer {
        padding: 15px;
        padding-top: 0;
    }
    .page-g__content-area,
    .page-g__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 480px) {
    .page-g__hero-content {
        margin-top: -20px;
    }
    .page-g__main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    .page-g__description {
        font-size: clamp(0.85rem, 3vw, 0.95rem);
    }
    .page-g__section-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    .page-g__sub-title {
        font-size: clamp(1rem, 4vw, 1.2rem);
    }
}