﻿
@import url('https://fonts.googleapis.com/css2?family=Alexandria:wght@100..900&family=Cairo:wght@200..1000&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap');

.clear {clear:both;}
root {
    --black: #000;
    --white: #fff;
    --beige: #AAA39B;
    --orange: #DDA447;
    --Maintext: #5F5F5F;
    --greenOne: #2A7980;
    --greenTwo: #597981;
}

/* For Chrome, Edge, and Safari */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #AAA39B; /* Track color */
}

::-webkit-scrollbar-thumb {
    background-color: #597981; /* Scrollbar color */
    border-radius: 6px;
}

    /* Optional hover effect */
    ::-webkit-scrollbar-thumb:hover {
        background-color: #597981;
    }

* {
    padding: 0;
    margin: 0;
}

body {
    direction: rtl;
    text-align: right;
    font-family: 'Alhurra';
    font-family: "Cairo", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    color: #5F5F5F;
    letter-spacing: 0.3px;
    overflow-x: hidden;
    
}
html {
    overflow-x: hidden;
}
a:hover {
    color: #597981;
}
ul {
    list-style: none;
}
.btn {
    border-radius: 20px;
    padding: 6px 30px;
   font-weight:700;
}
.primary-btn {
    background: #2A7980;
    border: solid #2A7980 thin;
    color: #fff;
    transition: all 1s ease-out;
}
    .primary-btn:hover {
        background: #000;
        color: #fff;
    }


.outline-red-btn {
    background: none;
    color: #000;
    transition: all 1s ease-out;
    border: solid #CE2028 thin;
}

 .outline-red-btn:hover {
        background: #CE2028;
        color: #fff;
    }

header {
    background-image: url("../img/header-bg.png");
    background-repeat: no-repeat;
    background-position: center;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    position:relative;
    z-index:1;
    color: #fff;
}
    header a:hover {
        color: #AAA39B;
    }
    .rightTopHeader {
        display: flex;
        flex-wrap:wrap;
    }

.socialHeader ul { list-style:none;
                   display:flex;  gap:5px;}

    .socialHeader ul li {
        border: solid thin #fff;
        padding:2px; 
        width:30px;
        height:30px;
        text-align:center;
        border-radius:50%;
    }
    .topHeader {
        display: flex;
        justify-content:space-between;
        gap:3px;
        width:100%;
        margin-bottom:5px;
        
    }
.rightTopHeader { width:20%;  }
    .rightTopHeader img {
        width: 200px;
        height: 128px;
    }
.leftTopHeader {
    width: 80%;
    
}
.headerContact {display:flex;
                margin-bottom:15px;
                gap:20px;
                justify-content:end;
                padding-top:20px;
}
.headerSearch {
    width: 100%;
}


    .search-box {
        display: flex;
        width: 100%;
        border: 2px solid #ccc;
        border-radius: 25px;
        overflow: hidden;
        background: transparent;
    }

        .search-box input {
            flex: 1;
            border: none;
            padding: 10px 15px;
            font-size: 16px;
            outline: none;
            background: transparent;
            color: #fff;
        }

            .search-box input::placeholder {
                color: #fff;
            }

        .search-box button {
            background-color: #DDA447;
            color: white;
            border: none;
            padding: 10px 20px;
            cursor: pointer;
            font-size: 16px;
            transition: background-color 0.3s;
        }

            .search-box button:hover {
                background-color: #2A7980;
            }

    .menu {
        width: 100%;
    }

@media (max-width: 1000px) {
    .topHeader {display:block;}
    .rightTopHeader {
        width: 100%;
        padding-top:20px;
        margin-bottom:10px;
    }
    .leftTopHeader {
        width: 100%;
       
    }
    .headerContact {
        position: absolute;
        top: 0;
        padding-bottom: 20px;
        text-align:center;
        display:flex;
        justify-content:center;
        width:100%;
        padding-bottom:10px;
        padding-top:6px;
       
    }
    .headerContact span {font-size:14px;}
}

@media (max-width: 700px) {
    .socialHeader {display:none;}

}
@media (max-width: 500px) {
    .headerContact .btn {
        display: none;
    }
    .rightTopHeader img {
        width: 150px;
        height: auto;
    }
}



    .title {
        text-align: center;
        margin: 0 auto;
        margin-bottom: 60px;
       font-weight:900;
    }

        .title img {
            max-width: 150px;
        }

        .title h2 {
            font-weight: bold;
            margin-top: 10px;
            color: var(--Maintext)
        }

    .latestHome {
        margin-top: 60px;
        margin-bottom: 80px;
    }

