@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Open+Sans:ital,wght@0,300..800;1,300..800&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&family=Tajawal:wght@200;300;400;500;700;800;900&display=swap');


.lblBreif2Style span{
    font-size: 1.5rem !important;
    line-height: 1.6;
    text-align: justify;
}
* {


    font-size: 18px;


    font-family: "Cairo", serif;
    font-optical-sizing: auto;

    font-style: normal;
    font-variation-settings:
        "slnt" 0;

}

:root {
    --section-margin: 70px;
    --section-padding: 30px;
    --box-padding: 20px;
}


body{
    background-color:#fff !important;
}
#owl-carousel3 .owl-nav {
    display: none !important;
}
.videodiv {
    margin-bottom: 2rem;
}
/* NavBar */
.header {
    /*margin-bottom: var(--section-margin);*/
    /*padding-left: 75px;*/
    height: max-content;
    direction: ltr;
    /*background-image: url('..//App_Themes/ThemeAr/Images/slider.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;*/
    background-color: #0a3854;
    background-position:center;
    background-size:cover;
}
.storyBoard {
    /*margin-bottom: var(--section-margin);*/
    /*padding-left: 75px;*/
    min-height: 845px;
    direction: ltr;
    /*background-image: url('/App_Themes/ThemeAr/Images/slider.png');*/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    overflow: hidden;
    position: relative;
    top: -120px;
}
.owl-item:not(.center-item) .item {
    /*opacity: 0.5;*/
}
.xSmallFont {
    font-size: 13px;
}
.btn-show-all img{
    transform:rotateY(180deg);
}
.nav-item button {
    width: 100% !important;
    background-color: #C5C5C5 !important;
    border-radius: 30px !important;
    display: block !important;
    margin: 10px auto !important;
    margin-left: auto !important;
    padding: 10px !important;
    color: white !important;
    text-align: center !important;
}
.nav-tabs{
    display:block;
    padding-left:0px !important;
}
.nav-item .nav-link.active {
    background-color: #A07839 !important;
}
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 845px;
    background-color: #41464b26;
    /* يمكنك تغيير اللون والشفافية */
    z-index: 1;
}

.play-button {
    position: absolute;
    margin-top: 29%;
    left: 50%;
    transform: translate(-50%, -50%);
    /* لضبط الصورة في منتصف العنصر */
    width: 80px;
    /* حجم الصورة (يمكنك تعديله) */
    height: 80px;
    /* ارتفاع الصورة */
    z-index: 2;
    /* تأكد من ظهورها فوق الخلفية */
    cursor: pointer;
    /* تغيير مؤشر الفأرة */
}

@media(max-width:576px) {
    .play-button {
        margin-top: 85%;
        width: 60px;
        height: 60px;
    }
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-around;

    color: white;
    background-color: transparent;
    /* إزالة الخلفية السوداء */
    position: relative;
    z-index: 2;
    /* لجعل النص فوق الطبقة الملونة */
    text-align: center;

}

.navbar .logo1 {
    font-size: 1.5em;
    font-weight: bold;
    display: flex;
    align-items: center;
}

.navbar .logo1 img {
    width: 75%;

}

@media(max-width:576px) {
    .navbar .logo1 img {
        height: 50px;
        margin-left: 10px;
        width: 100%;
    }

    .header {
        padding-left: 0;
    }
}

.navbar .menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.menu {
    margin: 35px 0;
}

.navbar .menu a {
    color: white;
    text-align: left;
    text-decoration: none;
    font-size: 18px;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}
    .navbar .menu a:hover {
        font-weight: bold !important;
        transition: all 0.1s ease-in;
    }



.navbar .menu .bold {
    font-weight: bold;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.8);
    list-style: none;
    padding: 10px;
    border-radius: 5px;
    z-index: 1000;
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.3s ease;
}

.dropdown-content.active {
    display: block;
    max-height: 500px;
}


.dropdown-content a {
    display: block;
    color: white;
    padding: 5px 10px;
    text-decoration: none;
}

.dropdown-content a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar .search-icon img {
    width: 20px;
    cursor: pointer;
    margin-top: 4px;
}

