
/*** Custom Light Blue Color Variables ***/
:root {
    --bs-primary: #1462f3;
    --bs-secondary: #1462f3;
    --bs-primary-light: #1462f3;
    --bs-primary-dark: #1462f3;
    --bs-accent: #1462f3;
}

/*** Mobile Responsive Base Styles ***/
* {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
}

.container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

@media (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .row {
        margin-left: -15px;
        margin-right: -15px;
    }
    
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
    .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
    .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .row {
        margin-left: -10px;
        margin-right: -10px;
    }
    
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
    .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
    .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 100%;
        padding-left: 5px;
        padding-right: 5px;
    }
    
    .row {
        margin-left: -5px;
        margin-right: -5px;
    }
    
    .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6,
    .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12,
    .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6,
    .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 {
        padding-left: 5px;
        padding-right: 5px;
    }
}

/*** Spinner Start ***/
/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}
/*** Spinner End ***/

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    width: 45px;
    height: 45px;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
    z-index: 99;
}

/* Responsive positioning for mobile and tablet */
@media (max-width: 768px) {
    .back-to-top {
        right: 15px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 576px) {
    .back-to-top {
        right: 10px;
        bottom: 15px;
        width: 35px;
        height: 35px;
    }
    
    /* Further reduce gaps on small mobile */
    .navbar {
        padding: 3px 8px;
    }
    
    .navbar-logo {
        height: 60px;
        max-width: 160px;
    }
    
    .logo-wrapper {
        height: 60px !important;
    }
    
    .hero-section {
        min-height: 45vh;
        padding-top: 0;
        margin-top: 0;
        padding-bottom: 0;
    }
    
    .hero-image {
        min-height: 45vh;
        margin-top: 0;
        padding-top: 0;
    }
    
    .py-5 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    .py-4 {
        padding-top: 0.25rem !important;
        padding-bottom: 0.25rem !important;
    }
    
    /* Remove top margin from first section after hero */
    .service,
    .feature,
    .about {
        margin-top: 0 !important;
        padding-top: 0.5rem !important;
    }
}

/*** Button Start ***/
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-primary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-light:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
}

/*** Section Title Start ***/
.section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-left: -100px;
    border: 1px solid var(--bs-primary) !important;
}

.section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: 5px;
    margin-left: -50px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-primary) !important;
}

.sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -50px;
    border: 1px solid var(--bs-primary) !important;
}


/*** Topbar Start ***/
.fixed-top .container {
    transition: 0.5s;
}

.topbar {
    padding: 2px 10px 2px 20px;
    background: var(--bs-primary) !important;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}


@media (max-width: 576px) {
    .topbar {
        display: none;    
    }
}

/* Mobile Navbar Responsive */
@media (max-width: 992px) {
    .navbar {
        padding: 10px 15px;
        flex-wrap: nowrap;
        position: relative;
        z-index: 1050;
    }
    
    .navbar-brand {
        flex: 0 0 auto;
        order: 1;
    }
    
    .navbar-logo {
        height: 60px;
        width: 213px;
        object-fit: contain;
        max-width: 180px;
    }
    
    .logo-wrapper {
        height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
    
    .navbar-toggler {
        border: 2px solid #1462f3;
        border-radius: 5px;
        padding: 8px 12px;
        margin-left: auto;
        order: 2;
    }
    
    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(20, 98, 243, 0.25);
    }
    
    .navbar-toggler .fa-bars {
        color: #1462f3;
        font-size: 18px;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: 320px;
        height: 100vh;
        background: white !important;
        box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
        z-index: 1050;
        border-left: 3px solid #1462f3;
        order: 3;
        margin-top: 0;
        border-radius: 0;
        padding: 80px 0 20px;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out;
        overflow-y: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }
    
    .navbar-collapse.show {
        transform: translateX(0);
    }
    
    .navbar-nav {
        text-align: left;
        margin-bottom: 20px;
        padding: 0 30px;
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 0;
        margin: 8px 0;
        font-size: 16px;
        color: #ffffff !important;
        border-bottom: 1px solid #555;
    }
    
    .navbar-nav .nav-link:hover {
        color: #1462f3 !important;
        background-color: #f8f9fa;
        border-radius: 5px;
    }
    
    .navbar-nav .dropdown-menu {
        position: static;
        width: 100%;
        margin-top: 10px;
        background-color: #f8f9fa;
        border: 1px solid #dee2e6;
        border-radius: 8px;
        text-align: center;
        padding: 10px 0;
    }
    
    .navbar-nav .dropdown-item {
        padding: 10px 20px;
        color: #333;
        border-bottom: 1px solid #dee2e6;
    }
    
    .navbar-nav .dropdown-item:hover {
        background-color: #1462f3;
        color: white;
    }
    
    .btn {
        /* width: 100%; */
        text-align: center;
        padding: 10px 15px;
        margin-top: 10px;
    }
}

/* Additional Mobile Navbar Fixes */
@media (max-width: 992px) {
    .header-carousel {
        z-index: 1;
    }
    
    .header-carousel .header-carousel-item {
        z-index: 1;
    }
    
    .navbar-collapse.show {
        display: block !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 50%;
        height: auto;
        max-height: 100vh;
        background: white !important;
        /* box-shadow: -4px 0 6px rgba(214, 210, 210, 0.1); */
        z-index: 1000;
        border-left: 1px solid #e9ecef;
        border-radius: 0 0 0 15px;
        transform: translateX(0);
        overflow-y: auto;
    }
    
    /* Overlay background when menu is open */
    .navbar-collapse.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
}


@media (max-width: 768px) {
    .navbar {
        padding: 5px 10px;
        margin-bottom: 0;
    }
    
    .navbar-logo {
        height: 65px;
        max-width: 180px;
    }
    
    .logo-wrapper {
        height: 65px !important;
    }
    
    .navbar-toggler {
        padding: 4px 8px;
        border-width: 1px;
    }
    
    .navbar-toggler .fa-bars {
        font-size: 16px;
    }
    
    /* Close button for mobile menu */
    .navbar-close-btn {
        position: absolute;
        top: 20px;
        right: 20px;
        background: none;
        border: none;
        font-size: 24px;
        color: #333;
        cursor: pointer;
        z-index: 1001;
        padding: 5px;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .navbar-close-btn:hover {
        color: #1462f3;
        background: #f8f9ff;
    }
    
    /* Book Appointment Button in Mobile Menu */
    .navbar-collapse .btn {
        margin: 20px 30px;
        padding: 12px 20px;
        background: #1462f3 !important;
        color: white !important;
        border: none !important;
        border-radius: 8px !important;
        font-size: 16px;
        font-weight: 600;
        text-align: center;
        text-decoration: none;
        display: block;
        transition: all 0.3s ease;
        width: auto;
    }
    
    .navbar-collapse .btn:hover {
        background: #0d47a1 !important;
        color: white !important;
        transform: translateY(-2px);
        box-shadow: 0 4px 12px rgba(20, 98, 243, 0.3);
    }
    
    .navbar-collapse {
        width: 60%;
        height: auto;
        max-height: 100vh;
        margin-top: 0;
        padding: 15px;
        border-radius: 0 0 0 15px;
        overflow-y: auto;
        background: #f8f4f4 !important;
        box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
        font-size: 15px;
        padding: 10px 0;
        margin: 6px 0;
    }
    
    .navbar-nav .dropdown-item {
        padding: 8px 15px;
        font-size: 14px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 5px 5px;
    }
    
    .navbar-logo {
        height: 200px;
         max-width: 136px; 
    }
    
    .logo-wrapper {
        height: 50px !important;
    }
    
    .navbar-toggler {
        padding: 4px 8px;
        border-width: 1px;
    }
    
    .navbar-toggler .fa-bars {
        font-size: 14px;
    }
    
    .navbar-collapse {
        width: 70%;
        height: auto;
        max-height: 100vh;
        margin-top: 0;
        padding: 12px;
        border-radius: 0 0 0 15px;
        overflow-y: auto;
        background: white !important;
        box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
    }
    
    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 8px 0;
        margin: 4px 0;
    }
    
    .navbar-nav .dropdown-item {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}
/*** Topbar End ***/


/*** Navbar ***/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Open Sans', sans-serif;
    position: relative;
    margin-right: 25px;
    padding: 35px 0;
    color: var(--bs-dark) !important;
    font-size: 16px;
    font-weight: 400;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
    color: var(--dark) !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-primary) !important;
}

/* Custom MedAyu Logo Styling */
.navbar-brand h1 {
    line-height: 1;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.navbar-brand h1 span:first-child {
    color: black !important;
}

.navbar-brand h1 span:last-child {
    color: #000 !important;
}

.navbar-brand h1 i {
    color: #28a745 !important;
    vertical-align: top;
    margin-left: 2px;
}

/* Ensure logo doesn't affect navbar height */
.navbar-brand {
    height: auto;
    display: flex;
    align-items: center;
}

.navbar-light .navbar-brand .logo-icon img {
    max-height: 100px;
    transition: 20.2s;
}

.sticky-top.navbar-light .navbar-brand .logo-icon img {
    max-height: 55px;
}

.sticky-top.navbar-light .navbar-brand .logo-icon {
    width: 80px;
    height: 60px;
}

/* Logo in sticky navbar */
.sticky-top .logo-icon {
    width: 60px;
    height: 60px;
}

.sticky-top .logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 600;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

.navbar .nav-item:hover .dropdown-menu {
    transform: rotateX(0deg);
    visibility: visible;
    background: var(--bs-light) !important;
    transition: .5s;
    opacity: 1;
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        margin-left: 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 100px;
    }
    
    .navbar-brand h1 {
        font-size: 2rem !important;
    }
    
    .navbar-brand h1 i {
        font-size: 1.4rem !important;
    }
}

@media (max-width: 576px) {
    .navbar-brand h1 {
        font-size: 1.8rem !important;
    }
    
    .navbar-brand h1 i {
        font-size: 1.2rem !important;
    }
}





/* Desktop Navbar Logo Styles */
.navbar-logo {
    height: 130px;
    max-width: 136px;
}

.logo-wrapper {
    height: 60px !important;
}

@media (min-width: 992px) {
    .navbar-logo {
        height: 60px;
        width: 213px;
        object-fit: contain;
        max-width: 180px;
    }
    
    .logo-wrapper {
        height: 60px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
}

@media (min-width: 1200px) {
    .navbar-logo {
        height: 230px;
        width: auto;
        max-width: 245px;
        object-fit: contain;
    }
    
    .logo-wrapper {
        height: 65px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
    }
}





@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }
    
    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light) !important;
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 2px;
        bottom: -1px;
        left: 50%;
        background: var(--bs-primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: calc(100% - 2px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}
/*** Carousel Hero Header Start ***/
.header-carousel {
    position: relative; 
    width: 100vw;
    margin: 0;
    padding: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0;
}

.header-carousel .owl-nav .owl-prev {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-next {
    position: absolute;
    width: 70px;
    height: 70px;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--bs-primary);
    color: var(--bs-white);
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    transition: 0.5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    box-shadow: inset 150px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

@media (max-width: 576px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        top: 630px;
        transition: 0.5s;
    }

    .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
        width: 95% !important;
    }
 
}

