@import 'global';
@import 'helper';

/**********************************************
    Start Public Classes
**********************************************/
.section {
    position: relative;
    padding: 70px 0 ;
    overflow: hidden;
}

.swiper-container ,
.section {
    // pagination
    .swiper-pagination {
        bottom: 0;
        .swiper-pagination-bullet {
            width: 10px;
            height: 10px;
            border-radius: 25px;
        }
        .swiper-pagination-bullet-active {
            // width: 30px;
            background: var(--dark);
        }
    }
    // nav buttons
    .swiper-button-next, 
    .swiper-button-prev {
        background-image: unset;
        width: 40px;
        height: 40px;
        border: 1px solid var(--dark);
        border-radius: 50%;
        background-image: unset;
        background-color: transparent;
        transition: all .3s linear;
        // opacity: .7;
        &::before {
            font-family: "Font Awesome 6 Pro";
            font-weight: 900;
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            font-size: 15px;
            color: var(--dark);
            transition: all .3s linear;
        }
        &:hover{
            background-color: var(--dark);
            opacity: 1;
            &::before{
                color: #fff;
            }
        }
    }
    .swiper-button-next,
    .swiper-container-rtl .swiper-button-prev{
        right: 2%;
        left: auto;
        &::before {
            content: '\f054';
        }
    }
    .swiper-button-prev,
    .swiper-container-rtl .swiper-button-next{
        left: 2%;
        right: auto;
        &::before {
            content: '\f053';
        }
    }
}

.butn {
    position: relative;
    padding: .7rem 1.5rem;
    width: fit-content;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    font-size: 14px;
    border: 1px solid transparent;
    border-radius: 25px;
    font-weight: 600;
    .fa-chevron-up {
        font-size: 10px;
        transform: rotate(35deg);
    }
    &.sm_butn {
        padding: 0;
        width: 50px;
        height: 50px;
    }
    &.primary_butn {
        background-color: var(--primary);
        color: #fff;
    }
    &.primary_border_butn {
        border: 1px solid var(--primary);
        color: var(--primary);
        background-color: transparent;
    }
    &.secondary_butn {
        background-color: var(--secondary);
        color: #fff;
    }
    &.secondary_border_butn {
        border: 1px solid var(--secondary);
        color: var(--secondary);
        background-color: transparent;
    }
    &.white_butn {
        background-color: #fff;
        color: #333;
    }
    &.white_border_butn {
        background-color: transparent;
        color: #fff;
        border: 2px solid #ffffffa9;
    }
    &.dark_light_butn {
        background-color: #394A80;
        border-color: #394A80;
        color: #fff;
    }
    &.dark_butn {
        background-color: var(--dark);
        color: #fff;
    }
    &:hover {
        background-color: #13204c;
        border-color: #13204c ;
        color: #fff !important;
        .icon {
            filter: var(--filterWhite);
        }
    }
}

/**********************************************
   Start Edit Navbar & Footer
**********************************************/