.homeIcon {
    transition: transform 0.3s ease; /* مدة وتنعيم التحول */
    font-weight: 900;
}

.homeIcons .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    text-align: center;
   
}
.homeIcon h5 {
    font-weight: 900;
}

.homeIcon .icon {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    line-height: 180px;
    border: solid thin #AAA39B;
    text-align: center;
    margin-bottom: 10px;
    display: inline-block;
}

    .homeIcon:hover {
        transform: scale(1.1); /* التكبير عند المرور */
    }

    .homeIcons .homeIcon img {
        width: 80px;
    }

.homeIcons h4 {
    color: var(--Maintext);
    
}

@media (max-width: 420px) {
    .homeIcon .icon {
        width: 100px;
        height: 100px;
        line-height: 100px;
    }
    .homeIcons .homeIcon img {
        width: 40px;
        
    }
    .homeIcon h5 {
        font-size:15px;
    }
    .homeIcon p {
        font-size: 15px;
    }
}
    .latest {
        background: #F6F5F3;
        border-radius: 30px;
        padding: 10px;
        margin-bottom: 12px;
    }

        .latest .latestImg {
            position: relative;
        }

            .latest .latestImg img {
                border-radius: 20px;
                border-bottom-right-radius: 0px;
            }



        .latest .latestAuther {
            position: absolute;
            color: var(--white);
            background-color: #2A7980;
            padding: 8px 10px;
            font-weight: normal;
            font-size: 12px;
            border-radius: 20px;
            border-bottom-right-radius: 0px;
            border-top-left-radius: 0px;
            bottom: 10px;
            left: 10px;
            font-weight: 900;
        }

            .latest .latestAuther img {
                height: 30px;
                width: 30px;
                border-radius: 50%;
            }

        .latest .latestDetails {
            display: flex;
            justify-content: space-between;
            font-size: 12px;
            margin-top: 10px;
        }

            .latest .latestDetails i {
                color: #AAA39B
            }

        .latest h2 {
            font-size: 16px;
            margin-top: 10px;
            color: #2A7980;
            font-weight: 900;
            text-align: justify;
            direction: rtl;
            line-height: 22px;
        }

        .latest p {
            text-align: justify;
            direction: rtl;
            font-size: 14px;
        }


.article-details .latest .latestImg {
    text-align: center;
    margin: 0 auto;
    width: 70%;
}
.article-details .latest .latestAuther {
    position:relative;
    margin:0 auto;
    width:70%;
}
.article-details .latestDetails {
    justify-content:flex-start;
    gap:10px;


}

a {
    color: inherit;
    text-decoration: none !important;
    outline: none;
}




    .popup-trigger:hover {
        opacity: .8;
    }

    .popup {
        position: fixed;
        left: 0;
        top: 0;
        height: 100%;
        z-index: 1000;
        width: 100%;
        background-color: rgba(94, 110, 141, 0.9);
        opacity: 0;
        visibility: hidden;
        transition: 500ms all;
    }

        .popup.is-visible {
            opacity: 1;
            visibility: visible;
            transition: 1s all;
        }

    .popup-container {
        transform: translateY(-50%);
        transition: 500ms all;
        position: relative;
        width: 40%;
        margin: 2em auto;
        top: 5%;
        padding: 1rem;
        background: #FFF;
        border-radius: .25em .25em .4em .4em;
        text-align: center;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }


    .popup .hIdea {
        margin-right: 0px;
        margin-bottom: 0px;
    }

    .popup .ideaDetails .ideaTitle h3 {
        overflow: visible;
        text-align: right;
        display: block;
    }

    .popup .ideaDetails p {
        overflow: visible;
        display: block;
    }

    .is-visible .popup-container {
        transform: translateY(0);
        transition: 500ms all;
    }

    .popup-container .popup-close {
        position: absolute;
        top: 8px;
        font-size: 0;
        right: 8px;
        width: 30px;
        height: 30px;
    }


        .popup-container .popup-close::before,
        .popup-container .popup-close::after {
            content: '';
            position: absolute;
            top: 12px;
            width: 14px;
            height: 3px;
            background-color: #8f9cb5;
        }

        .popup-container .popup-close::before {
            -webkit-transform: rotate(45deg);
            -moz-transform: rotate(45deg);
            -ms-transform: rotate(45deg);
            -o-transform: rotate(45deg);
            transform: rotate(45deg);
            left: 8px;
        }

        .popup-container .popup-close::after {
            -webkit-transform: rotate(-45deg);
            -moz-transform: rotate(-45deg);
            -ms-transform: rotate(-45deg);
            -o-transform: rotate(-45deg);
            transform: rotate(-45deg);
            right: 8px;
        }


        .popup-container .popup-close:hover:before,
        .popup-container .popup-close:hover:after {
            background-color: #35a785;
            transition: 300ms all;
        }



