﻿@font-face {
    font-family: 'IBMPlexSansArabic';
    src: url('../fonts/IBMPlexSansArabic-Regular.ttf');
}

/*@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}
*/


/** {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Almarai', sans-serif;*/ /* Any Arabic-friendly font */
/*}*/

/*body {*/
/*direction: rtl;*/ /* Right-to-left layout */
/*background-color: #f5f5f5;
    color: #333;
}*/

/* Top Bar */
/* Top Bar */
/* Top Bar */
.top-bar {
    background-color: #f3f3f3;
    padding: 8px 16px;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
}

.top-bar-left {
    /* Left side content */
    text-align: left;
}

.top-bar-right {
    /* Right side content (icons, links) */
    display: flex;
    align-items: center;
    gap: 16px; /* space between items */
}

    .top-bar-right a {
        color: #333;
        text-decoration: none;
        font-size: 14px;
        display: flex;
        align-items: center;
        gap: 4px; /* space between icon and text */
    }



        .top-bar-right a:hover {
            text-decoration: underline;
        }

/* Header */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    /*padding: 10px 20px;*/
    border-bottom: 1px solid #ddd;
    position: relative;
}

/* Logo area */
.logo {
    display: flex;
    align-items: center;
}

    .logo img {
        height: 40px;
        margin-left: 10px; /* spacing in RTL context */
    }

    .logo span {
        font-weight: 600;
        font-size: 16px;
    }

/* Navigation (desktop by default) */
nav {
    display: flex;
    align-items: center;
    gap: 16px; /* spacing between links */
}

    nav a {
        text-decoration: none;
        color: #333;
        font-size: 14px;
        padding: 6px;
    }

        nav a:hover {
            font-weight: bold !important;
            color: #004d28;
        }

/* ========== Hamburger Menu Setup (Checkbox Hack) ========== */
/* Hide the default checkbox */
#menu-toggle {
    display: none;
}

/* Hamburger icon (three lines) */
.hamburger {
    display: none; /* hidden on desktop by default */
    width: 30px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

    .hamburger span {
        background-color: #333;
        position: absolute;
        height: 3px;
        width: 100%;
        transition: 0.3s;
        right: 0; /* align in RTL */
    }

        .hamburger span:nth-child(1) {
            top: 0;
        }

        .hamburger span:nth-child(2) {
            top: 10px;
        }

        .hamburger span:nth-child(3) {
            top: 20px;
        }

/* When checkbox is checked (menu open), transform lines into an "X" */
#menu-toggle:checked + label .hamburger span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}

#menu-toggle:checked + label .hamburger span:nth-child(2) {
    opacity: 0;
}

#menu-toggle:checked + label .hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

/* Mobile nav menu (hidden by default) */
.mobile-nav {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 60px; /* height of header */
    right: 0;
    width: 100%;
    border-top: 1px solid #ddd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .mobile-nav a {
        padding: 12px 20px;
        border-bottom: 1px solid #eee;
    }

/* Show mobile nav when checkbox is checked */
#menu-toggle:checked ~ .mobile-nav {
    display: flex;
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    height: 40vh; /* adjust as needed */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/Images/headerbg.jpeg');
}

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 128, 0, 0.4);
    }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    text-align: right; /* align text to the right for Arabic */
    color: #fff;
}

    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 10px;
    }

    .hero-content p {
        font-size: 1.2rem;
    }

/* ========== Media Queries ========== */
/* Tablet and smaller: Show hamburger, hide desktop nav */
@media (max-width: 992px) {
    nav {
        display: none; /* hide the desktop nav links */
    }

    .hamburger {
        display: block; /* show hamburger icon */
    }
}

/* Smaller screens: Adjust hero, text, etc. */
@media (max-width: 768px) {
    .hero {
        height: 40vh;
    }

    .hero-content {
        padding: 60px 20px;
    }

        .hero-content h1 {
            font-size: 2rem;
        }

        .hero-content p {
            font-size: 1rem;
        }
}



/*footer {
    background: #004d28;
    color: white;
    padding: 10px;
    text-align: center;*/
/*    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;*/
/*}

    footer a {
        color: white;
        text-decoration: none;
    }

        footer a:hover {
            text-decoration: underline;
        }

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

    .footer-links div {
        margin-bottom: 10px;
    }*/


