@font-face {
    font-family: 'frutigerltarabic';
    src: url('../fonts/frutigerltarabic-65bold.ttf') format('truetype');
}

@font-face {
    font-family: 'frutigerltarabic-55roman';
    src: url('../fonts/FrutigerLTArabic55Roman.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@media (min-width: 768px) {
    html {
        font-size: 12px;
    }
}



html {
    font-family: frutigerltarabic !important;
    font-size: 14px;
    overflow-x: hidden;
}

body {
    /* background-color: #f0efea !important;*/
    background-color: #e6e6e6a8 !important;
    font-family: frutigerltarabic !important;
    font-weight: 100;
    font-size: 14px;
}

.container {
    min-width: 80% !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

@media screen and (max-width: 768px) {
    .container {
        width: 90%; /* Adjusted width for smaller screens */
    }

    .responsive-element {
        width: 100%; /* Adjusted width for smaller screens */
    }
}

img.logo {
    display: block;
    /* padding: 10px;*/
    margin: 0 auto; /* Center the image horizontally */
    padding-top: 7px;
}

.navbar, .nav-logo {
    font-family: frutigerltarabic;
    font-size: 20px;
    background-color: #f0efea !important;
}

.navbar-nav {
    justify-content: center;
    /*   margin-top: -10px;
    max-height: 32px;*/
}

.navbar .navbar-nav .nav-item a {
    color: #65665d !important;
    margin-right: 20px;
}

    .navbar .navbar-nav .nav-item a:hover {
        color: #bc8f21 !important;
    }

.nav-link:hover {
    color: #bc8f21 !important;
}


.navv {
    overflow: hidden;
    background-color: #65665d;
    display: block;
    transition: 0.4s;
    position: fixed;
    top: 0;
    z-index: 99;
}

#MainContent {
    margin-top: 162px;
}

.nav-link {
    font-weight: 400;
}
/*.carousel-caption h5 {
    text-align: right;
    margin-right: 0px;
    background-color: #4A4A4A;*/ /*#64675D;*/
/*color: #fff;
    padding: 10px;
    width: 100%;
    opacity: 0.8;
    font-family: frutigerltarabic-55roman;
    font-size: 30px;
}

.carousel {
    width: 100%;
    z-index: 3;
}

.carousel-inner {
    width: 100%;
}

.carousel-item {
    width: 100%;
    height: 550px;*/ /* ارتفاع ثابت */

/*align-items: center;
    justify-content: center;
    background-color: #d7d5ce;*/ /* خلفية للمساحات الفارغة */
/*}

    .carousel-item img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;*/ /* إظهار الصورة كاملة دون قص */
/*width: auto;
        height: auto;
    }*/


/*.carousel {
    width: 100%;
    height: 700px;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    position: relative;
}

    .carousel-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 15%;*/ /* This positions the image so the top portion is cropped */
/*}*/

/* Custom caption styling */
/*.carousel-caption {
    background: rgba(0, 0, 0, 0.7);
    padding: 20px;
    border-radius: 10px;
    bottom: 30px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: 80%;
}

    .carousel-caption h5 {
        font-size: 2rem;*/
/*  font-weight: bold;*/
/*margin-bottom: 10px;
    }

    .carousel-caption p {
        font-size: 1.1rem;
        margin-bottom: 0;
    }*/

/* Control buttons styling */
/*.carousel-control-prev,
.carousel-control-next {
    width: 60px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 8px;
}*/

/* Indicators styling */
/*.carousel-indicators {
    bottom: 15px;
}

    .carousel-indicators [data-bs-target] {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        margin: 0 5px;
    }*/

/* Responsive adjustments */
/*@media (max-width: 768px) {
    .carousel {
        height: 350px;
    }

    .carousel-caption h5 {
        font-size: 1.5rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .carousel-caption {
        padding: 15px;
        max-width: 90%;
    }
}

@media (max-width: 576px) {
    .carousel {
        height: 300px;
    }

    .carousel-caption h5 {
        font-size: 1.2rem;
    }

    .carousel-caption p {
        font-size: 0.9rem;
    }
}*/

.carousel {
    width: 100%;
    height: 700px;
}

.carousel-inner {
    height: 100%;
}

.carousel-item {
    height: 100%;
    align-items: center;
    justify-content: center;
}

.carousel-item-content {
    display: flex;
    width: 100%;
    height: 100%;
}

/* RTL layout */
/*.rtl-layout {
    direction: rtl;
    flex-direction: row-reverse;
    text-align: right;
}*/

/* Left-side content (Title + Body) */
.carousel-caption-content {
    width: 30%;
    padding-left: 90px;
    padding-right: 40px;
    background: #64675d;
    color: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    border: 1px #bc8f21 solid;
}

    .carousel-caption-content h5 {
        font-size: 2.6rem;
        text-align: justify;
        text-justify: inter-word; /* Optional: better word spacing */
        margin: 0;
    }

        .carousel-caption-content h5 a {
            color: #e8e0c1;
            font-weight: 300;
            text-align: center;
        }


            .carousel-caption-content h5 a:hover {
                color: #bc8f21 !important;
            }

    .carousel-caption-content p {
        font-size: 1.2rem;
    }

    .carousel-caption-content h5 :before {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background: #ac8d65;
        margin: 2.5rem auto;
        border-radius: 2px;
    }


    .carousel-caption-content h5 ::after {
        content: "";
        display: block;
        width: 100%;
        height: 2px;
        background: #ac8d65;
        margin: 2.5rem auto 0;
        border-radius: 2px;
    }
/* Right-side image */
.carousel-img-container {
    width: 70%;
    height: 100%;
}

    .carousel-img-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center 15%;
        border: 1px #bc8f21 solid;
    }