.socialfooter ul {
    
    width:100%;
    list-style: none;
    display: flex;
    justify-content:center;
    gap: 5px;
    margin-top:20px;
}

    .socialfooter ul li {
        
        border: solid thin #fff;
        padding: 2px;
        width: 30px;
        height: 30px;
        text-align: center;
        border-radius: 50%;
        margin-top: 10px;
    }
        .socialfooter ul li a:hover {
            color: #DDA447;
           
        }
        .socialfooter ul li:hover {
            border: solid thin #DDA447;
        }
        .copyrights {
            width: 100%;
            font-weight: bold;
            text-align: center;
            font-size: 15px;
            margin: auto;
        }

    .gallery {
        margin-bottom: 80px;
        background: url('../img/home-books-bg.png') no-repeat center top / cover
    }
    /* breadcrumb*/
    .breadcrumb-container {
        position: relative;
        z-index:-1;
        background-image: url('../img/banner.png');
        background-size: cover;
        background-position: center;
        height: 200px;
        color: white;
        display: flex;
        align-items: flex-end; /* المحتوى في أسفل الـ div */
    }

    .overlay {
        position: absolute;
        inset: 0;
        background-color: rgba(0, 0, 0, 0);
        transition: background-color 0.3s ease;
        z-index: 1;
        background-color: rgba(0, 0, 0, 0.5);
    }



nav.breadcrumb {
    position: relative;
   
    width: 100%;
    line-height: 250px;
   font-weight:900;
}

        nav.breadcrumb ol {
            list-style: none;
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            padding: 0;
            margin: 0;
            font-size: 16px;
        }

            nav.breadcrumb ol li {
                display: flex;
                align-items: center;
            }

                nav.breadcrumb ol li a {
                    color: white;
                    text-decoration: none;
                }

                    nav.breadcrumb ol li a:hover {
                        text-decoration: underline;
                    }

                nav.breadcrumb ol li::after {
                    content: "/";
                    margin: 0 8px;
                    color: white;
                }

                nav.breadcrumb ol li:last-child::after {
                    content: "";
                }

                nav.breadcrumb ol li:last-child {
                    font-weight: bold;
                }

    /* Responsive adjustments */
    @media (max-width: 600px) {
        .breadcrumb-container {
            height: 180px;
        }

        nav.breadcrumb {
            padding: 15px 20px;
        }

            nav.breadcrumb ol {
                font-size: 14px;
            }
    }

    .breadcrumb {
        background-color: transparent !important;
    }


    /* breadcrumb*/





    /* Today's thoughts*/



    /* pagination*/
    .pagination {
        display: flex;
        justify-content: center;
        flex-direction: row-reverse;
        list-style: none;
        gap: 8px;
        padding: 0;
        margin-top: 30px;
    }

        .pagination li a {
            display: block;
            padding: 10px 16px;
            text-decoration: none;
            color: #597981;
            border: 1px solid #597981;
            border-radius: 12px;
            font-size: 16px;
            transition: all 0.3s ease;
        }

            .pagination li a:hover {
                background-color: #597981;
                color: white;
            }

            .pagination li a.active {
                background-color: #597981;
                color: white;
                font-weight: bold;
                pointer-events: none;
            }

    @media (max-width: 600px) {
        .pagination li a {
            padding: 8px 12px;
            font-size: 14px;
        }
    }
    /* pagination*/


    .authersHome {
        background-image: url("../img/patternBg.png");
        background-position: bottom;
        background-repeat: no-repeat;
        padding-bottom: 50px;
    }

    .hAuther {
        border-radius: 20px;
        border: solid thin #597981;
        padding: 15px;
       font-weight:700;
        margin-bottom: 60px;
    }

    .hAutherPic {
        position: absolute;
        top: -20px;
        right: 20px;
    }

        .hAutherPic img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
        }

    .autherName {
        padding-right: 100px;
        font-weight: normal;
    }



    footer {
        background-image: url("../img/footer-bg.png");
        background-repeat: no-repeat;
        background-position: center;
        color: #fff;
        padding-top: 50px;
        padding-bottom: 10px;
    }

        footer .aboutwidget p {
            text-align: justify;
            font-size: 14px;
            line-height: 22px;
        }


    .footer-menu li {
        line-height: 35px;
        border-bottom: dotted thin #fff;
    }

        .footer-menu li a:hover {
            color: #DDA447;
        }
