:root {


    /* old blue */
    /* --color-primary: #032049;
    --dark: #032049;
    
    --bg-gradient-1: radial-gradient(circle, rgba(49, 77, 122, 1) 0%, rgba(53, 84, 133, 1) 21%, rgba(20, 41, 97, 1) 62%, rgba(7, 38, 82, 1) 82%, rgba(7, 39, 71, 1) 97%);
    
    --bg-gradient-2: linear-gradient(90deg, rgba(3, 32, 73, 1) 0%, rgba(3, 32, 73, 0.87) 55%, rgba(3, 32, 73, 0.78) 100%); */

    /* new blue */
    --color-primary: #3a4b84;
    --dark: #3a4b84;

    --bg-gradient-1: radial-gradient(circle, rgb(128 153 192) 0%, rgb(99 131 180) 21%, rgb(78 95 145) 62%, rgb(57 78 142) 82%, rgb(57 76 132) 97%);

    --bg-gradient-2: linear-gradient(135deg, rgb(57 76 132) 0%, rgb(89 105 155) 60%, rgb(132 151 206 / 80%) 100%);


    /* --color-secondary: #bbc1cd; */
    --color-secondary: #344b6c;

    /* lightorange */
    /* --color-1: #fea38e; */

    /* pink */
    /* --color-1: #e50880; */

    /* blue */
    /* --color-2: #c1e8f0; */
    /* --color-2: #e5f2ff; */
    /* --color-2: #dbf2ff; */
    /* --color-2: #c1e8f0; */

    /* --color-3: #1373bc; */

    /* green */
    /* --color-4: #99bc28; */

    /* #e5f2ff */
    /* #dbf2ff */

    /* brown */
    /* --color-12: #767676; */


    /* --bg-gradient-1: radial-gradient(circle, rgba(49, 77, 122, 1) 0%, rgba(53, 84, 133, 1) 21%, rgba(20, 41, 97, 1) 62%, rgba(7, 38, 82, 1) 82%, rgba(7, 39, 71, 1) 97%); */

    /* --bg-gradient-2: linear-gradient(180deg,rgba(26, 56, 97, 1) 0%, rgba(59, 88, 161, 1) 35%, rgba(16, 46, 92, 1) 100%); */





}

