/* style/index.css */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #333;
    line-height: 1.6;
}

.page-index-dark-bg {
    background-color: #1a1a1a;
    color: #f0f0f0;
}

.page-index-light-bg {
    background-color: #f8f8f8;
    color: #333;
}

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

.page-index-section {
    padding: 80px 0;
    text-align: center;
}

.page-index-center-text {
    text-align: center;
}

.page-index-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    color: #FFD700; /* Gold */
}

.page-index-subtitle {
    font-size: 1.4em;
    margin-bottom: 40px;
    color: #e0e0e0;
}

.page-index-heading {
    font-size: 2.5em;
    margin-bottom: 30px;
    font-weight: bold;
    color: #B22222; /* Firebrick */
}

.page-index-text-primary {
    color: #B22222;
}

.page-index-text-gold {
    color: #FFD700;
}

.page-index-text-light {
    color: #f0f0f0;
}

.page-index-text-light-variant {
    color: #dcdcdc;
}

.page-index-paragraph {
    font-size: 1.1em;
    margin-bottom: 20px;
    color: inherit;
}

.page-index-highlight {
    color: #B22222;
    font-weight: bold;
}

.page-index-highlight-gold {
    color: #FFD700;
    font-weight: bold;
}

/* Buttons */
.page-index-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    font-size: 1.1em;
    margin: 10px;
}

.page-index-btn-primary {
    background-color: #B22222;
    color: #ffffff;
    border: 2px solid #B22222;
}

.page-index-btn-primary:hover {
    background-color: #8B0000;
    border-color: #8B0000;
}

.page-index-btn-secondary {
    background-color: #FFD700;
    color: #333333;
    border: 2px solid #FFD700;
}

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

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

.page-index-btn-outline:hover {
    background-color: #B22222;
    color: #ffffff;
}

/* Hero Section */
.page-index-hero {
    position: relative;
    overflow: hidden;
    padding: 120px 0;
}

.page-index-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.page-index-hero-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.3;
}

.page-index-hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Grid Layouts */
.page-index-grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    text-align: left;
    margin-top: 40px;
}

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

.page-index-content-block, .page-index-image-block {
    padding: 20px;
}

.page-index-image-full {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Feature Items */
.page-index-feature-item {
    padding: 30px;
    border-radius: 10px;
    background-color: #2a2a2a;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.page-index-feature-item:hover {
    transform: translateY(-5px);
}

.page-index-feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px #FFD700);
}

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

.page-index-feature-description {
    font-size: 1em;
    color: #dcdcdc;
}

/* Detail Pages Section */
.page-index-detail-list {
    margin-top: 50px;
}

.page-index-card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease;
}

.page-index-card:hover {
    transform: translateY(-5px);
}

.page-index-card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.page-index-card-title {
    font-size: 1.3em;
    margin: 20px 20px 10px;
    color: #B22222;
}

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

.page-index-card-title a:hover {
    text-decoration: underline;
}

.page-index-card-description {
    font-size: 0.95em;
    color: #555;
    margin: 0 20px 20px;
}

.page-index-card .page-index-btn-outline {
    margin: 0 20px 20px;
}

/* CTA Group */
.page-index-cta-group {
    margin-top: 30px;
}

/* FAQ Section (Accordion) */
.page-index-accordion {
    margin-top: 40px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-index-accordion-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.page-index-accordion-header {
    background-color: #B22222;
    color: #ffffff;
    padding: 18px 25px;
    width: 100%;
    text-align: left;
    border: none;
    outline: none;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.page-index-accordion-header:hover, .page-index-accordion-header.active {
    background-color: #8B0000;
}

.page-index-accordion-header::after {
    content: '+';
    font-size: 1.5em;
    font-weight: bold;
}

.page-index-accordion-header.active::after {
    content: '-';
}

.page-index-accordion-content {
    padding: 0 25px;
    background-color: #fcfcfc;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.page-index-accordion-content.active {
    max-height: 200px; /* Adjust as needed */
    padding: 20px 25px;
}

.page-index-accordion-content p {
    margin: 0;
    color: #555;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-title {
        font-size: 2.8em;
    }
    .page-index-heading {
        font-size: 2em;
    }
    .page-index-grid-2-col {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .page-index-content-block, .page-index-image-block {
        padding: 10px;
    }
    .page-index-image-block {
        order: -1; /* Image first on mobile */
    }
}

@media (max-width: 768px) {
    .page-index-section {
        padding: 60px 0;
    }
    .page-index-title {
        font-size: 2.2em;
    }
    .page-index-subtitle {
        font-size: 1.2em;
    }
    .page-index-heading {
        font-size: 1.8em;
    }
    .page-index-btn {
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-grid-3-col {
        grid-template-columns: 1fr;
    }
    .page-index-hero {
        padding: 80px 0;
    }
    .page-index-accordion-header {
        font-size: 1.1em;
        padding: 15px 20px;
    }
    .page-index-accordion-content.active {
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .page-index-title {
        font-size: 1.8em;
    }
    .page-index-subtitle {
        font-size: 1em;
    }
    .page-index-heading {
        font-size: 1.5em;
    }
    .page-index-btn {
        width: 100%;
        margin: 10px 0;
    }
    .page-index-cta-group {
        display: flex;
        flex-direction: column;
    }
    .page-index-feature-icon {
        width: 60px;
        height: 60px;
    }
    .page-index-card-title {
        font-size: 1.1em;
    }
}