.header-carousel .header-carousel-item {
    position: relative;
    width: 100%;
    height: 100%;
    margin-top: 95px;
    margin-left: 0;
    margin-right: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    transition: 0.5s;
    overflow: hidden;
    left: 0;
    right: 0;
}

.header-carousel .header-carousel-item:first-child {
    background: #ffffff;
}

.header-carousel .header-carousel-item img {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
    transition: 0.5s;
}

.header-carousel .header-carousel-item:first-child img {
    object-fit: contain;
    object-position: center;
}

@media (max-width: 992px) {
    .header-carousel .header-carousel-item,
    .header-carousel .header-carousel-item img {
        margin-top: 0;
        transition: 0.5s;
    }

}

@media (max-width: 576px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        top: 630px;
        transition: 0.5s;
    }

    .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
        width: 95% !important;
    }

}

@media (min-width: 992px) {
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        margin-top: 50px;
    }
}

.header-carousel .header-carousel-item .carousel-caption {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background: rgba(0, 0, 0, .5); */
}

.header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
    position: relative;
    width: 75%;
    
}
/*** Carousel Hero Header End ***/


/*** Single Page Hero Header Start ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(20, 98, 243, 0.7), rgba(20, 98, 243, 0.7)), url(../img/hospital-bg.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 160px 0 60px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-white) !important;
}
/*** Single Page Hero Header End ***/


/*** Service Start ***/
.service .service-item {
    box-shadow: 0 0 45px rgba(0, 0, 0, .2) ;
}

.service .service-item .service-img {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service .service-item .service-img img {
    transition: 0.5s;
}

.service .service-item .service-img::before {
    width: 100%;
    height: 0;
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: 0.5s;
    z-index: 5;
    
}

.service .service-item:hover .service-img::before {
    height: 100%;
    background: #1462f3 ;
}

.service .service-item .service-img:hover img {
    transform: scale(1.3);
}

.service .service-item .service-content {
    position: relative;
    z-index: 2;

}

.service .service-item .service-content::before {
    width: 100%;
    height: 8px;
    position: absolute;
    content: "";
    bottom: 0;
    left: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    background: rgba(20, 98, 243, .5);
    transition: 0.5s;
    z-index: 3;
}

.service .service-item:hover .service-content::before {
    background: rgba(20, 98, 243, .5);
    height: 100%;
}

.service .service-item .service-content .service-content-inner {
    transition: 0.5s;
}


.service .service-item:hover .service-content .service-content-inner {
    position: relative;
    color: var(--bs-white) !important;
    z-index: 9;
}
.service .service-item:hover .service-content .service-content-inner h5 {
    color: var(--bs-secondary);
}

/*** Service End ***/

/* Enhanced Service Card Styling for Better Balance */
.service .service-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.service .service-item .service-img {
    flex: 1;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service .service-item .service-img img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.service .service-item .service-content {
    flex: 0 0 auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service .service-item .service-content .service-content-inner {
    text-align: center;
    width: 100%;
}

.service .service-item .service-content .service-content-inner h5 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Mobile Responsive Service Cards */
@media (max-width: 768px) {
    .service .service-item .service-img {
        min-height: 180px;
    }
    
    .service .service-item .service-img img {
        height: 180px;
    }
    
    .service .service-item .service-content {
        min-height: 70px;
        padding: 1rem !important;
    }
    
    .service .service-item .service-content .service-content-inner h5 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .service .service-item .service-img {
        min-height: 160px;
    }
    
    .service .service-item .service-img img {
        height: 160px;
    }
    
    .service .service-item .service-content {
        min-height: 60px;
        padding: 0.75rem !important;
    }
    
    .service .service-item .service-content .service-content-inner h5 {
        font-size: 0.9rem;
    }
}

/*** About Start - Enhanced ***/
.about {
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.05) 0%, rgba(210, 105, 30, 0.05) 100%);
    z-index: 1;
}

.about .container {
    position: relative;
    z-index: 2;
}

.about .about-img {
    position: relative;
    overflow: hidden;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(139, 69, 19, 0.2);
    transition: all 0.6s ease;
}

.about .about-img:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(139, 69, 19, 0.3);
}

.about .about-img .about-img-inner {
    position: absolute;
    left: 0; 
    bottom: 0; 
    border: 15px solid; 
    border-color: var(--bs-white) var(--bs-white) var(--bs-white) var(--bs-white);
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.6s ease;
}

.about .about-img:hover .about-img-inner {
    transform: scale(1.05);
    border-color: var(--bs-primary) var(--bs-primary) var(--bs-primary) var(--bs-primary);
}

.about .about-img .about-experience {
    position: absolute;
    top: 20%;
    left: -65px;
    transform: translateY(-50%) rotate(-90deg);
    background: linear-gradient(135deg, #1462f3, #0d47a1);
    color: white;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 8px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(20, 98, 243, 0.3);
    white-space: nowrap;
    z-index: 10;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: translateY(-50%) rotate(-90deg) scale(1); }
    50% { transform: translateY(-50%) rotate(-90deg) scale(1.05); }
    100% { transform: translateY(-50%) rotate(-90deg) scale(1); }
}

.about .section-title h1 {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out;
}

.about .section-title p {
    animation: fadeInUp 1s ease-out 0.2s both;
}

.about .section-title .btn {
    animation: fadeInUp 1s ease-out 0.4s both;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border: none;
    position: relative;
    overflow: hidden;
}

.about .section-title .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.about .section-title .btn:hover::before {
    left: 100%;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*** About End ***/

/*** Feature Start - Enhanced ***/
.feature {
    position: relative;
    background: linear-gradient(135deg, rgba(20, 98, 243, 0.1) 0%, rgba(20, 98, 243, 0.1) 100%);
}

.feature .feature-item {
    position: relative;
    display: flex;
    border: 2px solid transparent;
    border-radius: 20px;
    background: var(--bs-white);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    overflow: hidden;
}

.feature .feature-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 1;
}

.feature .feature-item::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s ease;
    z-index: 2;
}

.feature .feature-item:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--bs-primary);
    box-shadow: 0 25px 50px rgba(139, 69, 19, 0.2);
}

.feature .feature-item:hover::before {
    opacity: 1;
}

.feature .feature-item:hover::after {
    transform: rotate(45deg) translateX(100%);
}

.feature .feature-item .feature-icon {
    display: inline-flex;
    border-radius: 15px;
    transition: all 0.6s ease;
    position: relative;
    z-index: 3;
}

.feature .feature-item .feature-icon .p-3 {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary)) !important;
    transition: all 0.6s ease;
}

.feature .feature-item:hover .feature-icon .p-3 {
    background: var(--bs-white) !important;
    transform: scale(1.1);
}

.feature .feature-item:hover .feature-icon i {
    color: var(--bs-primary) !important;
    animation: bounce 0.6s ease;
}

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

.feature .feature-item .feature-content {
    position: relative;
    z-index: 3;
    transition: all 0.6s ease;
}

.feature .feature-item:hover .feature-content {
    color: var(--bs-white);
}

.feature .feature-item:hover .feature-content h5 {
    color: var(--bs-white);
    animation: slideInLeft 0.6s ease;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/*** Feature End ***/


/*** Appointment Start ***/
.appointment {
    background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(../img/carousel-2.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.appointment .appointment-form {
    background: rgba(239, 162, 134, 0.3);
}

.appointment .appointment-form .btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.appointment .appointment-form .btn.btn-primary:hover {
    box-shadow: inset 600px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}
/*** Youtube Video start ***/
.video {
    position: relative;
}

.video .btn-play {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-sizing: content-box;
    display: block;
    width: 33px;
    height: 44px;
    border-radius: 50%;
    transition: 0.5s;
    

}

.video .btn-play:before {
    content: "";
    position: absolute;
    z-index: 0;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 115px;
    height: 115px;
    background: var(--bs-primary);
    border-radius: 50%;
    animation: pulse-border 1500ms ease-out infinite;
    transition: 0.5s;
}

.video .btn-play:after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100px;
    height: 100px;
    background: var(--bs-secondary);
    border-radius: 50%;
    transition: all 300ms;
}

.video .btn-play span {
    display: block;
    position: relative;
    z-index: 3;
    width: 0;
    height: 0;
    border-left: 33px solid var(--bs-white);
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    margin-left: 5px;
}

@keyframes pulse-border {
    0% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
        opacity: 0;
    }
}

#videoModal {
    z-index: 99999;
}

#videoModal .modal-dialog {
    position: relative;
    max-width: 800px;
    margin: 60px auto 0 auto;
}

#videoModal .modal-body {
    position: relative;
    padding: 0px;
}

#videoModal .close {
    position: absolute;
    width: 30px;
    height: 30px;
    right: 0px;
    top: -30px;
    z-index: 999;
    font-size: 30px;
    font-weight: normal;
    color: #ffffff;
    background: #000000;
    opacity: 1;
}
/*** Youtube Video End ***/
/*** Appointment End ***/


/*** Team Start - Enhanced ***/
.team {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.team::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%238B4513" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23D2691E" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.team .container {
    position: relative;
    z-index: 2;
}

.team .team-item {
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.1);
}

.team .team-item:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 30px 60px rgba(139, 69, 19, 0.2);
}

.team .team-item .team-img {
    position: relative;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.team .team-item .team-img::before {
    position: absolute;
    content: "";
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: transparent;
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 2;
}

.team .team-item .team-img img {
    transition: all 0.6s ease;
}

.team .team-item:hover .team-img img {
    transform: scale(1.1);
}

.team .team-item:hover .team-img::before {
    opacity: 0;
}

.team .team-item .team-img .team-icon {
    position: absolute;
    bottom: -125px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 3;
}

.team .team-item .team-img .team-icon a {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border: none;
    transition: all 0.3s ease;
    margin: 0 5px;
}

.team .team-item .team-img .team-icon a:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 10px 20px rgba(139, 69, 19, 0.3);
}

.team .team-item .team-img:hover .team-icon {
    margin-bottom: 145px;
}

