/* style/index.css */

/* Variables for consistency */
:root {
    --page-index-primary-color: #1A1A2E;
    --page-index-accent-color: #FFD700;
    --page-index-text-light: #F0F0F0;
    --page-index-text-dark: #1A1A2E;
    --page-index-background-dark: #121212;
    --page-index-background-medium: #2C2C3E;
    --page-index-background-light: #f4f4f4;
    --page-index-border-color: rgba(255, 215, 0, 0.3);
}

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

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

.page-index-section-title {
    font-size: 2.8em;
    color: var(--page-index-accent-color);
    text-align: center;
    margin-bottom: 20px;
    padding-top: 40px;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.page-index-section-description {
    text-align: center;
    font-size: 1.1em;
    color: var(--page-index-text-light);
    max-width: 800px;
    margin: 0 auto 50px auto;
}

/* Buttons */
.page-index-btn {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.page-index-btn-primary {
    background-color: var(--page-index-accent-color);
    color: var(--page-index-text-dark);
}

.page-index-btn-primary:hover {
    background-color: #e6c200; /* Slightly darker gold */
    transform: translateY(-2px);
}

.page-index-btn-secondary {
    background-color: transparent;
    color: var(--page-index-accent-color);
    border: 2px solid var(--page-index-accent-color);
}

.page-index-btn-secondary:hover {
    background-color: var(--page-index-accent-color);
    color: var(--page-index-text-dark);
    transform: translateY(-2px);
}

.page-index-btn-tertiary {
    background-color: var(--page-index-background-medium);
    color: var(--page-index-accent-color);
    border: 1px solid var(--page-index-border-color);
}

.page-index-btn-tertiary:hover {
    background-color: var(--page-index-accent-color);
    color: var(--page-index-text-dark);
    transform: translateY(-2px);
}

.page-index-btn-small {
    padding: 8px 18px;
    font-size: 0.95em;
    border-radius: 3px;
    background-color: var(--page-index-accent-color);
    color: var(--page-index-text-dark);
}

.page-index-btn-small:hover {
    background-color: #e6c200;
    transform: translateY(-1px);
}

/* Hero Section */
.page-index-hero {
    position: relative;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    background-color: var(--page-index-primary-color);
}

.page-index-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    opacity: 0.4;
}

.page-index-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.8), rgba(255, 215, 0, 0.2));
    z-index: 2;
}

.page-index-hero-content {
    position: relative;
    z-index: 3;
    color: var(--page-index-text-light);
    max-width: 900px;
    padding: 20px;
}

.page-index-hero-title {
    font-size: 3.8em;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--page-index-text-light);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
}

.page-index-hero-subtitle {
    font-size: 1.5em;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.page-index-hero-buttons .page-index-btn {
    margin: 0 15px;
}

/* About Us Section */
.page-index-about-us {
    background-color: var(--page-index-primary-color);
    padding: 60px 0;
    border-bottom: 1px solid var(--page-index-border-color);
}

.page-index-about-content {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--page-index-text-light);
    text-align: justify;
}

.page-index-about-content p {
    margin-bottom: 1.5em;
}

.page-index-about-content strong {
    color: var(--page-index-accent-color);
}

.page-index-about-content .page-index-btn {
    margin-top: 30px;
    display: table; /* To center the button */
    margin-left: auto;
    margin-right: auto;
}

/* Core Services Section */
.page-index-core-services {
    background-color: var(--page-index-background-dark);
    padding: 80px 0;
}

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

.page-index-service-item {
    background-color: var(--page-index-background-medium);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--page-index-border-color);
}

.page-index-service-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.page-index-service-icon {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

.page-index-service-title {
    font-size: 1.8em;
    color: var(--page-index-accent-color);
    margin-bottom: 15px;
}

.page-index-service-description {
    font-size: 1em;
    color: var(--page-index-text-light);
    margin-bottom: 25px;
    min-height: 70px; /* Ensure consistent height */
}

/* Why Choose Us Section */
.page-index-why-choose-us {
    background-color: var(--page-index-primary-color);
    padding: 80px 0;
    border-top: 1px solid var(--page-index-border-color);
    border-bottom: 1px solid var(--page-index-border-color);
}

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

.page-index-feature-item {
    background-color: var(--page-index-background-medium);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-index-border-color);
}

.page-index-feature-icon {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 15px;
    filter: brightness(1.2) drop-shadow(0 0 5px rgba(255, 215, 0, 0.3));
}

.page-index-feature-title {
    font-size: 1.5em;
    color: var(--page-index-accent-color);
    margin-bottom: 10px;
}

.page-index-feature-description {
    font-size: 1em;
    color: var(--page-index-text-light);
}

/* Promotions Section */
.page-index-promotions {
    background-color: var(--page-index-background-dark);
    padding: 80px 0;
}

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

.page-index-promotion-card {
    background-color: var(--page-index-background-medium);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    border: 1px solid var(--page-index-border-color);
}

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

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

.page-index-promotion-card h3, .page-index-promotion-card p {
    padding: 0 25px;
}

.page-index-promotion-title {
    font-size: 1.6em;
    color: var(--page-index-accent-color);
    margin: 20px 0 10px;
}

.page-index-promotion-description {
    font-size: 0.95em;
    color: var(--page-index-text-light);
    margin-bottom: 20px;
}

