/* style/index.css */

/* General Page Styling */
.page-index {
    font-family: 'Arial', sans-serif;
    color: #0A2342;
    line-height: 1.6;
}

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

.page-index-section-title {
    font-size: 2.5em;
    color: #0A2342;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

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

.page-index-section-description {
    text-align: center;
    font-size: 1.1em;
    color: #54657b;
    margin-bottom: 60px;
}

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

.page-index-btn-primary {
    background-color: #0A2342;
    color: #FFFFFF;
    border: 2px solid #0A2342;
}

.page-index-btn-primary:hover {
    background-color: #F5B041;
    border-color: #F5B041;
    color: #0A2342;
}

.page-index-btn-secondary {
    background-color: transparent;
    color: #0A2342;
    border: 2px solid #0A2342;
}

.page-index-btn-secondary:hover {
    background-color: #0A2342;
    color: #FFFFFF;
}

.page-index-btn-gold {
    background-color: #F5B041;
    color: #0A2342;
    border: 2px solid #F5B041;
}

.page-index-btn-gold:hover {
    background-color: #e0a03a;
    border-color: #e0a03a;
}

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

.page-index-btn-outline:hover {
    background-color: #0A2342;
    color: #FFFFFF;
}

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

.page-index-btn-outline-gold:hover {
    background-color: #F5B041;
    color: #0A2342;
}

.page-index-btn-link {
    color: #0A2342;
    text-decoration: none;
    font-weight: bold;
    padding: 0;
    border: none;
    background: none;
}

.page-index-btn-link:hover {
    color: #F5B041;
    text-decoration: underline;
}

.page-index-btn-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-index-button-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
}

/* Utility Classes */
.page-index-bg-dark-blue {
    background-color: #0A2342;
    color: #FFFFFF;
}

.page-index-bg-light-grey {
    background-color: #f7f7f7;
    color: #0A2342;
}

.page-index-responsive-image {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Grid Layouts */
.page-index-grid {
    display: grid;
    gap: 30px;
}

.page-index-grid-2-cols {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.page-index-grid-3-cols {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* Hero Section */
.page-index-hero {
    background: linear-gradient(135deg, #0A2342 0%, #1A3F6C 100%);
    color: #FFFFFF;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}

.page-index-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('[GALLERY:bg:abstract_pattern,geometric,dark_blue_gradient]') no-repeat center center/cover;
    opacity: 0.1;
    z-index: 0;
}

.page-index-hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin-right: 40px;
    text-align: left;
}

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

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

.page-index-hero-actions .page-index-btn {
    margin-right: 15px;
}

.page-index-hero-image-wrapper {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 450px;
    height: 450px;
}

.page-index-hero-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: page-index-float 3s ease-in-out infinite;
}

@keyframes page-index-float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0px); }
}

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

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

.page-index-about-text {
    flex: 2;
}

.page-index-about-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    color: #333;
}

.page-index-about-image {
    flex: 1;
    text-align: center;
}

.page-index-about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Featured Sections */
.page-index-featured-sections {
    padding: 80px 0;
    background-color: #f7f7f7;
}

.page-index-feature-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-index-feature-title {
    font-size: 1.8em;
    color: #0A2342;
    margin-bottom: 15px;
    text-align: center;
}

.page-index-feature-text {
    font-size: 1em;
    color: #54657b;
    text-align: center;
    margin-bottom: 20px;
}

.page-index-grid-item {
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

/* Promo Banner */
.page-index-promo-banner {
    padding: 60px 0;
    text-align: center;
    background-color: #0A2342;
    color: #FFFFFF;
}

.page-index-promo-title {
    font-size: 2.8em;
    color: #F5B041;
    margin-bottom: 20px;
}

.page-index-promo-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

/* Why Choose Us Section */
.page-index-why-choose-us {
    padding: 80px 0;
    background-color: #FFFFFF;
}

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

.page-index-why-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    filter: drop-shadow(0 5px 5px rgba(245, 176, 65, 0.3));
}

.page-index-why-title {
    font-size: 1.6em;
    color: #0A2342;
    margin-bottom: 10px;
}

.page-index-why-text {
    font-size: 1em;
    color: #54657b;
}

/* Download App Section */
.page-index-download-app {
    padding: 80px 0;
}

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

.page-index-download-text {
    flex: 1;
}

.page-index-download-text .page-index-section-title {
    text-align: left;
}

.page-index-download-text .page-index-section-title::after {
    left: 0;
    transform: translateX(0);
}

.page-index-download-description {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 30px;
}

.page-index-download-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.page-index-download-note {
    font-size: 0.9em;
    color: #777;
}

.page-index-download-image {
    flex: 1;
    text-align: center;
}

.page-index-download-image img {
    max-height: 450px;
    object-fit: contain;
}

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

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

.page-index-testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 20px;
    border: 3px solid #F5B041;
}

.page-index-testimonial-text {
    font-style: italic;
    color: #333;
    margin-bottom: 15px;
    font-size: 1.05em;
}

.page-index-testimonial-author {
    font-weight: bold;
    color: #0A2342;
}

/* CTA Banner */
.page-index-cta-banner {
    padding: 80px 0;
    text-align: center;
}

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

.page-index-cta-description {
    font-size: 1.3em;
    margin-bottom: 40px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    color: #e0e0e0;
}

.page-index-cta-content .page-index-btn {
    margin: 0 10px;
}

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

.page-index-detail-card {
    background-color: #fcfcfc;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.page-index-detail-title {
    font-size: 1.7em;
    color: #0A2342;
    margin-bottom: 15px;
}

.page-index-detail-title a {
    color: #0A2342;
    text-decoration: none;
}

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

.page-index-detail-description {
    font-size: 1em;
    color: #54657b;
    margin-bottom: 20px;
    flex-grow: 1;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .page-index-hero {
        flex-direction: column;
        padding: 80px 20px;
        min-height: auto;
    }

    .page-index-hero-content {
        margin-right: 0;
        margin-bottom: 40px;
        text-align: center;
    }

    .page-index-hero-title {
        font-size: 2.8em;
    }

    .page-index-hero-image-wrapper {
        width: 350px;
        height: 350px;
    }

    .page-index-about-content,
    .page-index-download-content {
        flex-direction: column;
    }

    .page-index-about-text,
    .page-index-download-text {
        order: 2;
    }

    .page-index-about-image,
    .page-index-download-image {
        order: 1;
        margin-bottom: 40px;
    }

    .page-index-download-text .page-index-section-title {
        text-align: center;
    }

    .page-index-download-text .page-index-section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .page-index-section-title {
        font-size: 2em;
    }

    .page-index-hero-title {
        font-size: 2.2em;
    }

    .page-index-hero-subtitle {
        font-size: 1.1em;
    }

    .page-index-hero-actions {
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .page-index-hero-actions .page-index-btn {
        margin-right: 0;
        width: 100%;
    }

    .page-index-grid-2-cols,
    .page-index-grid-3-cols {
        grid-template-columns: 1fr;
    }

    .page-index-promo-title,
    .page-index-cta-title {
        font-size: 2em;
    }

    .page-index-promo-description,
    .page-index-cta-description {
        font-size: 1em;
    }

    .page-index-download-buttons {
        flex-direction: column;
    }

    .page-index-cta-content .page-index-btn {
        margin: 10px 0;
        width: 100%;
    }
}