﻿:root {
    --primary: #2563eb;
    --secondary: #2563eb;
    --dark: #111827;
    --text: #6b7280;
    --border: #edf2f7;
    --bg: #f5f7fb;
    --white: #fff;
    --radius-lg: 24px;
    --radius-md: 18px;
    --shadow: 0 10px 30px rgba(0,0,0,.05);
    --transition: .3s ease;
}
body {
    background: var(--bg);
}
.modern-page {
    padding-top: 15px;
    overflow: hidden;
}
/* ================= HERO ================= */
.hero-section {
    padding: 10px 0 25px;
}
.hero-box {
    position: relative;
    background: linear-gradient(135deg,#ffffff 0%,#f8fbff 100%);
    border-radius: 28px;
    padding: 45px 35px;
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #eef2ff;
}
    .hero-box::before {
        content: "";
        position: absolute;
        width: 260px;
        height: 260px;
        border-radius: 50%;
        background: rgba(37,99,235,.05);
        top: -120px;
        @(isArabic ? "left:-120px;" : "right:-120px;")
    }
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
    margin: auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(37,99,235,.08);
    color: var(--primary);
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 18px;
}
    .hero-badge i {
        font-size: 12px;
    }
.hero-title {
    font-size: 38px;
    line-height: 1.4;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 18px;
}
    .hero-title span {
        background: linear-gradient(135deg,var(--primary),var(--secondary));
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
.hero-line {
    width: 65px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    margin: 0 auto 18px;
}
.hero-description {
    font-size: 15px;
    line-height: 2;
    color: var(--text);
    max-width: 700px;
    margin: auto;
}
/* ================= STATS ================= */
.hero-stats {
    margin-top: 30px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 14px;
}
.hero-stat {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px 15px;
    transition: var(--transition);
}
    .hero-stat:hover {
        transform: translateY(-4px);
        box-shadow: 0 12px 24px rgba(37,99,235,.08);
    }
.hero-stat-number {
    font-size: 24px;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 5px;
}
.hero-stat-label {
    font-size: 12px;
    color: var(--text);
    line-height: 1.7;
    font-weight: 600;
}
/* ================= CONTENT ================= */
.content-section {
    padding-bottom: 50px;
}
.content-card {
    position: relative;
    background: #fff;
    border-radius: 24px;
    margin-bottom: 28px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}
    .content-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 40px rgba(0,0,0,.06);
    }
    .content-card::before {
        content: "";
        position: absolute;
        top: 0;
        @(isArabic ? "right:0;" : "left:0;") width: 5px;
        height: 100%;
        background: linear-gradient(180deg,var(--primary),var(--secondary));
    }
.card-inner {
    padding: 32px;
}
.card-top {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}
.section-number {
    width: 58px;
    height: 58px;
    min-width: 58px;
    border-radius: 18px;
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
}
.section-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
    line-height: 1.5;
}
.section-title-line {
    width: 55px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(135deg,var(--primary),var(--secondary));
}
.section-description {
    background: #fafcff;
    border: 1px solid #eef2ff;
    border-radius: 20px;
    padding: 28px;
}
    .section-description p {
        font-size: 15px;
        line-height: 2;
        color: var(--text);
        margin-bottom: 18px;
    }
    .section-description h1,
    .section-description h2,
    .section-description h3,
    .section-description h4,
    .section-description h5,
    .section-description h6 {
        font-size: 22px;
        font-weight: 800;
        color: var(--dark);
        margin-top: 28px;
        margin-bottom: 14px;
        line-height: 1.6;
    }
    .section-description ul,
    .section-description ol {
        padding- @(isArabic ? "right" : "left"): 20px;
        margin-bottom: 20px;
    }
    .section-description li {
        font-size: 15px;
        color: var(--text);
        line-height: 2;
        margin-bottom: 10px;
    }
    .section-description img {
        max-width: 100%;
        border-radius: 18px;
        margin: 22px 0;
    }
    .section-description table {
        width: 100%;
        border-collapse: collapse;
        overflow: hidden;
        border-radius: 16px;
        margin: 22px 0;
    }
        .section-description table th {
            background: var(--primary);
            color: #fff;
            padding: 14px;
            font-size: 14px;
        }
        .section-description table td {
            padding: 14px;
            border: 1px solid #eef2ff;
            font-size: 14px;
            color: var(--text);
        }
        .section-description table tr:nth-child(even) {
            background: #f9fbff;
        }
/* ================= CTA ================= */
.bottom-cta {
    margin-top: 40px;
    background: linear-gradient(135deg,var(--primary),var(--secondary));
    border-radius: 28px;
    padding: 45px 30px;
    text-align: center;
    color: #fff;
    overflow: hidden;
    position: relative;
}
    .bottom-cta h2 {
        font-size: 30px;
        font-weight: 900;
        margin-bottom: 14px;
    }
    .bottom-cta p {
        font-size: 15px;
        line-height: 2;
        max-width: 650px;
        margin: auto auto 24px;
        color: rgba(255,255,255,.92);
    }
.bottom-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: var(--primary);
    padding: 14px 28px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
    transition: var(--transition);
}
    .bottom-cta-btn:hover {
        transform: translateY(-3px);
        color: var(--primary);
    }
/* ================= MOBILE ================= */
@media(max-width:991px) {
    .hero-stats {
        grid-template-columns: repeat(2,1fr);
    }
    .hero-title {
        font-size: 30px;
    }
}
@media(max-width:768px) {
    .hero-box {
        padding: 30px 20px;
        border-radius: 22px;
    }
    .hero-title {
        font-size: 24px;
    }
    .hero-description {
        font-size: 14px;
    }
    .hero-stats {
        grid-template-columns: 1fr;
    }
    .card-inner {
        padding: 22px;
    }
    .card-top {
        align-items: flex-start;
    }
    .section-number {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 18px;
    }
    .section-title {
        font-size: 20px;
    }
    .section-description {
        padding: 20px;
    }
        .section-description p,
        .section-description li {
            font-size: 14px;
        }
        .section-description h1,
        .section-description h2,
        .section-description h3,
        .section-description h4,
        .section-description h5,
        .section-description h6 {
            font-size: 19px;
        }
    .bottom-cta {
        padding: 35px 20px;
    }
        .bottom-cta h2 {
            font-size: 24px;
        }
}