@font-face {
    font-family: "playfair-display";
    src: url('../fonts/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
}

/* @font-face {
    font-family: "new-rocker";
    src: url('../fonts/NewRocker-Regular.ttf') format('truetype');
} */

/* .text-black {
    color: #282828;
} */

/* .header-phone a{
    margin-right: 5px;
} */


.text-justify {
    text-align: justify;
}

.img-white {
    filter: brightness(0) invert(1);
}

.custom-font {
    /* font-family: 'new-rocker', sans-serif !important; */
    font-family: 'playfair-display' !important;
    /* font-style: italic; */
}


.header-phone a {
    font-weight: 400;
}

/* .header-phone a:not(:first-of-type)::after{ */
.header-phone a:not(:last-of-type)::after {
    content: ",";
    margin-right: 5px;
}

.carousel-image {
    width: 100%;
    aspect-ratio: 1350/570;
    object-fit: cover;
}

.breadcrumb-area h1 {
    /* color: var(--color-primary); */
}

.about-list li {
    display: flex;
    margin-top: 10px;
    /* font-weight: 500; */
    /* color: var(--color-heading); */
    padding-left: 25px;
    position: relative;
    z-index: 1;
    align-items: center;
    justify-content: space-between;
}

.about-list li::after {
    position: absolute;
    left: 0;
    content: "\f058";
    font-family: "Font Awesome 5 Pro";
    text-align: center;
    border-radius: 50%;
    font-weight: 700;
    color: var(--color-primary);
}

.about-box {
    perspective: 1000px;
    /* Enables 3D perspective */
    transition: all 0.7s;
}

.about-box-icon {
    transition: transform 1s;
    transform-style: preserve-3d;
}

.about-box:hover .about-box-icon {
    transform: rotateY(360deg);
}

.about-box:hover {
    transform: scale(0.95);
    /* box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); */

}

.about-box-icon {
    width: 100px;
    height: 100px;
}

/* .about-title {
    position: relative;
    display: inline-block;
}

.about-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #007bff;
    transition: width 0.4s ease;
}

.about-box:hover .about-title::after {
    width: 100%;
} */


.procedures-outer-box {
    padding: 40px 10px 40px !important;
    /* height: 700px !important; */
    /* height: auto !important; */
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
}

.procedures-outer-box i {
    margin-bottom: 0 !important;
}


.custom-badge {
    /* background-color: rgba(3, 32, 73, 0.08); */
    /* background-color: rgba(3, 32, 73, 0.08); */
    color: #032049;
    border: 1px solid #032049a3;
    /* border-left: 3px solid rgba(3, 32, 73, 0.5); */
    /* border-left: 3px solid var(--color-primary); */
    border-radius: 4px;
    padding: 5px 10px;
    font-size: 0.875rem;
    font-weight: 500;
    display: inline-block;
    white-space: nowrap;
    transition: all 0.2s ease-in-out;
}

.custom-badge:hover {
    /* background-color: #032049; */
    /* background-color: #03204950; */
    /* background: #78aeff; */
    /* background: linear-gradient(90deg, rgba(120, 174, 255, 0.66) 0%, rgba(173, 183, 224, 0.41) 30%, rgba(255, 255, 255, 0) 100%); */
    text-shadow: 2px 2px #c6c6c650;
    border-left: 3px solid var(--color-primary);
    /* color: #fff; */
    border-color: #032049;
}

.custom-badge i {
    font-size: 0.9rem;
    line-height: 1;
}

.procedures-outer-box img {
    width: 20px;
    /* height: 50px; */
    aspect-ratio: 1/0.8;
    border-right: 1px solid #032049a3;
    margin-right: 5px;
    padding-right: 5px;

}

/* .card-custom {
  background-color: #fff;
  border: 1px solid #e4e7ec;
  box-shadow: 0 4px 16px rgba(3, 32, 73, 0.05);
  border-radius: 12px;
} */



/* .procedures-inner-list {
    text-align: left;
    font-weight: 500;
    color: var(--color-heading);
    height: 240px;
    margin: 15px 0;
    overflow: auto;
}

.procedures-inner-list::-webkit-scrollbar {
    width: 4px;
}

.procedures-inner-list::-webkit-scrollbar-track {
    background: #f1f1f143;
    border-radius: 20px;
}

.procedures-inner-list::-webkit-scrollbar-thumb {
    background: #aaaaaa;
    border-radius: 20px;
}

.procedures-inner-list::-webkit-scrollbar-thumb:hover {
    background: #646464;
} */



/* marquee for procedures */


.procedure-card {
    background: white;
    /* color: #032049; */
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    margin: 0.5rem;
}

.procedure-card img {
    width: 80px;
    aspect-ratio: 1/1;
    margin: 15px 0 5px;
}

.procedure-card img {
    display: block;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.procedure-card:hover img {
    transform: rotateY(360deg);
}

.procedure-card:hover p {
    color: black;
}

.procedure-card .procedure-text {
    color: #252525;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 0;
    height: 65px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.procedure-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 16px rgba(3, 32, 73, 0.05);
}

/* --------------------------- */
.splide__slide {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

/* 
.splide__slide p {
  margin: 0;
  color: #032049;
  font-weight: 500;
} */

/* --------------------------- */

.bg-img-1 {
    position: relative;
    background-color: #ffffff;
}

.bg-img-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* background:  url(../img/bg-stethoscope.jpg); */
    /* background: url(../img/bg-stethoscope.jpg) no-repeat center center / cover; */
    /* background: url(../img/bg-heart-1.png) no-repeat center center / cover; */
    background: url(../img/bg-heart-2.jpg) no-repeat center center / cover;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.bg-img-1>* {
    position: relative;
    z-index: 1;
}

.fun-fact-area .fun-fact img {
    width: 100px;
    aspect-ratio: 1/1;
    margin-bottom: 15px;
}

.fun-fact img {
    /* display: block; */
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.fun-fact {
    transition: all 0.4s;
}

.fun-fact:hover {
    transform: translateY(-5px);
}

.fun-fact:hover img {
    transform: rotateY(360deg);
}

.fun-fact span {
    font-size: 14px;
}

.blog-more {
    margin-right: 10px;
    margin-bottom: 0;
    color: var(--color-primary);
    text-transform: uppercase;
    font-weight: 600;
}

.custom-bg-1 {
    position: relative;
    background-color: #ffffff;
}

.custom-bg-1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(../img/pattern-1.jpg) no-repeat center center / cover;
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.custom-bg-1>* {
    position: relative;
    z-index: 1;
}

.blog-card-image {
    width: 100%;
    aspect-ratio: 1/0.7;
    object-fit: cover;
}

/* .blog-card-title {
    height: 52px;
} */

.truncate-text {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

#appointment {
    scroll-margin-top: 50px !important;
}

.bg-blue {
    background: #314d7a;
    background: var(--bg-gradient-1);
}

.bg-blue .section-heading {
    color: #ededed;
}

.bg-blue .section-heading span {
    color: white;
}

.bg-blue .site-heading h2 {
    color: #ededed;
}

.bg-blue .site-heading h2::before,
.bg-blue .site-heading h2::after {
    background: #ededed;
}

.bg-blue .site-heading h2 span {
    color: white;
}

.bg-blue .site-heading p {
    color: #ededed;
    /* color: white; */
}







/* -------------------gallery------------------ */
.hidden {
    display: none !important;
}

.album-tab-container .tab {
    background: var(--color-primary) !important;
    margin: 0 5px;
    padding: 8px 20px;
    /* color: #000; */
    color: #e4e4e4;
    font-size: 18px;
    /* transition: all 0.3s ease; */
    height: unset;
    width: 90px;
    min-width: unset;
    transition: all 0.2s ease;
}

.album-tab-container .tab:hover {
    color: #ffffff;
}

.album-tab-container .tab.active {
    color: #fff;
    font-weight: bolder;
}

.album-container .album {
    display: block;
    width: 100%;
    margin: 10px auto;
    padding: 10px 0;
}

.album-container .album-item {
    box-shadow: 1px 1px 4px 2px rgba(165, 165, 165, 0.2);
    border-radius: 4px;
    border: 1px solid #ddd6e1;
    transition: transform 0.4s ease;
}

.album-container .album-item:hover {
    transform: translateY(-4px);
}

.album-container .album-item:hover img {
    transform: scale(1.04);
    border-radius: 4px 4px 0 0;
}


.album-container .album-item:hover .album-overlay {
    opacity: 1;
}

.album-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    display: flex;
    border-radius: 4px 4px 0 0;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.album-container .album-item .image {
    height: 200px;
    overflow: hidden;
    border-radius: 4px 4px 0 0;
}

.album-container .album-item .detail {
    /* height: 300px; */
    padding: 5px 15px;
    border-top: 1px solid #ddd6e1;
}

.album-container .album-item .detail p {
    margin-bottom: 0;
    color: #5e5e5e;
}

.album-container .album-item .detail .name {
    font-size: 16px;
    font-weight: 500;
}

.album-container .album-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px 4px 0 0;
    transition: transform 0.2s ease-in-out;
}

.gallery-items.page-gallery-box iframe {
    aspect-ratio: 1/0.7;
}

/* ------------------------------------------------- */





/* sticky sidebar */
.aon-scrolling-nav {
    position: fixed;
    top: 50%;
    right: 0px;
    list-style: none;
    z-index: 99;
    -moz-transform: translateY(-50%);
    -webkit-transform: translateY(-50%);
    -o-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
}

.aon-scrolling-nav li {
    width: 34px;
    height: 34px;
    line-height: 34px;
    position: relative;
    background: var(--color-4);
    margin: 3px 2px;
    border-radius: 5px;
    color: #fff;
    text-align: center;
    overflow: hidden;
    display: flex;
}

.aon-scrolling-nav li a {
    color: #fff;
    display: block;
    width: 100%;
    height: 100%;
}

.aon-scrolling-nav li a i {
    font-size: 18px;
}

.aon-scrolling-nav li span {
    opacity: 0;
    position: absolute;
    top: 4px;
    right: 100%;
    line-height: 1;
    background: var(--color-4);
    color: #fff;
    padding: 8px 10px;
    border-radius: 3px;
    white-space: nowrap;
    -webkit-transition: all 0.5s ease;
    -moz-transition: all 0.5s ease;
    -ms-transition: all 0.5s ease;
    -o-transition: all 0.5s ease;
    transition: all 0.5s ease;
}

.aon-scrolling-nav li span:before {
    rotate: 180deg;
    content: "";
    position: absolute;
    top: 10px;
    left: 100%;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 4px 5px 4px 0;
    border-color: transparent var(--color-4) transparent transparent;
}

.aon-scrolling-nav li:hover {
    overflow: visible;
    background: var(--color-4);
}

.aon-scrolling-nav li.active {
    overflow: visible;
    background: #d02f82;
}

.aon-scrolling-nav li:hover span {
    opacity: 1;
    right: 120%;
}

.aon-scrolling-nav li.actives span {
    opacity: 1;
    right: 120%;
}



.ap-btn {
    text-transform: uppercase;
    font-weight: 600 !important;
    padding: 15px 20px;
    color: var(--white) !important;
    background: var(--color-primary) !important;
    letter-spacing: 1px;
    height: 100%;
    width: 200px;
    display: block;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

a.mobile-appointment {
    display: none;
}


.btn-hover-1 {
    position: relative;
    /* padding-right: 2.5rem; */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    /* spacing between text and icon */
    color: white;
    /* make sure text and icon are visible */
}

/* Hover lift + glow */
.btn-hover-1:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(3, 32, 73, 0.3);
}

/* Initial arrow style */
.btn-hover-1 i.fas.fa-long-arrow-right {
    /* opacity: 0; */
    /* transform: translateX(-5px); */
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Arrow visible and slides in on hover */
.btn-hover-1:hover i.fas.fa-long-arrow-right {
    /* opacity: 1; */
    transform: translateX(5px);
}








.features-items li {
    position: relative;
    overflow: hidden;
    padding: 15px 5px 10px 20px;
    /* margin-bottom: 20px; */
    /* color: #333; */
    /* font-weight: 500; */
    transition: color 0.4s ease;
    z-index: 0;
    /* base layer */
}

.features-items li::before {
    content: "";
    position: absolute;
    top: 0;
    /* border-radius: 0 20px 20px 0; */
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--bg-gradient-2);
    transition: left 0.6s ease;
    z-index: -1;
    /* behind the text */
}

/* On hover, slide the gradient in */
.features-items li:hover::before {
    left: 0;
}

.features-items li i {
    display: inline-block;
    transition: transform 1s ease;
    transform-style: preserve-3d;
}

.features-items li:hover i {
    transform: rotateY(360deg);
}

/* Make text white on hover */
.features-items li:hover i,
.features-items li:hover h4

/* .features-items li:hover p */
    {
    color: #fff;
}

.features-items li:hover p {
    color: #ededed;
}

.testimonial-items .item,
.testimonial-items .item h4,
.testimonial-items .item::after {
    transition: all linear 0.25s;
}

.testimonial-items .item:hover::after {
    transform: rotate(360deg);
}

.testimonial-items .item:hover {
    transform: translateY(-4px);
}

.testimonial-items .item:hover h4 {
    transform: scale(1.1);
}



@media (max-width:768px) {
    .testimonial-items .item {
        padding: 40px 30px 10px 30px;
    }

    a.mobile-appointment {
        display: block;
        position: absolute;
        right: 10px;
        transform: translate(-50%, -50%);
        top: 50%;
        font-size: 30px;
        color: var(--color-primary);
    }

    .attr-right {
        display: none !important;
    }

    .about-area .services-area .equal-height .item h4 {
        margin-bottom: 0;
        font-size: 16px;
        letter-spacing: 0px;
    }
}

/* -----------blogs------------ */
.pagination {
    gap: 10px;
}

.page-link {
    border-radius: 4px;
    width: 40px;
    /* padding: 5px 15px; */
    /* display: flex; */
    color: var(--color-primary);
    text-align: center;
}

.page-item.active .page-link {
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}


.post-social-sharing.right ul {
    float: right;
}

.post-social-sharing.right hr {
    margin: 15px 0 15px;
    background: var(--color-primary);
    border-radius: 4px;
    border: none;
    /* padding: 1px; */
    height: 1px;
}

.post-social-sharing {
    margin: 0 0 15px 0;
}

/* .post-social-sharing ul {} */

.post-social-sharing ul li {
    list-style: none;
}

.post-social-sharing ul li {
    background-color: var(--color-primary);
    color: white;
    /* display: inline-block; */
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    /* padding: 4px; */
}

.post-social-sharing ul li i {
    font-size: 20px;
    margin-top: 5px;
}


/* ----------procedures---------- */

.procedures .card {
    border: none;
    margin-bottom: 30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.procedures .card img {
    aspect-ratio: 1 / 0.7;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.procedures .card .image {
    overflow: hidden;
}

.procedures .card .image::after {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    width: 100%;
    aspect-ratio: 1/0.7;
    /* background: linear-gradient(#283b6a12 20%, #283b6a70 55%, #283b6ae0 85%, #163277); */
    background: linear-gradient(#394c840f 20%, #394c8433 55%, #394c8482 85%, #394c84bf);
    z-index: 9;
}

.procedures .card:hover {
    transform: translateY(-7px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    /* border-bottom: 4px solid #283b6a; */
}

.procedures .card:hover img {
    transform: scale(1.05);
}

.procedures .card-header {
    background-color: #1d2a4d;
    color: white;
    font-size: 18px;
    padding: 15px;
    /* text-align: center; */
}

.procedures .card-header i {
    font-size: 1.5rem;
    color: white;
    margin-right: 10px;
}

.procedures .card-body {
    padding: 20px;
    /* background-color: white; */
    position: relative;
}

/* .procedures .card-body::after {
    position: absolute;
    left: 0;
    top: -100%;
    content: "";
    transition: all 0.35s ease-in-out;
    -webkit-transition: all 0.35s ease-in-out;
    -moz-transition: all 0.35s ease-in-out;
    -ms-transition: all 0.35s ease-in-out;
    -o-transition: all 0.35s ease-in-out;
    height: 100%;
    width: 100%;
    z-index: -1;
    background: var(--bg-gradient-1);
}

.procedures .card:hover .card-body::after {
    top: 0;
}

.procedures .card:hover .card-title {
    color: white;
}

.procedures .card:hover .card-body p {
    color: white;
} */

.procedures .card-body p {
    color: #555;
    font-size: 1rem;
    line-height: 1.5;
}

.procedures .row-cols-md-2 .col {
    display: flex;
    justify-content: center;
}


/* ----------xxxxxxxxxxx---------- */
.about-subheading {
    font-size: 24px;
    color: var(--color-primary);
    font-weight: 600;
    margin-bottom: 0px;
}

.about-pic.about {
    border-radius: 0px 44px;
    /* border-radius:0px ; */
    padding: 0 8px 0 0;
    overflow: hidden;
    /* border: 5px solid var(--color-primary); */
    /* border: 1px solid var(--color-primary); */
    transition: transform linear 0.3s, border-radius linear 0.3s;
    overflow: hidden;
}

.about-pic.about img{
    transition: all linear 0.2s;
}

.about-pic.about:hover {
    border-radius: 44px 0px;
    /* transform: translateY(-6px); */
}

.about-pic.about:hover img {
    transform: scale(1.05);
}

.about-pic {
    top: 120px;
    text-align: center;
    box-shadow: 0 0 10px 2px rgba(0, 0, 75, 0.2);
    border-radius: 8px;
    padding: 0 20px 20px;
}

.about-pic .info {
    padding: 20px 0 0;
    position: relative;
}

.about-pic .info::before {
    content: "";
    position: absolute;
    /* left: -20px; */
    left: 0;
    top: 10px;
    /* width: calc(100% + 40px); */
    width: 100%;
    height: 3px;
    background: var(--color-primary);
}

.about-pic .info h3 {
    color: #434343;
    font-size: 26px;
    margin-bottom: 5px;
    text-align: center;
}

.about-pic .info h4 {
    color: #373737;
    font-size: 18px;
    margin-bottom: 5px;
    text-align: center;
}

.about-pic .info h5 {
    color: #5e5e5e;
    font-size: 16px;
    margin-bottom: 5px;
    /* width: 90%; */
    padding: 0 20px;
    text-align: center;
}

.social-icons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 25px;
    margin-top: 10px;
}

.social-icons li a {
    width: 40px;
    height: 40px;
    line-height: 40px;
    color: #fff;
}

.social-icons li a i {
    font-size: 24px;
}

.social-icons li a {
    margin-top: 0 !important;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50%;
    font-size: 12px;
    text-align: center;
    color: #fff;
    background-color: #213360;
    -webkit-transition: all 0.4s linear;
    transition: all 0.4s linear;
}

.social-icons a.youtube {
    background-color: #ff0000;
}

.social-icons a.instagram {
    background-color: #d62976;
}

.social-icons a.facebook {
    background-color: #3b5999;
}