/* style/-g.css */
:root {
    --primary-color: #FFD700; /* Gold */
    --secondary-color: #8B0000; /* Deep Red */
    --dark-background: #1a1a1a;
    --light-background: #f4f4f4;
    --text-color-light: #ffffff;
    --text-color-dark: #333333;
    --border-color: #e0e0e0;
}

.page--g {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--light-background);
}

.page--g h1, .page--g h2, .page--g h3, .page--g h4, .page--g h5, .page--g h6 {
    color: var(--secondary-color);
    margin-bottom: 20px;
    line-height: 1.2;
}

.page--g h1 {
    font-size: 3.2em;
    color: var(--primary-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page--g h2 {
    font-size: 2.5em;
    text-align: center;
    margin-top: 40px;
    margin-bottom: 30px;
    color: var(--secondary-color);
}

.page--g h3 {
    font-size: 1.8em;
    color: var(--secondary-color);
}

.page--g p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page--g .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page--g .cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: var(--primary-color);
    color: var(--text-color-dark);
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--primary-color);
}

.page--g .cta-button:hover {
    background: var(--secondary-color);
    color: var(--text-color-light);
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

.page--g .cta-button.large {
    padding: 18px 50px;
    font-size: 1.4em;
}

.page--g .cta-button-small {
    display: inline-block;
    padding: 10px 25px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    text-decoration: none;
    border-radius: 5px;
    font-size: 0.95em;
    font-weight: bold;
    margin-top: 15px;
    transition: all 0.3s ease;
    border: 1px solid var(--secondary-color);
}

.page--g .cta-button-small:hover {
    background: var(--primary-color);
    color: var(--text-color-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-color: var(--primary-color);
}

/* Hero Section */
.page--g .hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    background: var(--dark-background);
    color: var(--text-color-light);
}

.page--g .hero-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page--g .hero-image {
    width: 100%;
    margin-bottom: 30px;
}

.page--g .hero-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.page--g .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    width: 100%;
}

.page--g .hero-content p {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 25px auto;
    color: #e0e0e0;
}

/* Introduction Section */
.page--g .introduction-section {
    padding: 60px 0;
    background-color: var(--light-background);
}

.page--g .introduction-section p {
    text-align: justify;
}

/* Features Section */
.page--g .features-section {
    padding: 60px 0;
    background-color: #fcfcfc;
}

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

