/* style/index.css */
.page-index-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.page-index-section-title {
    font-size: 2.5em;
    color: #004AAD;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.page-index-section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #FFD700;
    border-radius: 2px;
}

.page-index-section-subtitle {
    font-size: 1.2em;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
}

.page-index-btn {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1em;
    border: none;
}

.page-index-btn-primary {
    background-color: #FFD700;
    color: #004AAD;
    border: 2px solid #FFD700;
}

.page-index-btn-primary:hover {
    background-color: #e6c200;
    border-color: #e6c200;
    color: #003366;
}

.page-index-btn-secondary {
    background-color: transparent;
    color: #FFD700;
    border: 2px solid #FFD700;
    margin-left: 15px;
}

.page-index-btn-secondary:hover {
    background-color: #FFD700;
    color: #004AAD;
}

.page-index-btn-tertiary {
    background-color: #004AAD;
    color: #FFFFFF;
    border: 2px solid #004AAD;
    margin-left: 15px;
}

.page-index-btn-tertiary:hover {
    background-color: #003366;
    border-color: #003366;
}

.page-index-btn-outline {
    background-color: transparent;
    color: #004AAD;
    border: 2px solid #004AAD;
}

.page-index-btn-outline:hover {
    background-color: #004AAD;
    color: #FFFFFF;
}

.page-index-btn-large {
    padding: 15px 30px;
    font-size: 1.1em;
}

/* Hero Section */
.page-index-hero-section {
    background: linear-gradient(135deg, #004AAD 0%, #002855 100%);
    padding: 80px 0;
    color: #FFFFFF;
    text-align: center;
}

.page-index-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.page-index-hero-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: #FFD700;
}

.page-index-hero-description {
    font-size: 1.3em;
    max-width: 800px;
    margin-bottom: 40px;
    line-height: 1.6;
}

.page-index-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-index-hero-image-wrapper {
    margin-top: 50px;
}

.page-index-hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* About Section */
.page-index-about-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-index-about-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-index-about-text {
    flex: 2;
    text-align: justify;
    line-height: 1.8;
    color: #333;
}

.page-index-about-text h3 {
    color: #004AAD;
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-index-about-text p {
    margin-bottom: 15px;
}

.page-index-about-image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-index-about-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Features Section */
.page-index-features-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

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

.page-index-feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.page-index-feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    color: #004AAD;
}

.page-index-feature-title {
    font-size: 1.5em;
    color: #004AAD;
    margin-bottom: 15px;
}

.page-index-feature-description {
    color: #555;
    line-height: 1.7;
}

/* Detail Pages Section */
.page-index-detail-pages-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-index-detail-pages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.page-index-detail-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-detail-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.page-index-detail-card-title {
    font-size: 1.6em;
    color: #004AAD;
    margin-bottom: 15px;
    min-height: 70px; /* Ensure consistent height for titles */
}

.page-index-detail-card-title a {
    text-decoration: none;
    color: #004AAD;
}

.page-index-detail-card-title a:hover {
    color: #FFD700;
}

.page-index-detail-card-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
    min-height: 100px; /* Ensure consistent height for descriptions */
}

/* Tips Strategy Section */
.page-index-tips-strategy-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.page-index-tips-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.page-index-tips-image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-index-tips-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.page-index-tips-text {
    flex: 2;
    text-align: justify;
    line-height: 1.8;
    color: #333;
}

.page-index-tips-text h3 {
    color: #004AAD;
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-index-tips-text ul {
    list-style: disc inside;
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-index-tips-text li {
    margin-bottom: 10px;
    color: #333;
}

.page-index-tips-text strong {
    color: #004AAD;
}

/* Promotions Section */
.page-index-promotions-section {
    padding: 80px 0;
    background-color: #f0f8ff;
}

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

.page-index-promo-card {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-index-promo-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.page-index-promo-image {
    max-width: 100%;
    height: 200px; /* Fixed height for consistency */
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
}

.page-index-promo-title {
    font-size: 1.6em;
    color: #004AAD;
    margin-bottom: 10px;
}

.page-index-promo-description {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Guide Section */
.page-index-guide-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-index-step-item {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    position: relative;
    padding-top: 60px;
}

.page-index-step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #FFD700;
    color: #004AAD;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8em;
    font-weight: bold;
    border: 3px solid #004AAD;
}

.page-index-step-item h3 {
    font-size: 1.5em;
    color: #004AAD;
    margin-bottom: 15px;
}

.page-index-step-item p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

/* Community Section */
.page-index-community-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.page-index-community-content {
    text-align: justify;
    line-height: 1.8;
    color: #333;
}

.page-index-community-content h3 {
    color: #004AAD;
    font-size: 1.8em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-index-community-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 30px;
}

/* Testimonials Section */
.page-index-testimonials-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-index-testimonial-card {
    background-color: #f0f8ff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.page-index-testimonial-quote {
    font-style: italic;
    color: #333;
    margin-bottom: 20px;
    line-height: 1.8;
    font-size: 1.1em;
}

.page-index-testimonial-author {
    font-weight: bold;
    color: #004AAD;
    font-size: 1em;
}

/* CTA Section */
.page-index-cta-section {
    background: linear-gradient(135deg, #004AAD 0%, #002855 100%);
    padding: 80px 0;
    color: #FFFFFF;
    text-align: center;
}

.page-index-cta-title {
    font-size: 3em;
    color: #FFD700;
    margin-bottom: 20px;
}

.page-index-cta-description {
    font-size: 1.2em;
    max-width: 900px;
    margin: 0 auto 40px auto;
    line-height: 1.6;
}

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

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index-hero-title {
        font-size: 2.8em;
    }
    .page-index-hero-description {
        font-size: 1.1em;
    }
    .page-index-section-title {
        font-size: 2em;
    }
    .page-index-about-content, .page-index-tips-content {
        flex-direction: column;
    }
    .page-index-about-image-wrapper, .page-index-tips-image-wrapper {
        order: -1;
    }
}

@media (max-width: 768px) {
    .page-index-hero-section {
        padding: 60px 0;
    }
    .page-index-hero-title {
        font-size: 2.2em;
    }
    .page-index-hero-description {
        font-size: 1em;
    }
    .page-index-hero-buttons {
        flex-direction: column;
        gap: 10px;
    }
    .page-index-btn-secondary, .page-index-btn-tertiary {
        margin-left: 0;
    }
    .page-index-section-title {
        font-size: 1.8em;
    }
    .page-index-section-subtitle {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-index-about-section, .page-index-features-section, .page-index-detail-pages-section, .page-index-tips-strategy-section, .page-index-promotions-section, .page-index-guide-section, .page-index-community-section, .page-index-testimonials-section, .page-index-cta-section {
        padding: 60px 0;
    }
    .page-index-cta-title {
        font-size: 2.2em;
    }
    .page-index-cta-description {
        font-size: 1em;
    }
    .page-index-cta-buttons {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .page-index-hero-title {
        font-size: 1.8em;
    }
    .page-index-section-title {
        font-size: 1.5em;
    }
    .page-index-btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }
    .page-index-cta-title {
        font-size: 1.8em;
    }
}