/* =========================================================
   Sustainability Policy Page Styles
   ========================================================= */
.kifco-policy-page {
    position: relative;
    width: 100%;
    background-color: #000000;
    color: #FFFFFF;
    overflow-x: clip;
}

.policy-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 96px 48px 130px 48px;
    background-color: #000000;
    box-sizing: border-box;
    overflow: hidden;
}

/* طبقة الخلفية */
.policy-bg-layer {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* السطر المتحكم في التفتيح والتغميق: opacity و filter */
.policy-bg-img {
    position: absolute;
    top: 190px;
    left: 50%;
    transform: translateX(-50%);
    width: min(2000px, 96vw);
    height: auto;
    max-height: 2680px;
    object-fit: contain;
    opacity: 1;
    filter: brightness(0.25);
    -webkit-mask-image: none;
    mask-image: none;
}

.policy-bg-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
}

/* محتوى الصفحة فوق الخلفية */
.policy-container {
    position: relative;
    z-index: 2;
    max-width: 1600px;
    margin: 0 auto;
}

.policy-header {
    margin-bottom: 44px;
}

.policy-main-title {
    font-family: 'madefor-display', 'madefor-text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: clamp(38px, 4.2vw, 64px);
    line-height: 1.15;
    font-weight: 400;
    color: #FFFFFF;
    margin: 0 0 400px 0;
}

.policy-org-name {
    font-family: 'madefor-text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 22px 0;
}

.policy-intro {
    max-width: 1120px;
    font-family: 'madefor-text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.68;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.88);
    margin: 0;
}

.policy-body {
    max-width: 1120px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.policy-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.policy-block-title {
    font-family: 'madefor-text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 18px;
    line-height: 1.45;
    font-weight: 600;
    color: #FFFFFF;
    margin: 0;
}

.policy-text {
    font-family: 'madefor-text', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.86);
    margin: 0;
}

.policy-statement {
    margin-top: 8px;
}

.policy-contact-box {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.policy-link {
    color: #FFFFFF;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.policy-link:hover {
    opacity: 0.8;
}

/* تجاوب الشاشات */
@media screen and (max-width: 992px) {
    .policy-section {
        padding: 80px 28px 100px 28px;
    }

    .policy-bg-img {
        top: 220px;
    }
}

@media screen and (max-width: 576px) {
    .policy-section {
        padding: 68px 18px 88px 18px;
    }

    .policy-main-title {
        font-size: 36px;
        margin-bottom: 140px;
    }

    .policy-text {
        font-size: 14px;
    }
}
/* ==========================================
   Responsive Media Queries - Sustainability Policy Page
   ========================================== */

/* شاشات اللابتوب والشاشات المتوسطة (Max-Width: 1400px) */
@media screen and (max-width: 1400px) {
    .policy-section {
        padding: 84px 36px 110px 36px;
    }

    .policy-main-title {
        margin-bottom: 260px;
    }

    .policy-bg-img {
        top: 170px;
        max-height: 2200px;
    }
}

/* شاشات التابلت ودون 1024px */
@media screen and (max-width: 1024px) {
    .policy-section {
        padding: 72px 28px 95px 28px;
    }

    .policy-main-title {
        margin-bottom: 150px;
    }

    .policy-bg-img {
        top: 150px;
        max-height: 1800px;
    }

    .policy-org-name,
    .policy-intro {
        font-size: 16.5px;
    }
}

/* الهواتف المحمولة والتابلت الصغير (Max-Width: 768px) */
@media screen and (max-width: 768px) {
    .kifco-policy-page {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-x: clip;
    }

    .policy-section {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        padding: 60px 18px 80px 18px;
        box-sizing: border-box;
        overflow: hidden;
    }

    .policy-container,
    .policy-header,
    .policy-body,
    .policy-block {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .policy-main-title {
        font-size: 36px;
        line-height: 1.18;
        margin-bottom: 80px;
        overflow-wrap: break-word;
    }

    .policy-bg-img {
        top: 120px;
        width: 100%;
        max-width: 100%;
        max-height: 1200px;
        filter: brightness(0.25);
    }

    .policy-org-name {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .policy-intro {
        font-size: 15.5px;
        line-height: 1.62;
        max-width: 100%;
        overflow-wrap: break-word;
    }

    .policy-body {
        gap: 22px;
    }

    .policy-block-title {
        font-size: 16.5px;
        overflow-wrap: break-word;
    }

    .policy-text {
        font-size: 14.5px;
        line-height: 1.6;
        overflow-wrap: break-word;
    }
}

/* الهواتف المحمولة الصغيرة جداً (Max-Width: 480px) */
@media screen and (max-width: 480px) {
    .policy-section {
        padding: 50px 14px 68px 14px;
    }

    .policy-main-title {
        font-size: 28px;
        line-height: 1.22;
        margin-bottom: 56px;
    }

    .policy-bg-img {
        top: 100px;
        max-height: 900px;
    }

    .policy-intro {
        font-size: 14.5px;
        line-height: 1.58;
    }

    .policy-block-title {
        font-size: 15.5px;
    }

    .policy-text {
        font-size: 13.5px;
        line-height: 1.55;
    }
}