.en {
    margin-left: 15px;
    font-size: 18px;
    background: transparent;
    color: white;
    padding: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.en:hover {
    color: white;
}
h2 span{
    font-size:2rem;
}
/* زر القائمة */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 4px 0;
    transition: 0.3s;
}

/* زر البحث */
.search-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.search-modal.active {
    display: flex;
}

.search-box {
    background-color: #111;
    padding: 20px;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.search-box h2 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: white;
    text-align: center;
}

.search-box input {
    width: 100%;
    padding: 10px;
    font-size: 1em;
    border: 1px solid #444;
    border-radius: 5px;
    outline: none;
}

.search-box .close-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 1.5em;
    color: white;
    cursor: pointer;
    background: none;
    border: none;
}

/* القائمة الجانبية */
.mobile-menu {
    display: none;
    flex-direction: column;
    list-style: none;
    position: absolute;
    top: 60px;
    left: 20px;
    padding: 10px;
    border-radius: 5px;
    z-index: 1001;
    background-color: rgba(0,0,0,0.8);
    width:93%;
}

.mobile-menu li {
    margin: 10px 0;
    text-align: left;
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    transition: background-color 0.3s ease;
}

.mobile-menu a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}

/* التصميم المتجاوب */
@media (max-width: 768px) {
    .navbar .menu {
        display: none;
    }

    .navbar .hamburger {
        display: flex;
    }
}

.navbar,
.cont,
.contai,
.co,
.con,
.footer,
.item {
    direction: ltr;
}

/* cards */
.title {
    margin: 0rem 0px 3rem 0px;
    text-align: center;
    font-weight: bold;
}


.owl-carousel {
    padding: var(--box-padding);
    padding-top: 35px;
    overflow-x: hidden;
    padding-bottom: 60px;
    position: relative;
    justify-content: center;
}

.cards {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 437px;
    width: 325px;
    margin: 0 auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Move content upward */
    align-items: center;
    /* Center horizontally */
    padding: var(--box-padding);
    color: white;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    /* Allow absolute positioning inside */
}

.cards h2 {
    font-size: 1.5rem;
    margin: 140px 0 162px;
}

.cards a,
.P {

    font-size: 1rem;
    display: flex;
    color: white;
}

    .P img {
        transform: rotateY(180deg)
    }


.center-item .item {
    transform: scale(1.1) !important;
    z-index: 2 !important;
    
}
.center-item .item .cards {
    background-color: rgba(0,0,0,0.2) !important;
}
/*.owl-item:not(.center-item) .item {
    opacity: 0.7;
}*/
.cards:hover {
    /*box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);*/
}

#owl-carousel3 .owl-stage-outer {
    overflow: visible !important;
}

/* Custom dots navigation */
.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 35px;
}

