:root {
    /* --- BRAND COLORS - UPDATED FROM LOGO --- */
    --brand-primary: #1C5F9D; /* Blue from your logo */
    --brand-secondary: #164a78; /* Darker shade of the blue */
    --brand-tertiary: #E09F3D; /* Orange/Gold from your logo */
    /* --- LAYOUT COLORS --- */
    --color-background: #f8f9fa;
    --color-content-bg: #ffffff;
    --color-border: #dee2e6;
    --color-shadow: rgba(0, 0, 0, 0.08);
    /* --- TEXT & TYPOGRAPHY --- */
    --text-color-dark: #343a40;
    --text-color-light: #ffffff;
    --text-color-secondary: #6c757d;
    /* --- CHART COLORS --- */
    --chart-bar-color: var(--brand-primary);
}

/* * {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
} */

body {
    /* Updated Font Stack for better aesthetics and readability across systems */
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    background-color: var(--color-background);
    transition: all 0.3s ease-in-out;
}

/* Base RTL/LTR Support for Text Alignment */
html[dir="rtl"] body {
    text-align: right;
}

html[dir="ltr"] body {
    text-align: left;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Header --- */
#main-header {
    background-color: var(--brand-primary);
    color: var(--text-color-light);
    padding: 0 0;
    min-height: 65px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

    #main-header .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 65px;
    }

.logo-image {
    height: 40px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.1));
}

#lang-toggle {
    background: none;
    color: var(--text-color-light);
    border: 1px solid var(--text-color-light);
    padding: 0.4rem 0.9rem;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.3s, border-color 0.3s, color 0.3s;
    font-weight: 500;
    font-size: 0.9rem;
}

    #lang-toggle:hover {
        background-color: var(--brand-tertiary);
        border-color: var(--brand-tertiary);
        color: var(--text-color-dark);
    }

/* --- Hero Section (Aesthetic Update) --- */
#hero-section {
    text-align: center;
    color: var(--text-color-light); /* Light text for dark background */
    /* Professional Background Setup - ENHANCED */
    /* Placeholder Image for the concept of "Future Management" */
    border-radius: 12px;
    margin-top: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4); /* Stronger shadow */
    transition: all 0.5s ease-in-out;
    height: 60vh;
}
.swiper {
    height: 100%;
}   
.swiper-slide{
    background-size: cover;
    height: 100%;
    background-repeat: no-repeat;
    background-attachment: fixed; /* Subtle Parallax/Fixed effect */
}
.swiper-slide .content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: absolute !important;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
    #hero-section h2 {
        font-size: 3rem; /* Larger font */
        color: var(--text-color-light);
        margin-bottom: 1.5rem;
        text-shadow: 0 3px 6px rgba(0, 0, 0, 0.8);
    }

    #hero-section p {
        font-size: 1.4rem; /* Larger font */
        max-width: 900px;
        margin: 0 auto 2rem auto; /* Added margin-bottom for new CTA button */
        color: rgba(255, 255, 255, 0.9);
    }

/* NEW: Hero CTA Button */
.hero-cta-button {
    display: inline-block;
    background-color: var(--brand-tertiary); /* Use the accent color */
    color: var(--text-color-dark);
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 1rem;
    border: 3px solid var(--brand-tertiary);
    transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(224, 159, 61, 0.6); /* Soft glow effect */
}

    .hero-cta-button:hover {
        background-color: var(--brand-primary); /* Invert colors on hover */
        color: var(--text-color-light);
        border-color: var(--text-color-light);
        transform: translateY(-3px);
        box-shadow: 0 6px 20px rgba(224, 159, 61, 0.8);
    }

/* --- General Section Styles --- */
#trust-section, #value-section, #strategy-section, #platform-features, #deployment-options {
    padding: 3rem 0;
    margin-top: 2rem;
}

    #trust-section h2, #value-section h2, #strategy-section h2, #platform-features h2, #deployment-options h2, #modules-section h2, #bi-reports-section h2 {
        text-align: center;
        margin-bottom: 2.5rem;
        font-size: 2rem;
        color: var(--text-color-dark);
    }


