.page--g {
    font-family: 'Arial', sans-serif;
    color: #333333;
    line-height: 1.6;
    background-color: #f8f9fa;
}

.page--g__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, relying on body for header offset */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
}

.page--g__hero-image-wrapper {
    width: 100%;
    max-height: 600px; /* Limit height for aesthetic */
    overflow: hidden;
}

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

.page--g__hero-content {
    position: relative;
    z-index: 1;
    padding: 20px;
    max-width: 900px;
    margin-top: 20px;
}

.page--g__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    color: #2563eb;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page--g__hero-description {
    font-size: 1.15rem;
    color: #4a5568;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.page--g__btn-primary,
.page--g__btn-secondary,
.page--g__btn-tertiary {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-sizing: border-box;
}

.page--g__btn-primary {
    background-color: #2563eb;
    color: #ffffff;
    border: 2px solid #2563eb;
}

.page--g__btn-primary:hover {
    background-color: #1e40af;
    border-color: #1e40af;
}

.page--g__btn-secondary {
    background-color: #ffffff;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.page--g__btn-secondary:hover {
    background-color: #f0f0f0;
    color: #1e40af;
    border-color: #1e40af;
}

.page--g__btn-tertiary {
    background-color: transparent;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.page--g__btn-tertiary:hover {
    background-color: #2563eb;
    color: #ffffff;
}

.page--g__btn-large {
    padding: 16px 40px;
    font-size: 1.2rem;
}

.page--g__section {
    padding: 60px 0;
    background-color: #ffffff;
    margin-bottom: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.page--g__section:nth-of-type(even) {
    background-color: #f8f9fa;
}

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

.page--g__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #2563eb;
    text-align: center;
    margin-bottom: 25px;
    font-weight: 700;
}

.page--g__section-description {
    font-size: 1rem;
    color: #64748b;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

.page--g__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-top: 40px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page--g__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page--g__feature-item {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page--g__feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.page--g__feature-title {
    font-size: 1.5rem;
    color: #2563eb;
    margin-bottom: 15px;
    font-weight: 600;
}

.page--g__feature-text {
    font-size: 1rem;
    color: #4a5568;
    flex-grow: 1;
}

.page--g__steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page--g__step-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.page--g__step-number {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #2563eb;
    color: #ffffff;
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.page--g__step-title {
    font-size: 1.4rem;
    color: #2563eb;
    margin-bottom: 10px;
    font-weight: 600;
}

.page--g__step-text {
    font-size: 1rem;
    color: #4a5568;
    flex-grow: 1;
}

.page--g__step-text a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

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

.page--g__tips-list {
    list-style: none;
    padding: 0;
    margin: 40px auto 0 auto;
    max-width: 900px;
}

.page--g__tip-item {
    background-color: #f0f8ff;
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.page--g__tip-title {
    font-size: 1.3rem;
    color: #2563eb;
    margin-bottom: 10px;
    font-weight: 600;
}

.page--g__tip-text {
    font-size: 1rem;
    color: #4a5568;
}

.page--g__faq-list {
    margin-top: 40px;
}

.page--g__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.page--g__faq-item.active {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.page--g__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    cursor: pointer;
    user-select: none;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.page--g__faq-item.active .page--g__faq-question {
    border-bottom: none;
}

.page--g__faq-qtext {
    font-size: 1.2rem;
    color: #2563eb;
    font-weight: 600;
    pointer-events: none; /* Prevent text from blocking click event */
}

.page--g__faq-toggle {
    font-size: 1.8rem;
    color: #2563eb;
    font-weight: 700;
    pointer-events: none; /* Prevent icon from blocking click event */
    transition: transform 0.3s ease;
}

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

.page--g__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
}

.page--g__faq-item.active .page--g__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to show content */
    padding: 20px 25px !important;
    opacity: 1;
}

.page--g__faq-answer p {
    font-size: 1rem;
    color: #4a5568;
    margin-bottom: 10px;
}

.page--g__faq-answer a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.page--g__faq-answer a:hover {
    text-decoration: underline;
}

.page--g__cta-bottom {
    background-color: #2563eb;
    color: #ffffff;
    padding: 80px 0;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.page--g__cta-container {
    max-width: 900px;
}

.page--g__cta-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: #ffffff;
    margin-bottom: 20px;
    font-weight: 700;
}

.page--g__cta-description {
    font-size: 1.15rem;
    color: #f0f8ff;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* General image responsive styles */
.page--g img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

    .page--g__hero-section {
        padding-top: 10px !important;
        padding-bottom: 30px;
    }

    .page--g__hero-content {
        padding: 15px;
    }

    .page--g__main-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }

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

    .page--g__hero-cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    .page--g__btn-primary,
    .page--g__btn-secondary,
    .page--g__btn-tertiary,
    .page--g a[class*="button"],
    .page--g a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1rem !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        box-sizing: border-box !important;
    }

    .page--g__section {
        padding: 40px 0;
        margin-bottom: 15px;
    }

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

    .page--g__section-title {
        font-size: 2rem;
        margin-bottom: 20px;
    }

    .page--g__section-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }

    .page--g__image {
        margin-top: 30px;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page--g__features-grid,
    .page--g__steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page--g__feature-item,
    .page--g__step-item {
        padding: 25px;
    }

    .page--g__feature-title,
    .page--g__step-title {
        font-size: 1.3rem;
    }

    .page--g__tips-list {
        margin-top: 30px;
    }

    .page--g__tip-item {
        padding: 20px;
        margin-bottom: 15px;
        box-sizing: border-box !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .page--g__tip-title {
        font-size: 1.2rem;
    }

    .page--g__faq-question {
        padding: 15px 20px;
    }

    .page--g__faq-qtext {
        font-size: 1.1rem;
    }

    .page--g__faq-answer {
        padding: 0 20px;
    }

    .page--g__faq-item.active .page--g__faq-answer {
        padding: 15px 20px !important;
    }

    .page--g__cta-bottom {
        padding: 60px 0;
    }

    .page--g__cta-title {
        font-size: 2rem;
    }

    .page--g__cta-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .page--g__btn-large {
        padding: 14px 30px;
        font-size: 1.1rem;
    }
}

/* Ensure all images and containers are responsive */
.page--g img {
    max-width: 100%;
    height: auto;
    display: block;
}

.page--g__section,
.page--g__card,
.page--g__container,
.page--g__hero-image-wrapper {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media (max-width: 768px) {
    .page--g img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page--g__section,
    .page--g__card,
    .page--g__container,
    .page--g__hero-image-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
}