* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Cairo", sans-serif;
    background: #f7fbff;
    color: #183b63;
    min-height: 100vh;
    overflow-x: hidden;
}


/* =========================
   الخلفية
========================= */

.bg-shapes {
    position: fixed;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: -1;
}

.bg-shapes span {
    position: absolute;
    display: block;
    border-radius: 50%;
    background: rgba(32, 150, 237, 0.06);
    filter: blur(1px);
}

.bg-shapes span:nth-child(1) {
    width: 260px;
    height: 260px;
    top: 5%;
    right: -100px;
}

.bg-shapes span:nth-child(2) {
    width: 180px;
    height: 180px;
    top: 35%;
    left: -70px;
}

.bg-shapes span:nth-child(3) {
    width: 130px;
    height: 130px;
    top: 65%;
    right: 5%;
}

.bg-shapes span:nth-child(4) {
    width: 220px;
    height: 220px;
    bottom: -100px;
    left: 10%;
}

.bg-shapes span:nth-child(5) {
    width: 90px;
    height: 90px;
    top: 20%;
    left: 30%;
}


/* =========================
   الهيدر
========================= */

.policy-header {
    width: min(1100px, calc(100% - 30px));
    margin: 25px auto 0;

    display: flex;
    align-items: center;
    justify-content: center;

    position: relative;
}

.brand {
    text-align: center;
}

.logo-box {
    width: 92px;
    height: 92px;

    margin: auto;

    background: #fff;
    border-radius: 28px;

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow:
        0 12px 35px rgba(32, 150, 237, 0.14);

    border: 1px solid rgba(32, 150, 237, 0.08);
}

.logo-box img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

.brand h1 {
    margin-top: 14px;

    font-size: clamp(25px, 5vw, 40px);
    font-weight: 800;

    color: #123c68;
}

.brand p {
    margin-top: 2px;

    color: #6b87a3;
    font-size: 13px;
}


/* زر الرجوع */

.back-button {
    position: absolute;
    right: 0;
    top: 15px;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    text-decoration: none;

    color: #168de0;
    background: #fff;

    border-radius: 15px;

    box-shadow: 0 8px 25px rgba(24, 101, 160, 0.10);

    transition: 0.25s ease;
}

.back-button:hover {
    transform: translateX(4px);
    background: #168de0;
    color: #fff;
}


/* =========================
   الصفحة
========================= */

.policy-page {
    width: min(900px, calc(100% - 30px));
    margin: 55px auto 0;
}


/* العنوان */

.page-title {
    display: flex;
    align-items: center;
    gap: 18px;

    margin-bottom: 28px;
}

.title-icon {
    width: 62px;
    height: 62px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 20px;

    background: linear-gradient(
        135deg,
        #28b9e9,
        #1877df
    );

    color: white;

    font-size: 25px;

    box-shadow:
        0 12px 30px rgba(24, 119, 223, 0.20);
}

.small-title {
    color: #2196ed;
    font-size: 13px;
    font-weight: 700;
}

.page-title h2 {
    color: #123c68;
    font-size: clamp(25px, 5vw, 36px);
    font-weight: 800;
    line-height: 1.3;
}

.page-title p {
    color: #7b91a7;
    font-size: 13px;
}


/* =========================
   البطاقات
========================= */

.policy-card {
    position: relative;

    display: flex;
    align-items: flex-start;
    gap: 20px;

    background: rgba(255, 255, 255, 0.90);

    border: 1px solid rgba(32, 150, 237, 0.10);

    border-radius: 24px;

    padding: 25px;

    margin-bottom: 18px;

    box-shadow:
        0 10px 35px rgba(28, 91, 140, 0.07);

    transition: transform 0.25s ease,
                box-shadow 0.25s ease;
}

.policy-card:hover {
    transform: translateY(-3px);

    box-shadow:
        0 16px 40px rgba(28, 91, 140, 0.11);
}


/* البطاقة الأولى */

.intro-card {
    background:
        linear-gradient(
            135deg,
            rgba(32, 150, 237, 0.10),
            rgba(255, 255, 255, 0.95)
        );

    border-color: rgba(32, 150, 237, 0.15);
}


/* أيقونات الأقسام */

.section-icon {
    width: 52px;
    height: 52px;

    flex-shrink: 0;

    border-radius: 16px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: #eaf5ff;
    color: #168fe3;

    font-size: 21px;
}

.section-icon.blue {
    background: #eaf5ff;
    color: #168fe3;
}

.section-icon.green {
    background: #eafaf3;
    color: #18a66a;
}

.section-icon.orange {
    background: #fff5e9;
    color: #f28a24;
}

.section-icon.purple {
    background: #f4edff;
    color: #8555d6;
}