/* --- Platform Features Grid --- */
#platform-features {
    background-color: var(--color-background);
    border-top: 1px solid var(--color-border);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--color-content-bg);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px var(--color-shadow);
    transition: transform 0.3s;
}

    .feature-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    }

    .feature-card h3 {
        font-size: 1.3rem;
        color: var(--brand-secondary);
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
        border-bottom: 2px solid var(--color-border);
    }

.deployment-card {
    background-color: #e6f3ff; /* Light blue accent background */
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px var(--color-shadow);
    border-left: 4px solid var(--brand-tertiary);
}

    .deployment-card h3 {
        color: var(--brand-primary);
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }


/* --- Trust Section (Success Stories) --- */
.success-stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 2rem;
}

.story-card {
    background-color: var(--color-content-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--color-shadow);
    border-top: 5px solid var(--brand-tertiary);
}

    .story-card h3 {
        color: var(--brand-primary);
        margin-bottom: 1rem;
        font-size: 1.5rem;
    }

    .story-card blockquote {
        margin-top: 1.5rem;
        padding-top: 1rem;
        border-top: 1px dashed var(--color-border);
        font-style: italic;
        color: var(--text-color-secondary);
        position: relative;
        font-size: 1.1rem;
    }
        /* Quote icon positioning for RTL/LTR */
        .story-card blockquote::before {
            content: "“";
            position: absolute;
            top: 5px;
            font-size: 3rem;
            line-height: 0;
            color: var(--brand-tertiary);
            opacity: 0.5;
        }

html[dir="rtl"] .story-card blockquote::before {
    right: 0;
}

html[dir="ltr"] .story-card blockquote::before {
    left: 0;
}


/* --- Modules Section (Interactive Tabs) --- */
#modules-section {
    padding: 2rem 0;
    background-color: var(--color-content-bg);
    border-radius: 10px;
    box-shadow: 0 5px 20px var(--color-shadow);
    margin-bottom: 3rem;
}

#module-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    border-bottom: 2px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.tab-button {
    background: none;
    border: none;
    padding: 1rem 1.5rem;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-color-dark);
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin: 0 0.5rem;
}

    .tab-button:hover {
        color: var(--brand-primary);
    }

    .tab-button.active {
        color: var(--brand-primary);
        border-bottom-color: var(--brand-primary);
    }

#module-content {
    padding: 1.5rem 2rem;
    min-height: 200px;
}

.module-details h3 {
    color: var(--brand-primary);
    font-size: 1.7rem;
    margin-bottom: 1rem;
}

.module-benefits-container {
    margin-top: 2rem;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: #e6f3ff;
    border-left: 5px solid var(--brand-primary);
    border-right: 5px solid var(--brand-primary);
}

    .module-benefits-container h4 {
        color: var(--brand-secondary);
        font-size: 1.2rem;
        margin-bottom: 1rem;
        padding-bottom: 0.5rem;
        border-bottom: 1px dashed var(--color-border);
    }

.benefits-list {
    list-style-type: none;
    margin-top: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem 2rem;
}

    .benefits-list li {
        padding: 0.2rem 0;
        font-size: 1rem;
        color: var(--text-color-dark);
        position: relative;
        line-height: 1.4;
    }

        .benefits-list li::before {
            content: "◆";
            color: var(--brand-tertiary);
            font-weight: bold;
            position: absolute;
            top: 5px;
        }

html[dir="ltr"] .benefits-list li {
    padding-left: 20px;
}

    html[dir="ltr"] .benefits-list li::before {
        left: 0;
    }

html[dir="rtl"] .benefits-list li {
    padding-right: 20px;
}

    html[dir="rtl"] .benefits-list li::before {
        right: 0;
    }

.module-section-title {
    color: var(--text-color-dark);
    font-size: 1.4rem;
    margin-top: 3rem;
    margin-bottom: 1rem;
    padding-bottom: 5px;
    border-bottom: 3px solid var(--color-border);
    display: inline-block;
}

