/* Global Settings */
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Pagination */
.pagination-nav {
    width: 100%;
    margin-top: 48px;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.pagination li {
    display: inline-flex;
}

.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    padding: 0 13px;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    background: #fff;
    color: #64748b;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease;
}

.pagination a.page-numbers:hover {
    color: var(--main-color, #94b62b);
    border-color: var(--second-color, #f2b33d);
    transform: translateY(-2px);
}

.pagination .page-numbers.current {
    border-color: var(--main-color, #94b62b);
    background: var(--main-color, #94b62b);
    color: #fff;
}

.pagination .page-numbers.dots {
    min-width: 28px;
    padding: 0;
    border-color: transparent;
    background: transparent;
}

.pagination .prev,
.pagination .next {
    width: auto;
    padding-inline: 18px;
}

@media (max-width: 600px) {
    .pagination-nav {
        margin-top: 32px;
    }

    .pagination {
        gap: 6px;
    }

    .pagination .page-numbers {
        min-width: 36px;
        height: 36px;
        padding: 0 10px;
        font-size: 13px;
    }
}

@font-face {
    font-family: 'Cairo';
    src: url('../../assets/fonts/cairo/Cairo-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('../../assets/fonts/cairo/Cairo-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('../../assets/fonts/cairo/Cairo-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Cairo';
    src: url('../../assets/fonts/cairo/Cairo-Black.woff2') format('woff2');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

/* Regular - 400 */
@font-face {
    font-family: '29LT Bukra';
    src: url('../../assets/fonts/29bukrar/29ltbukraregular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Bold - 700 */
@font-face {
    font-family: '29LT Bukra';
    src: url('../../assets/fonts/29bukrar/29ltbukrabold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Bold Italic - 700 */
@font-face {
    font-family: '29LT Bukra';
    src: url('../../assets/fonts/29bukrar/29ltbukrabolditalic.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: '29LT Bukra', 'Cairo', sans-serif;
}

:root {
    --primary-color: #94b62b;
}

html {
    scrollbar-color: var(--primary-color) #f2f2f2;
    scrollbar-width: thin;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f2f2f2;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border: 2px solid #f2f2f2;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #7f9f22;
}

.container,
.bottom-header.container {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

@media (max-width: 1920px) {
    .container,
    .bottom-header.container {
        padding: 0 90px;
    }
}

@media (max-width: 1440px) {
    .container,
    .bottom-header.container {
        padding: 0 70px;
    }
}

@media (max-width: 1200px) {
    .container,
    .bottom-header.container {
        padding: 0 50px;
    }
}

@media (max-width: 1024px) {
    .container,
    .bottom-header.container {
        padding: 0 15px;
    }
}

.main-header {
    position: absolute;
    width: 100%;
    z-index: 100;
}

.scroll-to-top {
    position: fixed;
    left: 54px;
    bottom: 46px;
    z-index: 90;
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: var(--primary-color);
    color: #fff;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(18px) scale(.92);
    box-shadow: 0 18px 34px rgba(148, 182, 43, .32);
    transition:
        opacity .32s ease,
        visibility .32s ease,
        transform .32s cubic-bezier(.2, .7, .2, 1),
        background-color .25s ease;
}

.scroll-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.scroll-to-top:hover {
    background: #7f9f22;
    transform: translateY(-3px) scale(1.03);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .scroll-to-top {
        left: 22px;
        bottom: 24px;
        width: 50px;
        height: 50px;
    }
}

.main-header .top-header .icon-box {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    text-decoration: none;
}

.ltr .main-header .top-header .icon-box {
    flex-direction: row-reverse;
}

.main-header .top-header .icon-box div.icon {
    display: flex;
    align-items: center;
    justify-content: center;
}


.top-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.ltr .top-header {
    flex-direction: row-reverse;
}

@media (max-width: 1200px) {
    .top-header {
        gap: 12px;
    }
}

@media (max-width: 1024px) {
    .top-header {
        gap: 10px;
        /*display: none;*/
    }
}

.top-header span {
    width: 1.2px;
    height: 35px;
    background-color: #ffffff57;
}

@media (max-width: 1200px) {
    .top-header span {
        height: 30px;
    }
}

.bottom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px !important;
    gap: 15px;
    flex-wrap: wrap;
}

.bottom-header.scrolled {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #282828;
    z-index: 999;
    width: 100%;
    padding-top: 20px;
    padding-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ltr .bottom-header {
    flex-direction: row;
}

@media (max-width: 1200px) {
    .bottom-header {
        padding-top: 16px !important;
        gap: 12px;
    }
}

@media (max-width: 1024px) {
    .bottom-header {
        padding-top: 14px;
        justify-content: space-between;
    }
}

.bottom-header .logo {
    width: 200px;
    flex-shrink: 0;
}

.bottom-header .logo .site-name-fallback {
    display: inline-block;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}


.bottom-header .menu ul {
    display: flex;
    list-style: none;
    column-gap: 30px;
    position: relative;
    flex-wrap: wrap;
}

@media (max-width: 1440px) {
    .bottom-header .menu ul {
        column-gap: 25px;
    }
}

@media (max-width: 1200px) {
    .bottom-header .menu ul {
        column-gap: 20px;
    }
}

@media (max-width: 1024px) {
    .bottom-header .menu ul {
        column-gap: 18px;
    }
}

@media (max-width: 768px) {
    .bottom-header .menu ul {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* parent item */
.bottom-header .menu li {
    position: relative;
    white-space: nowrap;
}

.bottom-header .menu ul a,
.bottom-header .secondary-menu a {
    text-decoration: none;
    color: white;
    font-size: 16px;
}

.secondary-dropdown .overflow-menu-list li a {
    transition: color 0.3s ease;
}

.secondary-dropdown .overflow-menu-list li:hover {
    background-color: #94b62b;
}

@media (max-width: 1200px) {
    .bottom-header .menu ul a {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .bottom-header .menu ul a {
        font-size: 14px;
    }
}

.bottom-header .menu ul a {
    padding: 8px 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

@media (max-width: 1200px) {
    .bottom-header .menu ul a {
        padding: 6px 12px;
    }
}

.bottom-header .menu li.current-menu-item > a,
.bottom-header .menu li.current_page_item > a {
    background-color: var(--primary-color);
    border-radius: 30px;
}

.bottom-header .menu ul a:hover,
.slide-buttons a:hover,
.slide-buttons a.btn-secondary:hover,
.programs-section .programs-btn a:hover, 
.about-section .about-content .about-btn:hover, 
.media-section .media-button-section a:hover {
    background-color: #e8ac39;
    border-radius: 30px;
}

.slide-buttons a.btn-secondary:hover,
.slide-buttons a:hover {
    border: 1px solid #e8ac39;
    transform: scale(1.05);
}

/* Parent menu item with submenu */
.bottom-header .menu li:has(> .sub-menu) > a {
    transition: all 0.3s ease;
    /* border-radius: 15px 15px 0 0; */
        border-radius: 15px;

}

.bottom-header .menu li:has(> .sub-menu):hover > a {
    background-color: #e7a833;
    border-radius: 15px 15px 0 0;
    color: white;
}

/* submenu hidden by default */
.bottom-header .menu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #e7a833;
    flex-direction: column;
    padding: 0;
    margin: 0;
    border-radius: 0 0 15px 15px;
    z-index: 999;
}

@media (max-width: 1200px) {
    .bottom-header .menu .sub-menu {
        width: 100%;
    }
}

/* show submenu on hover */
.bottom-header .menu li:hover > .sub-menu {
    display: flex;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* submenu items */
.bottom-header .menu .sub-menu li {
    width: 100%;
}

.bottom-header .menu .sub-menu a {
    display: block;
    padding: 12px 20px;
    color: white;
    border-radius: 0;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.bottom-header .menu .sub-menu li a {
    border-radius: 0;
}

.bottom-header .menu .sub-menu li:last-child a {
    border-radius: 0 0 15px 15px;
}

@media (max-width: 1200px) {
    .bottom-header .menu .sub-menu a {
        padding: 10px 15px;
        font-size: 13px;
    }
}

.bottom-header .menu .sub-menu a:hover {
    background-color: #87a625;
}

.bottom-header .secondary-menu .burgar-menu {
    width: 35px;
    height: 35px;
    border: 1px solid #fff;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .bottom-header .secondary-menu .burgar-menu {
        width: 32px;
        height: 32px;
        gap: 4px;
    }
}

.bottom-header .secondary-menu .burgar-menu span {
    display: inline-block;
    width: 22px;
    height: 1.3px;
    background-color: white;
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .bottom-header .secondary-menu .burgar-menu span {
        width: 18px;
        height: 1.2px;
    }
}

.secondary-menu {
    position: relative;
    display: inline-flex;
    z-index: 25;
    align-items: center;
}

.menu-toggle {
    background: transparent;
    border: 0;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 9px 12px;
    position: relative;
    z-index: 30;
    transition: all 0.3s ease;
}

.ltr .menu-toggle {
    flex-direction: row-reverse;
}

@media (max-width: 768px) {
    .menu-toggle {
        padding: 8px 10px;
    }
}

.menu-toggle .text {
    font-size: 20px;
    font-weight: 500;
}

.menu-toggle .text,
.menu-toggle .burgar-menu {
    transition: opacity .25s ease, visibility .25s ease;
}

.close-icon {
    position: absolute;
    top: 11px;
    left: 15px;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    font-weight: 300;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: scale(.92);
    transition: opacity .3s ease, visibility .3s ease, transform .3s ease;
    pointer-events: auto;
    z-index: 2;
}

.ltr .close-icon {
    left: auto;
    right: 18px;
}

.secondary-dropdown {
    position: absolute;
    top: 0;
    left: 0;
    width: 182px;
    max-width: min(240px, calc(100vw - 40px));
    background: #e8ac39;
    border-radius: 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px) scale(.96);
    transform-origin: top left;
    transition:
        opacity .38s cubic-bezier(.2, .75, .25, 1),
        transform .38s cubic-bezier(.2, .75, .25, 1),
        visibility .38s ease;
    z-index: 9999;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
    pointer-events: none;
    overflow: hidden;
}

.ltr .secondary-dropdown {
    left: auto;
    right: 0;
}

.secondary-dropdown::before {
    content: "\0642\0627\0626\0645\0629";
    display: flex;
    align-items: center;
    justify-content: flex-end;
    min-height: 43px;
    padding: 7px 16px 7px 48px;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.ltr .secondary-dropdown::before {
    content: "Menu";
    justify-content: flex-start;
    padding: 8px 48px 8px 18px;
}

.secondary-dropdown li:last-child {
    border-radius: 0 0 12px 12px;
}

@media (max-width: 1200px) {
    .secondary-dropdown {
        width: 182px;
    }
}

.secondary-dropdown ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

@media (max-width: 1200px) {
    .secondary-dropdown ul {
        padding-top: 0;
    }
}

.secondary-dropdown li {
    position: relative;
    padding: 0;
}

@media (max-width: 1200px) {
    .secondary-dropdown li {
        margin-bottom: 0;
    }
}

.secondary-dropdown li:last-child {
    margin-bottom: 0;
}

.secondary-dropdown a {
    color: #fff;
    text-decoration: none;
    display: block;
    line-height: 1.5;
    font-weight: 500;
    font-size: 14px;
    padding: 10px 16px;
    background: #e8ac39;
    transition: background-color .28s ease, color .28s ease, padding-inline .28s ease;
    text-align: right;
}

.ltr .secondary-dropdown a {
    text-align: left;
}

.secondary-dropdown .overflow-menu-list > li:hover > a,
.secondary-dropdown .overflow-menu-list > li.current-menu-item > a,
.secondary-dropdown .overflow-menu-list > li.current_page_item > a {
    background: #94b62b;
}

.secondary-dropdown .overflow-menu-list > li:hover > a {
    padding-inline-start: 22px;
}

.ltr .secondary-dropdown .overflow-menu-list > li:hover > a {
    padding-inline-start: 16px;
    padding-inline-end: 22px;
}

.secondary-dropdown .sub-menu {
    display: none;
    background: #94b62b;
}

.secondary-dropdown li:hover > .sub-menu {
    display: block;
}

.secondary-dropdown .sub-menu a {
    padding-inline-start: 30px;
    font-size: 13px;
}

.secondary-dropdown .sub-menu a:hover {
    background: #87a625;
}

@media (max-width: 1200px) {
    .secondary-dropdown a {
        font-size: 14px;
    }
}
.secondary-menu.active .secondary-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.secondary-menu.active .close-icon {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

@media (min-width: 1051px) {
    .secondary-menu.active .menu-toggle {
        opacity: 0;
        visibility: hidden;
        transform: scale(.96);
        transition: opacity .22s ease, visibility .22s ease, transform .22s ease;
    }
}

/* Responsive Header */
@media (max-width: 1440px) {
    .container {
        padding: 0 70px;
    }

    .bottom-header .menu ul {
        column-gap: 22px;
    }
}

@media (max-width: 1200px) {
    .container {
        padding: 0 50px;
    }

    .top-header {
        gap: 10px;
    }

    .bottom-header {
        padding-top: 14px;
    }

    .bottom-header .logo img {
        width: 200px;
    }

    .bottom-header .menu ul {
        column-gap: 13px;
    }

    .secondary-menu {
        display: flex;
    }

    .menu-toggle {
        padding: 0 !important;
    }
}

@media (max-width: 1050px) {
    .container {
        padding: 0 40px;
    }

    .top-header {
        /*display: none;*/
    }

    .bottom-header {
        padding-top: 16px !important;
        justify-content: space-between;
    }

    .bottom-header .logo img {
        width: 220px;
    }

    .bottom-header .menu {
        display: none;
    }

    .secondary-menu {
        display: flex;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .top-header {
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
        /*display: none;*/
    }

    .bottom-header {
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
        gap: 12px;
        padding-top: 12px;
    }

    .bottom-header .logo img {
        width: 160px;
    }

    .bottom-header .menu ul {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: flex-start;
        display: none;
    }

    .bottom-header .menu ul a {
        padding: 5px 10px;
        font-size: 14px;
    }

    .secondary-menu {
        display: flex;
    }

    .secondary-dropdown {
        width: 280px;
        right: -300px;
        left: auto;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 18px;
    }

    .top-header {
        gap: 8px;
        /*display: none;*/
    }

    .bottom-header {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding-top: 12px;
    }

    .bottom-header .logo img {
        width: 140px;
    }

    .bottom-header .menu ul {
        flex-wrap: wrap;
        gap: 8px;
        display: none;
    }

    .bottom-header .menu ul a {
        padding: 6px 10px;
        font-size: 13px;
    }

    .secondary-menu {
        display: inline-flex;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.55);
        background: rgba(0, 0, 0, 0.22);
        justify-content: center;
        gap: 0;
    }

    .menu-toggle .burgar-menu {
        width: 20px;
        height: 14px;
        gap: 3px;
    }

    .menu-toggle .burgar-menu span {
        width: 20px;
        height: 1.5px;
        background-color: #fff;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

    .secondary-menu.active .menu-toggle .burgar-menu span:nth-child(1) {
        transform: translateY(4px) rotate(45deg);
    }

    .secondary-menu.active .menu-toggle .burgar-menu span:nth-child(2) {
        opacity: 0;
    }

    .secondary-menu.active .menu-toggle .burgar-menu span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
    }

    .secondary-dropdown {
        width: 100%;
        max-width: 100%;
        right: -100%;
        left: auto;
        height: 100vh;
        background: linear-gradient(180deg, rgba(232, 172, 57, 0.98), rgba(178, 128, 32, 0.95));
        border-radius: 0;
        padding: 70px 24px 30px;
        opacity: 0;
        visibility: hidden;
        transform: translateX(0);
        transition: right 0.35s ease, opacity 0.25s ease, visibility 0.25s ease;
        box-shadow: none;
        pointer-events: none;
        display: flex;
        flex-direction: column;
    }

    .secondary-menu.active .secondary-dropdown {
        right: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .secondary-dropdown::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.1);
        opacity: 0.12;
        border-radius: 0;
        pointer-events: none;
        z-index: -1;
    }

    .secondary-dropdown ul {
        padding-top: 20px;
    }

    .secondary-dropdown li {
        margin-bottom: 0;
    }

    .secondary-dropdown a {
        font-size: 16px;
        letter-spacing: 0.01em;
        padding: 10px 0;
        font-weight: 500;
    }

    .close-icon {
        top: 20px;
        right: 20px;
        left: auto;
        color: #fff;
        font-size: 24px;
        opacity: 0;
        visibility: hidden;
    }

    .secondary-menu.active .close-icon {
        opacity: 1;
        visibility: visible;
    }
}


/* ==========================================
   TABLET + MOBILE MENU
========================================== */

@media (max-width: 1050px) {
    .container {
        padding: 0 30px;
    }

    /* top header */
    .top-header {
        /*display: none;*/
    }

    /* hide desktop menu */
    .bottom-header .menu {
        display: none;
    }

    /* show burger */
    .secondary-menu {
        display: flex;
        order: 3;
        padding-bottom: 0;
        margin-bottom: 0;
    }

    .menu-toggle {
        padding: 0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
    }

    .menu-toggle:hover {
        background: rgba(255, 255, 255, 0.12);
    }

    .secondary-menu.has-overflow:hover .menu-toggle,
    .secondary-menu.active .menu-toggle {
        background: rgba(255, 255, 255, 0.12);
        border-radius: 50%;
    }

    .menu-toggle .text {
        display: none;
    }

    /* side menu */
    .secondary-dropdown {
        position: fixed;
        top: 0;
        right: -350px;
        left: auto;
        width: 320px;
        max-width: 85%;
        height: 100vh;
        background: #e8ac39;
        padding: 80px 0 30px;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: right 0.35s ease;
        z-index: 99999;
        display: flex;
        flex-direction: column;
    }

    .secondary-dropdown::before {
        display: none;
    }

    .ltr .secondary-dropdown {
        left: unset;
        right: -350px;
    }

    .secondary-menu.active .secondary-dropdown {
        right: 0;
    }

    .secondary-dropdown ul {
        padding: 0;
    }

    .secondary-dropdown li {
        margin-bottom: 0;
    }

    .secondary-dropdown a {
        font-size: 16px;
        display: block;
        padding: 10px 30px;
        font-weight: 500;
    }

    .secondary-dropdown .overflow-menu-list > li:hover > a {
        padding-inline-start: 30px;
    }

    .secondary-dropdown .overflow-menu-list > li.current-menu-item > a,
    .secondary-dropdown .overflow-menu-list > li.current_page_item > a {
        background: #94b62b;
    }

    .secondary-dropdown li.menu-item-has-children > a,
    .secondary-dropdown li:has(> .sub-menu) > a {
        position: relative;
        padding-inline-start: 52px;
    }

    .secondary-dropdown li.menu-item-has-children > a::before,
    .secondary-dropdown li:has(> .sub-menu) > a::before {
        content: "";
        position: absolute;
        top: 50%;
        inset-inline-start: 30px;
        width: 8px;
        height: 8px;
        border-inline-end: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-65%) rotate(45deg);
        opacity: .9;
        transition: transform .25s ease;
    }

    .secondary-dropdown li.menu-item-has-children:hover > a::before,
    .secondary-dropdown li:has(> .sub-menu):hover > a::before {
        transform: translateY(-65%) rotate(45deg);
    }

    .secondary-dropdown .sub-menu a {
        padding-inline-start: 48px;
        font-size: 14px;
        background: rgba(148, 182, 43, .35);
    }

    .secondary-dropdown .sub-menu {
        display: none;
    }

    .secondary-dropdown li:hover > .sub-menu {
        display: none;
    }

    .secondary-dropdown li.submenu-open > .sub-menu {
        display: block;
    }

    .secondary-dropdown li.submenu-open > a::before {
        transform: translateY(-35%) rotate(225deg);
    }

    .ltr .secondary-dropdown a {
        text-align: left;
    }

    .ltr .secondary-dropdown .overflow-menu-list > li:hover > a {
        padding-inline-start: 30px;
        padding-inline-end: 30px;
    }

    .close-icon {
        top: 20px;
        right: 30px;
        left: auto;
        opacity: 1;
        visibility: visible;
        cursor: pointer;
    }
}

@media (max-width: 550px) {
    .top-header {
        justify-content: flex-end;
    }
    .top-header .icon-box:first-child,
    .top-header .icon-box:first-child + span {
        display: none;
    }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .bottom-header {
        padding-top: 14px;
    }

    .bottom-header .logo img {
        width: 220px;
    }

    .menu-toggle {
        width: 44px;
        height: 44px;
    }

    .secondary-dropdown {
        width: 280px;
        max-width: 75%;
    }

    .secondary-dropdown a {
        font-size: 15px;
        padding-inline: 24px;
    }

    .secondary-dropdown li.menu-item-has-children > a,
    .secondary-dropdown li:has(> .sub-menu) > a {
        padding-inline-start: 46px;
    }

    .secondary-dropdown li.menu-item-has-children > a::before,
    .secondary-dropdown li:has(> .sub-menu) > a::before {
        inset-inline-start: 24px;
    }

    .secondary-dropdown .sub-menu a {
        padding-inline-start: 42px;
    }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 480px) {
    .container {
        padding: 0 14px;
    }

    .bottom-header .logo img {
        width: 200px;
    }

    .menu-toggle {
        width: 40px;
        height: 40px;
    }

    .menu-toggle .burgar-menu {
        width: 18px;
        height: 12px;
    }

    .menu-toggle .burgar-menu span {
        width: 18px;
        height: 1px;
    }

    .secondary-dropdown {
        width: 100%;
        padding: 70px 20px 20px;
    }

    .close-icon {
        top: 18px;
        right: 18px;
        font-size: 22px;
    }
}


/* Carousel Section */

.hero-carousel {
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    z-index: 10;
    color: #fff;
}

.slide-content .container {
    width: 100%;
    margin: 0 auto;
    margin-right: 100px;
    display: flex;
    align-items: center;
    gap: 60px;
}

.slide-text {
    flex: 1;
    color: var(--white);
    max-width: 600px;
}

.ltr .slide-text {
    max-width: 720px;
}

.slide-title {
    font-size: 50px;
    font-weight: bold;
    margin-bottom: 25px;
    line-height: 1.3;
    text-align: right;
    color: white;
}

.ltr .slide-title {
    text-align: left;
    font-size: 40px;
    line-height: 1.2;
}

.slide-title strong {
    color: var(--primary-color);
}

.slide-description {
    font-size: 17px;
    margin-bottom: 40px;
    line-height: 1.7;
    color: #eee;
    text-align: right;
}

.ltr .slide-description {
    text-align: left;
}

.slide-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.slide-buttons a {
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 17px;
    text-decoration: none;
    transition: all 0.6s ease;
    background-color: var(--primary-color);
    border: 1px solid var(--primary-color);
    color: white;
}

.slide-buttons a.btn-secondary {
    background-color: transparent;
    border: 1px solid white;
}

/* Carousel Controls */
.slide-controls {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-bottom: 20px;
}

.carousel-btn {
    background-color: transparent;
    color: var(--white);
    border: 1px solid white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    transition: all 0.3s ease;
}

.carousel-btn:hover {
    background-color: #f2b33d;
    border-color: #f2b33d;
}

.ltr .carousel-btn.carousel-next > svg,
.ltr .carousel-btn.carousel-prev > svg {
    transform: rotate(180deg);
}

.carousel-indicators {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateX(-50%) rotate(90deg);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background-color: var(--primary-color);
    width: 30px;
    border-radius: 6px;
}

.hero-carousel .follow-us {
    position: absolute;
    top: 120px;
    left: 80px;
    transform: translateY(50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 25px;
    z-index: 10;
}

.ltr .hero-carousel .follow-us {
    top: 70px;
    gap: 40px;
}


.ltr .hero-carousel .follow-us {
    left: unset;
    right: 80px;
}

.hero-carousel .follow-us .line {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.7);
}

.ltr .hero-carousel .follow-us .line {
    height: 25px;
}

.hero-carousel .follow-us .text {
   color: white;
   transform: rotate(-90deg);
   font-size: 20px;
}

.ltr .hero-carousel .follow-us .text {
    transform: rotate(90deg);
    font-size: 16px;
}

.hero-carousel .follow-us .socials-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hero-carousel .follow-us .social-icon {
    display: inline-flex;
    padding: 10px;
    border-radius: 50%;
    border: 1px solid white;
    transition: all 0.5s ease-in;
}

.hero-carousel .follow-us .social-icon:hover {
    background-color: #e8ac39;
    border: 1px solid #e8ac39;
}

@media (max-width: 1000px) {
    .hero-carousel .follow-us {
        display: none;
    }
}

/* الفيديو */
.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* الصورة */
.hero-bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.slide-overlay {
     position: absolute;
    inset: 0;
    background: rgba(0,0,0,.4);
    z-index: 1;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100vh;
    opacity: 0;
    transition: opacity 0.8s ease;
    overflow: hidden;
    background: #000; /* fallback مهم */
}

.carousel-slide.active {
    opacity: 1;
    z-index: 5;
}

@media (max-width: 1200px) {
    .slide-content .container {
        margin-right: 50px;
        gap: 40px;
    }

    .slide-title {
        font-size: 50px;
    }

    .slide-description {
        font-size: 18px;
    }

    .carousel-indicators {
        right: -70px;
    }
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }

    .slide-buttons a {
        font-size: 15px;
        padding: 8px 25px;
    }

    .hero-carousel .follow-us {
        top: 0;
        left: 25px;
    }
}

@media (max-width: 800px) {
    .slide-title {
        font-size: 40px;
    }
    .slide-description {
        font-size: 16px;
    }
    .carousel-indicators {
        right: -50px;
        gap: 7px;
    }
    .indicator {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 600px) {
    .slide-title {
        font-size: 30px;
    }

    .slide-buttons a {
        font-size: 15px;
        padding: 8px 22px;
    }
}

@media (max-width: 500px) {
    .slide-title {
        font-size: 25px;
    }
}

.ltr .carousel-indicators {
    right: unset;
    left: 30px;
}

@media (max-width: 750px) {
    .ltr .carousel-indicators {
        left: 25px;
    }
    .ltr .slide-title {
        font-size: 30px;
    }
    .ltr .slide-content .container {
        margin-right: 0px;
        margin-left: 30px;
    }
}

@media (max-width: 500px) {
    .ltr .slide-title {
        font-size: 22px;
    }

    .ltr .slide-description {
        font-size: 15px;
        line-height: 1.8;
    }
}

/* ==========================================
   Start Main Buttons Section
   ========================================== */

.main-buttons {
    background-color: #e7a833;
    width: 100%;
    height: 170px;
    display: flex;

}

.main-buttons .first-card,
.main-buttons .fourth-card {
    flex: 2;
}

.main-buttons .second-card,
.main-buttons .third-card {
    flex: 3;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-buttons .second-card a,
.main-buttons .third-card a {
    color: white;
    text-decoration: none;
    font-size: 30px;
}

.ltr .main-buttons .second-card a,
.ltr .main-buttons .third-card a {
    font-size: 28px;
}

@media (max-width: 650px) {
    .ltr .main-buttons .second-card a, .ltr .main-buttons .third-card a {
        font-size: 20px;
    }
    .ltr .main-buttons .third-card a,
    .ltr .main-buttons .second-card a {
        width: fit-content !important;
    }
}

@media (max-width: 500px) {
    .ltr .main-buttons .second-card a, .ltr .main-buttons .third-card a {
        font-size: 17px;
    }
}


.main-buttons .second-card {
    background-color: #f2b33d;
}

.main-buttons .third-card {
    background-color: #95b629;
}

.main-buttons .fourth-card {
    background-color: #87a625;
}

.main-buttons .second-card a {
    display: block;
    width: 150px;
    text-align: center;
}

.ltr .main-buttons .second-card a {
    width: 220px;
}

.main-buttons .third-card a {
    display: block;
    width: 280px;
    text-align: center;
}

.ltr .main-buttons .third-card a {
    width: 400px;
}


@media (max-width: 1200px) {
    .main-buttons .second-card a,
    .main-buttons .third-card a {
        font-size: 25px;
    }

    .main-buttons {
        height: 140px;
    }
}

@media (max-width: 768px) {

    .main-buttons .first-card,
    .main-buttons .fourth-card {
        display: none;
    }

    .main-buttons .second-card a {
        width: 130px;
        font-size: 22px;
    }

    .main-buttons .third-card a {
        width: 200px;
        font-size: 22px;
    }
}

/* ==========================================
   Start Programs & Projects Section
   ========================================== */

.programs-section {
    padding: 60px 0;
}

/* .programs-section > .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 100%;
    width: 100%;
} */

.programs-section .programs-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
    max-width: 100%;
    width: 100%;
}

.programs-cards {
    position: relative;
    display: flex;
    overflow: hidden;
    text-decoration: none;
    border-radius: 12px;
    gap: 15px;
    margin: 30px 0 10px 0;
}

.programs-btn {
    display: flex;
    justify-content: center;
    align-items: center;
}

.program-card {
    width: calc((100% - 30px) / 3);
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
}

/* SVG icon */
.program-card::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: url("../images/search.svg") no-repeat center;
    background-size: contain;
    opacity: 0;
    z-index: 11;
    transition: all 0.3s ease;
}

/* hover */
.program-card:hover::before,
.program-card:hover::after {
    opacity: 1;
}

.programs-cards .program-card {
    width: calc((100% - 30px) / 3);
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    text-decoration: none;
}

.programs-cards .program-card img {
    transition: transform 0.5s ease;
    will-change: transform;
}

.programs-cards .program-card:hover img {
    transform: scale(1.07);
}

.card-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    background: rgba(0,0,0,0.35);
    transition: 0.3s ease;
}

.program-card h3 {
    color: #fff;
    font-size: 20px;
    text-align: center;
    z-index: 2;
    width: 60%;
    margin-bottom: 30px;
}

.program-card:hover .card-overlay {
    background: rgba(0,0,0,0.5);
}

.program-card:hover::before {
    opacity: 1;
}

.programs-section h2,
.programs-section .programs-text p {
    text-align: center;
}

.programs-section h2,
.media-section h2,
.partners-section h2 {
    font-size: 40px;
    text-align: center;
}

.programs-section .programs-text p,
.media-section > .container p,
.partners-section > .container p {
    font-size: 18px;
    line-height: 30px;
    max-width: 800px;
}

.programs-section .programs-btn a,
.about-section .about-content .about-btn,
.media-section .media-button-section a {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    margin-top: 20px;
    padding: 12px 40px;
    border-radius: 30px;
    font-size: 18px;
}

@media (max-width: 1200px) {
    .card-image img {
        height: 250px;
    }
    .program-card h3 {
        width: 95%;
        font-size: 18px;
        font-weight: 500;
        line-height: 1.4;
    }

    .programs-section .programs-btn a, .about-section .about-content .about-btn, .media-section .media-button-section a {
        padding: 10px 30px !important;
        font-size: 18px !important;
    }
}

@media (max-width: 900px) {
    .card-image img {
        height: 200px;
    }
    .program-card h3 {
        font-size: 16px;
        line-height: 1.3;
    }

    .programs-section h2, .media-section h2, .partners-section h2 {
        font-size: 32px !important;
    }

    .programs-section .programs-text p, .media-section > .container p, .partners-section > .container p {
        font-size: 16px !important;
        line-height: 1.5 !important;
    }
}

@media (max-width: 768px) {
    .programs-cards {
        flex-direction: column;
        gap: 20px;
        overflow: visible;
    }

    .programs-cards .program-card {
        width: 100%;
        max-width: 100%;
        flex: 1 1 100%;
    }

    .card-image img {
        height: auto;
    }
}

/* ==========================================
   Start About Section
   ========================================== */

.about-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 100px;
    background-color: #282828;
}

.about-content,
.about-image {
    width: 50%;
}

.about-image img {
    width: 100%;
    height: 500px;
    display: block;
    object-fit: cover;
}

.about-content {
    padding-left: 90px;
}

.ltr .about-content {
    padding-left: unset;
    padding-right: 80px;
}

@media (max-width:1300px) {
    .ltr .about-content {
        padding-right: 20px;
    }

    .ltr .about-wrapper {
        gap: 40px;
    }
}

@media (max-width: 1100px) {
    .ltr .about-content h2 {
        font-size: 25px !important;
    }
    .ltr .about-content p {
        font-size: 15px !important;
        line-height: 1.7 !important;
    }

    .ltr .about-section .about-content .about-btn {
        margin-top: 0 !important;
    }
}

.about-content h2 {
    font-size: 50px;
    margin-bottom: 15px;
    color: #f2b33d;
    width: 480px;
}

.ltr .about-content h2 {
    font-size: 35px;
    width: 100%;
}

.about-content p {
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 20px;
    color: #ffffff;
}

@media (max-width: 1000px) {
    .about-content h2 {
        font-size: 35px;
        width: 100%;
    }

    .about-content {
        padding-left: 20px;
    }
}

@media (max-width: 800px) {
    .about-wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .about-content,
    .about-image {
        width: 100%;
    }

    .about-content {
        padding: 50px 15px 10px 15px;
    }

    .ltr .about-content {
        padding-left: 20px;
    }

    .about-image img {
        height: auto;
    }

    .about-content h2 {
        font-size: 28px;
        width: 100%;
    }
}

/* ==========================================
   Media Gallery - معرض الوسائط
   ========================================== */

.media-section {
    background-color: #f8f8f8;
    padding: 60px 0;
}

.media-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.media-section div.media-button-section {
    display: flex;
    justify-content: center;
    align-items: center;
}

.media-gallery-item {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    background: #f5f5f5;
    aspect-ratio: 16 / 9;
}

.media-gallery-item.media-gallery-item--large {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    border-radius: 16px;
}

.media-gallery-item.media-gallery-item--small {
    grid-column: auto;
    grid-row: auto;
    border-radius: 12px;
}

/* Wrapper Link Styling */
.media-gallery-item a {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    text-decoration: none;
}

.media-gallery-item a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.media-gallery-item a:hover::before {
    opacity: 1;
}

.media-gallery-item.media-gallery-item--large a {
    border-radius: 16px;
}

/* Image Styling */
.media-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
    will-change: transform;
}

.media-gallery-item a:hover img {
    transform: scale(1.08);
}

/* Overlay Effect */
.media-gallery-item .overlay-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 0;
    transition: height 0.7s ease;
    border-radius: inherit;
}

.media-gallery-item a:hover .overlay-bg {
    height: 100%;
}

/* Icon Container */
.media-gallery-item .icon-container {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.media-gallery-item .icon-wrapper {
    display: inline-flex;
    height: 80px;
    width: 80px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 36px;
    opacity: 0;
    transform: scale(0.85);
    transition: all 0.35s ease;
}

.media-gallery-item .icon-wrapper.video {
    opacity: 1;
}

.media-gallery-item a:hover .icon-wrapper {
    opacity: 1;
    transform: scale(1);
}

.media-gallery-item.media-gallery-item--large .icon-wrapper {
    height: 100px;
    width: 100px;
    font-size: 48px;
}

/* Play Button Icon */
.media-gallery-item .fa-play {
    font-size: inherit;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* Search Icon */
.media-gallery-item .fa-search {
    font-size: 40px;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    transition: opacity 0.3s ease;
}

.media-gallery-item a:hover .fa-search {
    opacity: 1;
}

/* Responsive Grid */
@media (max-width: 1024px) {
    .media-gallery-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 14px;
    }

    .media-gallery-item.media-gallery-item--large {
        grid-column: 1 / 3;
        grid-row: 1 / 3;
    }

    .media-gallery-item .icon-wrapper {
        height: 70px;
        width: 70px;
        font-size: 32px;
    }

    .media-gallery-item.media-gallery-item--large .icon-wrapper {
        height: 90px;
        width: 90px;
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .media-gallery-grid {
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
    }

    .media-gallery-item.media-gallery-item--large {
        grid-column: 1 / 3;
        grid-row: 1 / 2;
    }

    .media-gallery-item.media-gallery-item--small {
        grid-column: auto;
        grid-row: auto;
    }

    .media-gallery-item .icon-wrapper {
        height: 60px;
        width: 60px;
        font-size: 28px;
    }

    .media-gallery-item.media-gallery-item--large .icon-wrapper {
        height: 80px;
        width: 80px;
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    .media-gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .media-gallery-item.media-gallery-item--large {
        grid-column: 1 / 3;
        grid-row: auto;
    }

    .media-gallery-item.media-gallery-item--small {
        grid-column: auto;
        grid-row: auto;
    }

    .media-gallery-item .icon-wrapper {
        height: 50px;
        width: 50px;
        font-size: 24px;
    }

    .media-gallery-item.media-gallery-item--large .icon-wrapper {
        height: 70px;
        width: 70px;
        font-size: 32px;
    }
}

.media-section .container > .text-center,
.partners-section .container > .text-center {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
}

/* GLightbox Enhancement */
.glightbox-container {
    z-index: 99999 !important;
}

.glightbox-open body {
    overflow: hidden;
}

.gslide {
    background: rgba(0, 0, 0, 0.96);
}

.gslide-title {
    color: #ffffff;
    font-size: 18px;
    padding: 16px;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
}

.gslide-description {
    color: #ffffff;
}

/* Caption Styling */
.gslide__media video,
.gslide__media iframe {
    border-radius: 8px;
}

/* Overlay Effect */
.goverlay {
    background: rgba(0, 0, 0, 0.96);
    opacity: 1;
}

/* ==========================================
   Statistics Section - قسم الإحصائيات
   ========================================== */


.statistics-section {
    background: #7f7f7f;
    padding: 80px 0;
    color: #fff;
    text-align: center;
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    overflow: hidden;
}

.statistics-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .45);
}

.statistics-section .container {
    position: relative;
    z-index: 2;
}

/* TITLE */
.statistics-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
}

.statistics-section p {
    color: #f1f1f1;
    font-size: 14px;
    max-width: 600px;
    margin: 0 auto 35px;
    line-height: 1.6;
}

/* TABS */
.stats-tabs {
    display: flex;
    justify-content: center;
    gap: 25px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.tab-btn {
    background: transparent;
    border: none;
    color: #ddd;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 18px;
    border-radius: 30px;
    transition: 0.3s ease;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    background: #9cc12f; /* الأخضر */
    color: #fff;
}

.tab-btn:hover {
    background-color: #e8ac39;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-content.active {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

/* CARD */
.stat-box {
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 16px;
    padding: 50px 20px;
    text-align: center;
    transition: 0.3s ease;
    background: transparent;
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: #fff;
}

/* NUMBER */


.stat-box div:first-child {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

/* TITLE */
.stat-box div:last-child {
    font-size: 18px;
    color: #eee;
    line-height: 1.4;
    width: 120px;
    margin: 0 auto;
}

/* ==========================================
   Partners Section - قسم الشركاء
   ========================================== */

.partners-section {
    background-color: #fff;
    padding: 60px 0;
}

.partners-carousel-wrapper {
    position: relative;
    /* overflow: hidden; */
    width: 100%;
    padding: 0 50px;
}

.partners-carousel {
    display: flex;
    gap: 30px;

    overflow-x: auto;
    scroll-behavior: smooth;

    width: 100%;              /* ❌ بدل max-content */
    flex-wrap: nowrap;       /* مهم */
}

.partners-carousel::-webkit-scrollbar {
    display: none; /* اختياري */
}

.partner-item {
    flex: 0 0 auto;
    width: 200px;
    height: auto;

    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.partners-swiper {
    width: 100%;
    overflow: hidden;
    padding: 12px 52px;
}

.partners-swiper .swiper-wrapper {
    align-items: stretch;
}

.partners-swiper .partner-item {
    width: auto;
    min-height: 210px;
    padding: 30px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partners-swiper .partner-item img {
    width: 100%;
    max-width: 360px;
    height: 175px;
    object-fit: contain;
}

@media (max-width: 1023px) {
    .partners-swiper {
        padding-inline: 46px;
    }

    .partners-swiper .partner-item {
        min-height: 185px;
        padding: 24px 14px;
    }

    .partners-swiper .partner-item img {
        max-width: 280px;
        height: 145px;
    }
}

@media (max-width: 639px) {
    .partners-swiper {
        padding-inline: 54px;
    }

    .partners-swiper .partner-item {
        min-height: 195px;
        padding: 18px 10px;
    }

    .partners-swiper .partner-item img {
        max-width: 310px;
        height: 160px;
    }
}
/* الزر المشترك */
.swiper-button-next, .swiper-button-prev {
    position: absolute;
    top: 50%;
    width: 40px;
    height: 40px;
    border: none;
    background: #95b629;
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: 0.3s;
    font-size: 30px;
    line-height: 30px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
    font-size: 20px;
    font-weight: 600;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #f2b33d;
}

/* زر اليسار */
.swiper-button-prev {
    left: 0;
}

/* زر اليمين */
.swiper-button-next {
    right: 0;
}

.partners-carousel {
    overflow: hidden;
    width: 100%;
}

.partners-track {
    display: flex;
    gap: 20px;
    width: max-content;
}

.partner-item {
    flex: 0 0 auto;
}

/* ==========================================
   Footer - قسم التذييل 
   ========================================== */

.site-footer {
    background: #f8f8f8;
    color: #000;
    padding: 60px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* logo */
.footer-logo img {
    max-width: 250px;
    height: auto;
}

/* copywrite */
.footer-copy p {
    font-size: 14px;
    color: #000;
    line-height: 1.6;
}

/* contact */
.footer-contact .contact-items {
    display: flex;
    flex-direction: row;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.footer-contact .contact-items > span {
    width: 2px;
    height: 45px;
    background-color: #c7c7c7;
    align-self: center;
}

.footer-contact .contact-items .icon-box {
    display: flex;
    flex-direction: row-reverse;
    gap: 5px;
}

.footer-contact a {
    color: #000;
    text-decoration: none;
    font-size: 16px;
    direction: ltr;
}

.footer-contact a:hover {
    color: #94b62b;
}

/* social icons */
.footer-socials {
    margin-top: 15px;
}

.socials-icons-footer {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.socials-icons-footer a {
    display: inline-flex;
    padding: 8px;
    border: 1px solid #000;
    border-radius: 50%;
}

.mobile-copyright {
    display: none;
}


@media (max-width: 1300px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-col.footer-copy {
        display: none;
    }

    .mobile-copyright {
        text-align: center;
        margin-top: 30px;
        display: block;
    }
}

@media (max-width: 800px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-col.footer-logo {
        align-items: center;
    }

    .footer-contact .contact-items {
        justify-content: center;
    }

    .footer-contact .contact-items > span {
        display: none;
    }
}


/* ==========================================
   HERO PAGE SECTION - قسم الصورة الافتتاحية 
   ========================================== */

.hero-page-section {
    color: #fff;
    padding: 200px 0 60px;
    position: relative;
}

.hero-page-section .hero-title {
    font-size: 30px;
}

.hero-page-section .hero-subtitle,
.hero-page-section .hero-description {
    font-size: 20px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .hero-page-section .hero-title {
        font-size: 24px;
    }
}

@media (max-width: 500px) {
    .hero-page-section .hero-title {
        font-size: 20px;
    }

    .hero-page-section .hero-subtitle,
    .hero-page-section .hero-description {
        font-size: 16px;
    }
}

/* ==========================================
   Programs & Projects Section - قسم البرامج والمشاريع
   ========================================== */

.projects-programs-page {
    padding: 50px 0;
}

.program-project-card {
    height: 100%;
}

@media (max-width: 768px) {
    .program-project-card .programs-thumbnail-link img + span {
        display: none !important;
    }
}

.wp-singular.page {
    line-height: 1.7;
}


.program-project-inner {
    display: flex;
    flex-direction: row;
    height: 100%;
    background: #fff;
    overflow: hidden;
}

.program-project-inner.reverse {
    flex-direction: row-reverse;
}

/* ===== IMAGE 50% ===== */
.programs-thumbnail-link {
    width: 50%;
    display: block;
    position: relative;
    overflow: hidden;
}

.programs-thumbnail-link img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* أهم سطر */
    display: block;
}

/* Overlay */
.programs-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    opacity: 0;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.programs-thumbnail-link:hover .programs-overlay {
    opacity: 1;
}

.programs-icon {
    color: #fff;
    font-size: 24px;
}

/* ===== CONTENT 50% ===== */
.programs-content {
    width: 50%;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.programs-content h2 {
    font-size: 30px;
    width: 500px;
}

/* Title */
.programs-title-link {
    font-weight: 600;
    color: #282828;
    text-decoration: none;
}

/* Excerpt */
.programs-excerpt {
    font-size: 20px;
    color: #282828;
    line-height: 1.7;
}

/* Read more */

.programs-read-more {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}
/* .programs-read-more-link {
    font-weight: 500;
    color: white;
    background-color: var(--primary-color);
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    transition: background 0.5s ease-in-out;
}

.programs-read-more-link:hover {
    background: #f2b33d;
} */

.programs-read-more-link {
    position: relative;
    display: inline-block;
    overflow: hidden;
    font-weight: 500;
    color: #fff;
    background: var(--primary-color);
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 25px;
    z-index: 1;
    transition: color .4s ease;
}

.programs-read-more-link::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #f2b33d;
    border-radius: inherit;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1s cubic-bezier(.22, 1, .36, 1);
    z-index: -1;
}

.programs-read-more-link:hover::before {
    transform: scaleX(1);
}

.programs-read-more-link:hover {
    color: #fff;
}

.rtl .programs-read-more-link {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: row-reverse;
    gap: 12px;
}


@media (max-width: 1000px) {
    .hero-page-section {
        padding: 150px 0 50px;
    }

    .programs-content h2 {
        width: 100%;
        font-size: 24px;
    }
    .programs-excerpt {
        font-size: 17px;
    }

    .programs-read-more {
        margin-top: 0px;
    }
}

@media (max-width: 768px) {
    .program-project-inner,
    .program-project-inner.reverse {
        flex-direction: column;
    }
    .programs-content,
    .programs-thumbnail-link {
        width: 100%;
    }
}


/* ==========================================
   Media Center Page - صفحة مركز الوسائط
   ========================================== */
.media-center-page {
    padding: 50px 0;
}

/* GRID */
.media-center-page .media-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    grid-auto-flow: row dense;
    align-items: start;
    row-gap: 40px;
}

/* ARTICLE CARD */
.media-center-page .media-grid article {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    margin: 0;
}

/* LINK WRAPPER */
.media-center-page .media-grid article a {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
}

/* IMAGE - نخلي كل الصور نفس الشكل */
.media-center-page .media-grid article a .media-cover {
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

/* نخفي أي صورة إضافية (زي pswp-thumbnail) */
.media-center-page .media-grid article a img.pswp-thumbnail {
    display: none !important;
}

/* OVERLAY */
.media-center-page .overlay-background {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    z-index: 2;
}

.img-overlay-background {
    display: none;
}

.media-center-page article a:hover .overlay-background {
    background: rgba(0, 0, 0, 0.35);
}

.media-center-page article a:hover .overlay-background .img-overlay-background {
    display: block;
}

/* COUNTER BADGE (تصحيح المشكلة الأساسية) */
.media-center-page .span-count-media {
    position: absolute;
    top: 10px;
    left: 10px;
    right: auto;
    z-index: 5;
    background-color: var(--primary-color);
    color: #fff;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 13px;
    display: flex;
    align-items: center;
}

/* TITLE */
.media-center-page h3 {
    margin-top: 15px;
}

@media (max-width: 1200px) {
    .media-center-page .media-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .media-center-page .media-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .media-center-page .media-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Single Events Page - صفحة الحدث الفردي 
   ========================================== */

.single-post-page {
    padding: 70px 0;
}

.single-post-page article.main-content {
    display: flex;
    justify-content: space-between;
    gap: 40px;
}

.single-post-page .single-post-content {
    width: 70%;
}

.single-post-page .aside-content {
    width: 30%;
}

.single-post-page .single-post-content figure {
    width: 100%;
    margin-bottom: 30px;
}

.single-post-page .single-post-content figure img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 15px;
}

.single-post-page .single-post-content .text-content-single {
    line-height: 1.7;
    font-size: 16px;
    margin-bottom: 30px;
}


.single-post-page .single-calendar {
    display: inline-flex;
    align-items: center;
    background-color: #bad079;
    padding: 5px 15px;
    gap: 10px;
    border-radius: 7px;
}

.single-post-page .share-single-post {
    margin: 30px 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    padding: 15px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 20px;
}

.single-post-page .share-single-post > div {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.single-post-page .share-single-post > div > .text-center {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.single-post-page .share-single-post > div > .text-center .text-share {
    display: inline-flex;
    gap: 10px;
    align-items: center;
    background-color: #ffe3b1;
    color: #000;
    width: fit-content;
    padding: 7px 20px;
    border-radius: 12px;
}

.single-post-page .social-media-share,
.single-post-page .copy-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 18px;
}

.single-post-page .from-blue-600 {
    background-color: #1f54dd;
}

.single-post-page .from-slate-800 {
    background-color: #141d2f;
}

.single-post-page .from-green-500 {
    background-color: #19ad50;
}

.single-post-page .from-sky-500 {
    background-color: #058dd1;
}

.single-post-page .from-blue-700 {
    background-color: #1d44bb;
}

.single-post-page .from-red-600 {
    background-color: #c41f1f;
}

.single-post-page .copy-btn {
    background-color: #242f42;
}

.single-post-page .copy-btn {
    outline: none;
    border: none;
    cursor: pointer;
}

.single-post-page .fa.fa-check {
    display: none;
}

.single-post-page .text-url {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #f5f5f5;
    padding: 7px 20px;
    border-radius: 12px;
}

.single-post-page .text-url input {
    background-color: transparent;
    border: none;
    outline: none;
}

.single-post-page .single-post-navigation {
    margin-top: 10px;
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #d7d7d7;
    border-bottom: 1px solid #d7d7d7;
    padding: 20px 0;
}

.single-post-page .single-post-navigation > span > a {
    text-decoration: none;
    color: #222;
    font-weight: 600;
}

.single-post-page .single-post-navigation > span > a:hover {
    color: var(--primary-color);
}

.single-recent-articles .single-header-recent-articles {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.single-recent-articles .single-header-recent-articles > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.single-recent-articles .view-all-articles {
    display: flex;
    gap: 10px;
    color: #222;
    text-decoration: none;
}

.single-post-page .recents-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.single-post-page .recents-articles-grid .recent-article-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.single-post-page .recent-article-thumbnail {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.single-post-page .recents-articles-grid .recent-article-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.single-post-recent-article-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px 15px 25px 15px;
}

.single-post-recent-article-content h3 a {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    color: #222;
}

.events-recent-single h2 {
    font-size: 25px;
    margin-bottom: 20px;
}

.events-recent-single ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.events-recent-single ul li {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.events-recent-single ul li a {
    display: flex;
    gap: 20px;
    align-items: center;
    text-decoration: none;
    color: #222;
}

.events-recent-single ul li a .images {
    aspect-ratio: 16 / 12;
    display: block;
}

.events-recent-single ul li a .images img {
    width: 130px !important;
    height: 100%;
    object-fit: cover;
    display: block;
}

.recent-events-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 10px 15px 10px 0;
}

.recent-events-content .date {
    color: #555;
    font-size: 12px;
}

.recent-events-content .title {
    color: #222;
    font-size: 13px;
}

.single-post-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.single-post-categories a {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 999px;
    background: #f3f4f6;
    color: #333;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.single-post-categories a:hover {
    background: #111;
    color: #fff;
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .single-post-page .recents-articles-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    .single-post-page article.main-content {
        flex-direction: column;
    }

    .single-post-page .single-post-content,
    .single-post-page .aside-content {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .single-post-page .recents-articles-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Page Default Styles - أنماط الصفحة الافتراضية
   ========================================== */

.single-post-page .container-page-content {
    max-width: 900px;
    margin: 0 auto;
}

/* ==========================================
   Contact Page Styles - أنماط صفحة الاتصال 
   ========================================== */

.grid-contact-page {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 40px;
}

/* ===== FORM WRAPPER ===== */
.rtl .wpcf7-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    direction: rtl;
}

.ltr .wpcf7-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    direction: ltr;
}

/* reset default CF7 <p> */
.wpcf7-form p {
    margin: 0;
}

/* ===== 1 + 2 (Name + Email) ===== */
.wpcf7-form p:nth-of-type(1),
.wpcf7-form p:nth-of-type(2) {
    grid-column: span 1;
}

/* ===== 3 + 4 (Subject + Select) ===== */
.wpcf7-form p:nth-of-type(3),
.wpcf7-form p:nth-of-type(4) {
    grid-column: span 1;
}

/* ===== 5 (Message full width) ===== */
.wpcf7-form p:nth-of-type(5) {
    grid-column: 1 / -1;
}

/* textarea styling */
.wpcf7-textarea {
    width: 100%;
    min-height: 140px;
    resize: vertical;
}

/* ===== 6 (Submit button) ===== */
.wpcf7-form p:nth-of-type(6) {
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start; /* RTL: زر يسار أو يمين حسب التصميم */
}

/* submit button */
.wpcf7-submit {
    background: var(--primary-color);
    color: #fff;
    padding: 12px 40px;
    border-radius: 999px;
    border: none;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

/* hover */
.wpcf7-submit:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

/* inputs styling */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    transition: 0.3s;
    font-size: 14px;
    direction: rtl;
    font-family: inherit;
}

.ltr .wpcf7-form input[type="text"],
.ltr .wpcf7-form input[type="email"],
.ltr .wpcf7-form select,
.ltr .wpcf7-form textarea {
    direction: ltr;
}

/* focus */
.wpcf7-form input:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #111;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.05);
}

.grid-contact-page h2 {
    font-size: 30px;
    margin-bottom: 20px;
}

.grid-contact-page .contact-information {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
}

.grid-contact-page .contact-information h3 {
    margin: 30px 0 20px;
    width: 100%;
}

.grid-contact-page .contact-information .card-phone,
.grid-contact-page .contact-information .card-email,
.grid-contact-page .contact-information .card-address {
    width: calc(50% - 10px);
    display: flex;
    align-items: center;
    /* justify-content: center; */
    gap: 10px;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #989898;
}

.grid-contact-page .contact-information .card-address  {
    width: 100%;
}



.grid-contact-page .contact-information .card-phone a,
.grid-contact-page .contact-information .card-email a,
.grid-contact-page .contact-information .card-address a {
    display: inline-flex;
    direction: ltr;
    text-decoration: none;
    color: #222;
}

.grid-contact-page .contact-information .card-phone .phone-icon,
.grid-contact-page .contact-information .card-email .email-icon,
.grid-contact-page .contact-information .card-address .address-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-radius: 7px;
    background-color: var(--primary-color);
    color: #fff;
    font-size: 20px;
}

.grid-contact-page .contact-information .card-phone .phone-icon + div,
.grid-contact-page .contact-information .card-email .email-icon + div,
.grid-contact-page .contact-information .card-address .address-icon + div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

@media (max-width: 1000px) {
    .grid-contact-page {
        grid-template-columns: 3fr 3fr;
    }
    .grid-contact-page .contact-information .card-phone,
    .grid-contact-page .contact-information .card-email,
    .grid-contact-page .contact-information .card-address {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .grid-contact-page {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Annual Reports Page Styles - أنماط صفحة التقارير السنوية 
   ========================================== */
.annual-reports-page {
    padding: 50px 0;
}

.grid-annual-reports {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.annual-card{
    background:#fff;
    border-radius:20px;
    padding:22px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
    position:relative;
    overflow:hidden;
    transition:0.3s;
    border-top: 5px solid var(--primary-color);
}

.annual-card:hover{
    transform:translateY(-6px);
}

/* TOP SECTION */
.annual-card-top{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:18px;
}

/* YEAR BADGE */
.annual-badge{
    background:#fff1f1;
    color:#e11d48;
    font-size:12px;
    font-weight:700;
    padding:6px 12px;
    border-radius:999px;
    text-align: center;
}

/* YEAR NUMBER */
.annual-year{
    font-size:34px;
    font-weight:800;
    color:#e11d48;
    margin-inline-start:auto;
    margin-inline-end:10px;
}

/* PDF ICON BOX */
.annual-icon{
    width:70px;
    height:70px;
    background:linear-gradient(135deg,#ef4444,#b91c1c);
    border-radius:16px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:26px;
    box-shadow:0 10px 20px rgba(185,28,28,0.25);
}

/* TITLE */
.annual-title{
    font-size:18px;
    font-weight:700;
    color:#0f172a;
    margin-bottom:14px;
    line-height:1.5;
}

/* META */
.annual-meta{
    display:flex;
    gap:10px;
    margin-bottom:18px;
}

.meta-item{
    font-size:12px;
    padding:6px 10px;
    border-radius:8px;
    background:#f8fafc;
    color:#64748b;
    font-weight:600;
}

.meta-item.pdf{
    background:#ecfdf5;
    color:#16a34a;
}

/* DOWNLOAD BUTTON */
.annual-download{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    background:linear-gradient(135deg,#16a34a,var(--primary-color));
    color:#fff;
    padding:14px 18px;
    border-radius:14px;
    font-weight:700;
    text-decoration:none;
    transition:0.3s;
}

.annual-download:hover{
    transform:scale(1.02);
}

.annual-download i{
    font-size:14px;
}

.ltr .annual-reports-page .fa.fa-arrow-left {
    transform: rotate(180deg);
}

@media (max-width: 1100px) {
    .grid-annual-reports {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 700px) {
    .grid-annual-reports {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   404 Page - صفحة 404
   ========================================== */

.error-404-page {
    min-height: calc(100vh - 180px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    background: #fff;
    text-align: center;
}

.error-404-content {
    max-width: 700px;
    margin: auto;
}

.error-code {
    display: block;
    font-size: 140px;
    line-height: 1;
    font-weight: 800;
    color: #94b62b;
    margin-bottom: 15px;
}

.error-404-content h1 {
    font-size: 42px;
    color: #111;
    margin-bottom: 20px;
}

.error-404-content p {
    max-width: 520px;
    margin: 0 auto 40px;
    font-size: 18px;
    line-height: 1.8;
    color: #666;
}

.error-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.error-buttons a {
    min-width: 180px;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: .3s ease;
}

.primary-btn {
    background: #94b62b;
    color: #fff;
}

.primary-btn:hover {
    background: #7f9d23;
}

.secondary-btn {
    border: 2px solid #f2b33d;
    color: #111;
    background: transparent;
}

.secondary-btn:hover {
    background: #f2b33d;
    color: #fff;
}

@media (max-width:768px){

    .error-code{
        font-size:90px;
    }

    .error-404-content h1{
        font-size:30px;
    }

    .error-404-content p{
        font-size:16px;
    }

    .error-buttons{
        flex-direction:column;
        align-items:center;
    }

    .error-buttons a{
        width:100%;
        max-width:300px;
    }

}
