﻿
:root {
    --navy: #1F2A4A;
    --navy-dark: #141B33;
    --gold: #B8860B;
    --surface: #FFFFFF;
    --surface-alt: #F4F6FA;
    --border: #E3E7EF;
    --text-primary: #1A1F2E;
    --text-secondary: #5B6478;
    --text-muted: #9AA1B2;
    --success-bg: #E7F5EE;
    --success-text: #0F6E56;
    --accent-bg: #E6F1FB;
    --accent-text: #185FA5;
    --free-bg: #FAEEDA;
    --free-text: #854F0B;
    --warn-bg: #FDECEC;
    --warn-text: #B3261E;
    --whatsapp: #25D366;
    --radius: 10px;
    --radius-lg: 16px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-family: 'Tajawal', Arial, sans-serif;
}

body {
    font-family: 'Tajawal', Arial, sans-serif;
    color: var(--text-primary);
    background: #EEF1F6;
    line-height: 1.7;
    padding-bottom: 5px;
}

button,input,select,textarea 
{
    font-family: inherit;
}

@media (max-width: 767.98px) 
{
    body
    {
        padding-bottom: 78px; 
    }
}

img, .ph {
    display: block;
}

.wrap {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
}

/* ---------- DEV NOTE BANNER (remove before shipping) ---------- */
.dev-banner {
    background: #111;
    color: #fff;
    font-size: 13px;
    text-align: center;
    padding: 10px 16px;
}

    .dev-banner b {
        color: #FFD166;
    }


/* =========================================================
   HEADER
========================================================= */
header {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--navy);
    white-space: nowrap;
    text-decoration: none;
    flex-shrink: 0;
}


/* =========================================================
   NAV LINKS
========================================================= */

.nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 72px;
    font-size: 14px;
}

    .nav-links a {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        height: 42px;
        padding: 0 14px;
        border-radius: 9px;
        color: var(--text-secondary);
        text-decoration: none;
        font-weight: 500;
        transition: color .25s ease, background .25s ease, font-weight .25s ease;
    }


        /* Hover */

        .nav-links a:hover {
            color: var(--navy);
            background: rgba(33, 42, 94, .05);
        }


        /* Active */

        .nav-links a.active {
            color: var(--navy);
            font-weight: 800;
            background: #f1f3f9;
        }


/* =========================================================
   ACTIONS
========================================================= */

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}


.btn {
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all .25s ease;
}


/* Login */
/* General Buttons */
.btn {
    padding: 9px 18px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
    transition: all .25s ease;
}

    .btn i {
        font-size: 18px;
        line-height: 1;
    }


/* Login */
.btn-ghost {
    background: transparent;
    color: var(--navy);
    border: 1px solid var(--border);
}

    .btn-ghost:hover {
        background: #FBF7EE;
        color: #8A6508;
        border-color: #D8C28A;
        box-shadow: 0 4px 14px rgba(184, 134, 11, .12);
        transform: translateY(-1px);
    }


/* Register */
.btn-primary {
    background: var(--navy);
    color: #fff;
    border: 1px solid var(--navy);
}

    .btn-primary:hover {
        background: var(--navy-dark);
        border-color: var(--navy-dark);
        box-shadow: 0 4px 14px rgba(31, 42, 74, .15);
        transform: translateY(-1px);
    }


/* Account */
.btn-account {
    background: #F4F6FA;
    color: var(--navy);
    border: 1px solid #DCE1EB;
}

    .btn-account:hover {
        background: #E9EDF5;
        color: var(--navy-dark);
        border-color: #C8CFDC;
        box-shadow: 0 4px 14px rgba(31, 42, 74, .10);
        transform: translateY(-1px);
    }


/* Logout */
.btn-logout {
    background: #FFF7F6;
    color: #B3261E;
    border: 1px solid #F0D2CF;
}

    .btn-logout:hover {
        background: #FDECEC;
        color: #9F211A;
        border-color: #E8B9B5;
        box-shadow: 0 4px 14px rgba(179, 38, 30, .10);
        transform: translateY(-1px);
    }



/* =========================================================
   MOBILE MENU BUTTON
========================================================= */


.mobile-menu-btn {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 9px;
    background: #fff;
    color: var(--navy);
    font-size: 22px;
    cursor: pointer;
    transition: all .25s ease;
}

    .mobile-menu-btn:hover {
        background: #f1f3f9;
        border-color: var(--navy);
        color: var(--navy);
    }

/* =========================================================
   MOBILE HEADER
========================================================= */

