/* ======================================================
   languagepolicy.css - Language Policy Page Specific Styles
   Extracted from your HTML components with exact original styling
====================================================== */

/* ========== PAGE HEADER ========== */
.page-header {
    margin-bottom: 30px;
    display: block;
}

.page-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 1;
}

.page-title-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3b82f6 0, #1d4ed8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 26px;
    box-shadow: 0 6px 12px rgba(59, 130, 246, 0.3);
}

.page-title-main {
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
    margin-bottom: 5px;
}

.page-title-sub {
    font-size: 17px;
    color: #1e40af;
    line-height: 1.5;
    font-weight: 500;
    margin-left: 80px;
    max-width: 800px;
}

/* ========== POLICY SECTION ========== */
.policy-section {
    max-width: 1000px;
    margin: 0 auto;
}

/* ========== HERO BLOCK ========== */
.hero-block {
    position: relative;
    background: linear-gradient(135deg, #f0f9ff 0, #e0f2fe 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    border-right: 6px solid #3b82f6;
    overflow: hidden;
}

.hero-block::before {
    content: "\f0ac"; /* globe icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: -20px;
    left: -20px;
    font-size: 120px;
    opacity: 0.1;
    color: #3b82f6;
    transform: rotate(-10deg);
}

.hero-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #0a2540;
    position: relative;
    z-index: 1;
    margin-bottom: 20px;
}

.hero-text strong {
    color: #1e6f9f;
    font-weight: 700;
}

/* ========== BILINGUAL BLOCK ========== */
.bilingual-block {
    background: #fff9e6;
    border-radius: 32px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid #f3d18a;
}

.bilingual-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.bilingual-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Language Icons */
.lang-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    margin-bottom: 10px;
    position: relative;
    overflow: hidden;
}

.lang-icon.english {
    background: linear-gradient(135deg, #1e4a7a 0, #0f2b44 100%);
}

.lang-icon.english::after {
    content: "EN";
    font-family: "Font Awesome 6 Free", sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.lang-icon.arabic {
    background: linear-gradient(135deg, #2d6a4f 0, #1b4b3a 100%);
}

.lang-icon.arabic::after {
    content: "ع";
    font-family: DroidArabicKufi, sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
}

.lang-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.lang-name.english {
    color: #1e4a7a;
}

.lang-name.arabic {
    color: #2d6a4f;
}

.lang-sub {
    font-size: 0.95rem;
    color: #4b5563;
}

.lang-desc {
    font-size: 1.2rem;
    text-align: center;
    background: #f0f5fb;
    padding: 15px;
    border-radius: 50px;
    margin-top: 10px;
    line-height: 1.6;
}

/* ========== PROCESS SECTION ========== */
.process-section {
    margin: 30px 0;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
}

.section-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #f39c12, #e67e22);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 4px 8px rgba(243, 156, 18, 0.3);
    flex-shrink: 0;
}

.section-icon::before {
    content: "\f0ae"; /* tasks icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #0f3b5e;
    margin: 0;
    text-transform: uppercase;
}

.process-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    margin: 20px 0;
}

.process-card {
    background: #fff;
    border-radius: 18px;
    padding: 20px;
    border: 1px solid #e2edff;
    box-shadow: 0 6px 14px rgba(0, 30, 60, 0.06);
    transition: all 0.3s ease;
}

.process-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #f1c40f;
}

.process-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.process-icon {
    width: 45px;
    height: 45px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.process-icon.english {
    background: #1e4a7a;
    color: #fff;
}

.process-icon.english::after {
    content: "EN";
    font-family: "Font Awesome 6 Free", sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
}

.process-icon.arabic {
    background: #2d6a4f;
    color: #fff;
}

.process-icon.arabic::after {
    content: "ع";
    font-family: DroidArabicKufi, sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

.process-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.process-title.english {
    color: #1e4a7a;
}

.process-title.arabic {
    color: #2d6a4f;
}

.process-desc {
    font-size: 0.95rem;
    color: #2b3f59;
    line-height: 1.7;
    margin-bottom: 15px;
}

.process-features {
    background: #f3f8ff;
    border-radius: 16px;
    padding: 10px;
}

.process-feature {
    display: block;
    padding: 2px 0;
    border-bottom: 1px dashed #b9d2f0;
    color: #1f3a5f;
}

.process-feature i {
    color: #10b981;
    margin-left: 5px;
}

.process-feature:last-child {
    border-bottom: none;
}

/* ========== METADATA SECTION ========== */
.metadata-section {
    background: #f1f9f0;
    border-radius: 32px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid #b8d9b0;
}

.metadata-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.metadata-icon {
    width: 50px;
    height: 50px;
    background: #c0e0c0;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2d6a4f;
    font-size: 1.5rem;
}

.metadata-icon i {
    color: #2d6a4f;
    font-size: 1.5rem;
}

.metadata-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #004d40;
    margin: 0;
}

.metadata-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    margin: 25px 0;
}

.metadata-item {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    border: 1px solid #cde1cd;
    text-align: center;
}

.metadata-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #003f5c;
    margin-bottom: 12px;
}

.metadata-value {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.lang-tag {
    padding: 5px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
}

.lang-tag.english {
    background: #1e4a7a;
    color: #fff;
}

.lang-tag.arabic {
    background: #2d6a4f;
    color: #fff;
}

/* ========== REVIEW SECTION ========== */
.review-section {
    background: #f5f0ff;
    border-radius: 34px;
    padding: 30px;
    margin: 30px 0;
}

.review-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 20px;
}

.review-feature {
    display: flex;
    gap: 15px;
    background: #fff;
    padding: 20px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.review-feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #8b5cf6;
}

.feature-icon {
    width: 45px;
    height: 45px;
    background: #fde9d2;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #b45d00;
    font-size: 1.3rem;
}

.feature-icon i {
    color: #b45d00;
    font-size: 1.3rem;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #5b21b6;
    margin-bottom: 8px;
}

.feature-desc {
    font-size: 0.95rem;
    color: #2b3f59;
    line-height: 1.5;
    margin: 0;
}

/* ========== SUPPORT SECTION ========== */
.support-section {
    background: #fff7e0;
    border-radius: 30px;
    padding: 30px;
    margin: 30px 0;
    border: 1px solid #f5d48e;
}

.support-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.support-icon {
    width: 50px;
    height: 50px;
    background: #ffe6b3;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b45d00;
    font-size: 1.5rem;
}

.support-icon i {
    color: #b45d00;
    font-size: 1.5rem;
}

.support-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #002856;
    margin: 0;
}