.team .team-item .team-content {
    background: linear-gradient(135deg, var(--bs-white), #f8f9fa);
    color: var(--bs-primary);
    transition: all 0.6s ease;
    border-radius: 0 0 20px 20px;
    position: relative;
    overflow: hidden;
}

.team .team-item .team-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.team .team-item:hover .team-content::before {
    left: 100%;
}

.team .team-item .team-content h5 {
    color: var(--bs-secondary);
    transition: all 0.6s ease;
    font-weight: 700;
}

.team .team-item:hover .team-content {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    color: var(--bs-white);
}

.team .team-item:hover .team-content h5 {
    color: var(--bs-white);
    animation: slideInUp 0.6s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*** Team End ***/


/*** testimonial Start ***/
.testimonial {
    background: linear-gradient(rgba(20, 98, 243, 0.9), rgba(20, 98, 243, 0.9)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

/* Testimonial Cards Styling */
.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 35px;
    margin: 0 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.testimonial-card:hover::before {
    left: 100%;
}

.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
}

.testimonial-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.quote-icon {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover .quote-icon {
    color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

.testimonial-text {
    color: white;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
    font-style: italic;
    flex: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
}

.author-img {
    flex-shrink: 0;
}

.author-img img {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.testimonial-card:hover .author-img img {
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.author-info {
    flex: 1;
}

.author-name {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.author-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    margin-bottom: 10px;
}

.rating {
    display: flex;
    gap: 3px;
}

.rating i {
    color: #ffd700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.testimonial-card:hover .rating i {
    transform: scale(1.1);
}

.testimonial .testimonial-carousel.owl-carousel {
    position: relative;
}

/* About Section Height Alignment */
.about .row {
    align-items: stretch;
}

.about .col-lg-5,
.about .col-lg-7 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.about .section-title {
    width: 100%;
    text-align: center;
    max-width: 600px;
}

/* About Section Equal Height */
.about .row {
    align-items: stretch;
}

.about .col-lg-5,
.about .col-lg-7 {
    display: flex;
    flex-direction: column;
}

.about .about-img {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.about .about-img img {
    height: 100%;
    object-fit: cover;
    flex: 1;
}

.about .section-title {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* About Section Sub-title Lines - Confined to Content Area */
.about .section-title .sub-style::before {
    content: "";
    width: 60px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-left: -60px;
    border: 1px solid var(--bs-primary) !important;
}

.about .section-title .sub-style::after {
    content: "";
    width: 30px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: 5px;
    margin-left: -30px;
    border: 1px solid var(--bs-primary) !important;
}

.about .section-title .sub-title::before {
    content: "";
    width: 60px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -60px;
    border: 1px solid var(--bs-primary) !important;
}

.about .section-title .sub-title::after {
    content: "";
    width: 30px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -30px;
    border: 1px solid var(--bs-primary) !important;
}

/* Read More Button Styling */
#readMoreBtn {
    background: linear-gradient(135deg, #1462f3, #0d47a1);
    border: none;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(20, 98, 243, 0.3);
}

#readMoreBtn:hover {
    background: linear-gradient(135deg, #0d47a1, #1462f3);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(20, 98, 243, 0.4);
}

#readMoreBtn.btn-outline-primary {
    background: transparent;
    border: 2px solid #1462f3;
    color: #1462f3;
}

#readMoreBtn.btn-outline-primary:hover {
    background: #1462f3;
    color: white;
}

/* Additional Content Styling */
#additionalContent {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#additionalContent h5 {
    color: #1462f3 !important;
    font-weight: 700;
    border-bottom: 2px solid #1462f3;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

#additionalContent h6 {
    color: #333 !important;
    font-weight: 600;
    margin-bottom: 8px;
}

#additionalContent p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Award Card Styling - Image Only */
.award-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(20, 98, 243, 0.1);
    overflow: hidden;
    transition: all 0.4s ease;
    position: relative;
    margin: 0 auto;
    max-width: 600px;
    width: 100%;
}

.award-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(20, 98, 243, 0.2);
    border-color: #1462f3;
}

.award-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1462f3, #0d47a1, #1462f3);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.award-image-container {
    padding: 0;
    background: white;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.award-image-container img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.award-image-container:hover img {
    transform: scale(1.02);
}

/* Center icons perfectly in circles */
.about .d-flex .bg-primary,
.about .d-flex .bg-info {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
}

.about .d-flex .bg-primary i,
.about .d-flex .bg-info i {
    margin: 0;
    padding: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Features Carousel Navigation */
.features-carousel.owl-carousel {
    position: relative;
}

.features-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #1462f3;
    color: white;
    transition: 0.5s;
    border: none;
    box-shadow: 0 4px 8px rgba(20, 98, 243, 0.3);
}

.features-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #1462f3;
    color: white;
    transition: 0.5s;
    border: none;
    box-shadow: 0 4px 8px rgba(20, 98, 243, 0.3);
}

.features-carousel .owl-nav .owl-prev:hover,
.features-carousel .owl-nav .owl-next:hover {
    background: #0d47a1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 12px rgba(20, 98, 243, 0.4);
}

.features-carousel .owl-nav .owl-prev:focus,
.features-carousel .owl-nav .owl-next:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 98, 243, 0.3);
}

/* Features carousel item styling */
.features-carousel .feature-item {
    background: white;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    height: 200px; /* Fixed height for all cards */
    min-height: 200px; /* Ensure minimum height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(20, 98, 243, 0.1);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    min-width: 190px; /* Increased width for better display */
    width: 190px; /* Increased width for better display */
}

.features-carousel .feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 98, 243, 0.05), rgba(20, 98, 243, 0.05));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.features-carousel .feature-item:hover::before {
    opacity: 1;
}

.features-carousel .feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(20, 98, 243, 0.15), 0 10px 20px rgba(0,0,0,0.1);
    text-decoration: none;
    color: inherit;
    border-color: rgba(20, 98, 243, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 50%, #e8f2ff 100%);
}

.features-carousel .feature-item:focus {
    outline: 2px solid #1462f3;
    outline-offset: 2px;
}

.features-carousel .feature-icon {
    position: relative;
    z-index: 2;
}