@media (max-width: 767.98px) {

    /* =====================================================
       HEADER
    ===================================================== */

    header {
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .nav {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 65px;
        padding: 0 16px;
    }


    /* =====================================================
       BRAND
    ===================================================== */

    .brand {
        font-size: 14px;
        gap: 8px;
        white-space: nowrap;
    }

        .brand img {
            height: 34px !important;
            width: auto;
        }


    /* =====================================================
       AUTHENTICATION BUTTONS
       Keep visible on mobile
    ===================================================== */

    .nav-actions {
        display: flex !important;
        align-items: center;
        gap: 6px;
        margin-right: auto;
        margin-left: 8px;
    }

        .nav-actions .btn {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 5px;
            min-height: 38px;
            padding: 7px 10px;
            border-radius: 8px;
            font-size: 12px;
            white-space: nowrap;
        }

            .nav-actions .btn i {
                font-size: 17px;
                line-height: 1;
            }


    /* =====================================================
       MOBILE MENU BUTTON
    ===================================================== */

    .mobile-menu-btn {
        display: inline-flex !important;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        width: 42px;
        height: 42px;
        padding: 0;
        margin: 0;
        background: #f1f3f9;
        color: var(--navy);
        border: 1px solid var(--border);
        border-radius: 9px;
        font-size: 22px;
        cursor: pointer;
        z-index: 1002;
        transition: all .25s ease;
    }

        .mobile-menu-btn:hover {
            background: #FBF7EE;
            color: #8A6508;
            border-color: #D8C28A;
        }

        .mobile-menu-btn i {
            font-size: 22px;
            line-height: 1;
        }


    /* =====================================================
       MOBILE NAVIGATION
    ===================================================== */

    .nav-links {
        position: absolute;
        top: calc(100% + 8px);
        right: 16px;
        left: 16px;
        width: auto;
        height: auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 10px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: 0 12px 30px rgba(31, 42, 74, .12);
        z-index: 1001;
    }


        /* Open menu */

        .nav-links.open {
            display: flex !important;
        }


        /* =====================================================
       MOBILE NAV LINKS
    ===================================================== */

        .nav-links a {
            width: 100%;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 0 15px;
            border-radius: 9px;
            box-sizing: border-box;
            color: var(--text-secondary);
            font-size: 14px;
            text-decoration: none;
        }

            .nav-links a:hover {
                background: #f1f3f9;
                color: var(--navy);
            }

            .nav-links a.active {
                background: #f1f3f9;
                color: var(--navy);
                font-weight: 800;
            }


                /* Remove desktop active underline on mobile */

                .nav-links a.active::after {
                    display: none;
                }


    /* =====================================================
       ACCOUNT BUTTON
    ===================================================== */

    .nav-actions .btn-account {
        background: #f1f3f9;
        color: var(--navy);
        border: 1px solid var(--border);
    }

        .nav-actions .btn-account:hover {
            background: #FBF7EE;
            color: #8A6508;
            border-color: #D8C28A;
        }


    /* =====================================================
       LOGOUT BUTTON
    ===================================================== */

    .nav-actions .btn-logout {
        background: transparent;
        color: #B3261E;
        border: 1px solid #E6C7C5;
    }

        .nav-actions .btn-logout:hover {
            background: #FDECEC;
            color: #B3261E;
            border-color: #D99A96;
        }


    /* =====================================================
       LOGIN BUTTON
    ===================================================== */

    .nav-actions .btn-ghost {
        background: transparent;
        color: var(--navy);
        border: 1px solid var(--border);
    }

        .nav-actions .btn-ghost:hover {
            background: #FBF7EE;
            color: #8A6508;
            border-color: #D8C28A;
        }


    /* =====================================================
       SIGN UP BUTTON
    ===================================================== */

    .nav-actions .btn-primary {
        background: var(--navy);
        color: #fff;
        border: 1px solid var(--navy);
    }

        .nav-actions .btn-primary:hover {
            background: var(--navy-dark);
            border-color: var(--navy-dark);
        }
}














/*@media (max-width: 767.98px) {

    header {
        position: sticky;
        top: 0;
    }


    .nav {
        position: relative;
        height: 65px;
        padding: 0 16px;
    }*/


    /* Brand */

    /*.brand {
        font-size: 14px;
        gap: 8px;
    }

        .brand img {
            height: 34px !important;
            width: auto;
        }*/


    /* Hide desktop actions */

    /*.nav-actions {
        display: none;
    }*/


    /* Show hamburger */

    /*.mobile-menu-btn {
        display: inline-flex;
        flex-shrink: 0;
    }*/


    /* =====================================================
       MOBILE NAVIGATION
    ===================================================== */

    /*.nav-links {
        position: absolute;
        top: calc(100% + 1px);
        right: 16px;
        left: 16px;
        width: auto;
        height: auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        padding: 10px;
        background: #fff;
        border: 1px solid var(--border);
        border-radius: 14px;
        box-shadow: 0 12px 30px rgba(31, 42, 74, .12);
        z-index: 1001;
    }*/


        /* Open menu */

        /*.nav-links.open {
            display: flex;
        }*/


        /* Mobile links */
        /*.nav-links a {
            width: 100%;
            height: 45px;
            display: flex;
            align-items: center;
            justify-content: flex-start;
            padding: 0 15px;
            border-radius: 9px;
            box-sizing: border-box;
        }


            .nav-links a:hover {
                background: #f1f3f9;
                color: var(--navy);
            }


            .nav-links a.active {
                background: #f1f3f9;
                color: var(--navy);
                font-weight: 800;
            }
}*/
/* ---------- HERO ---------- */
.hero {
    background: linear-gradient(180deg, var(--navy) 0%, var(--navy-dark) 100%);
    color: #fff;
    padding: 50px 0 50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 40px;
    align-items: center;
}

.badge-accred {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    font-size: 12.5px;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 18px;
}

    .badge-accred i {
        color: #F5C243;
        font-size: 15px;
    }

.hero h1 {
    font-size: 34px;
    font-weight: 900;
    line-height: 1.35;
    margin-bottom: 14px;
}

.typewriter-heading {
    min-height: 2.75em;
}

    .typewriter-heading .caret {
        display: inline-block;
        width: 3px;
        background: #F5C243;
        margin-right: 4px;
        animation: blinkCaret 0.9s steps(1) infinite;
        vertical-align: -2px;
    }

@keyframes blinkCaret {
    50% {
        opacity: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .typewriter-heading .caret {
        animation: none;
        opacity: 0;
    }
}

.hero p.sub {
    font-size: 16px;
    color: #C9D2E8;
    max-width: 92%;
    margin-bottom: 22px;
}

/* improvement #8: search directly from hero */
.hero-search {
    display: flex;
    gap: 8px;
    background: #fff;
    padding: 6px;
    border-radius: 10px;
    margin-bottom: 20px;
    max-width: 480px;
}

    .hero-search input {
        flex: 1;
        border: none;
        outline: none;
        font-family: inherit;
        font-size: 14px;
        padding: 0 12px;
        color: var(--text-primary);
    }

    .hero-search button {
        background: var(--navy);
        color: #fff;
        border-radius: 8px;
        padding: 5px 18px;
        font-size: 13.5px;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 6px;
    }

/* improvement #9: specialization chips under the hero subtext */
.hero-chips {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}

.chip {
    font-size: 12.5px;
    color: #fff;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.25);
    padding: 6px 14px;
    border-radius: 999px;
    transition: background .15s;
}

    .chip:first-child {
        background: #fff;
        color: var(--navy);
        border-color: #fff;
        font-weight: 700;
    }

    .chip:hover {
        background: rgba(255,255,255,0.2);
    }

.hero-cta {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-cta {
    background: #fff;
    color: var(--navy);
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
}

    .btn-cta:hover {
        background: #EDEFF5;
    }

.link-secondary {
    font-size: 14px;
    color: #C9D2E8;
}

    .link-secondary b {
        color: #fff;
        text-decoration: underline;
        font-weight: 500;
        cursor: pointer;
    }

/* ---------- STATS STRIP ---------- */
.stats {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 0;
    padding: 28px 0;
}

.stat {
    text-align: center;
    border-left: 1px solid var(--border);
}

    .stat:last-child {
        border-left: none;
    }

    .stat .num {
        font-size: 26px;
        font-weight: 900;
        color: var(--navy);
    }

    .stat .label {
        font-size: 13px;
        color: var(--text-secondary);
        margin-top: 4px;
    }

/* ---------- SECTION GENERIC ---------- */
.section {
    padding: 56px 0;
}

.section-alt {
    background: var(--surface);
}

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 14px;
}

    .section-head h2 {
        font-size: 24px;
        font-weight: 700;
        color: var(--navy);
    }

    .section-head p {
        font-size: 13.5px;
        color: var(--text-secondary);
        margin-top: 4px;
    }

.eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--accent-text);
    background: var(--accent-bg);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 10px;
}