.support-content {
    font-size: 1rem;
    color: #2b3f59;
    line-height: 1.7;
    margin-bottom: 20px;
}

.support-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-list .list-item {
    margin-bottom: 10px;
    font-size: 0.95rem;
    color: #1f3a57;
    display: flex;
    align-items: center;
    gap: 8px;
}

.support-list .list-item i {
    color: #10b981;
    font-size: 1rem;
}

/* ========== RESPONSIBILITIES SECTION ========== */
.responsibilities-section {
    margin: 30px 0;
}

.responsibilities-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    margin: 20px 0;
}

.responsibility-card {
    background: #fff;
    border-radius: 24px;
    padding: 20px;
    border: 1px solid #d1e1f5;
    transition: all 0.3s ease;
}

.responsibility-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border-color: #ffb347;
}

.responsibility-icon {
    width: 45px;
    height: 45px;
    background: #ffdbad;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b45d00;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.responsibility-icon i {
    color: #b45d00;
    font-size: 1.2rem;
}

.responsibility-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #003f6f;
    margin-bottom: 10px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.responsibility-desc {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin: 0;
}

/* ========== COMMITMENT BLOCK ========== */
.commitment-block {
    background: #e1f0fa;
    border-radius: 34px;
    padding: 35px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
    border: 1px solid #b8d6f0;
    position: relative;
    overflow: hidden;
}

.commitment-block::before {
    content: "\f0e7"; /* bolt icon */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 100px;
    opacity: 0.1;
    color: #3b82f6;
    transform: rotate(15deg);
}

.commitment-icon {
    width: 70px;
    height: 70px;
    background: #ffd966;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b45d00;
    font-size: 2.5rem;
    position: relative;
    box-shadow: 0 10px 20px -5px rgba(255, 215, 0, 0.4);
}

