@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

html {
    scrollbar-width: thin;
    /* لجعل الشريط أرفع */
    scrollbar-color: #00B298 white;
    /* تغيير لون الشريط */
}

@font-face {
    font-family: 'FSAlbertArabicWeb';
    src: url('../fonts/FSAlbertArabicWeb/FSAlbertArabicWeb-Regular.woff2') format('woff2'), url('../fonts/FSAlbertArabicWeb/FSAlbertArabicWeb-Regular.woff') format('woff'), url('../fonts/FSAlbertArabicWeb/FSAlbertArabicWeb-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: "Albert";
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/FSAlbertArabicWeb/FSAlbertArabicWeb-Regular.ttf') format("truetype");
}

@font-face {
    font-family: "Albert";
    font-weight: bold;
    src: url('../fonts/FSAlbertArabicWeb/FSAlbertArabicWeb-Bold.ttf') format("truetype");
}

body {
    direction: rtl;
    overflow-y: auto !important;
    scrollbar-gutter: right !important;
    font-family: 'Albert' !important;
    overflow-x: hidden !important;
    max-width: 100% !important;
}

.header {
    background-repeat: no-repeat !important;
    background-position: right top;
    background-color: #00b298;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    /* padding: 25px 0px 25px 0px; */
}

.navbar {
    background-color: #00B298 !important;
}

.nav-links a,
.nav-links i {
    color: #00B298;
    text-decoration: none;
    font-size: 20px !important;
}

    .nav-links a:hover,
    .nav-links i:hover {
        color: #FDD835;
    }

.header-content {
    text-align: end;
}

    .header-content .line-2 {
        display: flex;
        justify-content: end;
        gap: 15px;
        align-items: end;
        margin-top: 10px;
        margin-left: 10px;
        margin-bottom: 10px;
        font-size: 14px;
    }

a {
    text-decoration: none;
}


/* carousel */

.myicon {
    color: #00B298;
    font-size: 30px;
}

    .myicon:hover {
        color: #ffffff;
    }

.btn-dark:hover {
    background-color: crimson !important;
    border-radius: 20px;
    transition: 1s ease all;
}

.carousel-indicators button {
    height: 20px !important;
    width: 20px !important;
    border-radius: 50% !important;
    background-color: rgb(255, 255, 255) !important;
}

    .carousel-indicators button:hover {
        background-color: #00B298 !important;
    }

.carousel-caption h2 {
    font-size: 50px;
    margin-bottom: 20px;
}

.carousel-caption p {
    font-size: 25px;
}

.carousel-caption {
    padding: 30px;
}

.carousel-inner img {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    object-fit: cover;
}

.carousel-control-prev,
.carousel-control-next {
    width: 7%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: white;
    border-radius: 30%;
    padding: 15px;
    transition: background-color 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-prev:active .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon,
.carousel-control-next:active .carousel-control-next-icon {
    background-color: #00B298;
}


/* تحسين استجابة الصور على الشاشات الصغيرة */

@media (max-width: 992px) {

    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .carousel-inner img {
        max-height: 50vh;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .carousel-inner img {
        max-height: 40vh;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 8px;
    }
}

.front_2_in p {
    text-align: right
}

.front_3 {
    background-color: #ebf8f7;
    background-image: url(../imges/Pic.jpg);
    background-repeat: no-repeat;
    background-size: 50% auto;
    padding-top: 50px;
    padding-bottom: 50px;
}


/* عندما تكون الشاشة أصغر من 768px (مثلاً للموبايلات) */

@media (max-width: 768px) {
    .front_3 {
        background-image: none;
        /* إزالة الصورة */
        background-color: #ebf8f7;
        /* الحفاظ على لون الخلفية */
    }
}

.front_4_2_inH0 {
    background-image: url(../imges/projects.png);
    background-repeat: no-repeat;
    background-position: right center;
    padding: 0px 85px 0px 0px;
    height: 70px;
    margin-bottom: 30px;
}

.front_4_2_inH1 {
    font-size: 23px;
    color: #00b297;
    margin-bottom: 5px;
    font-weight: bold;
}

.front_4_2_inH2 {
    font-size: 19px;
    margin: 0;
    color: #555;
}

.front_5_2_inH0 {
    background-image: url(../imges/articles.png);
    background-repeat: no-repeat;
    background-position: right center;
    padding: 0px 85px 0px 0px;
    height: 70px;
    margin-bottom: 30px;
}

.front_5_2_inH1 {
    font-size: 22px;
    color: #00b297;
    margin-bottom: 5px;
    font-weight: bold;
}

.front_5_2_inH2 {
    font-size: 19px;
    margin: 0;
    color: #555;
}

.front_6_2_inH0 {
    background-image: url(../imges/allmedia2.png);
    background-repeat: no-repeat;
    background-position: right center;
    padding: 0px 85px 0px 0px;
    height: 70px;
    margin-bottom: 30px;
}

.front_6_2_inH1 {
    font-size: 22px;
    color: #00b297;
    margin-bottom: 5px;
    font-weight: bold;
}

.front_6_2_inH2 {
    font-size: 19px;
    margin: 0;
    color: #555;
}

.new-navbar {
    background-color: #00b298;
    /* لون خلفية الشريط */
}

    .new-navbar .navbar {
        background: transparent !important;
        box-shadow: none;
    }

    .new-navbar .navbar-brand img {
        width: 60px;
        height: auto;
    }

    .new-navbar .navbar-brand div {
        color: white;
    }

    .new-navbar .navbar-nav .nav-link {
        color: white !important;
        font-size: 1.3rem;
        transition: color 0.3s ease-in-out;
    }

        .new-navbar .navbar-nav .nav-link:hover {
            color: #FFA500 !important;
            /* برتقالي فاتح عند تمرير الماوس */
        }

.navbar-toggler {
    border: none;
}

.list_theme_12 {
    text-align: center;
    background: #ebf8f7;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: 600px !important;
}

.owl-prev,
.owl-next {
    display: block;
    text-align: right !important;
    background: #00b298 !important;
    font-size: large;
}

    .owl-prev:hover,
    .owl-next:hover {
        background: #016052 !important;
    }

.owl-carousel .owl-nav {
    display: block !important;
    text-align: right !important;
}

.list_theme_12 img.list_theme_12_icon {
    width: 70px !important;
    background-color: #00b398;
    position: absolute;
    top: -35px;
    right: 31px;
    border-radius: 15px;
}

.list_theme_12_title a {
    display: inline-block;
    text-align: right;
    width: 100%;
    color: black;
    font-size: 26px;
}

a {
    text-decoration: none;
}

.list_theme_12 .thumbnail .caption {
    padding: 50px 30px 30px 30px;
    position: relative;
}

.list_theme_12_body {
    direction: rtl;
    font-size: 21px;
    height: 140px;
    line-height: 1.8;
    overflow: hidden;
    text-align: justify;
}

.list_theme_12_more {
    color: #00b298;
    font-weight: bold;
    font-size: 20px;
    display: inline-block;
    text-align: end !important;
    align-items: end !important;
}

.front_4_2L1_more {
    display: inline-block;
    text-align: center;
    color: #00b298;
    width: 100%;
    height: 50px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    padding-top: 11px;
    margin-bottom: 11px;
    max-width: 250px;
    font-size: 20px;
}

.front_5_2L1_more {
    display: inline-block;
    text-align: center;
    color: #00b298;
    width: 100%;
    height: 50px;
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    padding-top: 11px;
    margin-bottom: 11px;
    max-width: 350px;
    font-size: 20px;
}

.list_theme_11 .content-container {
    display: flex;
    align-items: center;
    gap: 15px;
    background-color: #ffffff;
}

.image-container img {
    width: 180px;
    height: auto;
    flex-shrink: 0;
}

.text-container {
    flex: 1;
    text-align: right;
}

.list_theme_11_tax a {
    border: 1px solid #00b298;
    color: #00b298;
    border-radius: 10px;
    font-size: 17px;
    padding: 5px 10px;
    display: inline-block;
    margin-bottom: 10px;
}

.list_theme_11_title a {
    color: #00b298;
    text-decoration: none;
    font-size: 21px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .list_theme_11 .content-container {
        flex-direction: column;
        text-align: center;
    }

    .image-container img {
        width: 100%;
        max-width: 250px;
    }

    .text-container {
        text-align: center;
    }
}

.list_theme_2,
.list_theme_3 {
    text-align: center;
    background: #ebf8f7;
    border: 2px solid #00b298 !important;
    border-radius: 5px;
}

.list_theme_3 {
    height: 350px !important;
}

.list_theme_2_title a,
.list_theme_3_title a {
    display: inline-block;
    text-align: right;
    width: 100%;
    font-size: 26px;
    margin-top: 10px !important;
    margin-bottom: 20px !important;
}

a,
.list_theme_2_more {
    color: #00b298;
    text-decoration: none;
}

.list_theme_2_more {
    font-weight: bold;
    font-size: 20px;
    display: inline-block;
}

.list_theme_2 .thumbnail .caption,
.thumbnail .caption {
    padding: 20px;
    color: #333;
}

.list_theme_2_body {
    direction: rtl;
    font-size: 21px;
    height: 140px;
    line-height: 1.8;
    overflow: hidden;
    text-align: justify;
}

.list_theme_2_extra {
    margin-top: 20px !important;
    display: flex;
    justify-content: space-between;
}

.list_theme_2_extra_1 {
    float: right;
}

.list_theme_2_extra_2 {
    float: left;
}

.nav-tabs .nav-item .nav-link {
    color: #00b398 !important;
    border: 3px solid #00b298 !important;
    border-radius: 50px;
    margin-left: 20px;
}

    .nav-tabs .nav-item .nav-link.active {
        color: white !important;
        border: none !important;
        background-color: #00b398 !important;
        margin-left: 20px;
        margin-bottom: 50px;
    }

.nav-tabs {
    direction: ltr;
    border-bottom: none !important;
}

.stats-container {
    background-color: #00b298;
    color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.stats-icon {
    font-size: 45px;
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.front_8_2_inH0 {
    background-image: url(../imges/counters.png);
    background-repeat: no-repeat;
    background-position: right center;
    padding: 0px 85px 0px 0px;
    height: 70px;
    margin-bottom: 30px;
}

    .front_8_2_inH0 h1,
    .front_8_2_inH0 h2 {
        font-size: 30px !important;
        margin: 10px;
    }


/* احصايات */

.stats-container {
    background-color: #00b298;
    color: white;
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
}

.stats-icon {
    font-size: 45px;
    margin-bottom: 10px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.front_8_2_inH0 {
    background-image: url(../imges/counters.png);
    background-repeat: no-repeat;
    background-position: right center;
    padding: 0px 85px 0px 0px;
    height: 70px;
    margin-bottom: 30px;
}

    .front_8_2_inH0 h1,
    .front_8_2_inH0 h2 {
        font-size: 30px !important;
        margin: 10px;
    }


/* منيو */

.floating-btn {
    position: fixed;
    bottom: 50%;
    left: 0px;
    background-color: #00b298;
    border: none;
    width: 30px;
    height: 70px;
    border-radius: 5%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
}

    .floating-btn:hover {
        background-color: #d1d1d1 !important;
    }

    .floating-btn i {
        color: white;
        font-size: 33px;
    }

.offcanvas {
    background-color: #00b298;
    color: white;
}

    .offcanvas a {
        color: white;
        text-decoration: none;
        display: block;
        padding: 12px;
        font-size: 27px;
        /* تكبير حجم الخط */
    }

.btn-close {
    background-color: #ffc6c6 !important;
}

.list-group-item {
    background-color: #00b298 !important;
    border: none !important;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

    .social-icons a {
        color: white;
        font-size: 33px;
        transition: 0.3s;
    }

        .social-icons a:hover {
            color: #d1d1d1;
        }


/* footer2 */

footer {
    background-color: #00b297;
    padding: 30px 0;
}

    footer h4 {
        color: white;
        font-weight: bold;
    }

    footer p,
    footer a {
        color: white;
        text-decoration: none;
        transition: 0.3s;
    }

        footer a:hover {
            color: #ffdd57;
            text-decoration: underline;
        }

.social-icons a {
    display: inline-block;
    margin: 0 10px;
    font-size: 25px;
    color: white;
    transition: 0.3s;
}

    .social-icons a:hover {
        color: #ffdd57;
    }

.footer-line {
    border-color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .social-icons {
        margin-top: 10px;
    }
}


/* تعديلات */

@media (max-width: 768px) {
    .imgSec {
        margin-top: 50px !important;
    }
}

#menu0 .item {
    height: 700px;
    /* اجعل الارتفاع ثابتًا */
    overflow: hidden;
    /* يمنع المحتوى من تجاوز الحدود */
    display: flex;
    align-items: center;
    /* يضمن توسيط النص عموديًا */
    justify-content: center;
    /* يوسّط المحتوى أفقيًا */
    text-align: center;
    padding: 10px;
    box-sizing: border-box;
}

@media (max-width: 768px) {

    .front_8_2_inH0 h1,
    .front_8_2_inH0 h2 {
        font-size: 25px !important;
    }
}

html,
body {
    overflow-x: hidden !important;
    width: 100% !important;
}

.dropdown-menu {
    background-color: #00b398d6 !important;
    border: none;
}

.dropdown-menu.show {
    margin-top: 8px !important;
    border-radius: 0px !important;
    right: 0px !important;
    left: auto !important;
}

.dropdown-menu a {
    color: white !important;
    align-items: center;
    text-align: right !important;
    padding-top: 10px;
    padding-bottom: 10px;
}

.dropdown-menu a:hover {
    background-color: #00b398; 
}

.dropdown-toggle::after {
    display: none !important;
}

.headerX {
    position: relative;
    z-index: 22222;
}

.headerXF {
    background: white;
    position: absolute;
    width: 50%;
    height: 50%;
    left: 0;
    bottom: 0;
    z-index: -1;
}

.header_logo_container {
    background-position: center right +10px;
    background-repeat: no-repeat;
    background-size: contain;
    display: inline-block;
    height: 100px;
    z-index: 10;
    margin-top: 20px;
    margin-bottom: 20px;
}

    .header_logo_container svg {
        height: 100%;
        width: auto;
    }

.zmzm-nav-link {
    font-size: 18px !important;
    font-weight: 700 !important;
}

.zmzm-nav-link:hover {
    color: var(--bs-secondary) !important;
}