/* ---------- COURSES ---------- */
.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

    .filters select, .filters input {
        height: 38px;
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 0 12px;
        font-size: 13.5px;
        font-family: inherit;
        background: #fff;
        color: var(--text-primary);
    }

.cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .15s, transform .15s;
    position: relative;
}

    .card:hover {
        box-shadow: 0 8px 20px rgba(20,27,51,0.08);
        transform: translateY(-2px);
    }

.card-media {
    height: 130px;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    border-radius: 12px 12px 0 0;
}

    .card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.urgency {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--warn-bg);
    color: var(--warn-text);
    font-size: 10.5px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.card-body {
    padding: 14px 16px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.tag {
    display: inline-block;
    align-self: flex-start;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.4;
}

    /* دبلوم */
    .tag.diploma {
        background: #E8F1FF;
        color: #1D4ED8;
    }

    /* دبلوم مهني */
    .tag.professional {
        background: #E6F7F5;
        color: #0F766E;
    }

    /* دورات قصيرة */
    .tag.short {
        background: #EAF8EC;
        color: #15803D;
    }

    /* برنامج مكثف */
    .tag.intensive {
        background: #FDECEC;
        color: #DC2626;
    }

    /* دورة تأهيلية */
    .tag.qualification {
        background: #F3E8FF;
        color: #7C3AED;
    }

    /* دبلوم مشارك */
    .tag.associate {
        background: #FFF3E8;
        color: #EA580C;
    }

    /* دبلوم متوسط */
    .tag.intermediate {
        background: #E8F7FB;
        color: #0891B2;
    }

    /* مجاني */
    .tag.free {
        background: var(--free-bg);
        color: var(--free-text);
    }

    /* Default */
    .tag.default {
        background: #F3F4F6;
        color: #6B7280;
    }


/*.card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-primary);
}*/

.card-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 1; /* One line */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.7;
    max-height: calc(1.7em * 1);
    min-width: 0;
    width: 100%;
}

