:root {
    --dark: #212428;
    --light: #ffffff;
    --text: #c4cfde;
    --primary: #1F2B6C;
    --Secondary: #159EEC;
    --btn: #BFD2F8;
    --green: #073e33;
    --third: #7189b9;
    --linear: linear-gradient(45deg, #c0d3f9, #7189b9);
    --hover_linear: linear-gradient(45deg, #7189b9, #c0d3f9);
    --shadow: 0px 3px 4px 0px #1f2b6c85;
    --gradiant: linear-gradient(45deg, #159EEC, #1F2B6C);
    --inner-shadow: 1px 4px 2px -3px rgba(0, 0, 0, 0.7) inset, -1px -3px 3px -2px rgb(255 255 255) inset;
    --gradient-box: linear-gradient(145deg, #e2e8ec, #ffffff);
}

html {
    scroll-behavior: smooth;
}

body {
    background: #ecf0f3 !important;
    color: var(--dark);
    overflow: auto !important;
    font-family: system-ui !important;
}
.pt-5{
    padding-top: 3rem;
}
::-webkit-scrollbar {
    width: 6px;

}

::-webkit-scrollbar-track {
    background: none;

}

::-webkit-scrollbar{
    width: 10px;
    height: 10px;
}



.heading {
    color: var(--primary);
}

.heading span {
    border-bottom: 3px solid var(--Secondary);
    padding-bottom: 4px;
}

.navbar {
    background-color: var(--primary);
    backdrop-filter: blur(15px) !important;
}

.scroll-color-change, .sm-screen {
    background-color: var(--primary);
    backdrop-filter: blur(15px);
    -webkit-transition: .2s all ease;
    -o-transition: .2s all ease;
    transition: .2s all ease;
}

.btn-primary {
    background-color: var(--btn) !important;
    color: var(--primary) !important;
    border: 0px !important;
}

.btn-secondary {
    background: var(--third) !important;
    color: var(--dark) !important;
    border: 0px !important;
}

.navbar-brand img {
    height: 55px;
}

.nav-link {
    border-radius: 4px;
    padding-left: 20px !important;
    padding-right: 20px !important;
    color: #ffffffbf !important;
    font-size: 15px!important;
    font-weight: 600!important;
    -webkit-transition: .8s all ease;
    -o-transition: .8s all ease;
    transition: .8s all ease;
}
.nav-link:hover {
    background: linear-gradient(45deg, #8cbc33, #e5b380fa) !important;
    color: #223844 !important;
    border-radius: 4px;
    -webkit-transition: .8s all ease;
    -o-transition: .8s all ease;
    transition: .8s all ease;
}

.sm-screen {
    display: none;
}

.hero_section p {
    line-height: 30px;
}

.carousel {
    background: #FAFAFA;
}
.carousel-cell {
    width: 100%;
    height:390px;
}
/*.carousel.is-fullscreen .carousel-cell {*/
/*    height: 100%;*/
/*}*/

.carousel-cell img {
    display: block;
    width: 100%;
    object-fit: cover;
}

/* fade in lazy loaded image */
.carousel-cell-image {
    display: block;
    max-height: 100%;
    margin: 0 auto;
    max-width: 100%;
    opacity: 0;
    -webkit-transition: opacity 0.4s;
    transition: opacity 0.4s;
}
.carousel-cell-image.flickity-lazyloaded,
.carousel-cell-image.flickity-lazyerror {
    opacity: 1;
}

.hero_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #000000bd, #1f2b6c73);
    top: 0;
}

.carousel-cell:before {
    display: block;
    text-align: center;
    font-size: 80px;
    color: white;
}

.section-1 {
    padding: 25px 20px 25px 20px;
    background-color: var(--primary);
    border-radius: 10px;
    color: var(--text);
    box-shadow: var(--shadow);
}

.section-2 {
    padding: 25px 20px 25px 20px;
    background-color: var(--btn);
    border-radius: 10px;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.section-3 {
    padding: 25px 20px 25px 20px;
    background-color: var(--Secondary);
    border-radius: 10px;
    color: var(--primary);
    box-shadow: var(--shadow);
}

.section-4 {
    padding: 25px 20px 25px 20px;
    background-color: #82aa40;
    border-radius: 10px;
    color: var(--light);
    box-shadow: var(--shadow);
}

.hero_text1 {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 30vh;
    font-size: 55px!important;
}
.hero_text1 h1{
    font-size: 55px!important;
}

.hero_text2 {
    display: flex;
    justify-content: center;
    height: 30vh;

}

.hero_text3 {
    display: flex;
    justify-content: center;
    height: 33.33vh;
}

.hero_text h1 {
    font-weight: bolder;
    font-size: 45px;
}

.hero_text h3 {
    font-weight: bold;
    color: var(--Secondary);
}

.hero .flickity-page-dots {
    bottom: 30px !important;
}

.hero .flickity-page-dots .dot {
    /*background: var(--btn) !important;*/
    background: linear-gradient(0deg,#022352,#3c9ec1)!important;
}

.flickity-prev-next-button {
    top: 50%;
    width: 35px !important;
    height: 35px !important;
    border-radius: 50% !important;
    transform: translateY(-50%);
}

.flickity-button {
    color: #1f2b6cb5 !important;
    background: #ffffff78 !important;
}

.card {
    padding: 12px;
    background: var(--linear) !important;
    box-shadow: var(--shadow) !important;
    border-width: 0px !important;
    -webkit-transition: .5s all ease;
    -o-transition: .5s all ease;
    transition: .5s all ease;
}

.card:hover {
    background: var(--hover_linear) !important;
    -webkit-transition: .5s all ease;
    -o-transition: .5s all ease;
    transition: .5s all ease !important;
    -webkit-transform: translate3d(0, -10px, 0);
    box-shadow: 0px 3px 8px 5px #1f2b6c85 !important;
}

.bounce-icon {
    animation: bounce 2s infinite;
}

.bg_section {
    background-image: url("../img/team-doctors-standing-row_107420-84774.jpg");
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.bg_section_color {
    height: 300px;
    background: linear-gradient(45deg, #000000bd, #1f2b6ce0);
    position: relative;
}

.bg_section_color_text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(0);
    }
    40% {
        transform: translateX(5px);
    }
    60% {
        transform: translateX(2px);
    }
}

.doctor_section .carousel-cell {
    width: 25%;
    height: auto !important;
    margin-right: 10px;
    margin-bottom: 10px;
    background: var(--gradient-box) !important;
    border-radius: 5px;
    color: var(--primary);
    box-shadow: 5px 5px 15px #D1D9E6, -5px -5px 15px #ffffff !important;
}

.doctor_section .carousel-cell img {
    width: 100%;
    height: 350px;
    border-radius: 5px;
}

.doctor_section .carousel-cell:before {
    display: block;
    text-align: center;
}

.doctor_section .flickity-page-dots .dot.is-selected {
    opacity: unset;
    background: var(--primary) !important;
}

.doctor_section .flickity-page-dots .dot {
    background: var(--primary);
    opacity: 0.5;
    box-shadow: var(--inner-shadow);
}

.carousel .is-selected {
    opacity: 1;
}

.doctor_section .flickity-prev-next-button.previous, .doctor_section .flickity-prev-next-button.next {
    background: #1f2b6cb5 !important;
    color: #ffffff78 !important;
}

.news_section .card {
    background: var(--gradient-box) !important;
    box-shadow: 5px 5px 15px #D1D9E6, -5px -5px 15px #ffffff !important;
    border: none !important;
    -webkit-transition: .5s all ease;
    -o-transition: .5s all ease;
    transition: .5s all ease;
}

.news_section .card img {
    height: 180px;
    object-fit: cover;
}

.testimonial {
    background: var(--primary);
}

.testimonial .carousel-cell {
    width: 100%;
    height: 200px !important;
    margin-right: 10px;
    margin-bottom: 40px;
    background:#ecf0f3 !important;
    /*border-radius: 8px!important;*/
    color: var(--primary);
    box-shadow: 1px 4px 2px -3px #7189b9 inset, -1px -3px 3px -2px #7189b9 inset;
!important;
}
.testimonial .flickity-slider {
    width: 100%;
    height: 200px !important;
    margin-right: 10px;
    margin-bottom: 40px;
    background:transparent !important;
!important;
}
.testimonial .flickity-viewport {
    width: 100%;
    height: 200px !important;
    margin-right: 10px;
    margin-bottom: 40px;
    background:transparent !important;

!important;
}

.testimonial .flickity-page-dots {
    bottom: 14px;
}

.appointment i {
    color: var(--primary) !important;
}

.testimonial .flickity-button {
    color: #ffffff78 !important;
    background: #1f2b6cb5 !important;
}

.flickity-page-dots .dot {
    background: var(--btn) !important;
}

.signature {
    font-family: 'Meddon', cursive !important;
}

.form {
    background: var(--gradient-box) !important;
    box-shadow: 5px 5px 15px #D1D9E6, -5px -5px 15px #ffffff !important;
    padding: 18px;
    border-radius: 10px;
}

.form-control {
    background: var(--light) !important;
    color: var(--dark) !important;
    border: 1px solid #ccc !important;
    padding: 0.5rem 0.75rem !important;
}

.form-select {
    background: var(--light) !important;
    color: var(--dark) !important;
    border: 1px solid #ccc !important;
    padding: 0.8rem 0.75rem !important;
}

label {
    color: var(--dark) !important;
}

.form-control:focus {
    box-shadow: 0 0 0 0.10rem #ccc !important;
}

.form-select:focus {
    box-shadow: 0 0 0 0.10rem #ccc !important;
}

.btn:hover:before {
    opacity: 0 !important;
}

.footer {
    background: var(--primary);

}

.contact-card {
    background: var(--gradient-box) !important;
    box-shadow: 5px 5px 15px #D1D9E6, -5px -5px 15px #ffffff !important;
    padding: 12px;
    border-radius: 10px;
}

.contact-card .fa {

    border-radius: 50%;
    border: 1px dashed var(--primary);
    padding: 10px;
    height: 40px;
    width: 40px;
    font-size: 20px;
    justify-content: center;
}
.service-hero{
    background: url("../img/hero5.jpg");
    height: 25vh;
    background-repeat: no-repeat;
    background-size: cover;
    background-position:center;
    background-attachment: fixed;
}
.service-hero-bg{
    width: 100%;
    height: 25vh;
    background: linear-gradient(45deg, #000000bd, #1f2b6c73);
}
.ser-hero_text{
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
    align-self: center;
    height: 25vh;
    font-size: 55px!important;
}
.ser-hero_text h1{
    font-size: 55px!important;
}
.tab_screen_content{
    max-height: 380px !important;
    overflow: auto;
}
.tab_screen_img{
    text-align: center;
}
.tab_screen_img img{
    height: 380px !important;
    object-fit: cover;
}

.tab_screen_content::-webkit-scrollbar-track {
    background: #f1f3f4;
}
.detail-img-box::-webkit-scrollbar-track {
    background: #f1f3f4;
}

.detail-img-box{
    max-height: 540px !important;
    overflow: auto;
    padding: 0px 8px 0px !important;
}
.tab_screen_content::-webkit-scrollbar-thumb{
    background: #c9cbcd6e !important;
    border-radius: 20px;
}
.detail-img-box::-webkit-scrollbar-thumb{
    background: #c9cbcd6e !important;
    border-radius: 20px;
}
.tab_screen_content::-webkit-scrollbar, .detail-img-box::-webkit-scrollbar{
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-thumb {
    background: linear-gradient(94deg, #223472, #86af46);
    border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(270deg, #223472, #86af46);
}
