﻿* {
    transition: 0.5s !important;
}

/* Start Section doctor */
.doctor_section {
    margin-top: 50px;
    margin-bottom: 50px;
}

    .doctor_section .doc-img img {
        border-radius: 5px;
        width: 250px;
        margin-left: 10px;
    }

.underline {
    position: relative;
}

    .underline:before {
        content: "";
        position: absolute;
        height: 10%;
        width: 100%;
        background: var(--main-color);
        bottom: -10px;
        top: auto;
        left: 0%;
        right: 0%;
        z-index: -1;
        opacity: 1;
        border-radius: 50px;
    }
.addc{margin-bottom:100px;}
.doc-details span {
    position: relative;
    color: var(--secondry-color);
    font-size: 20px;
}

.doc-details h1 {
    font-size: 55px;
    font-family: deco;
    color: var(--secondry-color);
}

.doctor_section .row {
    align-items: center;
    gap: 15px;
}
/* End Section doctor */

/* Start Section Slider */
.slider-section {
    width: 52%;
    margin-right: auto;
}

.slider-section {
    width: 52%;
    margin-right: auto;
    position: relative;
    margin-top: 17px;
}

.main-slider::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 300px;
    width: 100%;
    z-index: -1;
    background: url(../images/gallery/home/mosque.webp);
    background-size: cover;
    background-repeat: round;
}

.main-slider .item {
    height: 254px;
}

.main-slider p {
    color: black;
    text-align: center;
    overflow: hidden;
    max-height: 200px;
    text-overflow: ellipsis;
    max-width: 400px;
    margin: auto;
    margin-top: 45px;
    white-space: pre-line;
}

.main-slider h2 {
    text-align: center;
    font-size: inherit;
    position: absolute;
    top: auto;
    color: #fff;
    bottom: 25px;
    left: 50%;
    transform: translate(-50%);
}

.main-slider .owl-nav {
}

    .main-slider .owl-nav .owl-prev,
    .main-slider .owl-nav .owl-next {
        top: 50%;
    }

    .main-slider .owl-nav .owl-prev {
        position: absolute;
        right: -15px;
    }

    .main-slider .owl-nav .owl-next {
        position: absolute;
        left: -15px;
    }

    .main-slider .owl-nav button.disabled {
    }

    .main-slider .owl-nav button span {
        display: none;
    }

    .main-slider .owl-nav button {
        height: 30px;
        position: relative;
        width: 30px;
        color: var(--main-color) !important;
        background: #fff !important;
        padding: 0 !important;
        line-height: 30px !important;
        border-radius: 5px;
    }

    .main-slider .owl-nav .owl-prev::before {
        content: "\f0da";
    }

    .main-slider .owl-nav .owl-next::before {
        content: "\f0d9";
    }

    .main-slider .owl-nav button::before {
        font-weight: 900;
        font-family: 'Font Awesome 5 Free';
        font-size: 20px;
        position: absolute;
        top: 0px;
        left: 0;
        right: 0;
        margin: auto;
    }

    .main-slider .owl-nav button:hover {
        background: var(--main-color) !important;
        color: #fff !important;
    }
/* End Section Slider */
/* Start Section Boxs */
section.boxs {
    width: 48%;
    display: flex;
}

.boxs .box {
    margin: auto;
    position: relative;
    margin-left: 15px;
    overflow: hidden;
}

    .boxs .box img {
        width: 115px;
        height: 300px;
        object-fit: cover;
        border-radius: 5px;
    }

    .boxs .box:before {
        content: "بحوث";
        position: absolute;
        top: 55px;
        left: -55px;
        background: #283342e6;
        color: #fff;
        width: 150px;
        text-align: left;
        padding: 7px;
        padding-bottom: 11px;
        border-radius: 5px 5px 0px 0px;
        transform: rotate( -90deg );
    }

    .boxs .box:nth-child(2):before {
        content: "كتب";
    }

    .boxs .box:nth-child(3):before {
        content: "متفرقات";
    }

    .boxs .box:nth-child(4):before {
        content: "مكتبة الفيديو";
    }

    .boxs .box:nth-child(4):after {
        content: "\f144";
        font-family: 'Font Awesome 5 pro';
        top: 20px;
        left: 11px;
        position: absolute;
        font-size: 25px;
        color: var(--main-color);
        font-weight: 400;
    }