.page-index-promotion-card .page-index-btn {
    display: block;
    width: calc(100% - 50px);
    margin: 0 25px 25px;
}

.page-index-full-promo-btn-wrapper {
    text-align: center;
    margin-top: 50px;
}

/* How to Start Section */
.page-index-how-to-start {
    background-color: var(--page-index-primary-color);
    padding: 80px 0;
    border-top: 1px solid var(--page-index-border-color);
}

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

.page-index-step-item {
    background-color: var(--page-index-background-medium);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    border: 1px solid var(--page-index-border-color);
}

.page-index-step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--page-index-accent-color);
    color: var(--page-index-text-dark);
    border-radius: 50%;
    font-size: 2.5em;
    font-weight: bold;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.page-index-step-title {
    font-size: 1.8em;
    color: var(--page-index-accent-color);
    margin-bottom: 15px;
}

.page-index-step-description {
    font-size: 1em;
    color: var(--page-index-text-light);
    margin-bottom: 25px;
}

/* Mobile App Section */
.page-index-mobile-app {
    background-color: var(--page-index-background-dark);
    padding: 80px 0;
    border-top: 1px solid var(--page-index-border-color);
}

.page-index-mobile-app-flex {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.page-index-mobile-app-content {
    flex: 1;
    min-width: 300px;
}

.page-index-mobile-app-content ul {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.page-index-mobile-app-content ul li {
    font-size: 1.1em;
    color: var(--page-index-text-light);
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
}

.page-index-mobile-app-content ul li::before {
    content: '✓';
    color: var(--page-index-accent-color);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2em;
}

.page-index-mobile-app-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.page-index-mobile-app-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.4));
}

/* Detail Pages Section */
.page-index-detail-pages {
    background-color: var(--page-index-primary-color);
    padding: 80px 0;
    border-top: 1px solid var(--page-index-border-color);
}

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

.page-index-detail-item {
    background-color: var(--page-index-background-medium);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--page-index-border-color);
}

.page-index-detail-title {
    font-size: 1.6em;
    margin-bottom: 10px;
}

.page-index-detail-title a {
    color: var(--page-index-accent-color);
    text-decoration: none;
}

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

.page-index-detail-description {
    font-size: 0.95em;
    color: var(--page-index-text-light);
    margin-bottom: 20px;
    min-height: 50px;
}

/* Call to Action Bottom Section */
.page-index-cta-bottom {
    background-color: var(--page-index-accent-color);
    padding: 60px 0;
    text-align: center;
    color: var(--page-index-text-dark);
}

.page-index-cta-title {
    font-size: 2.5em;
    margin-bottom: 15px;
    color: var(--page-index-text-dark);
}

.page-index-cta-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: rgba(0, 0, 0, 0.8);
}

.page-index-cta-buttons .page-index-btn {
    margin: 0 15px;
}

.page-index-cta-buttons .page-index-btn-primary {
    background-color: var(--page-index-primary-color);
    color: var(--page-index-accent-color);
}

.page-index-cta-buttons .page-index-btn-primary:hover {
    background-color: #000;
    color: var(--page-index-accent-color);
}

.page-index-cta-buttons .page-index-btn-secondary {
    background-color: transparent;
    border-color: var(--page-index-primary-color);
    color: var(--page-index-primary-color);
}

.page-index-cta-buttons .page-index-btn-secondary:hover {
    background-color: var(--page-index-primary-color);
    color: var(--page-index-accent-color);
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-index-hero-title {
        font-size: 3em;
    }
    .page-index-hero-subtitle {
        font-size: 1.3em;
    }
    .page-index-section-title {
        font-size: 2.2em;
    }
    .page-index-mobile-app-flex {
        flex-direction: column;
        text-align: center;
    }
    .page-index-mobile-app-content {
        order: 2;
    }
    .page-index-mobile-app-image-wrapper {
        order: 1;
    }
    .page-index-mobile-app-content ul {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-index-hero {
        height: 60vh;
    }
    .page-index-hero-title {
        font-size: 2.5em;
    }
    .page-index-hero-subtitle {
        font-size: 1.1em;
    }
    .page-index-hero-buttons .page-index-btn {
        margin: 10px 8px;
        padding: 12px 25px;
        font-size: 1em;
    }
    .page-index-section-title {
        font-size: 1.8em;
    }
    .page-index-section-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .page-index-services-grid, .page-index-features-grid, .page-index-promotion-cards, .page-index-steps-grid, .page-index-detail-grid {
        grid-template-columns: 1fr;
    }
    .page-index-cta-title {
        font-size: 2em;
    }
    .page-index-cta-description {
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .page-index-hero {
        height: 50vh;
    }
    .page-index-hero-title {
        font-size: 2em;
    }
    .page-index-hero-subtitle {
        font-size: 0.9em;
    }
    .page-index-hero-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .page-index-hero-buttons .page-index-btn {
        width: 80%;
        margin: 0 auto;
    }
    .page-index-section-title {
        font-size: 1.6em;
    }
    .page-index-about-content p, .page-index-service-description, .page-index-feature-description, .page-index-promotion-description, .page-index-step-description, .page-index-mobile-app-content ul li, .page-index-detail-description {
        font-size: 0.9em;
    }
    .page-index-cta-title {
        font-size: 1.8em;
    }
    .page-index-cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
     .page-index-cta-buttons .page-index-btn {
        width: 80%;
        margin: 0 auto;
    }
}