.widgetTitle {
    font-weight: 900;
    
    margin-bottom: 30px;
}

        .widgetTitle::after {
            content: "";
            position: absolute;
            right: 10px; /* بداية الخط من اليمين */
            top: 30px;
            width: 20%; /* طول الخط */
            height: 2px; /* سماكة الخط */
            background-color: #DDA447; /* لون الخط */
        }

   


    .swiper-caption__ttl {
      font-weight:900;
        font-size: 25px;
    }


    @media (max-width: 1000px) {
        footer {
            background-image: none;
            background-color: #597981;
        }

        .swiper-caption__ctg {
            display: none;
        }

        .swiper-caption__txt {
            display: none!important;
        }
    }

.thumb-slider__control .slider-arrow {
    display: none;
}




/* breadcrumb*/

.breadcrumb-container {
    position: relative;
    background-image: url('../img/banner.png');
    background-size: cover;
    background-position: center;
    height: 200px;
    color: white;
    display: flex;
    align-items: flex-end; /* المحتوى في أسفل الـ div */
}

.overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0);
    transition: background-color 0.3s ease;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
}



nav.breadcrumb {
    position: relative;
    z-index: 2;
    width: 100%;
    line-height: 250px;
}

    nav.breadcrumb ol {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0;
        margin: 0;
        font-size: 16px;
    }

        nav.breadcrumb ol li {
            display: flex;
            align-items: center;
        }

            nav.breadcrumb ol li a {
                color: white;
                text-decoration: none;
            }

                nav.breadcrumb ol li a:hover {
                    text-decoration: underline;
                }

            nav.breadcrumb ol li::after {
                content: "/";
                margin: 0 8px;
                color: white;
            }

            nav.breadcrumb ol li:last-child::after {
                content: "";
            }

            nav.breadcrumb ol li:last-child {
                font-weight: bold;
            }

/* Responsive adjustments */
@media (max-width: 600px) {
    .breadcrumb-container {
        height: 180px;
    }

    nav.breadcrumb {
        padding: 15px 20px;
    }

        nav.breadcrumb ol {
            font-size: 14px;
        }
}

.breadcrumb {
    background-color: transparent !important;
}


/* breadcrumb*/


/*contact*/
.contact_info {
    border-right: solid thin #d7d7d7;
    padding-right: 20px;
}
.contact_message label {
    font-weight: 900;
}
.contact_info_block {
    background: #fff;
    text-align: right;
    border: solid 2px #597981;
    border-radius: 20px;
    display: flex;
    padding: 20px;
    margin-bottom: 10px;
}

    .contact_info_block .icon {
        align-items: center;
        font-size: 20px;
        justify-content: right;
        color: #597981;
    }

    .contact_info_block .contact_info_block_con {
        margin-right: 10px;
    }

        .contact_info_block .contact_info_block_con h5 {
            font-size: 15px;
            margin-bottom: 0;
            font-weight: 900;
        }

        .contact_info_block .contact_info_block_con p {
            padding: 0;
            margin: 0;
        }

.pageContent {
    padding-top: 80px;
    padding-bottom: 80px;
}


.about_block {
    text-align: right;
    border: solid 2px #f0f0f0;
    background-color: #F6F6F6;
    padding: 20px;
    border-radius: 20px;
}
    .about_block h5 {
        font-weight: 900;
    }
    .about_block img {
        width: 100px;
        width: 80px;
        height: 80px;
        border-radius: 50%;
        background: #fff;
        padding: 10px;
    }

.aboutUs .homeIcons {
    margin-bottom:50px;
}
.targets {
    margin-top: 50px;
    margin-bottom: 50px;
    background-image: url("../img/targetsbg.png");
    background-repeat: no-repeat;
    background-position: top center;
    padding-top: 40px;
    padding-bottom: 40px;
    color: #fff;
}
    .targets .icon {
        text-align:center;
        font-weight:bold;
        font-size:30px;
        width:70px;
        height:70px;
        line-height:70px;
        margin-bottom:10px;
        border: dotted 3px #DDA447;
        border-radius:50%;
       
    }

    .targets ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .targets li span {
       font-family: 'Alhurra';
    }
    .targets li p { font-weight:bold; margin-top:10px; }


