:root {
    --primary: #c40000;
    --secondary: #003366;
    --bg-color: #f4f6f9;
    --text-color: #222;
    --white: #ffffff;
}

body {
    font-family: 'Roboto', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

.interactive-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    background: var(--white);
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
}

.main-header {
    background: linear-gradient(135deg, var(--secondary), #001f40);
    color: var(--white);
    padding: 40px 20px;
    text-align: center;
    border-radius: 12px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.main-title {
    margin: 0;
    font-size: 28px;
    font-weight: 900;
    line-height: 1.4;
    text-transform: uppercase;
}

.section {
    margin-bottom: 40px;
}

.section-header h2 {
    color: var(--primary);
    border-left: 5px solid var(--primary);
    padding-left: 15px;
    font-size: 24px;
    margin-bottom: 20px;
}

.sub-title {
    color: var(--secondary);
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.layout-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
    background: #fafafa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #eee;
}

.svg-container {
    flex: 1;
    min-width: 250px;
    text-align: center;
}

.text-content {
    flex: 2;
    min-width: 280px;
}

.btn-modal {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 12px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s transform, 0.3s background;
    margin-top: 15px;
}
.btn-modal:hover {
    background: #a00000;
    transform: translateY(-2px);
}

.text-center { text-align: center; }
.font-bold { font-weight: bold; }
.mt-3 { margin-top: 20px; }

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.stat-box {
    background: linear-gradient(135deg, #004080, var(--secondary));
    color: var(--white);
    padding: 30px 20px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    transform: translateY(0);
    transition: transform 0.3s;
}

.stat-box:hover {
    transform: translateY(-5px);
}

.stat-number {
    font-size: 42px;
    font-weight: 900;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-label {
    font-size: 16px;
    text-transform: uppercase;
    opacity: 0.9;
}

.charts-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

.chart-wrapper {
    flex: 1;
    min-width: 280px;
    max-width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.chart-wrapper h4 {
    text-align: center;
    color: var(--secondary);
    margin-top: 0;
    margin-bottom: 20px;
}

.divider {
    border: 0;
    height: 1px;
    background: #ddd;
    margin: 40px 0;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
}

.tab-btn {
    padding: 12px 25px;
    border: 2px solid var(--secondary);
    background: transparent;
    color: var(--secondary);
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active, .tab-btn:hover {
    background: var(--secondary);
    color: var(--white);
}

.tab-pane {
    display: none;
}
.tab-pane.active {
    display: block;
}

.cutri-section {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
}

.cutri-item {
    flex: 1;
    min-width: 300px;
    background: #fafafa;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border: 1px solid #eaeaea;
}

.huge-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--primary);
}

.cutri-desc {
    font-size: 16px;
    color: #666;
}

.conclusion-box {
    background: #eef4ff;
    border-left: 5px solid var(--primary);
    padding: 30px;
    border-radius: 0 10px 10px 0;
    font-size: 18px;
    color: var(--secondary);
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border: 1px solid #888;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    position: relative;
    animation: modalSlideIn 0.4s ease-out;
}

.close-btn {
    color: #aaa;
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-btn:hover { color: #000; }

/* Animations */
@keyframes modalSlideIn {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-left.visible { opacity: 1; transform: translateX(0); }

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}
.slide-in-right.visible { opacity: 1; transform: translateX(0); }

.scale-in {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.scale-in.visible { opacity: 1; transform: scale(1); }

.slide-up {
    animation: slideUpAnim 0.5s ease-out;
}
@keyframes slideUpAnim {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }

/* Responsive */
@media (max-width: 768px) {
    .main-title { font-size: 22px; }
    .stat-number { font-size: 32px; }
    .huge-number { font-size: 26px; }
    .cutri-item { flex-direction: column; text-align: center; }
}