/* End Section Boxs */
/* Start Section Text */
.section-text {
    margin-top: 100px;
    margin-bottom:100px;
}

    .section-text .text {
        display: grid;
        grid-template-columns: auto auto 1fr;
        margin: auto;
    }

    .section-text .img {
        position: relative;
        height: 150px;
        width: 90px;
        top: 0px;
    }

        .section-text .img img {
            width: 91px;
        }

        .section-text .img:before {
            content: "إضـاءة";
            position: absolute;
            top: 43%;
            left: 51%;
            transform: translate(-50%,-50%);
            font-size: 13px;
            color: var(--secondry-color);
            z-index: 99;
        }

    .section-text .rotate {
    }

        .section-text .rotate span {
            transform: rotate( -90deg );
            display: block;
            color: #253445;
            margin-top: 57px;
            font-size: 22px;
            position: relative;
            right: 20px;
            margin-right: -50px;
        }

    .section-text .txt p {
        color: #253445;
        position: relative;
        font-size: 22px;
        max-width: 1000px;
    }

    .section-text .txt .border {
        width: 42%;
        height: 5px;
        background: var(--main-color);
        display: inline-block;
    }
/* End Section Text */

/* Start CV Page */
.cv-parent,
.visitor {
    margin: auto;
    text-align: center;
    margin-top: 30px;
    max-width: 800px;
}

.visitor {
    max-width: 860px;
}

.title h1 {
    background: #f7f7f7;
    color: #000;
    border: none;
    padding: 10px;
    font-size: 40px;
    transform: scale(0.8);
    width: 500px;
    max-width: 100%;
    padding-bottom: 19px;
    padding-top: 4px;
    font-weight: 100;
    margin: auto;
    border-radius: 15px;
    font-family: regular;
}

.cv {
    background: url(../images/head/cv.webp) #fff;
    background-size: cover;
    padding-top: 30px;
    padding-bottom: 60px;
    padding-right: 30px;
    padding-left: 40px;
    margin-top: 30px;
}

    .cv .cv-text::-webkit-scrollbar {
        width: 3px;
    }

    .cv .cv-text::-webkit-scrollbar-thumb {
        background: #cecece !important;
    }

    .cv .cv-text {
        margin: auto;
        margin-top: 30px;
        position: relative;
        width: 100%;
        max-height: 890px;
        overflow: hidden;
        overflow-y: auto;
        padding-right: 8px;
        direction: ltr;
    }

        .cv .cv-text ul li {
            list-style: none;
            border-bottom: 2px solid #d7d6d6fa;
            padding-bottom: 15px;
            text-align: right;
            padding-right: 10px;
            font-size: 16px;
            width: 95%;
            margin: auto;
            margin-bottom: 20px;
        }

            .cv .cv-text ul li.bold {
                text-align: center;
                padding-right: 0px;
                font-size: 16px;
                font-family: med;
                line-height: 25px;
            }

.title {
    margin: auto;
    text-align: center;
}

.cv .title {
    margin-bottom: 30px;
}
/* End CV Page */

/* start visitor */
.visitor .plus-comment {
    margin-top: 50px;
}

    .visitor .plus-comment a {
        background: transparent;
        font-size: 20px;
        border: none;
        color: var(--secondry-color);
    }

    .visitor .plus-comment i {
        position: relative;
        top: 2px;
        right: 10px;
        font-size: 25px;
        width: 35px;
        padding-top: 5px;
        height: 35px;
        padding-left: 1px;
        text-align: center;
        border-radius: 50px;
        background: var(--secondry-color);
        color: #fff;
    }