@media (max-width: 768px) {
    .targets {
        margin-top: 20px;
        margin-bottom: 20px;
    
    }
    .targets li { width:50%; text-align:center;}
    .targets li:last-child { width:100%; text-align:center;}
        .targets li  .icon {
           margin:0 auto;
        }
    .BookPage .Book {
        text-align: center;
    }
       
}
    /* pagination*/
    .pagination {
        display: flex;
        justify-content: center;
        flex-direction: row-reverse;
        list-style: none;
        gap: 8px;
        padding: 0;
        margin-top: 30px;
    }

    .pagination li a {
        display: block;
        padding: 10px 16px;
        text-decoration: none;
        color: #2A7980;
        border: 1px solid #2A7980;
        border-radius: 12px;
        font-size: 16px;
        transition: all 0.3s ease;
    }

        .pagination li a:hover {
            background-color: #2A7980;
            color: white;
        }

        .pagination li a.active {
            background-color: #2A7980;
            color: white;
            font-weight: bold;
            pointer-events: none;
        }

@media (max-width: 600px) {
    .pagination li a {
        padding: 8px 12px;
        font-size: 14px;
    }
}
/* pagination*/
/*comments*/
.comment-section h3 {
    font-weight: 900;
    font-size: 18px;
}

.comment-section {
    margin: auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}



.comments {
    margin-bottom: 20px;
}

.comment {
    border-bottom: 1px solid #ddd;
    padding: 15px 15px;
    border-radius:15px;
    background:#fff;
    margin-bottom:5px;
}

    .comment p {
        margin: 5px 0 0;
    }

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    resize: vertical;
}

/*bookpage*/
.BookPage {}
.BookPage .Book {
    background: #F6F5F3;
    border-radius: 30px;
    padding: 10px;
    margin-bottom: 12px;
}

    .BookPage .Book  {
        position: relative;
        text-align:right;
    }
    .BookPage .BookImg {
        position: relative;
    }
    .BookPage .BookImg img {
   
        border-radius: 20px;
        border-bottom-right-radius: 0px;
        width: 150px;
    }



    .BookPage .BookAuther {
        position: absolute;
        color: var(--white);
        background-color: #2A7980;
        padding: 8px 10px;
        font-weight: normal;
        font-size: 12px;
        border-radius: 20px;
        border-bottom-right-radius: 0px;
        border-top-left-radius: 0px;
        bottom: 0px;
        right: 0px;
        font-weight: 900;
    }

        .BookPage .BookAuther img {
            height: 30px;
            width: 30px;
            border-radius: 50%;
        }

    .BookPage .BookDetails {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        margin-top: 10px;
    }

    .BookPage .BookDetails i {
        color: #AAA39B
    }

    .BookPage h2 {
        font-size: 16px;
        margin-top: 10px;
        color: #2A7980;
        font-weight: 900;
        text-align: justify;
        direction: rtl;
        line-height: 22px;
    }

    .BookPage p {
        text-align: justify;
        direction: rtl;
        font-size: 14px;
    }




/*about*/

.about_video {
    border: 5px solid #05733B;
    margin-bottom: 40px;
}

.youtube-video {
    aspect-ratio: 16 / 9;
    width: 100%;
}



.Visual {
    background: #F6F5F3;
    border-radius: 30px;
    padding: 10px;
    margin-bottom: 12px;
}



    .Visual .VisualsDetails {
        display: flex;
        justify-content: space-between;
        font-size: 12px;
        margin-top: 10px;
    }


    .Visual h2 {
        font-size: 16px;
        margin-top: 10px;
        color: #2A7980;
        font-weight: 900;
        text-align: justify;
        direction: rtl;
        line-height: 22px;
    }


    .Visual p {
        text-align: justify;
        direction: rtl;
        font-size: 14px;
    }



@media (max-width: 768px) {
    .BookPage .Book {
        text-align: center;
    }
    .BookPage h2 {
        text-align: center;
    }
    .BookPage .BookAuther {position:relative; margin-top:10px;}
    .contact_info_block {margin-top:20px;}
}