﻿/* ===== Analytics Section ===== */
.analytics-section {
    padding: 80px 20px;
    background: #fef6ff; /* soft light background */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
}

.analytics-title {
    font-size: 42px;
    font-weight: 800;
    color: #6a1b9a;
    margin-bottom: 20px;
}

.analytics-description {
    font-size: 18px;
    color: #333;
    max-width: 900px;
    margin: 0 auto 50px auto;
    line-height: 1.6;
}

.charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.chart-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

    .chart-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    }

    .chart-card h3 {
        font-size: 24px;
        font-weight: 700;
        margin-bottom: 20px;
        color: #ff4081;
    }

.full-width {
    grid-column: 1 / -1;
}

/* Canvas charts responsive */
.chart-card canvas {
    width: 100% !important;
    height: 300px !important;
}