.section-icon.cyan {
    background: #e9fbfc;
    color: #13a6b5;
}


/* محتوى البطاقة */

.section-content {
    flex: 1;
}

.section-number {
    display: inline-block;

    color: #2196ed;

    font-size: 12px;
    font-weight: 800;

    margin-bottom: 2px;
}

.section-content h3 {
    color: #123c68;

    font-size: 20px;
    font-weight: 800;

    margin-bottom: 9px;
}

.section-content p {
    color: #637b92;

    font-size: 15px;
    line-height: 2;

    font-weight: 500;
}

.intro-card .section-content h3 {
    font-size: 22px;
}

.intro-card .section-content p {
    color: #526e87;
}


/* =========================
   الملاحظة
========================= */

.policy-note {
    display: flex;
    align-items: center;
    gap: 12px;

    margin: 25px 0;

    padding: 17px 20px;

    border-radius: 18px;

    background: rgba(32, 150, 237, 0.07);

    border: 1px solid rgba(32, 150, 237, 0.10);

    color: #55738d;
}

.policy-note i {
    color: #2196ed;
    font-size: 20px;
}

.policy-note p {
    font-size: 13px;
    line-height: 1.9;
}


/* =========================
   زر الصفحة الرئيسية
========================= */

.page-actions {
    display: flex;
    justify-content: center;

    margin: 35px 0 55px;
}

.home-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;

    padding: 13px 27px;

    color: white;
    text-decoration: none;

    background: linear-gradient(
        135deg,
        #20b7e9,
        #167bdc
    );

    border-radius: 15px;

    font-size: 14px;
    font-weight: 700;

    box-shadow:
        0 10px 25px rgba(22, 123, 220, 0.20);

    transition: 0.25s ease;
}

.home-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 14px 30px rgba(22, 123, 220, 0.28);
}


/* =========================
   الفوتر
========================= */

footer {
    width: min(900px, calc(100% - 30px));

    margin: 0 auto 30px;

    text-align: center;
}

.footer-line {
    height: 1px;

    width: 100%;

    background: rgba(32, 150, 237, 0.13);

    margin-bottom: 20px;
}

footer p {
    color: #687f95;

    font-size: 13px;
    font-weight: 600;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    margin-top: 13px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 6px;

    color: #2196ed;

    text-decoration: none;

    font-size: 12px;
    font-weight: 600;

    transition: 0.2s;
}

.footer-links a:hover {
    color: #126ab0;
}


/* =========================
   الجوال
========================= */

@media (max-width: 600px) {

    .policy-header {
        margin-top: 18px;
    }

    .logo-box {
        width: 76px;
        height: 76px;
        border-radius: 22px;
    }

    .logo-box img {
        width: 60px;
        height: 60px;
    }

    .brand h1 {
        font-size: 27px;
        margin-top: 10px;
    }

    .brand p {
        font-size: 11px;
    }

    .back-button {
        right: 0;
        top: 5px;

        width: 40px;
        height: 40px;

        border-radius: 13px;
    }

    .policy-page {
        width: calc(100% - 22px);
        margin-top: 40px;
    }

    .page-title {
        gap: 12px;
        margin-bottom: 20px;
    }

    .title-icon {
        width: 52px;
        height: 52px;

        border-radius: 16px;

        font-size: 21px;
    }

    .small-title {
        font-size: 11px;
    }

    .page-title h2 {
        font-size: 25px;
    }

    .page-title p {
        font-size: 11px;
    }

    .policy-card {
        gap: 13px;

        padding: 18px;

        border-radius: 20px;

        margin-bottom: 14px;
    }

    .section-icon {
        width: 43px;
        height: 43px;

        border-radius: 13px;

        font-size: 17px;
    }

    .section-content h3 {
        font-size: 17px;
        margin-bottom: 6px;
    }

    .section-content p {
        font-size: 13px;
        line-height: 1.9;
    }

    .intro-card .section-content h3 {
        font-size: 19px;
    }

    .intro-card .section-content p {
        font-size: 13px;
    }

    .policy-note {
        padding: 14px;

        border-radius: 15px;
    }

    .policy-note p {
        font-size: 11px;
    }

    .home-button {
        width: 90%;
        max-width: 320px;

        padding: 12px 18px;

        font-size: 13px;
    }

    .footer-links {
        gap: 12px;
        flex-wrap: wrap;
    }

    footer p {
        font-size: 11px;
    }

}


/* شاشات صغيرة جداً */

@media (max-width: 380px) {

    .policy-card {
        padding: 15px;
    }

    .section-icon {
        width: 39px;
        height: 39px;
    }

    .section-content h3 {
        font-size: 16px;
    }

    .section-content p {
        font-size: 12px;
    }

}