.features-carousel .feature-icon .rounded-circle {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.features-carousel .feature-icon .rounded-circle::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #1462f3, #1462f3);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.features-carousel .feature-item:hover .feature-icon .rounded-circle {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 25px rgba(20, 98, 243, 0.4);
    background: linear-gradient(135deg, #0d47a1, #1462f3) !important;
}

.features-carousel .feature-item:hover .feature-icon .rounded-circle::before {
    opacity: 0.3;
    transform: scale(1.2);
}

.features-carousel .feature-icon img {
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.features-carousel .feature-item:hover .feature-icon img {
    transform: scale(1.1) rotate(-5deg);
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

/* Service Icon Styling - Seamless background */
.features-carousel .service-icon .icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1462f3, #0d47a1) !important;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(20, 98, 243, 0.2);
    z-index: 1;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.features-carousel .service-icon .icon-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #1462f3, #0d47a1);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.features-carousel .feature-item:hover .service-icon .icon-wrapper {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 6px 15px rgba(20, 98, 243, 0.3);
    background: linear-gradient(135deg, #0d47a1, #1462f3) !important;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.features-carousel .feature-item:hover .service-icon .icon-wrapper::before {
    opacity: 0.3;
    transform: scale(1.2);
}

.features-carousel .service-icon img {
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    max-width: 50px;
    max-height: 50px;
    filter: brightness(0) invert(1) !important; /* Make icons white and clear */
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    opacity: 1 !important;
}

.features-carousel .feature-item:hover .service-icon img {
    transform: scale(1.1) rotate(-5deg);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(255,255,255,0.3)) !important;
    opacity: 1 !important;
}

.features-carousel .feature-content {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.features-carousel .feature-item:hover .feature-content {
    transform: translateY(-3px);
}

.features-carousel .feature-item h5 {
    color: #333;
    font-weight: 600;
    white-space: normal; /* Allow text to wrap */
    overflow: visible; /* Show full text */
    text-overflow: initial; /* Remove ellipsis */
    font-size: 0.9rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
    line-height: 1.3;
    text-align: center;
    word-wrap: break-word;
}

.features-carousel .feature-item:hover h5 {
    color: #1462f3;
    transform: translateY(-2px);
}

/* Pulse Animation for Feature Icons */
@keyframes featureIconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Desktop - Larger Cards for Better Display */
@media (min-width: 1200px) {
    .features-carousel .feature-item {
        min-width: 180px;
        width: 180px;
        height: 200px;
        min-height: 200px;
    }
}

/* Responsive Card Widths and Heights for Better Name Display */
@media (max-width: 1199px) {
    .features-carousel .feature-item {
        min-width: 160px;
        width: 160px;
        height: 190px;
        min-height: 190px;
    }
}

@media (max-width: 768px) {
    .features-carousel .feature-item {
        min-width: 170px;
        width: 170px;
        height: 190px;
        min-height: 190px;
    }
}

@media (max-width: 576px) {
    .features-carousel .feature-item {
        min-width: 140px;
        width: 140px;
        height: 180px;
        min-height: 180px;
    }
    
    .features-carousel .owl-nav {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .features-carousel .feature-item {
        min-width: 120px;
        width: 120px;
        height: 170px;
        min-height: 170px;
    }
}

@media (max-width: 360px) {
    .features-carousel .feature-item {
        min-width: 110px;
        width: 110px;
        height: 160px;
        min-height: 160px;
    }
}

/* Mobile Navigation Buttons for Features Carousel */
@media (max-width: 576px) {
    .features-carousel .owl-nav {
        display: block !important;
    }
    
    .features-carousel .owl-nav .owl-prev {
        position: absolute;
        top: 50%;
        left: 10px;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        background: #1462f3;
        color: white;
        transition: 0.3s;
        border: none;
        box-shadow: 0 2px 6px rgba(20, 98, 243, 0.3);
        z-index: 10;
    }
    
    .features-carousel .owl-nav .owl-next {
        position: absolute;
        top: 50%;
        right: 10px;
        transform: translateY(-50%);
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 16px;
        background: #1462f3;
        color: white;
        transition: 0.3s;
        border: none;
        box-shadow: 0 2px 6px rgba(20, 98, 243, 0.3);
        z-index: 10;
    }
    
    .features-carousel .owl-nav .owl-prev:hover,
    .features-carousel .owl-nav .owl-next:hover {
        background: #0d47a1;
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 4px 8px rgba(20, 98, 243, 0.4);
    }
}

.features-carousel .feature-item:hover .feature-icon .rounded-circle {
    animation: featureIconPulse 2s infinite;
}

/* Glow Effect for Feature Items */
@keyframes featureCardGlow {
    0% { box-shadow: 0 20px 40px rgba(20, 98, 243, 0.15), 0 10px 20px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 25px 50px rgba(20, 98, 243, 0.25), 0 15px 30px rgba(0,0,0,0.15); }
    100% { box-shadow: 0 20px 40px rgba(20, 98, 243, 0.15), 0 10px 20px rgba(0,0,0,0.1); }
}

.features-carousel .feature-item:hover {
    animation: featureCardGlow 3s infinite;
}

/* Team Carousel - Equal Height Cards */
.team-carousel .owl-stage-outer {
    height: auto;
}

.team-carousel .owl-stage {
    display: flex;
    align-items: stretch;
}

.team-carousel .owl-item {
    display: flex;
    align-items: stretch;
}

.team-carousel .team-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.team-carousel .team-img {
    flex: 1;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-carousel .team-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-carousel .team-content {
    flex-shrink: 0;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Team Carousel Navigation */
.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1462f3 !important;
    color: white !important;
    border: none !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.team-carousel .owl-nav .owl-prev {
    left: -25px;
}

.team-carousel .owl-nav .owl-next {
    right: -25px;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: #0d47a1 !important;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .team-carousel .owl-nav .owl-prev {
        left: 10px;
    }
    
    .team-carousel .owl-nav .owl-next {
        right: 10px;
    }
    
    .team-carousel .owl-nav .owl-prev,
    .team-carousel .owl-nav .owl-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Responsive adjustments for features carousel */
@media (max-width: 768px) {
    .features-carousel .owl-nav .owl-prev {
        left: -15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .features-carousel .owl-nav .owl-next {
        right: -15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    /* Ensure continuous sliding on mobile */
    .features-carousel .owl-stage {
        display: flex;
        align-items: stretch;
    }
    
    .features-carousel .owl-item {
        display: flex;
        align-items: stretch;
    }
    
    .features-carousel .feature-item {
        width: 100%;
        margin: 0 10px;
    }
}

/* Additional mobile fixes for continuous sliding */
@media (max-width: 576px) {
    .features-carousel .owl-nav {
        display: none; /* Hide navigation on very small screens */
    }
    
    .features-carousel .owl-stage {
        display: flex;
        align-items: stretch;
    }
    
    .features-carousel .owl-item {
        display: flex;
        align-items: stretch;
        min-width: 280px; /* Ensure minimum width for proper display */
    }
    
    .features-carousel .feature-item {
        width: 100%;
        margin: 0 5px;
    }
    
    .features-carousel .service-icon .icon-wrapper {
        width: 60px;
        height: 60px;
    }
    
    .features-carousel .service-icon img {
        max-width: 35px;
        max-height: 35px;
    }
}

/* Services Carousel Navigation */
.services-carousel.owl-carousel {
    position: relative;
}

.services-carousel .owl-nav .owl-prev {
    position: absolute;
    top: 50%;
    left: -30px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #1462f3;
    color: white;
    transition: 0.5s;
    border: none;
    box-shadow: 0 4px 8px rgba(20, 98, 243, 0.3);
}

.services-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    right: -30px;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    background: #1462f3;
    color: white;
    transition: 0.5s;
    border: none;
    box-shadow: 0 4px 8px rgba(20, 98, 243, 0.3);
}

.services-carousel .owl-nav .owl-prev:hover,
.services-carousel .owl-nav .owl-next:hover {
    background: #0d47a1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 12px rgba(20, 98, 243, 0.4);
}

.services-carousel .owl-nav .owl-prev:focus,
.services-carousel .owl-nav .owl-next:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(20, 98, 243, 0.3);
}

/* Services Carousel Dots */
.services-carousel .owl-dots {
    text-align: center;
    margin-top: 30px;
}

.services-carousel .owl-dots .owl-dot {
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    transition: 0.5s;
}

.services-carousel .owl-dots .owl-dot.active {
    background: #1462f3;
    transform: scale(1.2);
}

.services-carousel .owl-dots .owl-dot:hover {
    background: #1462f3;
    transform: scale(1.1);
}

/* Responsive adjustments for services carousel */
@media (max-width: 768px) {
    .services-carousel .owl-nav .owl-prev {
        left: -15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .services-carousel .owl-nav .owl-next {
        right: -15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Modern Navigation Arrows */
.testimonial .testimonial-carousel .owl-nav .owl-prev,
.testimonial .testimonial-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px);
    color: white !important;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 10;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev {
    left: -30px;
}

.testimonial .testimonial-carousel .owl-nav .owl-next {
    right: -30px;
}

.testimonial .testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial .testimonial-carousel .owl-nav .owl-next:hover {
    background: rgba(255, 255, 255, 0.25) !important;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.4);
}


/* Responsive Design */
@media (max-width: 768px) {
    .testimonial-card {
        padding: 30px 25px;
        margin: 0 10px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .author-img img {
        width: 60px;
        height: 60px;
    }
    
    .testimonial .testimonial-carousel .owl-nav .owl-prev,
    .testimonial .testimonial-carousel .owl-nav .owl-next {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
    
    .testimonial .testimonial-carousel .owl-nav .owl-prev {
        left: 10px;
    }

    .testimonial .testimonial-carousel .owl-nav .owl-next {
        right: 10px;
    }
    
    .testimonial-text {
        font-size: 1rem;
    }
    
    .quote-icon {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial .testimonial-carousel .owl-nav .owl-prev,
    .testimonial .testimonial-carousel .owl-nav .owl-next {
        display: none;
    }
}

.testimonial-carousel .owl-dots {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    margin-right: 15px;
    border: 1px solid var(--bs-white);
    background: transparent;
    transition: 0.5s;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    width: 20px;
    height: 20px;
    background: var(--bs-secondary) !important;
}

.testimonial-carousel .owl-dots .owl-dot span {
    position: relative;
    margin-top: 50%;
    margin-left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel .owl-dots .owl-dot span::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 1px;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: var(--bs-white);
}

.testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
    transition: 0.5s;
}

@media (min-width: 900px) {
    .testimonial .testimonial-carousel .testimonial-item .testimonial-inner p.fs-7 {
        font-size: 20px;
    }
}


/* Testimonial Section Title Start */
.testimonial .section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.testimonial .section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.testimonial .section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-left: -100px;
    border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: 5px;
    margin-left: -50px;
    border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.testimonial .section-title .sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-white) !important;
}

.testimonial .section-title .sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -50px;
    border: 1px solid var(--bs-white) !important;
}
/*** Testimonial End ***/


/*** Blog Start ***/
.blog .blog-item .blog-img {
    position: relative;
    overflow: hidden;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
}

.blog .blog-item .blog-img::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
    transition: 0.5s;
}

.blog .blog-item .blog-img img {
    transition: 0.5s;
}

.blog .blog-item .blog-img:hover img {
    transform: scale(1.3);
}

.blog .blog-item:hover .blog-img::after {
    background: rgba(20, 98, 243, .5);
}

.blog .blog-item .blog-centent {
    background: var(--bs-light);
    border: 1px solid var(--bs-primary);
    border-top: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
/*** Blog End ***/


/*** Contact Start ***/
.contact {
    background: linear-gradient(rgba(20, 98, 243, 0.9), rgba(20, 98, 243, 0.9)), url(../img/carousel-1.jpg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
}


.contact .contact-form .btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.contact .contact-form .btn.btn-light:hover {
    box-shadow: inset 600px 0 0 0 var(--bs-primary) !important;
    color: var(--bs-white) !important;
}

.contact .contact-form .form-floating input,
.contact .contact-form .form-floating textarea,
.contact .contact-form .form-floating label {
    color: var(--bs-light);
}



/* Testimonial Section Title Start */
.contact .section-title {
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.contact .section-title .sub-style {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.contact .section-title .sub-style::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-left: -100px;
    border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-style::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-bottom: 5px;
    margin-left: -50px;
    border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.contact .section-title .sub-title::before {
    content: "";
    width: 100px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-top: 8px;
    margin-right: -100px;
    border: 1px solid var(--bs-white) !important;
}

.contact .section-title .sub-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    margin-bottom: 8px;
    margin-right: -50px;
    border: 1px solid var(--bs-white) !important;
}
/*** Contact End ***/


/*** Footer Start ***/
.footer {
    background: #d9dbdf;
}

.footer .footer-item a {
    line-height: 35px;
    color: black;
    transition: 0.5s;
}

.footer .footer-item p {
    line-height: 35px;
    color: black;
}

.footer .footer-item a:hover {
    letter-spacing: 2px;
    color: #0d47a1;
}

.footer h1, .footer h2, .footer h3, .footer h4, .footer h5, .footer h6 {
    color: white;
}

.footer .text-white {
    color: black !important;
}

/*** Footer End ***/

/*** Enhanced About Page Styles ***/
.logo-container {
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.05);
}

.logo-icon {
    width: 350px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
    border-radius: 10px;
}

.logo-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: all 0.3s ease;
    filter: drop-shadow(0 4px 8px rgba(139, 69, 19, 0.3));
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
}

.logo-container:hover .logo-icon {
    transform: scale(1.05);
}

.logo-container:hover .logo-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 6px 12px rgba(139, 69, 19, 0.4));
}

/* Logo Enhancement for Different Screen Sizes */
@media (max-width: 992px) {
    .logo-icon {
        width: 280px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .logo-icon {
        width: 250px;
        height: 70px;
    }
}

@media (max-width: 576px) {
    .logo-icon {
        width: 200px;
        height: 60px;
    }
}

/* Logo Animation on Page Load */
@keyframes logoFadeIn {
    0% {
        opacity: 0;
        transform: scale(0.8) rotate(-10deg);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1) rotate(5deg);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
}

.logo-icon img {
    animation: logoFadeIn 1s ease-out;
}

/* Logo Glow Effect */
.logo-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border-radius: 12px;
    opacity: 0;
    transition: all 0.3s ease;
    z-index: -1;
}

.logo-container:hover .logo-icon::before {
    opacity: 0;
    animation: none;
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(139, 69, 19, 0.3);
    }
    50% {
        box-shadow: 0 0 20px rgba(139, 69, 19, 0.6);
    }
}

.logo-title {
    font-weight: 700;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

.stats-card {
    background: var(--bs-white);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.1), transparent);
    transition: left 0.6s ease;
}

.stats-card:hover::before {
    left: 100%;
}

.stats-card:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 25px 50px rgba(139, 69, 19, 0.2);
    border-color: var(--bs-primary);
}

.stats-icon {
    transition: all 0.6s ease;
}

.stats-card:hover .stats-icon {
    transform: scale(1.2) rotate(5deg);
}

.stats-card:hover .stats-icon i {
    animation: pulse 0.6s ease;
}

.mission-card, .vision-card {
    background: var(--bs-white);
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.1);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.mission-card::before, .vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    opacity: 0;
    transition: all 0.6s ease;
    z-index: 1;
}

.mission-card:hover::before, .vision-card:hover::before {
    opacity: 0.1;
}

.mission-card:hover, .vision-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 30px 60px rgba(139, 69, 19, 0.2);
    border-color: var(--bs-primary);
}