/* Carousel control buttons */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 2rem;
    height: 2rem;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    padding: 8px;
}

/* Indicators */
.carousel-indicators {
    bottom: 15px;
}

    .carousel-indicators [data-bs-target] {
        width: 15px;
        height: 15px;
        border-radius: 50%;
        margin: 0 5px;
    }

/* Responsive behavior */
@media (max-width: 768px) {
    .carousel {
        height: auto;
    }

    .carousel-item-content {
        flex-direction: column;
    }

    .carousel-caption-content,
    .carousel-img-container {
        width: 100%;
        height: auto;
    }

    .carousel-caption-content {
        padding: 20px;
    }

        .carousel-caption-content h5 {
            font-size: 1.5rem;
        }

        .carousel-caption-content p {
            font-size: 1rem;
        }
}

@media (max-width: 576px) {
    .carousel-caption-content h5 {
        font-size: 1.2rem;
    }

    .carousel-caption-content p {
        font-size: 0.9rem;
    }
}


.homelinked {
    display: flex;
    background-color: #DDDDDB;
    padding-top: 20px;
    min-height: 220px;
    align-items: center;
    justify-content: center;
}

    .homelinked img {
        max-height: 70%;
        max-width: 80%;
    }


.centered-div {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-width: 70%;
}

.BioBody {
    font-family: frutigerltarabic !important;
    font-weight: bolder;
    padding-right: 25px;
    font-size: 18px;
    text-align: justify;
}


.NewsBody {
    margin: auto;
    font-family: frutigerltarabic-55roman !important;
    font-weight: 500;
    font-size: 17px;
    max-width: 70%;
    padding-bottom: 40px;
    text-align: justify;
    background: #aa8b3d10;
    border-radius: 10px;
    padding: 30px;
    border: 1px solid #81818119;
    margin-bottom: 20px;
}

    .NewsBody table {
        border-collapse: collapse;
        border: 1px solid #000;
        width: 100%;
        margin: 10px 0;
    }

        .NewsBody table th,
        .NewsBody table td {
            border: 1px solid #000;
            padding: 8px;
            text-align: right;
        }

        .NewsBody table th {
            background-color: #f2f2f2;
            font-weight: bold;
        }

.DateTxt {
    margin: auto;
    padding-top: 30px;
}

