/* PERFORMANCE.CSS */

.performance-container {
    padding: 120px 5% 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.highlight { color: #00d65b; font-weight: 700; }
.center { text-align: center; }

/* --- Hero --- */
.performance-hero {
    text-align: center;
    padding: 40px 0 100px;
    animation: fadeIn 1s ease-out;
}
.performance-hero h1 { font-size: 3.5rem; margin-bottom: 25px; line-height: 1.2; }
.hero-subtitle { font-size: 1.3rem; color: #c0c0d0; max-width: 800px; margin: 0 auto; line-height: 1.6; }

/* --- Chart Sections --- */
.chart-section {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 120px;
}
.chart-section.reverse { flex-direction: row-reverse; }

.chart-text { flex: 1; }
.chart-text h2 { font-size: 2.5rem; margin-bottom: 25px; color: #fff; }
.chart-text p { font-size: 1.15rem; color: #c0c0d0; line-height: 1.7; margin-bottom: 30px; }

.feature-list { list-style: none; padding: 0; }
.feature-list li { margin-bottom: 15px; padding-left: 25px; position: relative; color: #e0e0e0; font-size: 1.1rem; }
.feature-list li::before { content: '✓'; color: #00d65b; position: absolute; left: 0; font-weight: bold; }

.chart-wrapper {
    flex: 1;
    background: rgba(13, 20, 35, 0.6);
    border: 1px solid rgba(0, 214, 91, 0.2);
    border-radius: 20px;
    padding: 30px;
    height: 400px; /* Fixed height for charts */
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* --- Metrics Grid --- */
.metrics-section { margin-bottom: 120px; }
.section-title { font-size: 2.5rem; margin-bottom: 50px; position: relative; }
.section-title::after { content: ''; display: block; width: 60px; height: 3px; background: #00d65b; margin: 15px auto 0; }
.metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.metric-card {
    background: rgba(20, 25, 45, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s;
}
.metric-card:hover { transform: translateY(-10px); border-color: #00d65b; }
.metric-icon { font-size: 3.5rem; margin-bottom: 20px; }
.metric-card h3 { color: #00d65b; font-size: 1.5rem; margin-bottom: 15px; }
.metric-card p { color: #b0b0c0; line-height: 1.6; }

/* --- Certificate Gallery --- */
.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}
.cert-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s;
}
.cert-card:hover { transform: scale(1.03); }
.cert-card img { width: 100%; height: 200px; object-fit: cover; border-bottom: 3px solid #00d65b; }
.cert-info { padding: 15px; text-align: center; background: #1a1a2e; }
.cert-info h4 { color: #fff; margin-bottom: 5px; font-size: 1.1rem; }
.cert-category { display: inline-block; background: rgba(0, 214, 91, 0.2); color: #00d65b; padding: 4px 10px; border-radius: 12px; font-size: 0.8rem; }
.no-certs { text-align: center; color: #a0a0b0; font-style: italic; grid-column: 1 / -1; }

/* --- Responsive --- */
@media (max-width: 992px) {
    .chart-section, .chart-section.reverse { flex-direction: column; gap: 40px; }
    .chart-wrapper { width: 100%; height: 350px; }
    .performance-hero h1 { font-size: 2.8rem; }
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }