:root {
    --primary: #054239;

    --green1: #054239;
    --green2: #002623;
    --green3: #428177;

    --secondary: #b9a779;

    --gold1: #b9a779;
    --gold2: #988561;
    --gold3: #edebe0;

    --umber1: #4a151e;
    --umber2: #260f14;
    --umber3: #6b1f2a;

    --gray1: #3d3a3b;
    --gray2: #161616;

    --white: #ffffff;

    --grayBg: rgb(238, 238, 238);

    --transition1: all 0.5s cubic-bezier(0.75, 0.16, 0, 0.87)
}

::selection {
    color: var(--gold1);
    background: var(--umber1);
}

body {
    font-family: 'itf Qomra Arabic';
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

.navbar-brand {
    display: flex;
    margin-inline: 0 25px !important;
    font-size: 90%;
    padding-block: 0;




    & svg {
        width: 80px;
        height: auto;
        margin-inline-end: 12px;
    }
}

#header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    background: #0000004d;
    z-index: 20;
}

#header,
#header a {
    color: var(--white);
    padding-inline: 0;
}

body:not(.path-frontpage) #header {
    position: relative;
    background: var(--green1)
}

body:not(.path-frontpage) #main-wrapper {
    /* padding-top: 40px; */
}

#header .navbar-nav {
    gap: 15px
}

#header .navbar-nav:after {
    display: none;
}

.nav-link {
    position: relative;
    display: flex;
}

.nav-link.is-active {
    color: var(--gold1) !IMPORTANT;
}

.nav-link::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 0px;
    inset-inline: auto 0;
    bottom: 0;
    background: var(--gold1);
    transition: var(--transition1)
}

.nav-link:hover::before {
    width: 100%;
    inset-inline: 0 auto;
}

.offcanvas-body {
    justify-content: end;
}

.mainSliderCarousel {
    height: 85vh;

    &>div {
        height: 100%;

        & .swiper-slide {
            height: 100%;

            & .per-slide {
                height: 100%;
                position: relative;

                & .imageCover {
                    position: absolute;
                    inset: 0;

                    &>img {
                        object-fit: cover;
                        height: 100%;
                        width: 100%;
                        object-fit: cover;
                    }

                }

                & a {
                    font-size: 120%
                }

                &>.content {
                    height: 100%;

                    & .container {
                        position: relative;
                        z-index: 6;
                        height: 100%;
                        color: var(--white);
                        display: flex;
                        align-items: center;
                        justify-content: center;
                        flex-direction: column;

                        &>.row {
                            width: 100%;
                        }
                    }
                }

            }
        }
    }
}

.view-news {
    margin-top: 30px;
}
.slider-title {
    font-size: 240%;
    color: var(--gold1);
    font-weight: 500;
    margin-bottom: 6px;
    padding-top: 45px;
}

.padding-1 {
    padding-block: 80px;
}

.z-index-1 {
    z-index: 1;
}

.redbg {
    background-color: var(--umber1);
    color: var(--white)
}

.graybg {
    background-color: var(--grayBg);
    /* color: var(--white) */
}

.has-before::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url(../imgs/ornaments2.svg);
}

.has-before2::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: url(../imgs/ornaments1.png);
    background-size: 210px;
    opacity: 0.1;
}

.has-before3::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: #000;
    opacity: 0.6;
}

.statistics img {
    filter: contrast(0) brightness(2);
    max-width: 72px;
    margin-bottom: 0;
}

.circle-bg {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border: 2px solid var(--gold1);
    border-radius: 12px;
    position: relative;
    max-width: 150px;
    margin-inline: auto;
    background: #0000002b;
}

.discover-block .desc {
    text-align: center;
    font-size: 140%;
    margin-top: 20px;
}

.discover-block .number {
    font-weight: 300;
    font-size: 160%;
    letter-spacing: 3px;
    margin-top: 8px;
}

.swiper-button-prev,
.swiper-button-next {
    color: var(--gold1)
}

.heading-style-1 {
    display: flex;
    position: relative;
    align-items: center;
}

.heading-style-1>span {
    margin-inline: 18px
}

.heading-style-1:before,
.heading-style-1:after {
    content: "";
    height: 2px;
    background-color: var(--gold1);
}

.heading-style-1:before {
    width: 40px;
}

.heading-style-1:after {
    width: 170px;
}

/*btn-primary*/
.btn {
    border: 0;
    padding: 10px 25px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--gold1);
}

.btn-primary:focus,
.btn-primary:hover {
    background-color: var(--gold1);
    color: var(--primary);
}

.footer {
    background: linear-gradient(to right, var(--green2), #001715);
    color: #ffffff;
    padding: 70px 0 10px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.green-bg:before,
.footer:before {
    content: "";
    position: absolute;
    inset: 0;
    background: url(../imgs/ornaments1.png);
    z-index: -1;
    opacity: 0.05;
    background-size: 320px;
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(to right, var(--gold1), var(--gold2));
}

.footer-logo svg {
    width: 90px;
    margin-bottom: 20px;
}

.footer-about {
    /* color: #a4b5c6; */
    margin-bottom: 25px;
    line-height: 1.6;
}

.footer h5 {
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 25px;
    position: relative;
}

.footer h5::after {
    content: '';
    position: absolute;
    inset-inline: 0 auto;
    bottom: -10px;
    width: 30px;
    height: 2px;
    background: var(--gold1);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--gold1);
    transform: translateX(-5px);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 35px;
    height: 35px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--gold1);
    transform: translateY(-3px);
    color: #fff;
}

