/* Custom styles for Nandi Medical Care */
.h1, h1 {font-size: 4rem;}
a {color:#0b4d5b !important}
ul.navbar-nav li {margin-left: 20px;font-weight: 500;}
ul.navbar-nav li a:hover {color: #0b4d5b !important}
.bg-light-blue{background: #E8EFFF;}
p.lead{
    margin-right: auto !important;
    margin-left: auto !important;
    max-width: 800px;
    font-weight: 400;
    color: gray;
}  

.hero-carousel {
    position: relative;

    .item {
        position: relative;

        img {
            width: 100%;
            height: auto;
            display: block;
        }

        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
/*             background: rgba(0, 0, 0, 0.5); */
            z-index: 1;
        }

        .carousel-caption {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            text-align: center;
            color: #fff;
            z-index: 2;
            padding: 20px;
        }
    }

    /* Arrows vertically centered */
    .owl-nav {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 100%;
        display: flex;
        justify-content: space-between;
        padding: 0 20px;
        pointer-events: none; /* Allows clicks only on arrows */

        button.owl-prev,
        button.owl-next {
            background: rgba(0,0,0,0.5);
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            pointer-events: auto; /* Re-enable pointer events for buttons */
            border: none;
        }

        i {
            font-size: 1.5rem;
            color: #fff;
        }
    }

    .owl-dots {
        position: absolute;
        bottom: 20px;
        width: 100%;
        text-align: center;

        .owl-dot span {
            width: 12px;
            height: 12px;
            margin: 5px;
            background: #fff;
            display: block;
            border-radius: 50%;
        }

        .owl-dot.active span {
            background: #007bff;
        }
    }
}
.text-blue{ color: #0b4d5b !important;}
.topbar, .logo-icon{ background: #0b4d5b !important;}
.btn-primary,.bg-primary {background: #0b4d5b !important;border: 1px solid #0b4d5b!important;color: #fff !important;}
.btn-outline-primary{border: 1px solid #e6a893!important}
.btn-pink{background: #e6a893!important;border: 1px solid #e6a893!important;color: #fff !important;}
#menu-footer-quicklink-menu a, #menu-footer-service-menu  a{ color: #fff !important;}
/* .nmc-doctors img {height: 400px;} */
.owl-carousel .owl-item {transition: opacity 0.8s ease-in-out;}

@media only screen and (max-width: 768px) {
	.hero-carousel h1{ font-size: 18px;}
	.topbar{ font-size: 12px;}
}	
	