/* ===========================
   ALGORITHMS & STATS PAGE
   =========================== */
.center_section{
    padding: 20px;
}
.center_section h2{
    text-align: center;
    margin: 20px 0;
}
.comparison-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 5px;
    overflow: hidden;
}

.comparison-table thead {
    background-color: #1b2774;
    color: white;
}

.comparison-table th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.comparison-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

.comparison-table tbody tr:hover {
    background-color: #f9f9f9;
}

.insights-section {
    margin: 50px 0;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.insight-card {
    padding: 25px;
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    border-left: 4px solid #00cc99;
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.callout{
    padding: 20px;
}
.insight-card h4 {
    color: #1b2774;
    margin-top: 0;
}

.insight-card p {
    color: #333;
    line-height: 1.8;
}

.algorithm-detail {
    margin: 40px 0;
    background-color: #f9f9f9;
    padding: 20px;
}

.algorithm-detail h2 {
    color: #1b2774;
    margin-top: 30px;
}

.algorithm-detail h3 {
    color: #1b2774;
    margin-top: 25px;
}

.process-list {
    list-style: decimal;
    /* margin-left: 42px; */
    color: #ffffff;
    background-color: #004080;
    padding: 20px;
}

.process-list li {
    margin: 15px 0;
    line-height: 1.8;
    color: #ffffff;
}

.summary{
    list-style: decimal;
    /* margin-left: 42px; */
    color: #ffffff;
    background-color: #004080;
    padding: 20px;
}
.summary h2{
    color: #ffffff;
}
.summary p{
    text-align: center;
}
.summary > div {
    text-align: center;
}
.methodology-list {
    list-style: disc;
    margin-left: 20px;
    color: #333;
}

.methodology-list li {
    margin: 15px 0;
    line-height: 1.8;
}

.version-comparison {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 30px 0;
}

.version-card {
    padding: 25px;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.version-card h4 {
    color: #1b2774;
    margin-top: 0;
}

.version-card .metrics {
    background-color: white;
    padding: 15px;
    border-radius: 5px;
    margin-top: 15px;
}

.version-card .metrics p {
    margin: 8px 0;
    color: #333;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.metric-item {
    padding: 20px;
    background-color: #f0f4f8;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.metric-label {
    color: #666;
    font-size: 0.9em;
    margin: 0;
}

.metric-value {
    color: #1b2774;
    font-size: 1.8em;
    font-weight: bold;
    margin: 10px 0 0 0;
}

.benchmark-table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
}

.benchmark-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-radius: 5px;
    overflow: hidden;
}

.benchmark-table thead {
    background-color: #00cc99;
    color: white;
}

.benchmark-table th {
    padding: 15px;
    text-align: left;
    font-weight: bold;
}

.benchmark-table td {
    padding: 15px;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
}

.benchmark-table tbody tr:hover {
    background-color: #f9f9f9;
}

@media (max-width: 768px) {
    .version-comparison {
        grid-template-columns: 1fr;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.algorithms-overview-section,
.algorithm-profiles-section,
.development-approach-section,
.api-integration-section,
.cta-section {
    padding: 40px 0;
}

.algorithms-overview-section {
    background-color: #ffffff;
}

.algorithm-profiles-section h2,
.development-approach-section h2,
.api-integration-section h2,
.cta-section h2 {
    text-align: center;
    margin-bottom: 30px;
}

.algorithm-profile {
    background-color: #ffffff;
    padding: 15px;
    width: 28%;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.algorithm-profile h3 {
    color: #0056b3;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
    margin-bottom: 20px;
}

.kpi-item {
    background-color: #f8f9fa;
    padding: 10px 15px;
    border-radius: 4px;
    font-size: 0.95em;
}

.kpi-item strong {
    color: #003366;
}

.chart-placeholder {
    background-color: #e9ecef;
    padding: 5px;
    text-align: center;
    border-radius: 4px;
    color: #555;
}

.chart-placeholder img {
    width: 100%;
}

.cta-section {
    background-color: #003366;
    color: #ffffff;
    text-align: center;
}

.cta-section h2 {
    color: #ffffff;
}

.cta-section p {
    font-size: 1.1em;
    margin-bottom: 20px;
}


@media screen and (max-width: 1400px) {
    .algorithm-profile {
        width: 90%;
        margin: auto;
    }
}
@media screen and (max-width: 500px) {
    .center_section {
        padding: 5px;
    }
}