.mission-icon, .vision-icon {
    position: relative;
    z-index: 2;
    transition: all 0.6s ease;
}

.mission-card:hover .mission-icon, .vision-card:hover .vision-icon {
    transform: scale(1.1) rotate(5deg);
}

.mission-card h3, .vision-card h3 {
    position: relative;
    z-index: 2;
    transition: all 0.6s ease;
}

.mission-card:hover h3, .vision-card:hover h3 {
    color: var(--bs-primary);
    animation: slideInLeft 0.6s ease;
}

.mission-card p, .vision-card p {
    position: relative;
    z-index: 2;
    transition: all 0.6s ease;
}

.mission-card ul, .vision-card ul {
    position: relative;
    z-index: 2;
}

.mission-card li, .vision-card li {
    transition: all 0.3s ease;
}

.mission-card:hover li, .vision-card:hover li {
    transform: translateX(10px);
}

/*** Enhanced Button Styles ***/
.btn-outline-primary {
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
    background: transparent;
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
}

.btn-outline-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    transition: left 0.6s ease;
    z-index: 1;
}

.btn-outline-primary:hover::before {
    left: 0;
}

.btn-outline-primary:hover {
    color: var(--bs-white);
    border-color: var(--bs-primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(139, 69, 19, 0.3);
}

.btn-outline-primary span {
    position: relative;
    z-index: 2;
}

/*** Modern About Page Styles ***/
/* Hero Section - Enhanced */
.hero-section {
    position: relative;
    overflow: hidden;
    min-height: 70vh;
    display: flex;
    align-items: center;
    background: #f8f9fa;
}

/* Ensure banner image loads properly */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    z-index: 0;
    opacity: 0.1;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 70vh;
    object-fit: cover;
    object-position: center center;
    display: block;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    transition: all 0.3s ease;
}

/* Fallback for image loading */
.hero-image:not([src]),
.hero-image[src=""] {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-image:not([src])::after,
.hero-image[src=""]::after {
    content: 'MedAyu Healthcare';
    color: white;
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 98, 243, 0.8), rgba(20, 98, 243, 0.7), rgba(20, 98, 243, 0.9));
    z-index: 2;
    width: 100%;
    height: 100%;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 60px 0;
}

.hero-text-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(50px);
    transition: all 1s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hero-text-container.revealed {
    opacity: 1;
    transform: translateY(0);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #FFD700, #FFA500, #FF8C00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 1.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.95);
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
    max-width: 700px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.hero-btn {
    position: relative;
    overflow: hidden;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    min-width: 200px;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.hero-btn:hover::before {
    left: 100%;
}

.hero-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.hero-btn.btn-primary {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border: none;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.4);
}

.hero-btn.btn-primary:hover {
    background: linear-gradient(135deg, var(--bs-secondary), var(--bs-primary));
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.6);
}

.hero-btn.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: var(--bs-white);
    backdrop-filter: blur(10px);
}

.hero-btn.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--bs-white);
    color: var(--bs-white);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    z-index: 3;
    bottom: 30px;
    animation: bounce 2s infinite;
}

.scroll-arrow {
    width: 50px;
    height: 50px;
    background: rgba(200, 23, 23, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-white);
    font-size: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
}

.scroll-arrow:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.1);
}

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

/* Responsive Design for Hero */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-text-container {
        padding: 30px 15px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 50vh;
        padding-top: 0;
        margin-top: 0;
        padding-bottom: 0;
    }
    
    .hero-image {
        min-height: 50vh;
        margin-top: 0;
        padding-top: 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 20px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hero-text-container {
        padding: 25px 15px;
        margin: 0 10px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* About Section - Enhanced */
.about-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.15);
    transition: all 0.6s ease;
}

.about-image-container:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(139, 69, 19, 0.25);
}

.about-image-container img {
    width: 100%;
    height: 600px;
    object-fit: cover;
    object-position: center center;
    transition: all 0.8s ease;
    border-radius: 25px;
}

.about-image-container:hover img {
    transform: scale(1.08);
}

.experience-badge {
    position: absolute;
    top: 40px;
    right: 40px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    color: white;
    padding: 25px 30px;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.4);
    animation: float 4s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.experience-badge h3 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.experience-badge p {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0;
    opacity: 0.9;
}