.card-desc {
    font-size: 12.5px;
    color: #74798b;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    Number of lines -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.8;
    max-height: calc(1.7em * 2);
    font-weight:300;
}



.cohort-line {
    margin-top: auto;
    font-size: 11.5px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}


.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border);
    padding-top: 10px;
    margin-top: auto;
}

    .card-meta .price {
        font-weight: 700;
        color: var(--navy);
        font-size: 13px;
    }

    .card-meta .item {
        display: flex;
        align-items: center;
        gap: 4px;
    }

/* ---------- ACCREDITATION + SAMPLE CERTIFICATE (improvement #6) ---------- */
.accred-wrap {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 18px;
    align-items: stretch;
}

.accred {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px 28px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.accred-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--accent-bg);
    color: var(--accent-text);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .accred-icon i {
        font-size: 28px;
    }

.accred h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.accred p {
    font-size: 13.5px;
    color: var(--text-secondary);
}

.cert-preview {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cert-mock {
    width: 100%;
    aspect-ratio: 1.4/1;
    border: 2px solid #D9C48A;
    border-radius: 8px;
    background: repeating-linear-gradient(135deg, #FFFDF7, #FFFDF7 10px, #FCF6E6 10px, #FCF6E6 20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    position: relative;
}

    .cert-mock i {
        font-size: 26px;
        color: var(--gold);
    }

    .cert-mock .cert-title {
        font-size: 12px;
        font-weight: 700;
        color: #7A5B10;
    }

    .cert-mock .cert-sub {
        font-size: 9.5px;
        color: #9C8452;
    }

.cert-preview .cap {
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
}

/* ---------- TESTIMONIALS (improvement #1) ---------- */
.testimonials {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 18px;
}

.t-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.t-stars {
    color: #F5A623;
    font-size: 13px;
    letter-spacing: 2px;
}

.t-quote {
    font-size: 13.5px;
    color: var(--text-primary);
    line-height: 1.8;
}

.t-person {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

.t-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--accent-bg);
    color: var(--accent-text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.t-name {
    font-size: 13px;
    font-weight: 700;
}

.t-role {
    font-size: 11.5px;
    color: var(--text-secondary);
}

/* ---------- FAQ (improvement #2) ---------- */
.faq {
    /*max-width: 820px;*/
    max-width:100%;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-q {
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}

    .faq-q i {
        color: var(--text-muted);
        transition: transform .2s;
    }

.faq-item.open .faq-q i {
    transform: rotate(180deg);
}

.faq-a {
    padding: 0 18px;
    max-height: 0;
    overflow: hidden;
    transition: all .25s ease;
    font-size: 13px;
    color: var(--text-secondary);
}

.faq-item.open .faq-a {
    padding: 0 18px 16px;
    max-height: 200px;
}

/* ---------- TRUST LOGOS STRIP (improvement #10 — moved up from the very bottom of the old page) ---------- */
.trust-strip {
    background: var(--surface);
    padding: 22px 0 30px;
    border-bottom: 1px solid var(--border);
}

.trust-label {
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.trust-logo {
    height: 44px;
    padding: 0 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* ---------- INSTRUCTORS (improvement #11 — makes "+21 مدرب" tangible) ---------- */
.instructors {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
}

.instructor-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 18px;
    text-align: center;
}

.instructor-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 12px;
    border: 2px solid #e9ecef;
}

    .instructor-avatar img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

.instructor-name {
    font-size: 14px;
    font-weight: 700;
}

.instructor-role {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.instructor-badge {
    font-size: 10.5px;
    color: var(--accent-text);
    background: var(--accent-bg);
    padding: 2px 9px;
    border-radius: 999px;
    margin-top: 8px;
    display: inline-block;
}

/* ---------- ACCREDITATIONS (dedicated section) ---------- */
.accreditations-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
}

.accred-org-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.accred-org-logo {
    width: 64px;
    height: 64px;
    border-radius: 14px;
    background: var(--accent-bg);
    color: var(--accent-text);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .accred-org-logo i {
        font-size: 28px;
    }

.accred-org-name {
    font-size: 14px;
    font-weight: 700;
}

.accred-org-desc {
    font-size: 12px;
    color: var(--text-secondary);
}

/* ---------- SUCCESS PARTNERS (dedicated section) ---------- */
.partners-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.partner-logo {
    width: 170px;
    height: 80px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    overflow: hidden;
}

    .partner-logo img {
        width: 145px;
        height: 60px;
        display: block;
        object-fit: contain;
        object-position: center;
    }

    .partner-logo:hover {
        border-color: rgba(184, 134, 11, .45);
        box-shadow: 0 8px 22px rgba(31, 42, 74, .10);
        transform: translateY(-3px);
    }

        .partner-logo:hover img {
            transform: scale(1.05);
        }




/*.partners-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.partner-logo {
    width: 170px;
    height: 64px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 12px;
}*/

/* ---------- SOCIAL MEDIA FOLLOW SECTION ---------- */
.social-section {
    background: var(--navy-dark);
    padding: 34px 0;
}

.social-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.social-copy h3 {
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.social-copy p {
    color: #9AA5C4;
    font-size: 13px;
    max-width: 440px;
}

.social-icons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 18px;
    transition: transform .15s, opacity .15s;
}

    .social-icon:hover {
        transform: translateY(-3px);
        opacity: 0.9;
    }

    .social-icon.youtube {
        background: #FF0000;
    }

    .social-icon.tiktok {
        background: #000000;
    }

    .social-icon.snapchat {
        background: #FFFC00;
        color: #000;
    }

    .social-icon.telegram {
        background: #26A5E4;
    }

    .social-icon.instagram {
        background: radial-gradient(circle at 30% 110%, #FFDD55, #FF543E 45%, #C837AB 75%, #3F51B5);
    }

    .social-icon.x {
        background: #000000;
    }
    /* Facebook */
    .social-icon.facebook {
        background: #1877F2;
    }

    /* LinkedIn */
    .social-icon.linkedin {
        background: #0A66C2;
    }

    .social-icon.whatsapp {
        background: #25D366;
    }

.vision-strip {
    background: #F4F6FA;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 22px 0;
}

.vision-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    text-align: center;
}

.vision-badge {
    width: 130px;
    height: 80px;
    padding: 3px;
    border: 1px solid #d5d9e4;
    border-radius: 10px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(33, 42, 94, 0.08);
}

    .vision-badge img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: fill;
        object-position: center;
        border-radius: 7px;
    }

.vision-text {
    max-width: 520px;
    font-size: 13px;
    line-height: 1.8;
    color: var(--text-secondary);
}

    .vision-text b {
        color: var(--navy);
    }
/* ---------- FOOTER ---------- */
/*footer {
    background: var(--navy-dark);
    color: #C9D2E8;
    padding: 40px 0 20px;
    margin-top: 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: #fff;
    font-size: 15px;
}

.footer-links {
    display: flex;
    gap: 26px;
    font-size: 13.5px;
    flex-wrap: wrap;
}

    .footer-links a:hover {
        color: #fff;
    }

.footer-more {
    font-size: 13px;
    color: #8A93AC;
    cursor: pointer;
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    font-size: 12.5px;
    color: #8A93AC;
    flex-wrap: wrap;
    gap: 10px;
}

.socials {
    display: flex;
    gap: 12px;
}

    .socials i {
        font-size: 16px;
    }*/











/* =========================================
   FOOTER
========================================= */

footer {
    background: var(--navy-dark);
    color: #C9D2E8;
    padding: 42px 0 20px;
    margin-top: 30px;
}


/* =========================================
   FOOTER TOP
========================================= */

.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1.15fr 1fr;
    gap: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}


/* =========================================
   BRAND
========================================= */

.footer-brand-section {
    padding-left: 15px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

    .footer-brand img {
        width: auto;
        height: 32px;
        object-fit: contain;
    }

.footer-description {
    max-width: 260px;
    margin: 14px 0 0;
    color: #8A93AC;
    font-size: 12px;
    line-height: 1.9;
}


/* =========================================
   FOOTER COLUMNS
========================================= */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

    .footer-column h4 {
        position: relative;
        margin: 0 0 16px;
        padding-bottom: 8px;
        color: #fff;
        font-size: 14px;
        font-weight: 700;
    }

        .footer-column h4::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            width: 28px;
            height: 2px;
            border-radius: 2px;
            background: #9a7537;
        }

    .footer-column a {
        display: block;
        margin-bottom: 9px;
        color: #8A93AC;
        font-size: 12px;
        line-height: 1.7;
        text-decoration: none;
        transition: all 0.2s ease;
    }

        .footer-column a:hover {
            color: #fff;
            transform: translateX(-2px);
        }


/* =========================================
   FOOTER BOTTOM
========================================= */

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 18px;
    color: #8A93AC;
    font-size: 12px;
    flex-wrap: wrap;
    gap: 12px;
}

    .footer-bottom span {
        line-height: 1.8;
    }

    .footer-bottom a {
        color: #C9D2E8;
        text-decoration: none;
        font-weight: 600;
    }

        .footer-bottom a:hover {
            color: #fff;
        }


/* =========================================
   SOCIALS
========================================= */

.socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

    .socials i {
        font-size: 16px;
    }


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1100px) {

    .footer-top {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 30px;
    }

    .footer-brand-section {
        grid-column: 1 / -1;
        padding-left: 0;
    }

    .footer-description {
        max-width: 500px;
    }
}


@media (max-width: 767px) {

    footer {
        padding: 32px 0 18px;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-brand-section {
        grid-column: auto;
    }

    .footer-column {
        width: 100%;
    }

        .footer-column h4 {
            margin-bottom: 13px;
        }

        .footer-column a {
            margin-bottom: 8px;
        }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        text-align: right;
    }
}




/* ---------- WHATSAPP FLOATING BUTTON (improvement #5, replaces old random chat widget) ---------- */
.whatsapp-fab {
    position: fixed;
    bottom: 50px;
    left: 24px;
    z-index: 40;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--whatsapp);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(37,211,102,0.4);
}

    .whatsapp-fab i {
        font-size: 28px;
    }

/* ---------- STICKY MOBILE CTA (improvement #4) ---------- */
.sticky-cta {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 40;
    background: #fff;
    border-top: 1px solid var(--border);
    padding: 12px 16px;
    box-shadow: 0 -4px 14px rgba(0,0,0,0.08);
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

    .sticky-cta span {
        font-size: 12.5px;
        color: var(--text-secondary);
    }

    .sticky-cta button {
        background: var(--navy);
        color: #fff;
        padding: 10px 20px;
        border-radius: 8px;
        font-size: 13.5px;
        font-weight: 700;
        white-space: nowrap;
    }

@media (max-width: 575.98px) {
    .sticky-cta-badge {
        width: 210px;
        height: 55px;
    }

        .sticky-cta-badge iframe {
            width: 210px;
            height: 55px;
        }
}
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stat {
        border-left: none;
        border-bottom: 1px solid var(--border);
        padding-bottom: 16px;
    }

    .cards {
        grid-template-columns: repeat(2,1fr);
    }

    .accred-wrap {
        grid-template-columns: 1fr;
    }

    .testimonials {
        grid-template-columns: 1fr;
    }

    .instructors {
        grid-template-columns: repeat(2,1fr);
    }

    .accreditations-grid {
        grid-template-columns: 1fr;
    }

    .social-inner {
        flex-direction: column;
        text-align: center;
    }

    .sticky-cta {
        display: flex;
    }
}

@media (max-width: 560px) {
    .cards {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 26px;
    }

    .whatsapp-fab {
        bottom: 88px;
    }
    /* clear the sticky CTA bar */
}

/* --------------------Layout CSS------------------------------- */

.hero-media {
    position: relative;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #28324d;
    border: 1px dashed rgba(255,255,255,0.35);
    border-radius: var(--radius-lg);
}

    .hero-media video {
        width: 100%;
        height: 100%;
        object-fit: cover;
        background: #28314c;
    }

/* Dark overlay */
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.35);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    color: #fff;
    z-index: 2;
    pointer-events: none;
}

    .video-overlay h4 {
        margin: 0 0 10px;
        font-size: 22px;
        font-weight: 700;
    }

    .video-overlay p {
        margin: 0;
        max-width: 280px;
        font-size: 14px;
        line-height: 1.6;
    }