.slider-dots .dot {
    width: 13px;
    height: 13px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.slider-dots .dot.active {
    background-color: #A07839;
}

@media (min-width: 768px) {
    .cards {
        height: 450px;

    }

    @media (max-width: 1200px) {
        .cards {
            height: 450px;
        }
    }

}

@media (max-width: 576px) {

    .cards a,
    .P {
        margin-top: -20px;
    }
}

.links a {
    color: white;

    font-size: 16px;
    display: flex;
    align-items: center;
}

.links img {
    margin-left: 5px;
}

@media (max-width: 768px) {

    .card1,
    .card2,
    .card3 {
        height: 300px;
        width: 100%;
    }
}

@media (max-width: 576px) {

    .card1,
    .card2,
    .card3 {
        height: auto;
        padding: 10px;
    }
}

/* المحافظات */
.cont {
    margin-top: 100px;
}

.sec {
    
    padding: 80px 0px;
}
.greyNew {
    background-color: #F1F1F1;
}
.main-title, .main-title span {
    padding: 0px 0px 20px 0px;
    font-size: 55px;
    font-weight: 400;
    text-align: left;
    margin: 0;
    color: #000;
}
.sub-title , .sub-title span{
    padding-bottom: 50px;
    font-weight: bold;
    text-align: left;
    margin: 0;
    font-size: 70px;
    color: #000;
    padding-left:0px;
}

.bord {
    height: 35px;
    border-width: 6px;
    border-left-style: outset;
    padding-left: 10px;
    margin-bottom: 25px;
    border-left-color: #a07839;
}

.bord a {

    color: #000;
    font-size: 20px;
}

.CitiesTitle {
    font-weight: 600;
    font-size: 17px;
}

.description {
    padding: 20px 34px 0px 14px;
    margin-top: 20px;
    font-size: 20px;
    color: #66666696;
    line-height: 1.8;
}

.mapContainer {
    display: flex;
    justify-content: center;
    align-items: center;
}

.imgmap_css {
    max-width: 100%;
    height: auto;

}

.bord a:hover {
    color: #A07839;

}

@media (max-width: 768px) {
    .text-section {
        text-align: center;
    }

    .sec {
        padding: 20px;
    }

    .main-title {
        font-size: 40px;
    }

    .sub-title {
        font-size: 70px;
        padding-bottom: 30px;
    }

    .bord {
        border: none;
        margin-bottom: 10px;
        border-left: 4px solid #A07839;
    }

    .bord a {
        font-size: 18px;

    }

    .img {

        width: 1000%;
    }

    .description {
        padding: 20px 0;
        font-size: 14px;
    }

    .mapContainer {
        margin-top: 20px;
    }

    .imgmap_css {
        max-width: 100%;
        height: auto;
    }

    .row.sec.g-0 {
        flex-direction: column;
        margin-left:3rem;
    }

    .col-md-6 {
        width: 100%;
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 30px;
    }

    .sub-title {
        font-size: 50px;
    }

    .bord a {
        font-size: 16px;
    }

    .description {
        font-size: 12px;
        text-align: center;
        padding: 10px;
    }

    .imgmap_css {
        max-width: 90%;
    }
}

/* Parent container */
.row.align-items-stretch {
    display: flex;
}


/* جزئية كلمة الملك */

.contai {
    padding-top: 80px;
}

/* Align Content Responsively */
.row {
    /*align-items: center;*/
}

/* Text and Image Styles */
img.img-fluid {
    /*max-width: 75%;*/
    height: auto;
}

p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
}

.king {
    font-size: 35px;
    margin-top: -217px;
    padding: 0px 160px;

}
.king img{
    transform:rotateY(180deg);
}

/* Quote Footer Positioning */
.quote-footer {
    position: absolute;
    right: 0;
    text-align: left;
    padding: 90px 175px;
}

.quote-footer h6 {
    font-size: 30px;
    font-weight: 700;
    margin: 0;
}

.quote-footer p {
    font-size: 30px;
    margin: 0;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    img.img-fluid {
        max-width: 90%;
    }

    p {
        font-size: 0.9rem;
    }

    .quote-footer h6 {
        font-size: 0.9rem;
        margin-top: -10px;
    }

    .quote-footer p {
        font-size: 0.8rem;
    }
}

@media (max-width: 576px) {
    .contai {
        padding: 15px 10px;
    }

    img.img-fluid {
        max-width: 100%;
    }

    .quote-footer {
        padding: 5px 10px;
    }
}




@media (max-width: 576px) {
    .king {
        font-size: 20px;
        padding: 220px 15px 0px;
        ;
    }
}

/*  جزئية خارطة تحديث القطاع العام */
.con {
    padding-top: 10px;
}

.div1,
.div2 {

    display: flex;
    flex-direction: column;
    /*justify-content: center;*/

    background-color: #F1F1F1;
    padding: 35px;
    /*flex: 1;*/

}

.div2 {
    padding: 40px 10px;
    width:100%;
}

.div2 img {
    width: 90%;
}

.div1 h5 {
    font-size: xx-large;
    color: #A07839;
    font-weight: bold;
    margin: 35px 0 20px 0;
}

.div1 h2 ,.div1 h2 span {
    font-size: 55px;
    font-weight: bold;
    text-align: left;
    margin: 0;
}

.g , .g span{
    font-size: 33px;
    text-align:start;
}
.tab-pane a img{
    transform:rotateY(180deg);
}
.div1 p {
    margin-bottom: 5px;
}

.btn {
    margin-top: 40px;
}

.btn a {
    width: 100%;
    background-color: #C5C5C5;
    border-radius: 30px;
    display: block;
    margin: 10px auto;
    padding: 10px;
    color: white;
    text-align: center;

}

.btn a:hover {
    background-color: #A07839;

}