.details-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1.5rem;
}

    .details-table th, .details-table td {
        padding: 12px 15px;
        border: 1px solid var(--color-border);
    }

    .details-table th {
        background-color: var(--brand-secondary);
        color: var(--text-color-light);
        text-align: inherit;
    }

    .details-table tr:nth-child(even) {
        background-color: #f2f2f2;
    }


/* --- NEW: BI Reports Section Styling --- */
#bi-reports-section {
    padding: 4rem 0;
    background-color: #e9ecef; /* Light gray background for contrast */
    border-top: 1px solid var(--color-border);
}

    #bi-reports-section h2 {
        font-size: 2.2rem;
        color: var(--brand-secondary);
        margin-bottom: 3rem;
        text-shadow: 0 1px 2px rgba(0,0,0,0.1);
    }

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 1rem;
}

.chart-card {
    background-color: var(--color-content-bg);
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15); /* Premium shadow */
    max-width: 100%;
    height: 380px; /* Slightly increased height for better visual */
}

.chart-container-title {
    color: var(--brand-secondary);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: center;
    font-size: 1.1rem;
}

.chart-insight {
    margin-top: 0.75rem;
    padding: 0.75rem;
    border-radius: 4px;
    font-size: 0.9rem;
    background-color: #fffaf0; /* Light cream background for insight */
    border: 1px solid var(--brand-tertiary);
    color: var(--text-color-dark);
}


/* --- Strategy & Value Cards Grid (Existing) --- */
.value-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.strategy-card {
    background-color: var(--color-content-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--color-shadow);
}

    .strategy-card h3 {
        color: var(--brand-primary);
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }

.value-card {
    background-color: var(--color-content-bg);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--color-shadow);
    border-bottom: 5px solid var(--brand-primary);
}

    .value-card h3 {
        color: var(--text-color-dark);
        font-size: 1.4rem;
        margin-bottom: 1rem;
        border-bottom: 2px solid var(--brand-secondary);
        display: inline-block;
        padding-bottom: 5px;
    }

.value-list {
    list-style-type: none;
    margin-top: 1rem;
    padding: 0;
}

    .value-list li {
        padding: 0.5rem 0;
        font-weight: 500;
        color: var(--text-color-dark);
        position: relative;
    }

        .value-list li:before {
            content: "✓";
            color: var(--brand-primary);
            position: absolute;
            font-weight: bold;
        }

html[dir="ltr"] .value-list li {
    padding-left: 25px;
}

    html[dir="ltr"] .value-list li:before {
        left: 0;
    }

html[dir="rtl"] .value-list li {
    padding-right: 25px;
}

    html[dir="rtl"] .value-list li:before {
        right: 0;
    }


/* --- CTA Section --- */
#cta-section {
    text-align: center;
    padding: 3rem 0;
}

.cta-button {
    display: inline-block;
    background-color: var(--brand-primary);
    color: var(--text-color-light);
    padding: 1rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    margin-top: 1rem;
    transition: background-color 0.3s, transform 0.3s;
}

    .cta-button:hover {
        background-color: var(--brand-secondary);
        transform: translateY(-2px);
    }

/* --- Footer --- */
footer {
    background-color: var(--text-color-dark);
    color: var(--text-color-light);
    text-align: center;
    margin-top: 2rem;
}

/* --- ANIMATION & RESPONSIVENESS --- */
.fade-in {
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1000px) {
    .success-stories-grid {
        grid-template-columns: 1fr;
    }

    .charts-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    #hero-section {
        padding: 4rem 1rem;
    }

        #hero-section h2 {
            font-size: 2.5rem;
        }

        #hero-section p {
            font-size: 1.2rem;
        }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .value-cards-grid {
        grid-template-columns: 1fr;
    }

    .tab-button {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }

    #module-tabs {
        justify-content: flex-start;
        padding: 0 10px;
    }

    #main-header .container {
        min-height: 60px;
    }

    .logo-image {
        height: 35px;
    }
}