.NewsText {
    font-family: frutigerltarabic-55roman !important;
    font-weight: 900;
    font-size: 18px;
    margin: auto;
    max-width: 99%;
    padding-bottom: 20px;
    padding-top: 20px;
    text-align: justify;
}

.NewsBody img {
    border-radius: 8px;
    max-width: 90% !important;
    height: auto;
}

.cv-title {
    font-family: frutigerltarabic;
    font-weight: 100;
    font-size: 22px;
    color: #bc8f21;
}

.img {
    max-width: 100%;
    /* height: auto; */
    display: block; /* Remove extra space below the image */
    margin: 0 auto;
}

.sub-title {
    font-family: frutigerltarabic;
    font-weight: 100;
    font-size: 25px;
    color: #bc8f21;
    padding-top: 15px;
}

.breadcrumb a {
    color: #bc8f21;
}

.title {
    font-family: frutigerltarabic;
    font-weight: 200;
    font-size: 30px;
    color: #bc8f21;
    max-width: 60%;
}

.fade-in {
    animation: fadein 10s;
    -moz-animation: fadein 2s; /* Firefox */
    -webkit-animation: fadein 2s; /* Safari and Chrome */
    -o-animation: fadein 2s; /* Opera */
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.txttd a {
    text-decoration: none;
    font-family: frutigerltarabic;
    font-weight: 100;
    font-size: 20px;
    color: #bc8f21;
    padding: 5px;
}

.CentralV {
    display: flex;
    align-items: center; /* vertical alignment */
    justify-content: center; /* Center horizontally */
}


.custom-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px; /* Adjust space between items */
}

    .custom-grid .card-wrapper {
        width: 300px;
        flex: 0 0 auto;
        border: 0px solid #bc8f21;
        border-radius: 5px;
    }

.card-wrapper img {
}

.custom-link {
    color: #000;
    text-decoration: none;
    transition: color 0.3s ease;
}

    .custom-link:hover {
        color: #bc8f21;
        transform: scale(.97);
        transition: transform 0.4s ease;
    }

    /* Overlay effect */
    .custom-link .card::after {
        content: '';
        position: absolute;
        top: 1%;
        left: 1%;
        right: 1%;
        width: 98%;
        height: 85%;
        background: rgba(0, 0, 0, 0);
        transition: background 0.3s ease;
        z-index: 1;
    }

    .custom-link:hover .card::after {
        background: rgba(185, 134, 20, 0.54); /* Dark overlay */
    }


#footer {
    border-top: 15px solid #C3BEB5;
    background-color: #64675D;
    color: aliceblue;
    min-height: 220px;
}


    #footer div {
        color: #ac8d65;
        text-decoration: none;
        font-size: 20px;
        padding-top: 10px;
        padding-right: 10px;
    }

    #footer a {
        color: #C3BEB5;
        text-decoration: none;
        font-size: 16px;
    }

        #footer a:hover {
            color: #bc8f21;
            text-decoration: none;
            font-size: 16px;
        }




.copyR {
    background-color: #C3BEB5;
    font-family: frutigerltarabic;
    font-weight: 100;
    font-size: 16px;
    color: #64675D;
    padding: 5px;
    min-height: 70px;
}

.SocialIcons {
    color: #C3BEB5;
    padding-left: 20px;
    margin-left: 10px;
}


    .SocialIcons:hover {
        color: #bc8f21;
        padding-left: 20px;
        margin-left: 10px;
    }

::selection {
    background-color: #bc8f21;
    color: #fff;
}

/* For older versions of Firefox */
::-moz-selection {
    background-color: #bc8f21;
    color: #fff;
}

/**========= Portfolio =================== */

.project-wrapper {
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: center;
}

    .project-wrapper li {
        display: inline-block;
    }