/* Responsive Styles */
@media (min-width: 768px) {
    .div2 {
        padding: 160px 10px 100px 10px;
    }
    
}

@media (max-width: 576px) {
    .div1 h2 {
        font-size: 44px;

    }

    .g {
        font-size: 30px;
    }
}

/* المنشورات */
.co {
    margin-top: 45px;
}

.div3 {

    position: relative;
    background-image: url(/App_Themes/ThemeAr/Images/last1.png);
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    padding: 32px;
    align-items: center;
    justify-content: center;
}

    .div3 span,
    .div4 span {
        color: white;
        font-size: 31px;
        /*padding: 0px 0px 0 161px;*/
        margin-left: 200px;
    }

.X {
    background-color: white;
    padding: 10px;
    border-bottom-right-radius: 10px;
    width: 55px;
    border-bottom-left-radius: 10px;
    /*margin: -78px 134px 0 0;*/
    position: relative;
    left: 100px;
    top: -110px;
}

.div4 {

    position: relative;
    background-image: url(/App_Themes/ThemeAr/Images/last2.png);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    text-align: center;
    padding: 32px;
    align-items: center;
    justify-content: center;

}

/* Responsive styles for smaller screens */
@media (max-width: 768px) {
    .storyBoard{
        top:-70px;
        height:max-content;
        margin-bottom:0px !important;
    }
    .title {
        text-align: center !important;
        margin: 0px 0px 70px 0px;
    }
        .title span{
            font-size:1.3rem;
        }
        .row.g-2 {
            flex-direction: column;
        }
    .cards {
        height: max-content;
        width: 92%;
    }
    .div3,
    .div4 {
        text-align: center;
        background-size: contain;
        /* Adjust background size */
    }

    .div3 a,
    .div4 a {
        font-size: 25px;
        padding: 0 0 0 90px;
        margin-left: 76px;
    }

    .X {
        top: -110px;
        position: relative;
        right: 30px;
        /*margin: -55px auto 10px;*/
        /* Center and adjust spacing */
    }
}

a {
    text-decoration: none;
}

h6 {
    font-weight: bold;
}

/* الاخبار */
.card_1 {
    width: 100%;
    background-color: #f2f2f2;
    border: none;
    /*box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 15px;
    border-radius: 0px;
}

.card_1 img {
    object-fit: cover;

    /*height: 100%;*/
}
    .card_1 a img{
        height:7%;
        transform:rotateY(180deg);
    }
    .card-body1 {
        padding: 20px;
    }

.card-title1 {
    font-size: large;
    font-weight: bold;
    margin-bottom: 20px;
}

.card-text1 {
    color: #555555ad;
    font-size: 18px;
    font-weight: 300;
    margin-bottom: 25px;
    margin-top: 25px;
}

.card_1 a {
    color: #A07839;
    font-weight: 300;

    text-align: center;
}



/* 🔻 تحسينات التصميم للشاشات الصغيرة */
@media (max-width: 768px) {
    .row-cols-md-4 {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .card_1 {
        width: 100%;
        margin: 0;
    }

    .card_1 img {
        height: auto;
    }
}

@media (min-width: 768px) {
    /*.row-cols-md-4>* {
        flex: 0 0 auto;
        width: 22%;
    }*/

    .col1 {
        margin-left: 65px;
    }
}


/* تصميم الزر */
.btn-container {
    text-align: center;
    margin-top: 90px;
    margin-bottom: 65px;

}

.btn-container a {
    color: white;
}

.btn-show-all {
    font-weight: 300;
    width: 140px;
    color: white;
    padding: 8px 40px;
    background-color: #A07839;
    border-radius: 35px;
    font-size: 25px;
}

/* General Styling for the Logo Section */
.logo-section {

    /*margin: 25px;*/
    display: flex;

    justify-content: space-between;

    align-items: center;

    padding: 15px;

    border-top: 3px solid #A07839;

    border-bottom: 3px solid #A07839;

    background-color: #fff;

}

.logo-container {
    flex: 1;

    display: flex;
    justify-content: center;

}

.logo {

    width: 75%;

    height: auto;

}

/* Responsive Styles */
@media (max-width: 768px) {
    .logo-section {

        padding: 20px;
    }



    .logo {
        width: 50%;
    }
}

@media (max-width: 480px) {
    .logo {
        width: 80%;
    }
}

/* تذيل الموقع */
.footer {
    background-color: #f1f1f1;
    color: #333;
    font-size: 14px;
    /*margin-top: 65px;*/
    padding-top: 25px;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 45px;

    margin: 0;
    text-align: left;
}

.footer-logo {
    text-align: center;
    flex: 1;
    text-align: left;
    padding: 45px 40px 60px 10px;
}

.footer-logo img {
    width: 90%;
    height: auto;
}

.footer-links {
    flex: 2;
    display: flex;
    font-size: 18px;
    margin-bottom: 25px;
    color: #A07839;
}

.footer-links div {
    flex: 1;

}

.footer-links h3 {
    font-size: 20px;
    margin-bottom: 25px;
    color: #A07839;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 5px;
}

.footer-links ul li a {
    font-size: 18px;
    color: #333333a6;
    transition: color 0.3s;
}

.footer-links ul li a:hover {
    color: #A07839;
}
.mainUl{
    display:contents;
}
.mainUlAnchor {
    font-size: 20px !important;
    margin-bottom: 25px !important;
    color: #A07839 !important;
}
/*.mainUl ul li {
    padding: .5rem 1rem;
}*/
.about-contact-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 20px;
    text-align: center;
    gap: 20px;
}