.play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
    cursor: pointer;
}

    .play-btn .circle {
        width: 64px;
        height: 64px;
        border-radius: 50%;
        background: rgba(255,255,255,.95);
        display: flex;
        justify-content: center;
        align-items: center;
        box-shadow: 0 6px 18px rgba(0,0,0,.3);
    }

        .play-btn .circle i {
            font-size: 28px;
            color: var(--navy);
        }

.hero-media {
    position: relative;
}

/* Video Controls */
.video-controls {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    z-index: 5;
    pointer-events: none;
}

/* Duration - Bottom Left */
.video-tag {
    position: absolute;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    line-height: 18px;
}

/* Buttons - Bottom Right */
.video-actions {
    position: absolute;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    pointer-events: auto;
}

/* Common Button */
.stop-btn,
.volume-btn,
.maximize-btn {
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, .6);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .2s ease;
}

    .stop-btn i,
    .volume-btn i,
    .maximize-btn i {
        font-size: 15px;
        line-height: 1;
    }

    .stop-btn:hover,
    .volume-btn:hover,
    .maximize-btn:hover {
        background: rgba(33, 42, 94, .9);
        transform: scale(1.05);
    }

.play-btn .circle i {
    font-size: 28px;
    line-height: 1;
}

   /* ----------------------------
    Website main page css 
    --------------------------- */