.page--g .feature-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page--g .feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.page--g .feature-item img {
    width: 150px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page--g .feature-item h3 {
    color: var(--secondary-color);
    font-size: 1.5em;
    margin-bottom: 15px;
}

.page--g .feature-item p {
    font-size: 1em;
    color: var(--text-color-dark);
}

/* Guide Section */
.page--g .guide-section {
    padding: 60px 0;
    background-color: var(--dark-background);
    color: var(--text-color-light);
}

.page--g .guide-section h2 {
    color: var(--primary-color);
}

.page--g .guide-section p {
    color: #e0e0e0;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
}

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

.page--g .step-item {
    background: #333333;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page--g .step-item span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--text-color-dark);
    border-radius: 50%;
    font-size: 2em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.page--g .step-item h3 {
    color: var(--primary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page--g .step-item p {
    color: #cccccc;
    font-size: 1em;
    flex-grow: 1;
}

/* Tips Section */
.page--g .tips-section {
    padding: 60px 0;
    background-color: var(--light-background);
}

.page--g .tips-section img {
    width: 100%;
    max-width: 800px;
    height: auto;
    display: block;
    margin: 0 auto 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    object-fit: cover;
}

.page--g .tips-section p {
    text-align: justify;
    margin-bottom: 20px;
}

.page--g .tips-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.page--g .tips-section ul li {
    background: #ffffff;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    font-size: 1.05em;
    color: var(--text-color-dark);
    border-left: 5px solid var(--primary-color);
}

.page--g .tips-section ul li strong {
    color: var(--secondary-color);
}

/* Safety Support Section */
.page--g .safety-support-section {
    padding: 60px 0;
    background-color: #fcfcfc;
}

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

.page--g .safety-item {
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.page--g .safety-item img {
    width: 120px;
    height: auto;
    margin-bottom: 20px;
    border-radius: 8px;
    object-fit: cover;
}

.page--g .safety-item h3 {
    color: var(--secondary-color);
    font-size: 1.6em;
    margin-bottom: 15px;
}

.page--g .safety-item p {
    font-size: 1em;
    color: var(--text-color-dark);
}

/* FAQ Section */
.page--g .faq-section {
    padding: 60px 0;
    background-color: var(--dark-background);
    color: var(--text-color-light);
}

.page--g .faq-section h2 {
    color: var(--primary-color);
}

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

.page--g .faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #333333;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.page--g .faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background: var(--secondary-color);
    color: var(--text-color-light);
    border: 1px solid var(--secondary-color);
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page--g .faq-question:hover {
    background: #a00000;
    border-color: #a00000;
}

.page--g .faq-question h3 {
    margin: 0;
    font-size: 1.2em;
    color: var(--text-color-light);
}

.page--g .faq-toggle {
    font-size: 2em;
    font-weight: bold;
    transition: transform 0.3s ease;
    line-height: 1;
}

.page--g .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
    padding: 0 25px;
    background: #444444;
    color: #cccccc;
}

.page--g .faq-item.active .faq-answer {
    max-height: 500px; /* Enough to contain content */
    padding: 20px 25px;
}

.page--g .faq-item.active .faq-toggle {
    transform: rotate(45deg);
    transition: transform 0.3s ease;
}

.page--g .faq-answer p {
    margin-bottom: 15px;
    font-size: 1em;
    color: #cccccc;
}

.page--g .faq-answer .faq-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page--g .faq-answer .faq-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Call to Action Section */
.page--g .call-to-action-section {
    padding: 80px 0;
    background: linear-gradient(45deg, var(--secondary-color), #a00000);
    color: var(--text-color-light);
    text-align: center;
}

.page--g .call-to-action-section h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
}

.page--g .call-to-action-section p {
    font-size: 1.3em;
    max-width: 900px;
    margin: 0 auto 30px auto;
    color: #f0f0f0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page--g h1 {
        font-size: 2.5em;
    }
    .page--g h2 {
        font-size: 2em;
    }
    .page--g h3 {
        font-size: 1.5em;
    }
    .page--g .hero-section {
        padding: 60px 15px;
    }
    .page--g .hero-content p {
        font-size: 1.1em;
    }
    .page--g .cta-button {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page--g .cta-button.large {
        padding: 15px 40px;
        font-size: 1.2em;
    }
    .page--g .feature-grid, .page--g .guide-steps, .page--g .safety-grid {
        grid-template-columns: 1fr;
    }
    .page--g .feature-item, .page--g .step-item, .page--g .safety-item {
        padding: 25px;
    }
    .page--g .faq-question {
        padding: 15px 20px;
    }
    .page--g .faq-question h3 {
        font-size: 1.1em;
    }
    .page--g .faq-toggle {
        font-size: 1.8em;
    }
    .page--g .faq-answer {
        padding: 0 20px;
    }
    .page--g .faq-item.active .faq-answer {
        padding: 15px 20px;
    }
}

@media (max-width: 768px) {
    .page--g h1 {
        font-size: 2em;
    }
    .page--g h2 {
        font-size: 1.8em;
    }
    .page--g h3 {
        font-size: 1.3em;
    }
    .page--g p {
        font-size: 1em;
    }
    .page--g .hero-image {
        margin-bottom: 20px;
    }
    .page--g .hero-image img {
        border-radius: 8px;
    }
    .page--g .cta-button {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page--g .cta-button.large {
        padding: 12px 30px;
        font-size: 1.1em;
    }
    .page--g .feature-item img {
        width: 100px;
    }
    .page--g .step-item span {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
    }
    .page--g .safety-item img {
        width: 100px;
    }
    .page--g .faq-question h3 {
        font-size: 1em;
    }
    .page--g .faq-toggle {
        font-size: 1.5em;
    }
}

@media (max-width: 480px) {
    .page--g h1 {
        font-size: 1.8em;
    }
    .page--g h2 {
        font-size: 1.6em;
    }
    .page--g h3 {
        font-size: 1.2em;
    }
    .page--g .hero-section {
        padding: 40px 10px;
    }
    .page--g .hero-content p {
        font-size: 0.95em;
    }
    .page--g .cta-button {
        padding: 8px 20px;
        font-size: 0.9em;
    }
    .page--g .cta-button.large {
        padding: 10px 25px;
        font-size: 1em;
    }
    .page--g .feature-item, .page--g .step-item, .page--g .safety-item {
        padding: 20px;
    }
    .page--g .faq-question {
        padding: 12px 15px;
    }
    .page--g .faq-question h3 {
        font-size: 0.9em;
    }
    .page--g .faq-toggle {
        font-size: 1.2em;
    }
    .page--g .faq-answer {
        padding: 0 15px;
    }
    .page--g .faq-item.active .faq-answer {
        padding: 12px 15px;
    }
}