.portfolio-item {
    cursor: pointer;
    margin: 0 1% 1% 0;
    overflow: hidden;
    position: relative;
    width: 32%;
    height: 300px;
}



    .portfolio-item img {
        border-radius: 3%;
        border: solid 2px #bc8f21;
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

figcaption.mask {
    background-color: rgba(54, 55, 50, 0.79);
    bottom: -126px;
    color: #fff;
    padding: 25px;
    position: absolute;
    width: 100%;
    text-align: right;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
    height: 100px;
    border: solid 1px #bc8f21;
    border-radius: 0 0 4% 4%;
}

.portfolio-item:hover figcaption.mask {
    bottom: 0;
}

figcaption.mask h3, figcaption.mask p, figcaption.mask a {
    margin: 0;
    color: #fff;
    text-decoration: none;
}

ul.external {
    list-style: outside none none;
    margin: 0;
    padding: 0;
    position: absolute;
    right: 0;
    top: -47px;
    -webkit-transition: all 0.2s ease 0s;
    -moz-transition: all 0.2s ease 0s;
    -ms-transition: all 0.2s ease 0s;
    -o-transition: all 0.2s ease 0s;
    transition: all 0.2s ease 0s;
}

    ul.external li {
        display: inline-block;
    }

        ul.external li a {
            background-color: rgba(255, 255, 255, 0.9);
            color: #818181;
            display: block;
            padding: 10px 18px 13px;
            -webkit-transition: all 0.2s ease 0s;
            -moz-transition: all 0.2s ease 0s;
            -ms-transition: all 0.2s ease 0s;
            -o-transition: all 0.2s ease 0s;
            transition: all 0.2s ease 0s;
        }

            ul.external li a:hover {
                background-color: #bc8f21;
                ;
                color: #fff;
            }

.portfolio-item:hover ul.external {
    top: 0;
}

.fancybox-skin {
    border-radius: 0;
}

.fancybox-title.fancybox-title-inside-wrap {
    padding: 15px;
}

.fancybox-title h3 {
    margin: 0 0 15px;
}

.fancybox-title p {
    color: #818181;
    font-size: 16px;
    line-height: 22px;
}

.fancybox-title-inside-wrap {
    padding-top: 0;
}


.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

/*===== end Portfolio ====*/

.quote-container {
    margin: 0;
    padding: 0;
    background-attachment: fixed;
    background-image: url('../images/alquds.jpg') !important;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
}



.sec-title {
    padding-bottom: 10px;
    width: 400px;
    margin: 0 auto;
    border-bottom: 1px solid #64675d !important;
    color: #64675d;
}

.quote-container .overlay {
    /*background-color: rgba(160, 131, 61, 0.84);*/

    background-color: rgba(240, 239, 234, 0.84);
    padding: 30px 0 10px;
}


.quote {
    display: none;
    align-items: center;
    color: #bc8f21;
    text-align: right; 
}

    .quote.active {
        display: block;
        animation: fadeIn 1s ease-in-out;
        font-size: 25px;
        padding: 70px 30px 40px;
        
    }

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}
@media (max-width: 768px) {
    .quote,
    .quote-container,
    .quote-container .overlay {
        text-align: right;
    }
}

@media (max-width: 480px) {
    .quote {
        padding: 10px 10px 10px;
        font-size: 14px;
    }
}

.control-btn {
    cursor: pointer;
    font-size: 30px;
    background: none;
    border: 1px solid #bc8f21;
    color: #bc8f21;
    margin: 5px;
}

    .control-btn:hover {
        cursor: pointer;
        font-size: 30px;
        background: none;
        border: 1px solid #64675d;
        color: #64675d;
        margin: 5px;
    }
.controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;  
    width: auto;
    z-index: 2;
}

@media (max-width: 768px) {
    .controls {
        gap: 6px;
        margin-top: 6px;
        margin-bottom: 6px;
    }
}

.homelinked img {
    max-width: 70%;
    height: auto;
    display: block;
    margin: 0 auto;
    padding: 20px 20px 5px 20px;
}

.homelinked a:hover img {
    transform: scale(1.2);
    /* Change background color on hover */
}

.homelinked a {
    text-align: center;
    margin-top: 10px;
    color: #63665C;
    text-decoration: none;
    font-size: 20px;
    font-weight: 550;
}

    .homelinked a:hover {
        color: #bc8f21;
        text-decoration: none;
        font-size: 20px;
    }