.courses-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px;
    margin-bottom: 30px;
    background: #fff;
    border: 1px solid #e8eaf1;
    border-radius: 16px;
    box-shadow: 0 5px 20px rgba(33, 42, 94, .05);
}

.course-search {
    position: relative;
    flex: 1;
    min-width: 0;
}

    .course-search i {
        position: absolute;
        right: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #8b8fa2;
        pointer-events: none;
    }

    .course-search input {
        width: 100%;
        height: 45px;
        padding: 0 42px 0 15px;
        border: 1px solid #e2e4ec;
        border-radius: 10px;
        outline: none;
        font-family: inherit;
        box-sizing: border-box;
    }

        .course-search input:focus {
            border-color: #9a7537;
            box-shadow: 0 0 0 3px rgba(154, 117, 55, .08);
        }

.course-filters {
    display: flex;
    gap: 10px;
    min-width: 0;
}

    .course-filters select {
        height: 45px;
        min-width: 150px;
        padding: 0 12px;
        border: 1px solid #e2e4ec;
        border-radius: 10px;
        background: #fff;
        color: #444;
        font-family: inherit;
        outline: none;
    }

        .course-filters select:focus {
            border-color: #9a7537;
        }

.course-card-link {
    display: flex;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

    .course-card-link:hover {
        color: inherit;
        text-decoration: none;
    }

    .course-card-link .card {
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .course-card-link .card-body {
        display: flex;
        flex-direction: column;
        flex: 1;
    }

    .course-card-link .card-desc {
        flex: 1;
    }


.no-search-results {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    width: 100%;
    min-height: 260px;
    padding: 40px 30px;
    margin-top: 5px;
    background: #ffffff;
    border: 1px solid #e8eaf1;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(33, 42, 94, .06);
    text-align: right;
    box-sizing: border-box;
}


/* Icon */

.no-search-icon {
    width: 85px;
    height: 85px;
    flex: 0 0 85px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f1f2f8;
    color: #9a7537;
    font-size: 38px;
    position: relative;
}


    /* Decorative circle */

    .no-search-icon::after {
        content: "";
        position: absolute;
        inset: -7px;
        border: 1px solid rgba(154, 117, 55, .18);
        border-radius: 50%;
    }


/* Content */

.no-search-content {
    max-width: 520px;
}


    .no-search-content h3 {
        margin: 0 0 8px;
        color: #212a5e;
        font-size: 21px;
        font-weight: 800;
    }


    .no-search-content p {
        margin: 0 0 20px;
        color: #777b8b;
        font-size: 13px;
        line-height: 1.9;
    }


/* Reset Button */

.clear-filters-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 42px;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: #212a5e;
    color: #ffffff;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: all .25s ease;
}


    .clear-filters-btn:hover {
        background: #9a7537;
        color: #ffffff;
        transform: translateY(-2px);
        box-shadow: 0 7px 18px rgba(154, 117, 55, .20);
    }


    .clear-filters-btn i {
        font-size: 17px;
    }


.section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 30px;
    direction: rtl;
    text-align: right;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    margin-bottom: 12px;
    border-radius: 30px;
    background: #eef0fa;
    color: #212a5e;
    font-size: 13px;
    font-weight: 700;
}

    .section-kicker i {
        font-size: 16px;
    }