.visitor .addc i {
    position: relative;
    top: 6px;
    right: 5px;
    font-size: 30px;
    border-radius: 50px;
    position: relative;
    top: 3px;
    right: 5px;
    font-size: 20px;
    width: 33px;
    padding-top: 7px;
    height: 33px;
}

.visitor .visitor-comments {
    margin-top: 70px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

    .visitor .visitor-comments .comment {
        display: grid;
        gap: 20px;
        margin-bottom: 30px;
        grid-template-columns: 100px auto;
        text-align: right;
    }

        .visitor .visitor-comments .comment .title-comment {
            max-height: 200px;
            border-bottom: 2px solid var(--main-color);
            padding-bottom: 15px;
            overflow-y: auto;
        }

            .visitor .visitor-comments .comment .title-comment h2 {
                color: #000;
                margin-bottom: 10px;
                font-size: 20px;
            }

            .visitor .visitor-comments .comment .title-comment p {
                font-size: 16px;
                color: var(--secondry-color);
                padding-left: 20px;
            }
/* end visitor */
/* add comment */
.add-comment {
    max-width: 500px;
    margin: auto;
    margin-top: 40px;
    margin-bottom: 100px;
}

    .add-comment .form-group input,
    .add-comment .form-group textarea {
        padding: 0px 10px 10px 10px;
        border: none;
        border-bottom: 1px solid var(--secondry-color);
        color: var(--secondry-color);
        font-size: 17px;
        font-family: regular;
        width: 100%;
        font-size: 19px;
        background: transparent;
    }

        .add-comment .form-group input::placeholder,
        .add-comment .form-group textarea::placeholder {
            color: #333;
        }

    .add-comment .form-group textarea {
        resize: none;
        border: 1px solid var(--secondry-color);
        max-height: 400px;
        height: 150px;
        padding-top: 10px;
        border-radius: 5px !important;
    }
/* end comment */
/* start blog */
.blog-parent {
    margin-top: 30px;
}

.blog .boxs {
    margin-top: 50px;
}

.boxe-blog .box-blog {
    text-align: center;
    background: #222a33;
    padding-top: 0px;
    padding: 10px;
    padding-top: 0px;
    padding-right: 0px;
    padding-left: 0px;
    display: block;
    color: #fff;
    transform: scale(0.9);
}

    .boxe-blog .box-blog:hover {
        transform: scale(1);
    }

    .boxe-blog .box-blog .img-box img {
        object-fit: cover;
        width: 100%;
        height: 180px;
    }

    .boxe-blog .box-blog .title-box {
        margin-top: 10px;
        text-align: center;
        margin-right: 25px;
        margin-left: 25px;
        display: grid;
        margin-top: 15px;
    }

        .boxe-blog .box-blog .title-box h3 {
            margin-bottom: 10px;
            height: 54px;
            overflow: hidden;
            font-size: 18px;
            margin-right: auto;
            margin-left: auto;
            margin-bottom: 10px;
            text-align: right;
        }

        .boxe-blog .box-blog .title-box p {
            margin-bottom: 10px;
            color: #5c6168;
            min-height: 60px;
            overflow: hidden;
            text-align: right !important;
            max-height: 60px;
            margin-right: auto;
            margin-left: auto;
            margin-bottom: 10px;
        }

        .boxe-blog .box-blog .title-box .date-box {
            color: #656a70;
            text-align: right;
            font-size: 14px;
            margin-right: 10px;
            margin-bottom: 10px;
        }

.blog .tools {
    text-align: center;
    margin: auto;
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.blog .tool {
    margin: 25px;
}

    .blog .tools .tool .img-ic {
        display: block;
        background: var(--secondry-color);
        width: 70px;
        margin: auto;
        color: #fff;
        padding-top: 15px;
        padding-bottom: 10px;
        font-size: 20px;
        border-radius: 50px;
    }

    .blog .tools .tool img {
        width: 40px;
        filter: invert(1);
    }

    .blog .tools .tool .img-ic:hover {
        background: var(--main-color);
    }

        .blog .tools .tool .img-ic:hover ~ span {
            color: var(--main-color);
        }

    .blog .tools .tool span {
        font-size: 17px;
        color: var(--secondry-color);
    }

    .blog .tools .tool:nth-child(1) .img-ic img {
        position: relative;
        left: 3px;
    }

        .blog .tools .tool:nth-child(1) .img-ic img.responsive-img {
            position: relative;
            left: -10px;
            top: -1px;
        }
        .blog .tools .tool:nth-child(3) .img-ic img.responsive-img {
            position: relative;
            left: -10px;
            top: -1px;
        }
    .blog .tools .tool.active .img-ic {
        background: var(--main-color);
    }

        .blog .tools .tool.active .img-ic ~ span {
            color: var(--main-color);
        }

    .blog .tools .tool.active span {
        font-size: 17px;
        color: var(--secondry-color);
    }
/* end blog */
/* start details */
.details-parent {
    max-width: 1100px;
    margin: auto;
    margin-top: 30px;
}

.details {
    margin-top: 100px;
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 25px;
}

    .details .img-details img {
        width: 100%;
        height: auto;
    }

    .details .details-text {
        position: relative;
        padding-right: 20px;
        max-height: 1000px;
        overflow-y: auto;
        direction: ltr;
        margin-top: 30px;
    }

        .details .details-text p {
            color: #000000;
            line-height: 35px;
            font-size: 20px;
        }

    .details .title-details h2 {
        font-weight: normal;
        font-family: 'regular';
        margin-top: -35px;
        text-align: center;
        font-size: 28px;
        padding-bottom: 29px;
    }

    .details .details-text .date-box {
        margin-bottom: 10px;
    }

    .details .details-text::-webkit-scrollbar {
        width: 4px;
    }

    .details .details-text::-webkit-scrollbar-thumb {
        background: #cecece !important;
    }
/* end details */
/* start search page */
.se-box {
    margin: auto;
    margin-top: 30px;
    max-width: 900px;
}

.se-hr {
    display: block;
    margin: auto;
    text-align: center;
    width: 98%;
    height: 3px;
    background: var(--secondry-color);
    margin-top: 30px;
    margin-bottom: 30px;
}

.se2-box {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 25px;
    background: var(--secondry-color);
    padding: 15px;
    padding-left: 0;
    margin-bottom: 20px;
}

.se-box img {
    height: auto;
    max-height: 300px;
    width: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.se-box .se-text {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
    align-items: center;
    overflow-y: auto;
    max-height: 300px;
}

.se-box .se-txt2 {
    line-height: 40px;
}

.se-box .se-txt1,
.se-box .se-txt2 {
    margin-top: 10px;
    color: #fff;
    font-size: 18px;
    margin-left: 15px;
    width: -webkit-fill-available;
}

.grid4 .boxe-blog .box-blog .title-box {
    text-align: center;
    margin-right: 15px;
    margin-left: 15px;
    display: grid;
    margin-top: 6px;
}

    .grid4 .boxe-blog .box-blog .title-box h3 {
        height: 44px;
        font-size: 16px;
        margin-right: auto;
        margin-left: auto;
        margin-bottom: 0px;
        text-align: right;
        margin-top: 10px;
    }

    .grid4 .boxe-blog .box-blog .title-box p {
        overflow: hidden;
        font-size: 15px;
        text-align: right;
        min-height: 40px;
        line-height: 20px;
        max-height: 24px;
    }

    .grid4 .boxe-blog .box-blog .title-box .date-box {
        color: #656a70;
        font-size: 11px;
    }

.bcont .container {
    max-width: 1200px;
    width: 90%;
    margin: auto;
}

.grid4 .boxe-blog .box-blog .img-box {
    max-height: 130px;
    overflow: hidden;
}

    .grid4 .boxe-blog .box-blog .img-box img {
        height: 130px;
    }

.grid4 .boxe-blog .box-blog .title-box .date-box {
    margin-right: 0px;
}

.downloand-button {
}

.grid3 .boxe-blog .box-blog .title-box p {
    text-align: center;
}
/* end search page */
/* start video page */
.video {
    margin: auto;
    text-align: center;
    display: block;
    margin-top: 30px;
}

    .video .video-title {
        text-align: center;
        margin-top: 30px;
        margin-bottom: 40px;
    }

        .video .video-title h1 {
            color: var(--secondry-color);
            font-family: 'regular';
            font-size: 35px;
        }

.boxe-video .title-box h3 {
    color: var(--secondry-color);
    font-size: 14px;
    text-align: center;
}

.boxe-video {
    position: relative;
}

    .boxe-video a i.fa-play {
        position: absolute;
        top: 45%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 999;
        font-size: 17px;
        color: #fff;
        background: red;
        width: 37px;
        padding: 10px;
        border-radius: 50px;
    }

iframe {
    max-width: 100%;
}
/* end video page */
.display-none {
    display: none;
}

header input.radius {
    background: #fff !important;
    border: 1px solid #2534454a !important;
}

.resdone {
    display: none;
}

body {
    position: relative;
    right: 0;
    transition: .7s;
    overflow-x: hidden !important;
}

.imgcv {
    display: none;
}

.nav-grid {
    margin-top: -11px;
}

.downloand-button .custom-btn {
    border-radius: 2px;
    min-width: 100px;
}

    .downloand-button .custom-btn::after,
    .downloand-button .custom-btn::before,
    .downloand-button .custom-btn::before {
        border-radius: 2px !important;
    }

.menuo {
    display: none;
}

.grblog {
}

    .grblog .box-blog {
        transform: scale(1);
    }

    .grblog .boxe-blog .box-blog .img-box img {
        height: 168px;
    }

    .grblog .boxe-blog .box-blog:hover {
        transform: scale(1.1);
    }

    .grblog .boxe-blog .box-blog .title-box {
        margin-right: 10px;
        margin-left: 10px;
        display: grid;
        margin-top: 15px;
    }

        .grblog .boxe-blog .box-blog .title-box h3 {
            font-size: 19px;
            height: 30px;
        }

        .grblog .boxe-blog .box-blog .title-box p {
            color: #656a70;
        }

        .grblog .boxe-blog .box-blog .title-box .date-box {
            font-size: 12px;
        }

        .grblog .boxe-blog .box-blog .title-box h3 {
            text-align: center !important;
        }

        .grblog .boxe-blog .box-blog .title-box p {
            text-align: center !important;
        }

.desktop-img {
    display: block;
}

.responsive-img {
    display: none;
}

.boxs-ov {
    display: flex;
}

.blog-details-content {
    color: #656a70;
}
.blog {
    margin-bottom: 100px;
}

/* For Home */
.more-link {
    color: white;
    text-decoration: underline;
    font-size: .98rem;
    padding: 0 10px;
}

/* For Contact */

.contact-container {
    text-align: center;
    max-width: 700px;
    margin: auto;
    margin-top: 100px;
    margin-bottom: 150px;
}

    .contact-container h1 {
        font-size: 2rem;
        margin-bottom: 30px;
        font-weight: 700;
        color: #333;
    }

.social-boxes {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* ٣ أعمدة */
    gap: 20px;
}

.social-box {
    background: #f9fafb;
    color: #1e293b;
    border-radius: 16px;
    padding: 25px 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

    .social-box:hover {
        transform: translateY(-6px);
        box-shadow: 0 8px 18px rgba(0,0,0,0.25);
        background: brown;
        color: white;
    }

    .social-box svg {
        width: 45px;
        margin-bottom: 10px;
    }

    .social-box:hover svg {
        fill: white;
    }

    .social-box span {
        font-size: 1rem;
        font-weight: 600;
        border-bottom: 3px solid brown;
        padding-bottom: 15px;
    }

/* ألوان مخصصة لكل شبكة */
.facebook svg {
    fill: #1877f2;
}

.twitter svg {
    fill: #1da1f2;
}

.youtube svg {
    fill: #ff0000;
}

.linkedin svg {
    fill: #0a66c2;
}

.instagram svg {
    fill: #e1306c;
}

.whatsapp svg {
    fill: #25d366;
}