@media print {
    .d-print-none {
        display: none !important;
    }
}


.page-link {
    position: relative;
    display: block;
    color: #64675d;
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
}

.page-item a:hover {
    z-index: 3;
    color: #b58309;
    background-color: #64675d;
    border-color: #64675d;
    border-radius: 10%;
}

.page-item.active .page-link {
    z-index: 3;
    color: #fff;
    background-color: #b58309;
    border-color: #64675d;
    border-radius: 10%;
}


/* Video titles */
.vli-title {
    padding: 5px;
    border: 1px solid #000;
    color: #65665d;
    margin: 2px;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    text-decoration: none;
    display: inline-block;
}

.vli-active {
    background-color: #bc8f21;
    border: 0px solid #000;
}

.vli-title:hover {
    background-color: #bc8f21;
    color: #fff !important;
    border: 0px solid #000;
}

/* Responsive Layouts */
@media (max-width: 1200px) {
    .vli-title {
        width: calc(33.33% - 4px); /* Three items per row */
        font-size: 14px; /* Adjust font size */
    }
}

@media (max-width: 992px) {
    .portfolio-item {
        width: 48%; /* Two items per row on tablets */
        height: 220px;
    }
}

@media (max-width: 768px) {
    .vli-title {
        width: calc(50% - 4px); /* Two items per row */
        font-size: 13px; /* Adjust font size */
    }

    .portfolio-item {
        width: 98%; /* One item per row on mobile */
        height: 180px;
        margin: 0 0 16px 0;
    }
}

@media (max-width: 480px) {
    .vli-title {
        width: 100%; /* Full width for smaller screens */
        margin: 5px 0; /* Add spacing between items */
        font-size: 12px; /* Adjust font size */
    }
}

@media print {
    body {
        display: none; /* Hides everything */
    }
}

/*Vodeos title*/
/*.vli-title {
    padding: 5px;
    border: 1px solid #000;
    
    color: #65665d;
    margin: 2px;
    border-radius: 5px;
    text-align: center;
    font-size: 16px;
    text-decoration:none;
}
.vli-active {
    background-color: #bc8f21;
    border: 0px solid #000;
}
.vli-title:hover {
    background-color: #bc8f21;
    color: #fff !important;
    border: 0px solid #000;
}*/


/*
.quote > div:before {
    background-image: url('../images/quotes.png');
    background-repeat: no-repeat;
    bottom: 127px;
    height: 33px;
    left: -35px;
    position: absolute;
    width: 45px;
}

.quote > div:after {
    background-image: url('../images/quotes.png');
    background-position: -58px 0;
    background-repeat: no-repeat;
    bottom: -50px;
    height: 33px;
    position: absolute;
    right: 0;
    width: 45px;
}*/

.quote .quote-content {
    display: inline-block;
    text-align: start;
    max-width: 100%;
}
.quote .blockquote-footer {
    display: block;
    text-align: end;
    margin-top: 1rem;
    font-size: 1rem;
    width: auto;
    margin-left: auto;
    margin-right: 0;
}


/* Pagination */
.pagination-container {
    margin: 50px 0;
    text-align: center;
}

.pagination-info {
    margin-bottom: 20px;
    color: #666;
    font-size: 14px;
}

.pagination-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.pagination-btn {
    background: white;
    color: #555;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    border: 2px solid #e1e8ed;
    transition: all 0.3s ease;
    font-weight: 100;
    display: flex;
    align-items: center;
    gap: 5px;
}

    .pagination-btn:hover {
        background: #bc8f21;
        color: white;
        border-color: #bc8f21;
        text-decoration: none;
    }

    .pagination-btn.active {
        background: #bc8f21;
        color: white;
        border-color: #bc8f21;
    }



.NewsBody table {
    border-collapse: collapse;
    border: 1px solid #000;
    width: 100%;
    margin: 10px 0;
}

    .NewsBody table th,
    .NewsBody table td {
        border: 1px solid #000;
        padding: 8px;
        text-align: right;
    }

    .NewsBody table th {
        background-color: #f2f2f2;
        font-weight: bold;
    }