.section-heading h2 {
    margin: 0 0 10px;
    color: #212a5e;
    font-size: 28px;
    font-weight: 800;
}

.section-heading p {
    margin: 0;
    color: #72778a;
    font-size: 15px;
    line-height: 1.9;
}


/* =========================================
           FAQ CSS
 ========================================= */
.faq-list {
    width: 100%;
    margin: 0;
}

.faq-card {
    width: 100%;
    margin-bottom: 11px;
    overflow: hidden;
    border: 1px solid #e7e9f0;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(33, 42, 94, 0.035);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

    .faq-card:hover {
        border-color: #d8ddea;
        box-shadow: 0 7px 20px rgba(33, 42, 94, 0.07);
    }

    .faq-card.open {
        border-color: rgba(33, 42, 94, 0.18);
        box-shadow: 0 8px 25px rgba(33, 42, 94, 0.08);
    }


/* =========================================
           FAQ QUESTION
        ========================================= */

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 15px 17px;
    border: 0;
    background: transparent;
    color: #343846;
    font-family: Tajawal, sans-serif;
    text-align: right;
    cursor: pointer;
}

.faq-question-content {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}


/* =========================================
           NUMBER
        ========================================= */

.faq-number {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #212a5e;
    background: #eef1f9;
    font-size: 10px;
    font-weight: 800;
    transition: all 0.25s ease;
}

.faq-card.open .faq-number {
    color: #fff;
    background: #212a5e;
}


/* =========================================
           QUESTION TEXT
        ========================================= */

.faq-question-text {
    color: #343846;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.7;
}

.faq-card.open .faq-question-text {
    color: #212a5e;
}


/* =========================================
           ARROW
        ========================================= */