.commitment-icon i {
    color: #b45d00;
    font-size: 2.5rem;
}

.commitment-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: #1a3f60;
    flex: 1;
    margin: 0;
}

/* ========== CONTACT BLOCK ========== */
.contact-block {
    background: linear-gradient(145deg, #0a1f33, #123b5e);
    color: #fff;
    border-radius: 22px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 40px;
    box-shadow: 0 16px 28px rgba(0, 20, 40, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.contact-block::before {
    content: "\f0e0"; /* envelope */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: -30px;
    left: -30px;
    font-size: 150px;
    opacity: 0.05;
    transform: rotate(-15deg);
    color: #f1c40f;
}

.contact-block::after {
    content: "\f003"; /* envelope-open */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 120px;
    opacity: 0.05;
    transform: rotate(15deg);
    color: #f1c40f;
}

.contact-title {
    font-size: 1.9rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #f1c40f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.contact-text {
    color: #fff;
    max-width: 700px;
    margin: 0 auto 20px;
    line-height: 1.6;
    opacity: 0.9;
    position: relative;
    z-index: 1;
}

.contact-email {
    background: #f1c40f;
    color: #00233b;
    padding: 12px 30px;
    border-radius: 40px;
    font-size: 1rem;
    font-weight: 600;
    transition: 0.2s;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    margin-top: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.contact-email:hover {
    background: #ffb854;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(245, 158, 11, 0.4);
}

.contact-email i {
    font-size: 1rem;
}

/* ========== UTILITY CLASSES ========== */
.mt-2 {
    margin-top: 10px;
}

/* ========== RTL SUPPORT ========== */
html[dir="rtl"] .page-title-sub {
    margin-left: 0;
    margin-right: 80px;
}

html[dir="rtl"] .hero-block {
    border-right: none;
    border-left: 6px solid #3b82f6;
}

html[dir="rtl"] .hero-block::before {
    left: auto;
    right: -20px;
    transform: rotate(10deg);
}

html[dir="rtl"] .process-feature i {
    margin-left: 0;
    margin-right: 5px;
}

html[dir="rtl"] .section-header {
    flex-direction: row-reverse;
}

html[dir="rtl"] .section-icon {
    transform: scaleX(-1);
}

html[dir="rtl"] .commitment-block::before {
    right: auto;
    left: -20px;
    transform: rotate(-15deg);
}

html[dir="rtl"] .contact-block::before {
    left: auto;
    right: -30px;
    transform: rotate(15deg);
}

html[dir="rtl"] .contact-block::after {
    right: auto;
    left: -30px;
    transform: rotate(-15deg);
}

html[dir="rtl"] .support-list .list-item {
    padding-right: 0;
    padding-left: 0;
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .page-title-main {
        font-size: 1.6rem;
    }
    
    .page-title-sub {
        font-size: 1rem;
        margin-left: 0;
        margin-top: 10px;
    }
    
    .page-title-wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .bilingual-grid {
        gap: 20px;
    }
    
    .lang-name {
        font-size: 1.5rem;
    }
    
    .lang-desc {
        font-size: 1rem;
    }
    
    .process-card,
    .review-feature,
    .responsibility-card {
        padding: 15px;
    }
    
    .commitment-block {
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }
    
    .contact-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .page-title-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .page-title-main {
        font-size: 1.3rem;
    }
    
    .metadata-label {
        font-size: 1.1rem;
    }
    
    .metadata-grid {
        grid-template-columns: 1fr;
    }
    
    .process-grid,
    .review-grid,
    .responsibilities-grid {
        grid-template-columns: 1fr;
    }
    
    .process-title {
        font-size: 1.1rem;
    }
    
    .feature-title {
        font-size: 1.1rem;
    }
    
    .contact-email {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* ========== DROID ARABIC KUFI FONT ========== */
@font-face {
    font-family: DroidArabicKufi;
    src: url(/public/fonts/DroidKufi/DroidKufi-Regular.ttf) format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: DroidArabicKufi;
    src: url(/public/fonts/DroidKufi/DroidKufi-Bold.ttf) format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}