.about-contact {
    flex: 1;
    text-align: center;
}

.social-icons {
    margin-left: -45px;
    display: flex;
    justify-content: center;
    margin-top: 85px;
}

.social-icons a {
    margin: 0 10px;
}

.social-icons img {
    width: 37px;
    height: 37px;

}

.social-icons img:hover {
    transform: scale(1.1);
}

/* تنسيق footer-bottom */
.footer-bottom {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 350px;
    padding: 20px 20px;
    background-color: #A07839;
    font-size: 14px;
    text-align: center;
    color: white;

}

.footer-bottom p {
    margin: 0;
    /*font-size: x-small;*/
    font-weight: bold;
}

/* Responsive Design */
@media (max-width: 1400px) {

    .social-icons {
        margin-left: -100px;
        display: flex;
        justify-content: center;
        margin-top: 85px;
    }
}

@media (max-width: 768px) {
    
    .footer-container {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .about-contact-container {
        flex-direction: column;
    }

    .about-contact {
        margin-bottom: 20px;
    }

    .footer-bottom p {
        display: contents;
        text-align: center;
    }

    .social-icons {}
    .g span {
        font-size: 21px !important;
    }

    .div1 h2 span {
        font-size: 30px !important;
    }

    .quote-footer {
        padding: 30px 0px !important;
        position: relative !important;
        text-align: center !important;
    }

        .quote-footer p {
            text-align: center !important;
        }

    .main-title span {
        font-size: 30px !important;
    }

    .sub-title span {
        font-size: 50px !important;
    }

    .div3, .div4 {
        background-size: cover !important;
        padding: 20px !important;
    }

        .div3 a, .div4 a {
            padding: 0 0 0 0px !important;
            margin-left: -170px !important;
        }

    .X {
        /*margin: -78px 134px 0 0 !important;*/
        position: relative !important;
        left: -60px !important;
        top: -15px !important;
    }
    .nav-tabs{
        padding:0px !important;
    }
    #owl-carousel4 .owl-stage-outer {
        overflow: hidden !important;
    }
}




@media (max-width: 576px) {
    .footer-bottom {
        padding: 0px;
        gap: 10px;
    }

    .social-icons {
        margin-bottom: -30px;
        margin-left: 0px;
        margin-top: 60px;
    }
}
@media (min-width:576px) and (max-width: 768px){
    .king {
        margin-top: 0px !important;
    }
}

@media (min-width:769px) and (max-width:885px) {
    .storyBoard {
        top: -408px;
    }
}

@media (min-width:886px) and (max-width:1000px) {
    .storyBoard {
        top: -362px;
    }
}

@media (min-width:1001px) and (max-width:1200px) {
    .storyBoard {
        top: -330px;
    }
}

@media (min-width:1201px) and (max-width:1400px) {
    .storyBoard {
        top: -200px;
    }
}
@media (max-width: 768px) {
    .X {
        margin: -119px 0px 0px 108px;
    }
}