//start Navbar
.navs-container {
    .top_nav {
        position: relative;
        z-index: 99;
        .social_links a {
            color: #fff;
            margin: 0 7px;
            font-size: 16px ;
        }

        .dropdown-menu {
            padding: 0 ;
            min-width: 180px;
            text-align: center;
            border-radius: 20px;
            
            .dropdown-item {
                padding-block: .6rem ;
                border-radius: 20px;

            }
        }
    }

    .navbar{
        position: relative;
        z-index: 9;
        .logo {
            width: 137px;
            object-fit: contain;
        }

        .nav-link {
            color: #001C26;
            font-weight: 500 ;
            padding: .7rem 1rem;
            position: relative;
            transition: all .3s linear;
            text-transform: capitalize  ;

            &::after {
                content: '';
                width: 100%;
                height: 3px;
                position: absolute;
                bottom: 0;
                right: 0;
                left: 0;
                background-image: linear-gradient(to left , #01EAFF , #00FE9A , #2585F2 );
                transition: all .3s linear;
                transform: scale(0);

            }
            &.active {
                font-weight: 600;
                &::after {
                    transform: scale(1);
                }
            }
        }

        .has_dropdown {
            position: relative;
            .nav-link{
                padding-inline-end: 18px ;
                &::before{
                    content: '\f078';
                    font-family: "Font Awesome 6 Pro";
                    font-weight: 900;
                    display: inline-block;
                    position: absolute;
                    top: 18px;
                    inset-inline-end: 0;
                    font-size: 10px;
                    color: #0005;
                }
            }

            .drop_down {
                z-index: 9;
                position: absolute;
                padding: 0 ;
                min-width: 180px;
                text-align: center;
                border-radius: 20px;
                border: 1px solid rgba(0, 0, 0, .15);
                visibility: hidden;
                transform: scale(.5);
                opacity: 0;
                transition: all .3s linear;
                background-color: #fff;
                a {
                    padding: .8rem 1rem ;
                    border-radius: 20px;
                    display: block;
                    font-size: 14px;
                    text-transform: capitalize  ;
                    color: #394A80;
                    &:hover {
                        background-color: #f5f5f5;
                        color: var(--primary);
                    }
                }
            }

            &:hover {
                .drop_down {
                    visibility: visible;
                    transform: scale(1);
                    opacity: 2;
                }
            }


        }

        .navbar-toggler {
            width: 40px;
            height: 40px;
            cursor: pointer;
            background-color: rgba($color: #ddd, $alpha: .3);
            border: none;
            position: relative;
            &.active{
                .navbar-toggler-icon {
                    box-shadow: 0px 0px 0px grey;
                    background: rgba(0, 0, 0, 0);
                    &::before {
                        top: 0px !important;
                        transform: rotate(45deg);
                    }
                    &::after {
                        top: 0px !important;
                        transform: rotate(135deg);
                    }
                }
            }
            .navbar-toggler-icon
            {
                width: 25px;
                height: 2px;
                background: var(--primary);
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                transition: 0.5s;
                &::after,
                &::before
                {
                    content: "";
                    position: absolute;
                    width: 25px;
                    height: 2px;
                    background: var(--primary);
                    transition: 0.5s;
                }
                &::after{
                    top: -6px;
                    right: 0px;
                }
                &::before{
                    top: 6px;
                    right: 0px;
                }
            }
        }
    }
}


//start Footer
.footer {

    .inner {
        position: relative;
        border-radius: 30px;
        background-color: #001C26 ;
        padding: 60px 4vw;
        padding-bottom: 30px; 
        .social_links a {
            color: #fff;
            margin: 0 7px;
            font-size: 16px ;
        }

        .content {
            margin-bottom: 50px;
            .links a {
                display: block;
                color: #fff;
                font-size: 14px;
                margin-bottom: 18px;
                position: relative;
                &::before {
                    content: '\f061';
                    font-family: "Font Awesome 6 Pro";
                    font-weight: 900;
                    display: inline-block;
                    margin-inline-end: 15px;
                    font-size: 14px;
                    position: absolute;
                    top: 0;
                    inset-inline-start: 0;
                    transform: translateX(-20px);
                    opacity: 0;
                    transition: all .3s linear;
                }
                &:hover {
                    color: var(--secondary) !important;
                    padding-inline-start: 25px;
                    &::before {
                        transform: translateX(0px);
                        opacity: 1;
                    }
                }
            }
        }

        .bg {
            height: 220px;
            top: unset;
        }


    }

}

/**********************************************
    Start Edit Home Page 
**********************************************/

//start header
.header {

    .inner {
        border-radius: 33px;
        position: relative; 
        overflow: hidden;
        padding-top: 70px;
        // padding-inline-start: 5vw;
        height: 700px;

        .txt_box {
            position: relative;
            z-index: 5;

        }

        .bg {
            border-radius: 33px;
        }

    }

    .statics_box {
        background-color: var(--dark);
        border-radius: 30px ;
        padding: 45px;
        position: relative;
        overflow: hidden;
        margin-top: -150px;
        .item {
            display: flex;
            align-items: center;
            margin: 10px 0;
            .icon_box {
                width: 74px;
                height: 74px;
                display: flex;
                align-items: center;
                justify-content: center;
                background-color: #fff;
                border-radius: 16px;
                .icon {
                    width: 40px;
                    height: 50px;
                    object-fit: contain;
                }
            }

            .content {
                width: calc(100% - 90px);
                margin-inline-start: 15px;

            }
        }

        .bg {
            height: 250px;
            top: unset;
        }

        .pattern {
            position: absolute;
            top: -82%;
            inset-inline-end: 0;
            width: 23%;
            object-fit: contain;
        }
    }

}

//start about_sec
.about_sec {


    .head_box {
        border-radius: 33px;
        background-color: #EDF9FC;
        padding: 25px 35px;
        padding-inline-end: 7vw ;
        overflow: hidden;
        position: relative;
        &::before {
            content: "";
            width: 34%;
            background: url(../images/pattern-2.png) no-repeat;
            background-size: contain;
            position: absolute;
            bottom: 0;
            right: 0;
            height: 88%;
        }
    }

    .img_box {
        position: relative;
        .secImg {
            height: 390px;
            border-radius: 100px 30px 30px 30px ;
        }
        .icon {
            width: 150px;
            position: absolute;
            bottom: -50px;
            inset-inline-end: -50px;
            z-index: -1;
        }

    }

    .about_cards .about_card {
        border-radius: 33px;
        position: relative;
        padding: 50px 45px;
        height: calc(100% - 35px);
        margin-bottom: 35px;
        .icon_box {
            width: 85px;
            height: 85px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #fff;
            border-radius: 26px;
            box-shadow: 0 0 25px 0 rgba(197, 197, 197, 0.333);
            position: relative;
            margin-inline-end: 40px;
            .icon {
                width: 40px;
                height: 40px;
                object-fit: contain;
            }
            &::before {
                content: '';
                width: 20px;
                height: 23px;
                background: url(../images/icons/dashes.svg) center;
                background-size: contain;
                position: absolute;
                top: -18px;
                inset-inline-end: -22px;
            }
        }

        .title {
            width: calc(100% - 150px);
            font-size: 24px;
        }


    }

    .about_cards .col-lg-6:nth-child(1) .about_card {
        background-color: #FCF7F0 ;
        .icon_box {
            .icon {
                filter: invert(51%) sepia(22%) saturate(526%) hue-rotate(359deg) brightness(94%) contrast(87%);
            }
            &::before {
                filter: invert(51%) sepia(22%) saturate(526%) hue-rotate(359deg) brightness(94%) contrast(87%);
            }
        }
        .title {
           color:  #927F5F;
        }

    }

    .about_cards .col-lg-6:nth-child(2) .about_card {
        background-color: #EEF8F2 ;
        .icon_box {
            .icon {
                filter: invert(78%) sepia(32%) saturate(193%) hue-rotate(91deg) brightness(80%) contrast(81%);
            }
            &::before {
                filter: invert(78%) sepia(32%) saturate(193%) hue-rotate(91deg) brightness(80%) contrast(81%);
            }
        }
        .title {
           color:  #578168;
        }

    }

}

//start partners_sec
.partners_sec {


    .inner {
        padding: 45px 35px ;
        border-radius: 33px;
        position: relative;
        background-image: linear-gradient(68deg , #97ffd6 , #fafafa , #4d9ffc );

        .item {
            height: 120px;
            background-color: #fff;
            border-radius: 33px;
            display: flex;
            align-items: center;
            justify-content: center;
            .logo {
                height: 55px;
                object-fit: contain;
            }
        }

        .partners_box {
            padding-inline: 4vw ;
        }
        .swiper-button-next, 
        .swiper-button-prev {
            top: 70%;
        }

    }



}


//start doctors_sec
.doctors_sec  {

    .arrows {
        .swiper-button-next, 
        .swiper-button-prev {
            position: relative;
            top: unset;
            right: unset;
            left: unset;
            margin: 0 5px;
        }
    }


    .slider_wrapper {
        overflow:hidden;
        width:100%;
    }
    .slider_track{
        display:flex;
        transition:transform .5s ease;
    }
    .cards_wrapper{
        display:flex;
        gap:20px;
        min-width:100%;
        .box{
            flex:1;
            min-width:0;
            transition:flex .4s ease;
            position:relative;
            &.active{
                flex:2.5;
                .dr_info {
                    opacity: 1;
                    filter: blur(0px);
                }
            }

        }

        .doctor_card {
            background-color: #EDF9FC;
            border-radius: 33px;
            position: relative;
            height: 530px;
            overflow: hidden;
            .dr_img {
                object-position: center ;
                height: 100%;
            }
            .dr_info {
                width: 50%;
                background-color: var(--dark);
                position: absolute;
                top: 10px;
                inset-inline-end: 10px;
                height: calc(100% - 20px );
                border-radius: 33px;
                padding: 35px 25px;
                opacity: 0;
                filter: blur(10px);
                transition: all .3s linear;
                overflow: hidden;
                .line {
                    width: calc(100% - 150px);
                    height: 1px;
                    background-color: #fff5;
                }

                .ul li {
                    color: #fff;
                    display: block;
                    margin-bottom: 10px;
                    padding-inline-start: 25px;
                    position: relative;
                    &::before {
                        content: '\f00c';
                        font-family: "Font Awesome 6 Pro";
                        font-weight: 900;
                        display: inline-block;
                        color: var(--secondary);
                        position: absolute;
                        top: 3px ;
                        inset-inline-start: 0;
                    }
                }

                .pattern {
                    position: absolute;
                    bottom: 0;
                    right: 0;
                    left: 0;
                    width: 100%;
                    object-fit: cover;
                    height: 45%;
                }

            }


        }
    }



}

//start news_sec
.news_sec {

    .blog_card {
        position: relative;
        .img_box {
            height: 430px;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
        }

    }

    .blog_item  {
        position: relative;
        margin-bottom: 35px;

        .img_box {
            height: 155px;
            border-radius: 30px;
            position: relative;
            overflow: hidden;
        }

    }

    .border-left {
        border-left: 1px solid #dee2e6 ;
    }

}


//start working_sec
.working_sec {


    .inner {
        position: relative;
        padding: 0 2vw;
        .txt_box {
            .appointments_box {
                .row_item {
                    margin-bottom: 20px;
                    .item {
                        span {
                            width: 110px;
                            display: inline-block;
                        }
                    }
                    .dash {
                        width: 35px;
                        height: 1px;
                        display: block;
                        background-color: #1a2d6b4c;
                    }
                }
            }
        }

        .map_box{
            iframe {
                border-radius: 33px;
            }   
            .icon {
                display: block;
                position: relative;
                z-index: 2;
                margin: auto;
                margin-top: -90px;
                height: 150px;
                object-fit: contain;
            }
        }   

        .pattern {
            position: absolute;
            top: 0;
            inset-inline-end: 5%;
            width: 150px;
            object-fit: contain;
            z-index: 2;
        }

        &::before {
            @include overlay;
            background-color: #EDF9FC;
            border-radius: 33px;
            top: unset;
            height: 85%;
        }
        &::after {
            content: '';
            width: 70%;
            height: 80%;
            background: url(../images/pattern-3.svg) no-repeat center;
            background-size: contain;
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            z-index: 1;
        }
    }


}

//start contact_sec
.contact_sec {


    .inner {
        border-radius: 33px;
        position: relative;
        overflow: hidden;
        padding: 70px 3vw;

        .form_box {
            border-radius: 21px;
            background-color: #fff;
            padding: 45px 3vw;

            .form-group {
                margin-bottom: 18px;
                .form-control {
                    background-color: #F3F4F7;
                    border-color: #F3F4F7;
                    border-radius: 35px;
                    padding-inline-start: 25px;
                }
                input , select {
                    height: 50px !important;
                }
                textarea {
                    padding-top: 15px;
                }

            }

        }
    }

}


/**********************************************
    Start Edit pg-header
**********************************************/




/**********************************************
    Start Edit another Page 
**********************************************/




/**********************************************
    Start Edit another Page 
**********************************************/



/**********************************************
    Start Edit another Page 
**********************************************/




/**********************************************
    Start Edit Media screens 
**********************************************/
@media screen and (max-width: 991px) {
    .order_md_1 {
        order: -1;
    }
    .d_mob_none {
        display: none !important;
    }
    .fsz-65 {
        font-size: 40px !important;
    }
    .fsz-55 {
        font-size: 35px !important;
    }
    .fsz-35 {
        font-size: 30px !important;
    }
    .fsz-30 {
        font-size: 25px !important;
    }
    .fsz-20 ,
    .fsz-26 ,
    .fsz-25  {
        font-size: 18px !important;
    }
    .section {
        padding: 40px 0;
    }

    .navs-container .top_nav .ending_box .butn {
        padding: 0.7rem .5rem;
        font-size: 10px;
    }
    .navs-container .navbar .has_dropdown:hover .drop_down {
        visibility: visible !important;
        opacity: 1 !important;
        transform: scale(1) !important;
    }

    .navs-container .navbar .has_dropdown {

        .drop_down {
            position: static;
            border: 0;
            border-radius: 0;
            transform: none;
            opacity: 1;
            visibility: hidden;
            max-height: 0;
            overflow: hidden;
            transition: all .3s ease;
            box-shadow: none;
            text-align: start;
            background-color: #f5f5f5 ;
            a {
                padding: .5rem 1.5rem;
                background: #f5f5f5;
            }
        }

        &.active .drop_down {
            visibility: visible;
            max-height: 500px; // أي رقم كبير
        }

        .nav-link {
            padding-inline-end: 25px;
        }

    }

    .header .inner ,
    .header .statics_box ,
    .about_sec .about_cards .about_card ,
    .contact_sec .inner .form_box ,
    .about_sec .txt_box   {
        padding-inline: 25px ;
    }

    .header .inner .txt_box {
        padding-top: 0 !important; 
    }
    .header .inner {
        height: auto;
        padding-bottom: 100px;
    }
    .header .statics_box {
        margin-top: -50px;
    }


    .about_sec .about_cards .about_card .title {
        font-size: 17px;
    }


    .doctors_sec .cards_wrapper {
        flex-direction: column;
        .doctor_card {
            height: 400px;
            .dr_info {
                width: calc(100% - 20px);
                background-color: #1a2d6bdb;
                backdrop-filter: blur(10px);
                .name  {
                    font-size: 17px !important;
                }
                .badge  {
                    font-size: 12px !important;
                }
                .d-flex.align-items-center.justify-content-between.mt-5 {
                    margin-top: 15px  !important;
                }
                .ul {
                    margin-top: 10px  !important;
                    height: 75px;
                    overflow: hidden;
                    li {
                        font-size: 12px !important;
                        margin-bottom: 7px;
                    }
                }
            }
        }
    }

    .working_sec .inner .map_box iframe {
        height: 350px;
    }
    .working_sec .inner .txt_box .appointments_box .row_item .item {
        font-size: 10px ;
        span {
            width: auto;
        }
    }

    .footer {
        .starting_box {
            margin-top: 15px;
            .item  {
                margin-inline-end: 10px !important;
                .icon {
                    margin-inline-end: 0px !important;
                }
            }
        }
        .content h5{
            margin-bottom: 20px !important;
        }

    }


}

@media screen and (max-width: 787px) {
    
}

@media screen and (max-width: 480px) {
    
}


/**********************************************
    Start Edit EN direction 
**********************************************/
html[dir="ltr"]{

    @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

    body{
        direction: ltr;
        font-family: 'Poppins', sans-serif;
    }

}