.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px;
}

.card {
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    /*  text-align: center;*/
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/*    .card button {
        background-color: #004d28;
        color: white;
        border: none;
        padding: 10px 20px;
        border-radius: 5px;
        cursor: pointer;
        font-size: 1rem;
    }

        .card button:hover {
            background-color: #00703c;
        }
*/

.active {
    font-weight: bold !important;
    font-size: 14px;
    color: #004d28;
    background-color: #EAECF0;
    /*    color: lightgreen !important;*/
}



.hero2 {
    background-color: #eef8f0;
    color: #004d28;
    /*  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/Images/headerbg.jpeg');*/
    background-size: cover;
    background-position: center;
    padding: 30px 30px;
    text-align: center;
    /*  background-image: url('/Images/Hero Section.png'); */ /* Replace 'background.jpg' with the actual image path or URL */
    background-repeat: no-repeat; /* Prevents image repetition */

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    margin-top: 120px;
    z-index: 100000;
    border-bottom: 1px solid #ddd;
    /*    border-top: 1px solid #ddd;*/
}

    .hero2 h1 {
        font-size: 2.5rem;
        margin: 0;
    }

    .hero2 p {
        font-size: 1.2rem;
        margin-top: 10px;
    }




/* Hero Section */
.herosub {
    position: relative;
    width: 100%;
    height: 14vh; /* adjust as needed */
    /* background-color: rgba(247,253, 249, 1);*/
    /*    color: black;
*/ background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/Images/headerbg.jpeg');
    background-repeat: no-repeat;
    background-size: 100%;
}

    .herosub::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        /* background: rgba(0, 128, 0, 0.4);*/
    }

.herosub-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: right; /* align text to the right for Arabic */
    color: #FFF;
}

    .herosub-content h1 {
        font-size: 3rem;
        margin-bottom: 10px;
    }

    .herosub-content p {
        font-size: 1.2rem;
    }


.herosubhome {
    position: relative;
    width: 100%;
    height: 40vh; /* adjust as needed */
    /* background-color: rgba(247,253, 249, 1);*/
    /*    color: black;
*/ background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/Images/headerbg.jpeg');
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

    .herosubhome::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        /* background: rgba(0, 128, 0, 0.4);*/
    }

.herosubhome-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: right; /* align text to the right for Arabic */
    color: #FFF;
}

    .herosubhome-content h1 {
        font-size: 3rem;
        margin-bottom: 10px;
    }

    .herosubhome-content p {
        font-size: 1.2rem;
    }


@media (max-width: 768px) {
    .herohome {
        display: none
    }

    .herohome-content {
        display: none
    }

    .hideImage {
        display: none;
    }

    .herosub {
        display: none;
    }
}

/* Hero Section */
.herohome {
    position: relative;
    width: 100%;
    height: 35vh; /* adjust as needed */
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/Images/headerbg.jpeg');
    background-repeat: no-repeat;
    background-size: 100%;
}

    .herohome::before {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        background: rgba(0, 128, 0, 0.4);
    }

.herohome-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
    text-align: right; /* align text to the right for Arabic */
    color: #fff;
}

    .herohome-content h1 {
        font-size: 3rem;
        margin-bottom: 10px;
    }

    .herohome-content p {
        font-size: 1.2rem;
    }



.contentall {
    /*margin-bottom: 90px;*/ /* Footer Height */
    overflow-y: auto;
    padding: 20px;
    height: 100%;
    min-height: 800px
}




.login-section {
    background-color: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 30px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    /*    text-align: center;
    justify-content: center;
    align-items: center;*/
}

.h2titl {
    color: #004d28;
    margin-bottom: 20px;
    font-size: 22px;
}

.login-section .icon {
    font-size: 40px;
    color: #004d28;
    margin-bottom: 10px;
}
/*
.login-section input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #dcdcdc;
    border-radius: 5px;
    background-color: #f5f9fc;
    font-size: 14px;
}*/

.login-section button {
    background-color: #4caf50;
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-bottom: 10px;
}

    .login-section button:hover {
        background-color: #45a047;
    }