.faq-arrow {
    width: 32px;
    height: 32px;
    flex: 0 0 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #858b9a;
    background: #f5f6f9;
    transition: all 0.3s ease;
}

    .faq-arrow i {
        font-size: 17px;
        transition: transform 0.3s ease;
    }

.faq-card.open .faq-arrow {
    color: #fff;
    background: #9a7537;
}

    .faq-card.open .faq-arrow i {
        transform: rotate(180deg);
    }


/* =========================================
           FAQ ANSWER
        ========================================= */

.faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.faq-card.open .faq-answer {
    grid-template-rows: 1fr;
}

.faq-answer-inner {
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0 17px;
    padding: 0;
    border-top: 1px solid transparent;
    transition: padding 0.3s ease, border-color 0.3s ease;
}

.faq-card.open .faq-answer-inner {
    padding: 15px 0 17px;
    border-top-color: #eceef3;
}

.faq-answer-icon {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 1px;
    border-radius: 8px;
    color: #9a7537;
    background: rgba(154, 117, 55, 0.10);
}

    .faq-answer-icon i {
        font-size: 16px;
    }

.faq-answer-text {
    flex: 1;
    color: #6f7482;
    font-size: 12px;
    line-height: 2;
    text-align: right;
}

    .faq-answer-text p {
        margin: 0 0 7px;
    }

        .faq-answer-text p:last-child {
            margin-bottom: 0;
        }


/* =========================================
           EMPTY STATE
        ========================================= */

.faq-empty {
    padding: 60px 20px;
    text-align: center;
    border: 1px dashed #dfe3ec;
    border-radius: 14px;
    background: #fafbfc;
}

.faq-empty-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    border-radius: 50%;
    color: #9a7537;
    background: rgba(154, 117, 55, 0.10);
}

    .faq-empty-icon i {
        font-size: 28px;
    }

.faq-empty h3 {
    margin: 0 0 5px;
    color: #212a5e;
    font-size: 17px;
    font-weight: 700;
}

.faq-empty p {
    margin: 0;
    color: #969aa8;
    font-size: 12px;
}


/* =========================================
           HELP BOX
        ========================================= */

.faq-help {
    max-width: 950px;
    display: flex;
    align-items: center;
    gap: 13px;
    margin: 28px auto 0;
    padding: 15px 17px;
    border: 1px solid rgba(154, 117, 55, 0.18);
    border-radius: 13px;
    background: linear-gradient( 135deg, rgba(154, 117, 55, 0.08), rgba(33, 42, 94, 0.035) );
}

.faq-help-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    color: #9a7537;
    background: rgba(154, 117, 55, 0.12);
}

    .faq-help-icon i {
        font-size: 21px;
    }

.faq-help-content {
    flex: 1;
    min-width: 0;
}

    .faq-help-content span {
        display: block;
        margin-bottom: 2px;
        color: #8b8f9b;
        font-size: 10px;
    }

    .faq-help-content strong {
        display: block;
        color: #212a5e;
        font-size: 12px;
        font-weight: 700;
    }

.faq-help-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 35px;
    padding: 0 13px;
    border-radius: 9px;
    color: #fff;
    background: #212a5e;
    font-family: Tajawal, sans-serif;
    font-size: 11px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .faq-help-btn:hover {
        color: #fff;
        background: #18204d;
        transform: translateY(-1px);
        box-shadow: 0 5px 12px rgba(33, 42, 94, 0.16);
    }

    .faq-help-btn i {
        font-size: 15px;
    }


/* =========================================
           MOBILE
        ========================================= */

@@media (max-width: 767px) {

    .faq-section {
        padding-top: 30px;
        padding-bottom: 40px;
    }

    .faq-section-head {
        align-items: flex-start;
    }

    .faq-title-wrap {
        gap: 10px;
    }

    .faq-title-icon {
        width: 42px;
        height: 42px;
        flex: 0 0 42px;
    }

        .faq-title-icon i {
            font-size: 21px;
        }

    .faq-title-wrap h2 {
        font-size: 21px;
    }

    .faq-title-wrap p {
        font-size: 11px;
    }

    .faq-count {
        min-width: 58px;
        padding: 8px 9px;
    }

        .faq-count strong {
            font-size: 17px;
        }

    .faq-question {
        padding: 13px;
        gap: 8px;
    }

    .faq-question-content {
        gap: 9px;
    }

    .faq-number {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
    }

    .faq-question-text {
        font-size: 11px;
    }

    .faq-arrow {
        width: 29px;
        height: 29px;
        flex: 0 0 29px;
    }

    .faq-answer-inner {
        margin: 0 13px;
    }

    .faq-card.open .faq-answer-inner {
        padding: 13px 0 15px;
    }

    .faq-answer-text {
        font-size: 11px;
        line-height: 1.9;
    }

    .faq-help {
        align-items: flex-start;
        flex-wrap: wrap;
    }

    .faq-help-content {
        width: calc(100% - 55px);
    }

    .faq-help-btn {
        width: 100%;
        margin-top: 4px;
    }
}