.site-footer {
    font-family: unset;
    padding: unset;
    background: unset
}

.footer-newsletter {
    position: relative;
    margin-top: 20px;
}

.footer-newsletter input {
    padding: 12px 15px;
    border-radius: 25px;
    border: none;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    outline: none;
    padding-right: 50px;
}

.footer-newsletter input::placeholder {
    color: #a4b5c6;
}

.newsletter-btn {
    position: absolute;
    right: 5px;
    top: 5px;
    bottom: 5px;
    width: 40px;
    border-radius: 50%;
    background: #3498db;
    border: none;
    color: #fff;
    transition: all 0.3s ease;
}

.newsletter-btn:hover {
    background: #2980b9;
}

.footer-bottom {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #a4b5c6;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 15px 0;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-bottom-links a {
    color: #a4b5c6;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: #3498db;
}

@media (max-width: 768px) {
    .footer-section {
        margin-bottom: 40px;
    }
}

.green {
    color: var(--green1)
}

.news-item {
    margin-bottom: 24px
}

.object-fit-container {
    height: 230px;
    width: 100%;
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0px 4px 15px #0000003b;
    margin-bottom: 24px;
}

.news-item .object-fit-container:before {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 50%;
    background: linear-gradient(0deg, var(--green1) 5%, transparent);
    z-index: 0;
    transition: all 0.15s linear;
}

.news-item:hover .object-fit-container:before {
    height: 80%;
}

.object-fit-container img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.news-item .object-fit-container .title {
    position: absolute;
    bottom: 0;
    padding: 12px 12px 18px;
    color: #fff;
    transition: all 0.15s linear;
    text-shadow: 0px 3px 5px #000;
}

.news-item:hover .object-fit-container .title {
    padding-bottom: 30px
}


.imageBg {
    background: url(../imgs/bg1.webp);
    background-size: cover;
    background-position: 50%;
    color: #fff;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
a {
    color: var(--green2)
}

.view-display-id-links_list a {
    border-inline-start: 3px solid var(--gold1);
    background: #ffffff91;
    margin-bottom: 15px;
    padding: 15px 15px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    /* Limits the text to 2 lines */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    position: relative;
    display: flex;
    z-index: 0;
    transition: all 0.5s cubic-bezier(0.75, 0.16, 0, 0.87)
}

.view-display-id-links_list a:before {
    content: "";
    position: absolute;
    inset-inline: 0 auto;
    width: 0;
    background: var(--gold1);
    inset-block: 0;
    z-index: -1;
    transition: var(--transition1);
}

.view-display-id-links_list a:hover {
    color: #fff;
}

.view-display-id-links_list a:hover:before {
    width: 100%
}

.navbar-toggler-icon {
    border: 0;
}

@media only screen and (min-width: 992px) {
    .syEagle {
        display: none
    }
}

.views-field-field-blocks .list-group {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}

.views-field-field-blocks .list-group>* {
    width: calc(100% / 3 - 12px);

    background: none;
    border: 0;
}

.views-field-field-blocks a {
    background: #f1f1f1;
    display: flex;
    height: 100%;
    justify-content: center;
    border-radius: 12px;
}

.threeBlocks {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px;
}

.threeBlocks>div:last-child {
    text-align: center
}

.threeBlocks .circle-bg {
    background: transparent;
    border-radius: 500px;
    width: 100px !IMPORTANT;
    height: 100px !IMPORTANT;
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}

.threeBlocks .circle-bg>img {
    width: 100%;
    opacity: 0.7;
}

.green-bg {
    background: linear-gradient(to right, var(--green2), #001715);
    color: #ffffff;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
@media only screen and (max-width: 992px) {
    .offcanvas-body .syEagle {
        /* display: none !important; */
    }
}

@media only screen and (max-width: 991px) {

    .offcanvas-body .syEagle {
        position: absolute;
        bottom: -100px;
        width: 590px;
        inset-inline: auto -450px;
        opacity: 0.3;
    }

    #header,
    #header a {
        /* color: #333 */
    }

    .offcanvas-start {
        background-color: var(--green1);
    }

    .offcanvas-header .btn-close {
        background-color: var(--gold1);
        opacity: 1;
        border-radius: 500px;
    }

    #header .navbar-nav {
        gap: 8px;
        padding-inline-start: 20px;
    }


}
@media only screen and (max-width: 767px) {
    .views-field-field-blocks .list-group {
        flex-wrap: wrap;
    }
    .views-field-field-blocks .list-group>* {
        width: calc(100%);
    }
}
.form-item-cat {
    width: 100%;
}
.bef-links {
    display: flex;
}
.bef-links ul {
    margin: 0;
    padding: 0;
    display: flex;
    align-content: center;
    justify-content: center;
    width: 100%;
    margin-bottom: 18px;
}
.bef-links ul > *:first-child{
    display: none
}

.bef-links ul > *{
    margin-inline: 10px;
    list-style-type: none;
}

.bef-links ul > * a {
    display: flex;
    padding: 10px 20px;
    background-color: var(--umber1);
    color: #e7e2d8;
    font-size: 105%;
    border-radius: 8px;
    transition: all 0.3s
}

.bef-links ul > * a:hover {
    background: var(--green3)
}
.large-link {
    background-color: #eee9dd;
}
.large-link a {
    border-radius: 12px;
    display: flex;
    overflow: hidden;
}