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

.page-g {
    font-family: 'Arial', sans-serif;
    color: var(--text-main-color); /* Light text for dark body background */
    background-color: var(--background-color);
    line-height: 1.6;
    font-size: 16px;
}

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

/* Hero Section */
.page-g__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 */
    background-color: var(--deep-green-color);
    overflow: hidden;
}

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

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

.page-g__hero-content {
    text-align: center;
    padding: 40px 20px;
    max-width: 900px;
    margin-top: 20px;
    background-color: rgba(17, 39, 27, 0.85); /* Semi-transparent background for text */
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

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

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

.page-g__hero-cta {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* General Section Styling */
.page-g__section {
    padding: 80px 0;
    border-bottom: 1px solid var(--divider-color);
}

.page-g__section:last-of-type {
    border-bottom: none;
}

.page-g__section-title {
    color: var(--gold-color);
    font-size: clamp(1.8em, 3vw, 2.8em);
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-g__section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--glow-color);
    margin: 10px auto 0;
    border-radius: 2px;
}

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

.page-g__sub-title {
    color: var(--primary-color);
    font-size: clamp(1.4em, 2.5vw, 2em);
    margin-top: 40px;
    margin-bottom: 15px;
    border-left: 5px solid var(--gold-color);
    padding-left: 15px;
}

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

/* Grid Container */
.page-g__grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-g__grid-container--benefits {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    text-align: center;
}

/* Card Styling */
.page-g__card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    color: var(--text-main-color);
}

.page-g__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--glow-color);
}

.page-g__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-g__card-title {
    color: var(--gold-color);
    font-size: 1.4em;
    padding: 15px;
    margin-bottom: 0;
}

.page-g__card-text {
    color: var(--text-secondary-color);
    padding: 0 15px 15px;
    font-size: 0.95em;
    flex-grow: 1;
}

/* Benefits Section */
.page-g__benefit-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-g__benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 15px var(--glow-color);
}

.page-g__benefit-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 8px var(--glow-color)); /* Glow effect on icon */
}

.page-g__benefit-title {
    color: var(--primary-color);
    font-size: 1.3em;
    margin-bottom: 10px;
}

.page-g__benefit-text {
    color: var(--text-secondary-color);
    font-size: 0.95em;
}

/* Step-by-Step Guide */
.page-g__step-by-step {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 40px;
}

.page-g__step-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    flex: 1 1 300px;
    max-width: 350px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
}

.page-g__step-number {
    background-color: var(--gold-color);
    color: #000000;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.8em;
    font-weight: bold;
    margin: -55px auto 20px auto;
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 15px var(--gold-color);
}

.page-g__step-title {
    color: var(--primary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page-g__step-text {
    color: var(--text-secondary-color);
}

/* List Styling */
.page-g__list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    color: var(--text-main-color);
}

.page-g__list li {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-g__list li::before {
    content: '✅';
    margin-right: 10px;
    font-size: 1.2em;
}

/* CTA Buttons */
.page-g__cta-wrapper {
    text-align: center;
    margin-top: 50px;
}

.page-g__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1em;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.page-g__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4), 0 0 10px var(--glow-color);
}

.page-g__btn-primary--large {
    padding: 18px 40px;
    font-size: 1.2em;
}

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

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

.page-g__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    font-size: 1.15em;
    font-weight: bold;
    cursor: pointer;
    color: var(--primary-color);
    list-style: none;
}

.page-g__faq-question::-webkit-details-marker {
    display: none;
}

.page-g__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--gold-color);
    transition: transform 0.3s ease;
}

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

.page-g__faq-answer {
    padding: 0 20px 20px 20px;
    font-size: 1em;
    color: var(--text-secondary-color);
}

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

/* Conclusion Section */
.page-g__conclusion {
    text-align: center;
    background-color: var(--deep-green-color);
    padding: 100px 0;
    border-top: 1px solid var(--divider-color);
}

.page-g__conclusion .page-g__section-title {
    color: var(--gold-color);
    margin-bottom: 30px;
}

.page-g__conclusion .page-g__section-description {
    max-width: 900px;
    margin-bottom: 50px;
    color: var(--text-main-color);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-g__hero-content {
        padding: 30px 15px;
    }
    .page-g__main-title {
        font-size: 3em;
    }
    .page-g__section-title {
        font-size: 2.2em;
    }
    .page-g__sub-title {
        font-size: 1.8em;
    }
    .page-g__step-item {
        flex: 1 1 45%;
    }
}

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

    .page-g__container {
        padding: 0 15px;
    }

    /* Images responsive */
    .page-g img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-g__hero-image-wrapper, .page-g__card, .page-g__benefit-item, .page-g__step-item, .page-g__faq-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }

    /* Buttons responsive */
    .page-g__cta-button,
    .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__cta-wrapper,
    .page-g__button-group,
    .page-g__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
    }
    .page-g__cta-wrapper {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .page-g__hero-section {
        padding: 40px 0;
        padding-top: 10px !important;
    }
    .page-g__hero-content {
        padding: 20px 10px;
        margin-top: 10px;
    }
    .page-g__main-title {
        font-size: 2.5em;
        margin-bottom: 15px;
    }
    .page-g__lead-text {
        font-size: 1em;
        margin-bottom: 20px;
    }
    .page-g__hero-cta {
        padding: 12px 20px;
        font-size: 1em;
    }
    .page-g__section {
        padding: 50px 0;
    }
    .page-g__section-title {
        font-size: 1.8em;
        margin-bottom: 15px;
    }
    .page-g__section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-g__sub-title {
        font-size: 1.5em;
        margin-top: 30px;
    }
    .page-g__grid-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .page-g__step-item {
        flex: 1 1 100%;
        max-width: 100%;
        padding: 25px;
    }
    .page-g__step-number {
        margin: -50px auto 15px auto;
    }
    .page-g__card-image {
        height: 180px;
    }
    .page-g__benefit-icon {
        width: 80px;
        height: 80px;
    }
    .page-g__conclusion {
        padding: 60px 0;
    }
    .page-g__conclusion .page-g__section-title {
        font-size: 2em;
    }
    .page-g__btn-primary--large {
        padding: 15px 30px;
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .page-g__main-title {
        font-size: 2em;
    }
    .page-g__section-title {
        font-size: 1.5em;
    }
    .page-g__sub-title {
        font-size: 1.3em;
    }
    .page-g__hero-content {
        padding: 15px;
    }
}