.login-section .forgot-password {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

    .login-section .forgot-password a {
        color: #004d28;
        text-decoration: none;
    }

        .login-section .forgot-password a:hover {
            text-decoration: underline;
        }

/* For Arrow Icon */
.login-section button::before {
    content: "\2190";
    margin-left: 10px;
}


.logincontet {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    min-height: 700px;
}


.login-section .checkbox-group {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin-bottom: 15px;
}
/*
    .login-section .checkbox-group input {
        margin-left: 10px;
    }

    .login-section .checkbox-group label {
        font-size: 14px;
        color: #333;
    }*/


.pagination {
    display: inline-block;
    padding-left: 0;
    margin: 20px 0;
    border-radius: 4px;
}

    .pagination > li {
        display: inline;
    }

        .pagination > li > a,
        .pagination > li > span {
            position: relative;
            float: left;
            padding: 6px 12px;
            margin-left: -1px;
            line-height: 1.428571429;
            text-decoration: none;
            background-color: #ffffff;
            border: 1px solid #dddddd;
        }

        .pagination > li:first-child > a,
        .pagination > li:first-child > span {
            margin-left: 0;
            border-bottom-left-radius: 4px;
            border-top-left-radius: 4px;
        }

        .pagination > li:last-child > a,
        .pagination > li:last-child > span {
            border-top-right-radius: 4px;
            border-bottom-right-radius: 4px;
        }

        .pagination > li > a:hover,
        .pagination > li > span:hover,
        .pagination > li > a:focus,
        .pagination > li > span:focus {
            background-color: #eeeeee;
        }

    .pagination > .active > a,
    .pagination > .active > span,
    .pagination > .active > a:hover,
    .pagination > .active > span:hover,
    .pagination > .active > a:focus,
    .pagination > .active > span:focus {
        z-index: 2;
        color: #ffffff;
        cursor: default;
        background-color: #004d28;
        border-color: #004d28;
    }

    .pagination > .disabled > span,
    .pagination > .disabled > a,
    .pagination > .disabled > a:hover,
    .pagination > .disabled > a:focus {
        color: #999999;
        cursor: not-allowed;
        background-color: #ffffff;
        border-color: #dddddd;
    }

.pagination-lg > li > a,
.pagination-lg > li > span {
    padding: 10px 16px;
    font-size: 18px;
}

.pagination-lg > li:first-child > a,
.pagination-lg > li:first-child > span {
    border-bottom-left-radius: 6px;
    border-top-left-radius: 6px;
}

.pagination-lg > li:last-child > a,
.pagination-lg > li:last-child > span {
    border-top-right-radius: 6px;
    border-bottom-right-radius: 6px;
}

.pagination-sm > li > a,
.pagination-sm > li > span {
    padding: 5px 10px;
    font-size: 12px;
}

.pagination-sm > li:first-child > a,
.pagination-sm > li:first-child > span {
    border-bottom-left-radius: 3px;
    border-top-left-radius: 3px;
}

.pagination-sm > li:last-child > a,
.pagination-sm > li:last-child > span {
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
}

.pager {
    padding-left: 0;
    margin: 20px 0;
    text-align: center;
    list-style: none;
}

    .pager:before,
    .pager:after {
        display: table;
        content: " ";
    }

    .pager:after {
        clear: both;
    }

    .pager:before,
    .pager:after {
        display: table;
        content: " ";
    }

    .pager:after {
        clear: both;
    }

    .pager li {
        display: inline;
    }

        .pager li > a,
        .pager li > span {
            display: inline-block;
            padding: 5px 14px;
            background-color: #ffffff;
            border: 1px solid #dddddd;
            border-radius: 15px;
        }

            .pager li > a:hover,
            .pager li > a:focus {
                text-decoration: none;
                background-color: #eeeeee;
            }

    .pager .next > a,
    .pager .next > span {
        float: right;
    }

    .pager .previous > a,
    .pager .previous > span {
        float: left;
    }

    .pager .disabled > a,
    .pager .disabled > a:hover,
    .pager .disabled > a:focus,
    .pager .disabled > span {
        color: #999999;
        cursor: not-allowed;
        background-color: #ffffff;
    }


body {
    /*  background-color: var(--colors-gray-neutral-50);*/
    height: 100%;
}


.center-box {
    width: 400px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}


.footer {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    background-color: #074D31;
    color: white;
}

.footer-section {
    flex: 1;
    padding: 10px;
    position: relative;
    text-align: right;
    margin: 0 20px;
}

    .footer-section h3 {
        color: #ffffff;
        margin-bottom: 10px;
        padding-bottom: 10px;
        border-bottom: 1px solid gray;
        font-size: 15px;
        text-align: right;
    }

    .footer-section ul {
        list-style: none;
        padding: 0;
    }

        .footer-section ul li {
            margin: 5px 0;
        }

            .footer-section ul li a {
                color: white;
                text-decoration: none;
            }

                .footer-section ul li a:hover {
                    text-decoration: none;
                }

.social-icons, .accessibility-tools {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

    .social-icons a, .accessibility-tools a {
        text-decoration: none;
        color: white;
        padding: 8px;
        border: 1px solid white;
        border-radius: 5px;
    }

.footer-bottom {
    text-align: center;
    padding: 10px;
    border-top: 1px solid gray;
    background-color: #074D31;
    color: white;
    text-align: center;
}

.ztop {
    z-index: 100000;
}




/* Card container */
.card {
    position: relative; /* Needed for the absolute-positioned icon */
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    background-color: #fff;
    border: 1px solid #eaeaea;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Status icon in the top right corner */
.card-status-icon {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    /* Soft green background to indicate success */
    background-color: #e2f8e7;
    color: #34c759;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Title text */
.card-title {
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
}

/* Card content text */
.card-content {
    margin-bottom: 6px;
    font-size: 0.95rem;
    line-height: 1.5;
    color: #666;
    min-height: 110px;
}

/* Tag container */
.card-tags {
    margin-bottom: 16px;
}

/* Base styling for tags */
.tag {
    display: inline-block;
    margin-right: 6px;
    margin-bottom: 6px;
    padding: 4px 8px;
    font-size: 0.85rem;
    border-radius: 4px;
    color: #333;
    background-color: #f2f2f2;
}

/* Example color differences for each tag */
.tag-3 {
    background-color: #f2f5ff;
    color: #4455f9;
}

.tag-2 {
    background-color: #e9f5ff;
    color: #007acc;
}

.tag-1 {
    background-color: #e8ffe8;
    color: #34c759;
}

/* Card actions (buttons) area */
.card-actions {
    display: flex;
    gap: 8px;
}

/* Button base styling */
.btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    border-radius: 4px;
    cursor: pointer;
    border: none;
}

/* Primary button (green) */
.btn-primary {
    background-color: #34c759;
    color: #fff;
}

/* Secondary button (outlined) */
.btn-secondary {
    background-color: #fff;
    color: #333;
    border: 1px solid #ccc;
}



.feedback-section {
    /* background-color: white;
    border: 1px solid #ddd;
    border-radius: 10px;*/
    padding: 20px;
    /* margin-top: 30px;*/
}

    .feedback-section h3 {
        font-size: 18px;
        margin-bottom: 10px;
        color: #074D31;
    }

    .feedback-section button {
        background-color: #004d28;
        color: white;
        padding: 10px 20px;
        border: none;
        border-radius: 5px;
        cursor: pointer;
    }

        .feedback-section button:hover {
            background-color: #00693e;
        }


.contactus-div {
    margin-top: 1rem;
    padding: 1rem;
    border: 2px solid #EEF0F2;
    border-radius: 10px;
    font-size: smaller;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.fagHeader {
    width: 100%;
    height: 150px;
    left: 0;
    background-color: #F7FDF9;
    padding: 50px 500px;
    text-align: right; /* align text to the right for Arabic */
    font-size: 2rem;
    margin-bottom: 10px;
}



.contactpop-rtl {
    position: absolute;
    left: 150px;
    top: 163px;
    z-index: 200000;
}

.contactpop-ltr {
    position: absolute;
    right: 150px;
    top: 163px;
    z-index: 200000;
}


input, select {
    background-color: #F3F4F6;
}

/* Dark mode styles */
.dark-mode {
    background-color: #121212;
    color: #ffffff;
}


.imgh {
    height: 55px;
}
