

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&display=swap');

/* =============================== */
/* Base & Reset                    */
/* =============================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Cairo', sans-serif;
    direction: rtl;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; transition: opacity 0.2s; }
a:hover { opacity: 0.8; text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }


/* =============================== */
/* Container                       */
/* =============================== */
.pp-container {
    width: 100%;
    max-width: clamp(20rem, 94vw, 72rem);
    margin: 0 auto;
    padding: 0 clamp(0.8em, 4vw, 1.5em);
}


/* =============================== */
/* Header                          */
/* =============================== */
.pp-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 0.06em solid;
    box-shadow: 0 clamp(0.1em, 0.4vw, 0.2em) clamp(0.4em, 1.5vw, 0.8em) rgba(0,0,0,0.08);
}

.pp-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: clamp(0.5em, 1.5vw, 0.8em);
    padding-bottom: clamp(0.5em, 1.5vw, 0.8em);
}

.pp-header__logo img {
    height: clamp(2.2rem, 9vw, 3.5rem);
    width: auto;
}

.pp-header__back {
    font-size: clamp(0.78rem, 2.5vw, 0.9rem);
    font-weight: 600;
    padding: clamp(0.3em, 1vw, 0.45em) clamp(0.8em, 2.5vw, 1.2em);
    border-radius: clamp(1rem, 3vw, 1.5rem);
    border: 0.1em solid;
    transition: all 0.3s;
}


/* =============================== */
/* Hero — نفس نمط hero-section     */
/* =============================== */
.pp-hero {
    padding: clamp(1.5rem, 6vw, 3rem) 0 clamp(1.2rem, 5vw, 2.5rem);
}

.pp-hero__title {
    font-size: clamp(1.4rem, 6vw, 2.2rem);
    font-weight: 800;
    margin-block: clamp(0.6em, 2.5vw, 1em);
    position: relative;
    text-align: center;
    padding-bottom: clamp(0.4em, 1.5vw, 0.7em);
    margin-bottom: clamp(0.6em, 2vw, 0.9em);
}

.pp-hero__title::after {
    content: "";
    position: absolute;
    width: 100%;
    height: clamp(0.18rem, 0.5vw, 0.32rem);
    border-radius: clamp(1rem, 3vw, 1.5rem);
    bottom: 0;
    left: 0;
    background-color: currentColor;
}

.pp-hero__sub {
    font-size: clamp(0.88rem, 3.5vw, 1.1rem);
    text-align: start;
    margin-bottom: clamp(1em, 3vw, 1.5em);
    margin-top: clamp(0.8em, 2.5vw, 1.2em);
}

/* قائمة الهيرو — نفس الهيرو الأصلي */
.pp-hero ul {
    list-style: none;
    padding: 0;
    width: 100%;
    margin: 0 auto;
}

.pp-hero ul li {
    margin-bottom: clamp(0.4em, 1.8vw, 0.7em);
    display: flex;
    align-items: flex-start;
    gap: clamp(0.4em, 1.5vw, 0.7em);
    font-size: clamp(0.85rem, 3.5vw, 1rem);
    text-align: start;
}


/* =============================== */
/* Dot Circle — نفس المشروع        */
/* =============================== */
.dot-circle {
    border: clamp(0.18rem, 0.5vw, 0.28rem) solid currentColor;
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    display: block;
}

.pp-hero ul li .dot-circle {
    margin-top: clamp(0.2em, 0.8vw, 0.4em);
    width: clamp(0.7rem, 3vw, 1.1rem);
    height: clamp(0.7rem, 3vw, 1.1rem);
}


/* =============================== */
/* Body / Content                  */
/* =============================== */
.pp-body {
    padding: clamp(1.5rem, 6vw, 3rem) 0;
}


/* =============================== */
/* Section                         */
/* =============================== */
.pp-section {
    margin-bottom: clamp(1.5rem, 5vw, 2.5rem);
    padding-bottom: clamp(1.5rem, 5vw, 2.5rem);
    border-bottom: 0.06em dashed;
    scroll-margin-top: clamp(4rem, 10vw, 6rem);
}

.pp-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.pp-section__title {
    font-size: clamp(1rem, 4vw, 1.3rem);
    font-weight: 700;
    margin-bottom: clamp(0.6em, 2vw, 0.9em);
    padding-bottom: clamp(0.3em, 1vw, 0.5em);
    border-bottom: 0.15em solid;
    display: inline-block;
}

.pp-section p {
    font-size: clamp(0.83rem, 2.8vw, 0.95rem);
    line-height: 1.8;
    margin-bottom: clamp(0.6em, 2vw, 0.9em);
}

.pp-section p:last-child { margin-bottom: 0; }


/* =============================== */
/* Content List — نفس نمط الهيرو  */
/* =============================== */
.pp-list {
    list-style: none;
    padding: 0;
    margin: clamp(0.6rem, 2vw, 1rem) 0;
}

.pp-list li {
    display: flex;
    align-items: flex-start;
    gap: clamp(0.4em, 1.5vw, 0.7em);
    font-size: clamp(0.83rem, 3vw, 0.95rem);
    margin-bottom: clamp(0.4em, 1.5vw, 0.65em);
    line-height: 1.7;
}