.floating-card {
    position: absolute;
    bottom: 40px;
    left: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    animation: float 4s ease-in-out infinite reverse;
    box-shadow: 0 15px 40px rgba(139, 69, 19, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.floating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(139, 69, 19, 0.3);
}

.floating-card .icon-box {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.about-content {
    padding-left: 2rem;
}

.about-content h4 {
    color: var(--bs-primary);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-content h2 {
    color: var(--bs-dark);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, var(--bs-dark), var(--bs-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.about-content .lead {
    color: var(--bs-body-color);
    line-height: 1.9;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    text-align: justify;
}

.benefits-list {
    margin: 2.5rem 0;
    background: rgba(139, 69, 19, 0.03);
    padding: 2rem;
    border-radius: 20px;
    border-left: 4px solid var(--bs-primary);
}

.benefits-list .benefit-item {
    padding: 1rem 0;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(139, 69, 19, 0.1);
}

.benefits-list .benefit-item:last-child {
    border-bottom: none;
}

.benefits-list .benefit-item:hover {
    transform: translateX(15px);
    background: rgba(139, 69, 19, 0.05);
    padding-left: 1rem;
    border-radius: 10px;
    margin: 0 -1rem;
}

.benefit-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border-radius: 50%;
    color: var(--bs-white);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

.benefit-item span {
    font-weight: 600;
    color: var(--bs-dark);
    font-size: 1.05rem;
}

.action-buttons {
    margin-top: 3rem;
}

.action-buttons .btn {
    margin-right: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.4s ease;
    font-weight: 600;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    box-shadow: 0 5px 20px rgba(139, 69, 19, 0.2);
}

.action-buttons .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.4);
}

.action-buttons .btn-primary {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border: none;
}

.action-buttons .btn-outline-primary {
    border: 2px solid var(--bs-primary);
    color: var(--bs-primary);
}

.action-buttons .btn-outline-primary:hover {
    background: var(--bs-primary);
    border-color: var(--bs-primary);
    color: white;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* About Section Responsive Design */
@media (max-width: 992px) {
    .about-content {
        padding-left: 0;
        margin-top: 3rem;
    }
    
    .about-content h2 {
        font-size: 2.5rem;
    }
    
    .about-image-container img {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .about-content h2 {
        font-size: 2rem;
    }
    
    .about-image-container img {
        height: 400px;
    }
    
    .experience-badge {
        top: 20px;
        right: 20px;
        padding: 20px 25px;
    }
    
    .experience-badge h3 {
        font-size: 2rem;
    }
    
    .floating-card {
        bottom: 20px;
        left: 20px;
    }
    
    .benefits-list {
        padding: 1.5rem;
    }
    
    .action-buttons .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .about-content h2 {
        font-size: 1.8rem;
    }
    
    .about-image-container img {
        height: 350px;
    }
    
    .experience-badge {
        padding: 15px 20px;
    }
    
    .experience-badge h3 {
        font-size: 1.8rem;
    }
    
    .floating-card .icon-box {
        width: 40px;
        height: 40px;
    }
    
    .benefit-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .action-buttons .btn {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Statistics Section */
.stat-item {
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-icon {
    transition: all 0.3s ease;
}

.stat-item:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

/* Team Slider */
.team-slider {
    position: relative;
    padding: 20px 0;
}

.team-card {
    background: var(--bs-white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    margin: 0 15px;
    height: 100%;
}

.team-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(139, 69, 19, 0.2);
    border-color: var(--bs-primary);
}

.team-image {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.team-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(139, 69, 19, 0.8), rgba(210, 105, 30, 0.8));
    opacity: 0;
    transition: all 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 50px;
    height: 50px;
    background: var(--bs-white);
    color: var(--bs-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.team-card:hover .social-link {
    transform: translateY(0);
}

.social-link:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
    transform: translateY(-5px) scale(1.1);
}

.team-content {
    padding: 25px;
    text-align: center;
    position: relative;
    z-index: 2;
}

/* Team Slider Owl Carousel Styling */
.team-slider .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.team-slider .owl-nav button {
    width: 50px;
    height: 50px;
    background: var(--bs-primary) !important;
    border: 2px solid var(--bs-primary) !important;
    border-radius: 8px !important;
    color: var(--bs-white) !important;
    font-size: 18px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative;
}

.team-slider .owl-nav button:hover {
    background: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.team-slider .owl-nav .owl-prev {
    position: static !important;
    left: auto !important;
}

.team-slider .owl-nav .owl-next {
    position: static !important;
    right: auto !important;
}

.team-slider .owl-dots {
    display: none !important;
}

.team-slider .owl-dots .owl-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(139, 69, 19, 0.3) !important;
    margin: 0 8px;
    transition: all 0.6s ease;
    border: 2px solid transparent;
}

.team-slider .owl-dots .owl-dot.active {
    background: var(--bs-primary) !important;
    transform: scale(1.2);
    border-color: var(--bs-secondary);
}

.team-slider .owl-dots .owl-dot:hover {
    background: var(--bs-secondary) !important;
    transform: scale(1.1);
}

/* Responsive Design for Team Slider */
@media (max-width: 768px) {
    .team-slider .owl-nav {
        padding: 0 10px;
    }
    
    .team-slider .owl-nav button {
        width: 45px;
        height: 45px;
        font-size: 16px !important;
    }
    
    .team-image {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .team-slider .owl-nav button {
        width: 40px;
        height: 40px;
        font-size: 14px !important;
    }
    
    /* About Section Small Mobile Sub-title Lines - Even Shorter */
    .about .section-title .sub-style::before {
        width: 30px;
        margin-left: -30px;
    }
    
    .about .section-title .sub-style::after {
        width: 15px;
        margin-left: -15px;
    }
    
    .about .section-title .sub-title::before {
        width: 30px;
        margin-right: -30px;
    }
    
    .about .section-title .sub-title::after {
        width: 15px;
        margin-right: -15px;
    }
    
    .team-card {
        margin: 0 5px;
    }
}

/* Feature Cards */
.feature-card {
    background: var(--bs-white);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.1);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(139, 69, 19, 0.2);
    border-color: var(--bs-primary);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    color: var(--bs-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 30px;
    transition: all 0.6s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 15px 35px rgba(139, 69, 19, 0.3);
}

/* Testimonial Slider - Enhanced */
.testimonial-carousel {
    position: relative;
}

.testimonial-item {
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    margin: 0 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.6s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.testimonial-item:hover::before {
    left: 100%;
}

.testimonial-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    background: rgba(255, 255, 255, 0.15);
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.testimonial-img {
    position: relative;
    display: inline-block;
}

.testimonial-img img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s ease;
}

.testimonial-item:hover .testimonial-img img {
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.quote-icon {
    color: rgba(255, 255, 255, 0.4);
    transition: all 0.6s ease;
}

.testimonial-item:hover .quote-icon {
    color: rgba(255, 255, 255, 0.8);
    transform: scale(1.1);
}

.testimonial-author h6 {
    color: var(--bs-white);
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.testimonial-author small {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.rating {
    display: flex;
    justify-content: center;
    gap: 3px;
}

.rating i {
    font-size: 14px;
    transition: all 0.3s ease;
}

.rating i:hover {
    transform: scale(1.2);
}

/* Owl Carousel Customization for Testimonials */
.testimonial-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
}

.testimonial-carousel .owl-nav button {
    width: 50px;
    height: 50px;
    background: var(--bs-primary) !important;
    border: 2px solid var(--bs-primary) !important;
    border-radius: 8px !important;
    color: var(--bs-white) !important;
    font-size: 18px !important;
    font-weight: bold !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: static !important;
}

.testimonial-carousel .owl-nav button:hover {
    background: var(--bs-secondary) !important;
    border-color: var(--bs-secondary) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
}

.testimonial-carousel .owl-nav .owl-prev {
    position: static !important;
    left: auto !important;
}

.testimonial-carousel .owl-nav .owl-next {
    position: static !important;
    right: auto !important;
}

.testimonial-carousel .owl-dots {
    display: none !important;
}

.testimonial-carousel .owl-dots .owl-dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3) !important;
    margin: 0 8px;
    transition: all 0.6s ease;
    border: 2px solid transparent;
}

.testimonial-carousel .owl-dots .owl-dot.active {
    background: var(--bs-white) !important;
    transform: scale(1.2);
    border-color: rgba(255, 255, 255, 0.6);
}

.testimonial-carousel .owl-dots .owl-dot:hover {
    background: rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.1);
}

/* Responsive Design for Testimonials */
@media (max-width: 768px) {
    .testimonial-item {
        padding: 40px 20px;
        margin: 0 5px;
    }
    
    .testimonial-carousel .owl-nav button {
        width: 50px;
        height: 50px;
        font-size: 16px !important;
    }
    
    .testimonial-carousel .owl-nav .owl-prev {
        left: -25px;
    }
    
    .testimonial-carousel .owl-nav .owl-next {
        right: -25px;
    }
    
    .testimonial-img img {
        width: 80px;
        height: 80px;
    }
    
    .testimonial-content p {
        font-size: 1rem !important;
    }
}

@media (max-width: 576px) {
    .testimonial-carousel .owl-nav {
        display: none;
    }
    
    .testimonial-item {
        padding: 30px 15px;
    }
}

/* Footer Logo Styling */
.footer-logo img {
    max-height: 80px;
    width: auto;
    transition: all 0.3s ease;
}

.footer-logo:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(255, 255, 255, 0.3));
}

/* Footer Logo and Social Icons Centering */
.footer-item .footer-logo {
    text-align: center;
    margin-bottom: 20px;
}

.footer-item .d-flex.align-items-center {
    justify-content: center;
    margin-top: 20px;
}

.footer-item .d-flex.align-items-center i.fas.fa-share {
    margin-right: 15px;
}

.footer-item .d-flex.align-items-center .btn-square {
    margin: 0 5px;
}

/* A-Z Healthcare Card Styling */
.card {
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    background: #fff;
    border: 1px solid rgba(20, 98, 243, 0.1);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 98, 243, 0.05), rgba(20, 98, 243, 0.05));
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 1;
}

.card:hover::before {
    opacity: 1;
}

.card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(20, 98, 243, 0.15), 0 10px 20px rgba(0,0,0,0.1) !important;
    border-color: rgba(20, 98, 243, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 50%, #e8f2ff 100%);
}

.service-icon .icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1462f3, #1462f3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    z-index: 2;
}

.service-icon .icon-wrapper::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #1462f3, #1462f3);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
}

.card:hover .service-icon .icon-wrapper {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 25px rgba(20, 98, 243, 0.4);
    background: linear-gradient(135deg, #0d47a1, #1462f3) !important;
}

.card:hover .service-icon .icon-wrapper::before {
    opacity: 0.3;
    transform: scale(1.2);
}

.service-icon img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: brightness(0) invert(1);
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.card:hover .service-icon img {
    transform: scale(1.1) rotate(-5deg);
    filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.card-title {
    color: #2c3e50;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.card:hover .card-title {
    color: #1462f3;
    transform: translateY(-2px);
}

.card-text {
    font-size: 0.9rem;
    line-height: 1.5;
    transition: all 0.4s ease;
    position: relative;
    z-index: 2;
}

.card:hover .card-text {
    color: #495057;
    transform: translateY(-1px);
}

/* Additional Hover Effects */
.card-body {
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
}

.card:hover .card-body {
    transform: translateY(-3px);
}

/* Pulse Animation for Icons */
@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.card:hover .service-icon .icon-wrapper {
    animation: iconPulse 2s infinite;
}

/* Glow Effect */
@keyframes cardGlow {
    0% { box-shadow: 0 20px 40px rgba(20, 98, 243, 0.15), 0 10px 20px rgba(0,0,0,0.1); }
    50% { box-shadow: 0 25px 50px rgba(20, 98, 243, 0.25), 0 15px 30px rgba(0,0,0,0.15); }
    100% { box-shadow: 0 20px 40px rgba(20, 98, 243, 0.15), 0 10px 20px rgba(0,0,0,0.1); }
}

.card:hover {
    animation: cardGlow 3s infinite;
}

/* Company History Section */
.company-history {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

.company-history::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="%23ddd" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="%23ddd" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="%23ddd" opacity="0.1"/><circle cx="10" cy="60" r="0.5" fill="%23ddd" opacity="0.1"/><circle cx="90" cy="40" r="0.5" fill="%23ddd" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.company-history-content {
    position: relative;
    z-index: 2;
}

.company-history h2 {
    color: #333;
    font-weight: 700;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.company-history h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #1462f3, #1462f3);
    border-radius: 2px;
}

.company-history .lead {
    color: #666;
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    font-weight: 400;
}

.company-history-image {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

.company-history-image {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: zoom-in;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.company-history-image img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    transition: all 0.4s ease;
    display: block;
}

.company-history-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.company-history-image:hover img {
    transform: scale(1.05);
    filter: brightness(1.1) contrast(1.1);
}

.company-history-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(20, 98, 243, 0.1), rgba(20, 98, 243, 0.2));
    opacity: 0;
    transition: all 0.4s ease;
    border-radius: 20px;
    z-index: 1;
}

.company-history-image:hover::before {
    opacity: 1;
}

.company-history-image::after {
    content: '🔍 Click to View Full History';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(20, 98, 243, 0.9);
    color: white;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.4s ease;
    z-index: 2;
    white-space: nowrap;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.company-history-image:hover::after {
    transform: translate(-50%, -50%) scale(1);
}

/* Modal/Lightbox Styles */
.image-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.image-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10000;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #1462f3;
    transform: scale(1.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes zoomIn {
    from { transform: scale(0.5); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* Doctor Cards Styling */
.doctor-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(20, 98, 243, 0.1);
}

.doctor-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.doctor-image {
    position: relative;
    overflow: hidden;
    height: 350px;
}

.doctor-image img {
    width: 100%;
    height: 142%;
    object-fit: cover;
    object-position: center center;
    transition: all 0.3s ease;
}

.doctor-card:hover .doctor-image img {
    transform: scale(1.1);
}

.doctor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(20, 98, 243, 0.9), rgba(20, 98, 243, 0.7));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.doctor-card:hover .doctor-overlay {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: white;
    color: #1462f3;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.doctor-card:hover .social-link {
    transform: translateY(0);
}

.social-link:hover {
    background: #1462f3;
    color: white;
    transform: scale(1.1);
}

.doctor-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.doctor-content h5 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 8px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.doctor-content .text-primary {
    color: #1462f3 !important;
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.4;
}

.doctor-content .text-muted {
    color: #666 !important;
    font-size: 0.9rem;
}

/* Responsive Design for Doctor Cards */
@media (max-width: 768px) {
    .doctor-image {
        height: 300px;
    }
    
    .doctor-image img {
        object-position: center center;
    }
    
    .doctor-content {
        padding: 20px;
    }
    
    .doctor-content h5 {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .doctor-image {
        height: 280px;
    }
    
    .doctor-image img {
        object-position: center center;
    }
    
    .doctor-content {
        padding: 15px;
    }
    
    .social-links {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* Responsive Design for Company History */
@media (max-width: 768px) {
    .company-history h2 {
        font-size: 2rem;
    }
    
    .company-history .lead {
        font-size: 1.1rem;
    }
    
    .company-history-image img {
        border-radius: 15px;
    }
}

@media (max-width: 576px) {
    .company-history h2 {
        font-size: 1.8rem;
    }
    
    .company-history .lead {
        font-size: 1rem;
    }
}

/* Certifications Section */
.certifications {
    background: #f8f9fa;
}

.certification-card {
    background: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid #e9ecef;
}

.certification-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: #1462f3;
}

.certification-img {
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.certification-img img {
    max-height: 60px;
    max-width: 120px;
    object-fit: contain;
    transition: all 0.3s ease;
}

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

.certification-content h5 {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.certification-content p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

/* Certifications Carousel Navigation */
.certifications-carousel .owl-nav .owl-prev,
.certifications-carousel .owl-nav .owl-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #1462f3 !important;
    color: white !important;
    border: none !important;
    width: 50px;
    height: 50px;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 10;
}

.certifications-carousel .owl-nav .owl-prev {
    left: -25px;
}

.certifications-carousel .owl-nav .owl-next {
    right: -25px;
}

.certifications-carousel .owl-nav .owl-prev:hover,
.certifications-carousel .owl-nav .owl-next:hover {
    background: #0d47a1 !important;
    transform: translateY(-50%) scale(1.1);
}

@media (max-width: 768px) {
    .certifications-carousel .owl-nav .owl-prev {
        left: 10px;
    }
    
    .certifications-carousel .owl-nav .owl-next {
        right: 10px;
    }
    
    .certifications-carousel .owl-nav .owl-prev,
    .certifications-carousel .owl-nav .owl-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .certification-card {
        padding: 25px 15px;
    }
    
    .certification-img {
        height: 60px;
    }
    
    .certification-img img {
        max-height: 50px;
        max-width: 100px;
    }
}

/* FAQ Section */
.accordion-item {
    border: none;
    margin-bottom: 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(139, 69, 19, 0.1);
}

.accordion-button {
    background: var(--bs-white);
    border: none;
    padding: 25px 30px;
    font-weight: 600;
    color: var(--bs-dark);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    color: var(--bs-white);
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem rgba(139, 69, 19, 0.25);
}

.accordion-body {
    padding: 25px 30px;
    background: var(--bs-white);
    color: var(--bs-dark);
    line-height: 1.8;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 15px;
    }
    
    .experience-badge {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px auto;
        display: inline-block;
    }
    
    .floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 20px;
    }
    
    .team-image {
        height: 250px;
    }
    
    .feature-card {
        padding: 30px 20px;
    }
    
    .testimonial-item {
        padding: 30px 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--bs-primary-dark);
}

/*** copyright Start ***/
.copyright {
    background: var(--bs-dark) !important;
}
/*** copyright end ***/

/* Fallback Icons for Why Choose Us */
.features-carousel .service-icon i {
    display: none;
    color: #1462f3;
    margin: 0 auto;
}

.features-carousel .service-icon img {
    transition: all 0.3s ease;
}

.features-carousel .service-icon img[style*="display: none"] + i {
    display: block !important;
}

/* Ensure icons are properly sized */
.features-carousel .service-icon i.fa-3x {
    font-size: 2.5rem;
}

/* Image loading fallback */
.features-carousel .service-icon img {
    max-width: 100%;
    height: auto;
}

.features-carousel .service-icon img:not([src]) {
    display: none;
}

.features-carousel .service-icon img:not([src]) + i {
    display: block !important;
}

/* Prevent text selection in hero sections */
.hero-section,
.hero-content,
.hero-text-container,
.hero-title,
.hero-subtitle,
.hero-description {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Additional text selection prevention */
.hero-section * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
}

/* Prevent highlighting and selection */
.hero-section::selection,
.hero-section *::selection {
    background: transparent !important;
    color: inherit !important;
}

.hero-section::-moz-selection,
.hero-section *::-moz-selection {
    background: transparent !important;
    color: inherit !important;
}

/* Disable text cursor */
.hero-section {
    cursor: default;
}

.hero-section * {
    cursor: default;
}

/* ===========================================
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   =========================================== */

/* Mobile Hero Section Responsive */
@media (max-width: 992px) {
    .header-carousel {
        width: 100%;
        left: 0;
        transform: none;
        margin: 0;
    }
    
    .header-carousel .header-carousel-item {
        height: 50vh;
        margin-top: 0;
    }
    
    .header-carousel .header-carousel-item img {
        height: 50vh;
        object-fit: cover;
        width: 100%;
    }
    
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .header-carousel .owl-nav .owl-prev {
        left: 10px;
    }
    
    .header-carousel .owl-nav .owl-next {
        right: 10px;
    }
    
    .header-carousel .header-carousel-item .carousel-caption {
        padding: 30px 15px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        text-align: center;
    }
    
    .header-carousel .header-carousel-item .carousel-caption h1 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .header-carousel .header-carousel-item .carousel-caption h5 {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .header-carousel .header-carousel-item .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .header-carousel {
        margin-top: 0;
        padding-top: 0;
    }
    
    .header-carousel .header-carousel-item {
        height: 50vh;
        margin-top: 0;
        padding-top: 0;
    }
    
    .header-carousel .header-carousel-item img {
        height: 50vh;
        width: 100%;
        margin-top: 0;
        padding-top: 0;
    }
    
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 35px;
        height: 35px;
        font-size: 14px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .header-carousel .owl-nav .owl-prev {
        left: 8px;
    }
    
    .header-carousel .owl-nav .owl-next {
        right: 8px;
    }
    
    .header-carousel .header-carousel-item .carousel-caption {
        padding: 20px 10px;
        width: 95%;
    }
    
    .header-carousel .header-carousel-item .carousel-caption h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .header-carousel .header-carousel-item .carousel-caption h5 {
        font-size: 0.9rem;
        margin-bottom: 8px;
    }
    
    .header-carousel .header-carousel-item .carousel-caption p {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }
}

@media (max-width: 576px) {
    .header-carousel {
        margin-top: 0;
        padding-top: 0;
    }
    
    .header-carousel .header-carousel-item {
        height: 18vh;
        margin-top: 0;
        padding-top: 0;
    }
    
    .header-carousel .header-carousel-item img {
        height: 45vh;
        width: 100%;
        margin-top: 0;
        padding-top: 0;
    }
    
    .header-carousel .owl-nav .owl-prev,
    .header-carousel .owl-nav .owl-next {
        width: 30px;
        height: 30px;
        font-size: 12px;
        top: 50%;
        transform: translateY(-50%);
    }
    
    .header-carousel .owl-nav .owl-prev {
        left: 5px;
    }
    
    .header-carousel .owl-nav .owl-next {
        right: 5px;
    }
    
    .header-carousel .header-carousel-item .carousel-caption {
        padding: 15px 8px;
        width: 98%;
    }
    
    .header-carousel .header-carousel-item .carousel-caption h1 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .header-carousel .header-carousel-item .carousel-caption h5 {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }
    
    .header-carousel .header-carousel-item .carousel-caption p {
        font-size: 0.7rem;
        margin-bottom: 10px;
    }
    
    .header-carousel .header-carousel-item .carousel-caption .carousel-caption-content {
        width: 100% !important;
    }
}

/* Mobile Content Sections */
@media (max-width: 992px) {
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .container-fluid {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .service .service-item,
    .feature .feature-item,
    .team .team-item,
    .certification-card {
        margin-bottom: 20px;
    }
    
    .about .col-lg-5,
    .about .col-lg-7 {
        margin-bottom: 20px;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-4 {
        font-size: 1.8rem;
    }
    
    .display-5 {
        font-size: 1.5rem;
    }
    
    .display-6 {
        font-size: 1.3rem;
    }
    
    .section-title {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-title h1,
    .section-title .display-5 {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }
    
    .section-title p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 768px) {
    .container {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    .container-fluid {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Reduce section gaps on mobile */
    .py-5 {
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
    
    .py-4 {
        padding-top: 0.5rem !important;
        padding-bottom: 0.5rem !important;
    }
    
    /* Remove top margin from first section after hero */
    .service,
    .feature,
    .about {
        margin-top: 0 !important;
        padding-top: 1rem !important;
    }
    
    .service .service-item,
    .feature .feature-item,
    .team .team-item,
    .certification-card {
        margin-bottom: 15px;
    }
    
    .display-3 {
        font-size: 1.8rem;
    }
    
    .display-4 {
        font-size: 1.6rem;
    }
    
    .display-5 {
        font-size: 1.3rem;
    }
    
    .display-6 {
        font-size: 1.1rem;
    }
    
    .lead {
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .section-title {
        margin-bottom: 2rem;
    }
    
    .section-title h1,
    .section-title .display-5 {
        font-size: 1.3rem;
        line-height: 1.2;
    }
    
    .section-title p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 576px) {
    .container {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .container-fluid {
        padding-left: 8px;
        padding-right: 8px;
    }
    
    .service .service-item,
    .feature .feature-item,
    .team .team-item,
    .certification-card {
        margin-bottom: 10px;
    }
    
    .display-3 {
        font-size: 1.5rem;
    }
    
    .display-4 {
        font-size: 1.3rem;
    }
    
    .display-5 {
        font-size: 1.1rem;
    }
    
    .display-6 {
        font-size: 1rem;
    }
    
    .lead {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .section-title {
        margin-bottom: 1.5rem;
    }
    
    .section-title h1,
    .section-title .display-5 {
        font-size: 1.1rem;
        line-height: 1.1;
    }
    
    .section-title p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .card {
        margin-bottom: 15px;
    }
    
    .card-body {
        padding: 15px;
    }
}

/* Mobile Footer */
@media (max-width: 992px) {
    .footer {
        text-align: center;
    }
    
    .footer .footer-item {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .footer .footer-item {
        margin-bottom: 20px;
    }
    
    .footer h5 {
        font-size: 1.1rem;
    }
    
    .footer p,
    .footer a {
        font-size: 0.9rem;
    }
}

@media (max-width: 576px) {
    .footer .footer-item {
        margin-bottom: 15px;
    }
    
    .footer h5 {
        font-size: 1rem;
    }
    
    .footer p,
    .footer a {
        font-size: 0.8rem;
    }
    
    .footer-logo img {
        max-height: 60px;
    }
    
    /* Mobile Footer Logo and Social Icons Centering */
    .footer-item .footer-logo {
        text-align: center !important;
        margin-bottom: 20px;
        display: block;
        width: 100%;
    }
    
    .footer-item .footer-logo img {
        margin: 0 auto;
        display: block;
        max-height: 70px;
    }
    
    .footer-item .d-flex.align-items-center {
        justify-content: center !important;
        margin-top: 15px;
        flex-wrap: wrap;
    }
    
    .footer-item .d-flex.align-items-center i.fas.fa-share {
        margin-right: 10px;
        margin-bottom: 10px;
    }
    
    .footer-item .d-flex.align-items-center .btn-square {
        margin: 0 3px 10px 3px;
    }
}

@media (max-width: 576px) {
    /* Extra Small Mobile Footer Logo and Social Icons Centering */
    .footer-item .footer-logo {
        text-align: center !important;
        margin-bottom: 25px;
        display: block;
        width: 100%;
    }
    
    .footer-item .footer-logo img {
        margin: 0 auto;
        display: block;
        max-height: 65px;
    }
    
    .footer-item .d-flex.align-items-center {
        justify-content: center !important;
        margin-top: 20px;
        flex-wrap: wrap;
    }
    
    .footer-item .d-flex.align-items-center i.fas.fa-share {
        margin-right: 8px;
        margin-bottom: 8px;
    }
    
    .footer-item .d-flex.align-items-center .btn-square {
        margin: 0 2px 8px 2px;
    }
}

@media (max-width: 480px) {
    /* Very Small Mobile Footer Logo and Social Icons Centering */
    .footer-item .footer-logo {
        text-align: center !important;
        margin-bottom: 30px;
        display: block;
        width: 100%;
    }
    
    .footer-item .footer-logo img {
        margin: 0 auto;
        display: block;
        max-height: 60px;
    }
    
    .footer-item .d-flex.align-items-center {
        justify-content: center !important;
        margin-top: 25px;
        flex-wrap: wrap;
    }
    
    .footer-item .d-flex.align-items-center i.fas.fa-share {
        margin-right: 6px;
        margin-bottom: 6px;
    }
    
    .footer-item .d-flex.align-items-center .btn-square {
        margin: 0 1px 6px 1px;
        width: 35px;
        height: 35px;
    }
}

/* Mobile Image Centering for Book Appointment Section */
@media (max-width: 992px) {
    .about-img {
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
    }
    
    .about-img img {
        margin: 0 auto !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .about-img {
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
        padding-bottom: 2rem !important;
    }
    
    .about-img img {
        margin: 0 auto !important;
        display: block !important;
        max-width: 100% !important;
    }
}

@media (max-width: 576px) {
    .about-img {
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
        padding-bottom: 1.5rem !important;
    }
    
    .about-img img {
        margin: 0 auto !important;
        display: block !important;
        max-width: 90% !important;
    }
}

/* Mobile Glassmorphism Cards */
@media (max-width: 992px) {
    .hero-glassmorphism-card {
        padding: 40px 30px;
        margin: 20px;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-glassmorphism-card {
        padding: 30px 20px;
        margin: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-glassmorphism-card {
        padding: 20px 15px;
        margin: 10px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .breadcrumb {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
}

/* Mobile Form Responsive */
@media (max-width: 768px) {
    .appointment-card {
        padding: 20px;
    }
    
    .form-control,
    .form-select {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .btn-lg {
        padding: 10px 20px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .appointment-card {
        padding: 15px;
    }
    
    .form-control,
    .form-select {
        font-size: 13px;
        padding: 8px 10px;
    }
    
    .btn-lg {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .row.g-4 > * {
        margin-bottom: 15px;
    }
}

/* Enhanced Mobile Title Responsiveness - Additional Fixes */
@media (max-width: 768px) {
    .sub-title {
        font-size: 0.9rem !important;
        padding: 0 15px !important;
        margin-bottom: 0.5rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .about .row {
        align-items: flex-start;
    }
    
    .about .col-lg-5,
    .about .col-lg-7 {
        display: block;
    }
    
    .about .about-img {
        height: auto;
        margin-bottom: 20px;
    }
    
    .about .about-img img {
        height: 300px;
        object-fit: cover;
    }
    
    .about .section-title {
        height: auto;
        display: block;
    }
    
    /* About Section Mobile Sub-title Lines - Shorter */
    .about .section-title .sub-style::before {
        width: 40px;
        margin-left: -40px;
    }
    
    .about .section-title .sub-style::after {
        width: 20px;
        margin-left: -20px;
    }
    
    .about .section-title .sub-title::before {
        width: 40px;
        margin-right: -40px;
    }
    
    .about .section-title .sub-title::after {
        width: 20px;
        margin-right: -20px;
    }
    
    /* Read More Button Mobile Styling */
    #readMoreBtn {
        font-size: 0.9rem;
        padding: 8px 20px;
    }
    
    #additionalContent h5 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    #additionalContent h6 {
        font-size: 1rem;
    }
    
    /* Award Card Mobile Styling - Image Only */
    .award-card {
        margin: 0 auto;
        border-radius: 15px;
        max-width: 90%;
    }
    
    .award-image-container {
        padding: 0;
        min-height: 300px;
    }
    
    .award-image-container img {
        max-width: 95%;
    }
    
    .display-6 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .display-5 {
        font-size: 1.6rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .display-4 {
        font-size: 1.4rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .display-3 {
        font-size: 1.8rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
        hyphens: auto;
    }
}

@media (max-width: 576px) {
    .sub-title {
        font-size: 0.8rem !important;
        padding: 0 10px !important;
        margin-bottom: 0.3rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .display-6 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .display-5 {
        font-size: 1.4rem !important;
        line-height: 1.1 !important;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .display-4 {
        font-size: 1.2rem !important;
        line-height: 1.1 !important;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .display-3 {
        font-size: 1.5rem !important;
        line-height: 1.1 !important;
        word-wrap: break-word;
        hyphens: auto;
    }
}

@media (max-width: 480px) {
    .sub-title {
        font-size: 0.75rem !important;
        padding: 0 8px !important;
        margin-bottom: 0.2rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .display-6 {
        font-size: 0.9rem !important;
        line-height: 1.1 !important;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .display-5 {
        font-size: 1.2rem !important;
        line-height: 1.1 !important;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .display-4 {
        font-size: 1.1rem !important;
        line-height: 1.1 !important;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .display-3 {
        font-size: 1.3rem !important;
        line-height: 1.1 !important;
        word-wrap: break-word;
        hyphens: auto;
    }
}

/* Mobile Responsive - Make decorative lines smaller on mobile */
@media (max-width: 768px) {
    .section-title .sub-style::before {
        width: 50px !important;
        margin-left: -50px !important;
    }
    
    .section-title .sub-style::after {
        width: 25px !important;
        margin-left: -25px !important;
    }
    
    /* Right side lines - Force show with absolute positioning */
    .section-title .sub-title::before {
        content: "" !important;
        width: 50px !important;
        height: 1px !important;
        position: absolute !important;
        top: 50% !important;
        right: 0 !important;
        transform: translateY(-50%) !important;
        margin-right: -50px !important;
        border: 1px solid var(--bs-primary) !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .section-title .sub-title::after {
        content: "" !important;
        width: 25px !important;
        height: 1px !important;
        position: absolute !important;
        top: 50% !important;
        right: 0 !important;
        transform: translateY(-50%) !important;
        margin-right: -25px !important;
        margin-bottom: 5px !important;
        border: 1px solid var(--bs-primary) !important;
        display: block !important;
        visibility: visible !important;
    }
}

@media (max-width: 576px) {
    .section-title .sub-style::before {
        width: 30px !important;
        margin-left: -30px !important;
    }
    
    .section-title .sub-style::after {
        width: 15px !important;
        margin-left: -15px !important;
    }
    
    /* Right side lines - Force show with absolute positioning */
    .section-title .sub-title::before {
        content: "" !important;
        width: 30px !important;
        height: 1px !important;
        position: absolute !important;
        top: 50% !important;
        right: 0 !important;
        transform: translateY(-50%) !important;
        margin-right: -30px !important;
        border: 1px solid var(--bs-primary) !important;
        display: block !important;
        visibility: visible !important;
    }
    
    .section-title .sub-title::after {
        content: "" !important;
        width: 15px !important;
        height: 1px !important;
        position: absolute !important;
        top: 50% !important;
        right: 0 !important;
        transform: translateY(-50%) !important;
        margin-right: -15px !important;
        margin-bottom: 5px !important;
        border: 1px solid var(--bs-primary) !important;
        display: block !important;
        visibility: visible !important;
    }
}

/* Mobile Navigation Menu Styles */
@media (max-width: 992px) {
    .navbar-collapse {
        position: fixed;
        top: 0;
        right: 0;
        width: 50%;
        height: auto;
        max-height: 70vh;
        background: white !important;
        background-color: white !important;
        background-image: none !important;
        box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        border-left: 1px solid #e9ecef;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        padding: 20px;
        overflow: hidden;
        display: flex;
        flex-direction: column;
    }
    
    .navbar-collapse.show {
        transform: translateX(0);
    }
    
    .navbar-nav {
        text-align: right;
        margin-bottom: 15px;
        padding-right: 20px;
        flex: 1;
        overflow: hidden;
    }
    
    .navbar-nav .nav-link {
        padding: 12px 0;
        margin: 8px 0;
        font-size: 16px;
        color: #000000 !important;
        border-bottom: 1px solid #e9ecef;
        font-weight: 500;
    }
    
    .navbar-nav .nav-link:hover {
        color: #1462f3 !important;
        background-color: #f8f9fa;
        border-radius: 5px;
    }
    
    .navbar-nav .dropdown-menu {
        position: static;
        width: 100%;
        background: white !important;
        border: none;
        box-shadow: none;
        margin-top: 5px;
        padding: 0;
    }
    
    .navbar-nav .dropdown-item {
        color: #000000;
        padding: 8px 15px;
        font-size: 14px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .navbar-nav .dropdown-item:hover {
        /* background-color: #f8f9fa; */
        color: #1462f3;
    }
    
    /* Close button for mobile menu */
    .navbar-close-btn {
        position: absolute;
        top: 15px;
        right: 15px;
        background: none;
        border: none;
        font-size: 24px;
        color: #000000 !important;
        cursor: pointer;
        z-index: 1001;
    }
    
    .navbar-close-btn:hover {
        color: #1462f3;
        transform: scale(1.1);
    }
    
    /* Overlay background when menu is open */
    .navbar-collapse.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        z-index: -1;
    }
}

@media (max-width: 768px) {
    .navbar-collapse {
        width: 60%;
        height: auto;
        max-height: 70vh;
        margin-top: 0;
        padding: 15px;
        border-radius: 0 0 0 15px;
        overflow: hidden;
        background: white !important;
        background-color: white !important;
        background-image: none !important;
        box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
    }
    
    .navbar-nav .nav-link {
        font-size: 15px;
        padding: 10px 0;
        margin: 6px 0;
    }
    
    .navbar-nav .dropdown-item {
        padding: 8px 15px;
        font-size: 14px;
    }
}

@media (max-width: 576px) {
    .navbar-collapse {
        width: 70%;
        height: auto;
        max-height: 70vh;
        margin-top: 0;
        padding: 12px;
        border-radius: 0 0 0 15px;
        overflow: hidden;
        background: white !important;
        background-color: white !important;
        background-image: none !important;
        box-shadow: -4px 0 6px rgba(0, 0, 0, 0.1);
        display: flex;
        flex-direction: column;
    }
    
    .navbar-nav .nav-link {
        font-size: 14px;
        padding: 8px 0;
        margin: 4px 0;
    }
    
    .navbar-nav .dropdown-item {
        padding: 6px 10px;
        font-size: 13px;
    }
}

/* FORCE WHITE BACKGROUND - MAXIMUM SPECIFICITY */
.navbar-collapse,
.navbar-collapse.show,
div.navbar-collapse,
div.navbar-collapse.show,
#navbarCollapse,
#navbarCollapse.show,
.collapse.navbar-collapse,
.collapse.navbar-collapse.show,
.navbar .navbar-collapse,
.navbar .navbar-collapse.show,
.navbar-expand-lg .navbar-collapse,
.navbar-expand-lg .navbar-collapse.show {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
}

/* OVERRIDE ANY DARK BACKGROUNDS */
body .navbar-collapse,
html .navbar-collapse,
* .navbar-collapse {
    background: white !important;
    background-color: white !important;
}

/* FINAL OVERRIDE - HIGHEST PRIORITY */
.bg-white.navbar-collapse,
.bg-white.navbar-collapse.show,
div.bg-white.navbar-collapse,
#navbarCollapse.bg-white,
.collapse.navbar-collapse.bg-white {
    background: white !important;
    background-color: white !important;
    background-image: none !important;
}

/* FORCE BLACK TEXT */
.navbar-nav .nav-link,
.navbar-nav .nav-item .nav-link,
.navbar-collapse .nav-link {
    color: #000000 !important;
}

/* FORCE BLACK CLOSE BUTTON */
.navbar-close-btn,
.navbar-close-btn i {
    color: #000000 !important;
}