.pp-list li .dot-circle {
    margin-top: clamp(0.25em, 0.8vw, 0.4em);
    width: clamp(0.6rem, 2.5vw, 0.9rem);
    height: clamp(0.6rem, 2.5vw, 0.9rem);
    flex-shrink: 0;
}


/* =============================== */
/* Footer                          */
/* =============================== */
.pp-footer {
    padding: clamp(1rem, 4vw, 1.8rem) 0;
}

.pp-footer .pp-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(0.5em, 1.5vw, 0.8em);
    text-align: center;
}

.pp-footer p {
    font-size: clamp(0.75rem, 2vw, 0.85rem);
}

.pp-footer nav {
    display: flex;
    gap: clamp(0.8em, 2.5vw, 1.5em);
    flex-wrap: wrap;
    justify-content: center;
}

.pp-footer nav a {
    font-size: clamp(0.75rem, 2vw, 0.85rem);
    font-weight: 600;
}


/* =============================== */
/* Small Tablet  481px → 600px     */
/* =============================== */
@media (min-width: 481px) {
    .pp-hero ul li { font-size: clamp(0.88rem, 2.5vw, 1rem); }
    .pp-hero__title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
    .pp-list li { font-size: clamp(0.85rem, 2.2vw, 0.98rem); }
}


/* =============================== */
/* Medium Tablet  601px → 768px    */
/* =============================== */
@media (min-width: 601px) {
    .pp-hero__title { font-size: clamp(1.7rem, 4vw, 2.5rem); }
    .pp-section__title { font-size: clamp(1.1rem, 2.8vw, 1.35rem); }
    .pp-footer .pp-container { flex-direction: row; justify-content: space-between; text-align: right; }
}


/* =============================== */
/* Large Tablet  769px → 1024px    */
/* =============================== */
@media (min-width: 769px) {
    .pp-hero ul li { font-size: clamp(0.9rem, 1.8vw, 1.05rem); }
    .pp-section p { font-size: clamp(0.88rem, 1.5vw, 1rem); }
    .pp-list li { font-size: clamp(0.88rem, 1.5vw, 1rem); }
}


/* =============================== */
/* Small Desktop  1025px → 1280px  */
/* =============================== */
@media (min-width: 1025px) {
    .pp-hero__title { font-size: clamp(1.8rem, 2.8vw, 2.6rem); }
    .pp-hero ul li { font-size: clamp(0.92rem, 1.3vw, 1.1rem); }
    .pp-section__title { font-size: clamp(1.15rem, 1.5vw, 1.4rem); }
    .pp-section p { font-size: clamp(0.9rem, 1.2vw, 1.02rem); }
}


/* =============================== */
/* Medium Desktop  1281px → 1440px */
/* =============================== */
@media (min-width: 1281px) {
    .pp-hero ul li { font-size: clamp(0.95rem, 1.1vw, 1.1rem); }
    .pp-list li { font-size: clamp(0.9rem, 1.1vw, 1.05rem); }
}


/* =============================== */
/* Large Desktop  1441px → 1920px  */
/* =============================== */
@media (min-width: 1441px) {
    .pp-container { max-width: clamp(68rem, 82vw, 84rem); }
}


/* =============================== */
/* Extra Large  1921px+            */
/* =============================== */
@media (min-width: 1921px) {
    .pp-container { max-width: clamp(76rem, 78vw, 96rem); }
    .pp-section p { font-size: clamp(1rem, 0.9vw, 1.15rem); }
}


/* ============================================================
   COLOR THEME — .blue-pp
   نفس منطق .blue-hero في المشروع
   بدون !important — specificity طبيعي
============================================================ */

/* Header */
.pp-header {
    background-color: var(--white);
    border-bottom-color: var(--lightHelper);
}

.pp-header__back {
    color: var(--lightHelper);
    border-color: var(--lightHelper);
}

.pp-header__back:hover {
    background-color: var(--lightHelper);
    color: var(--white);
    text-decoration: none;
    opacity: 1;
}

/* Body background */
body {
    background-color: var(--white);
    color: var(--helperColor);
}

/* Sections */
.pp-section {
    border-bottom-color: var(--lightHelper);
    color: var(--helperColor);
}

.pp-section__title {
    color: var(--lightHelper);
    border-bottom-color: var(--lightHelper);
}

.pp-section p {
    color: var(--helperColor);
}

.pp-list li {
    color: var(--helperColor);
}

.pp-list li .dot-circle {
    border-color: var(--lightHelper);
}

.pp-section a {
    color: var(--lightHelper);
}

/* Hero — .blue-pp */
.blue-pp {
    background-image: linear-gradient(180deg, var(--lightHelper) 55%, var(--lightHelper));
    color: var(--white);
}

.blue-pp .pp-hero__title { color: var(--white); }
.blue-pp .pp-hero__sub   { color: var(--white); }
.blue-pp ul li            { color: var(--white); }
.blue-pp .dot-circle      { border-color: var(--white); }

.blue-pp a {
    color: var(--white);
    text-decoration: underline;
}

/* Footer — .blue-pp */
.pp-footer.blue-pp {
    background-image: linear-gradient(180deg, var(--lightHelper) 55%, var(--lightHelper));
    color: var(--white);
}

.pp-footer.blue-pp p    { color: rgba(255,255,255,0.8); }
.pp-footer.blue-pp nav a { color: var(--white); }