/********** Template CSS **********/
:root {
    --primary: #13C5DD;
    --secondary: #354F8E;
    --light: #EFF5F9;
    --dark: #1D2A4D;
}
/* Topbar Styling */
.topbar {
    padding: 8px 0;
    border-bottom: 1px solid #e5e5e5;
    font-size: 0.9rem;
    background-color: #a8ece7;
}

.topbar a {
    line-height: 1;
}

.topbar i {
    font-size: 14px;
}

.btn {
    font-weight: 700;
    transition: .5s;
}

.btn:hover {
    -webkit-box-shadow: 0 8px 6px -6px #555555;
    -moz-box-shadow: 0 8px 6px -6px #555555;
    box-shadow: 0 8px 6px -6px #555555;
}

.btn-primary {
    color: #FFFFFF;
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 30px;
    bottom: 0;
    border-radius: 50% 50% 0 0;
    z-index: 99;
}

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
}
.logo-img {
    width: 60px;
    height: auto;
    border-radius: 10%;
}
.logo-text {
    font-weight: 700;
    font-size: 1.5rem;
    color: #d32f2f; /* red to match healthcare theme */
}

.navbar-nav .nav-link:hover {
    color: #d32f2f !important;
}


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

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link  {
        margin-left: 0;
        padding: 10px 0;
    }
}

.header-carousel .header-slide {
    height: 90vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

.header-carousel h1,
.header-carousel h5 {
    color: #ffffff;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.85);
}

.header-carousel h1 {
    font-weight: 800;
    letter-spacing: 0.5px;
}

.header-carousel h5 {
    font-weight: 600;
}


.header-carousel .header-slide > div {
    position: relative;
    z-index: 2;
}

.header-slide::before {
    content: "";
    position: absolute;
    top:0; left:0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}
.header-slide .container {
    position: relative;
    z-index: 2;
}


/* Mobile optimization */
@media (max-width: 768px) {
    .header-carousel .header-slide {
        height: 60vh;
    }

    .header-carousel h1 {
        font-size: 28px;
    }
}

.container-fluid.py-5 {
    margin-top: -30px; /* pulls it closer */
}
.service-item {
    position: relative;
    height: 350px;
    padding: 0 30px;
    transition: .5s;
}

.service-item .service-icon {
    width: 150px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    border-radius: 50%;
    transform: rotate(-14deg);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.service-item .service-icon i {
    transform: rotate(15deg);
}

.service-item a.btn {
    position: absolute;
    width: 60px;
    bottom: -48px;
    left: 50%;
    margin-left: -30px;
    opacity: 0;
}

.service-item:hover a.btn {
    bottom: -24px;
    opacity: 1;
}
.service-card {
    background: #ffffff;
    padding: 40px 30px;
    text-align: center;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 45px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0d6efd, #0a58ca);
    color: #fff;
    font-size: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: transform 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotate(10deg) scale(1.1);
}

.service-card h4 {
    font-weight: 700;
    margin-bottom: 15px;
}

.service-card p {
    color: #6c757d;
    font-size: 15px;
    line-height: 1.6;
}

.service-link {
    display: inline-block;
    margin-top: 20px;
    font-weight: 600;
    color: #0d6efd;
    text-decoration: none;
}

.service-link i {
    margin-left: 6px;
    transition: transform 0.3s ease;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Mobile Optimization */
@media (max-width: 576px) {
    .service-card {
        padding: 30px 20px;
    }

    .service-icon {
        width: 65px;
        height: 65px;
        font-size: 26px;
    }
}
/* ===== 3D RED HEADER ===== */
.sticky-top {
    background: linear-gradient(145deg, #0300b3, #8cecf3);
    box-shadow:
        0 6px 0 #eea2f8,
        0 12px 25px rgba(0, 0, 0, 0.35);
    z-index: 999;
}

/* Navbar links */
.navbar-light .navbar-nav .nav-link {
    color: #fff;
    font-weight: 600;
    padding: 20px 18px;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover effect */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #ffe6e6;
    transform: translateY(-2px);
}

/* Underline animation */
.navbar-light .navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: 0;
    height: 3px;
    background: #fff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover::after,
.navbar-light .navbar-nav .nav-link.active::after {
    width: 60%;
}

/* Logo */
.logo-img {
    height: 58px;
    width: auto;
    filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.4));
}

.logo-text {
    color: #fff;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Navbar toggler (mobile) */
.navbar-toggler {
    border: none;
}

.navbar-toggler-icon {
    filter: invert(1);
}

/* Dropdown menu */
.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.dropdown-item:hover {
    background: #ff1a1a;
    color: #fff;
}

/* ===== MOBILE FIXES ===== */
@media (max-width: 991px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 12px 16px;
    }

    .logo-text {
        font-size: 20px;
    }
}
.sticky-top.scrolled {
    background: linear-gradient(145deg, #8b0000, #cc0000);
}

.price-carousel::after {
    position: absolute;
    content: "";
    width: 100%;
    height: 50%;
    bottom: 0;
    left: 0;
    background: var(--primary);
    border-radius: 8px 8px 50% 50%;
    z-index: -1;
}

.price-carousel .owl-nav {
    margin-top: 35px;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center;
}

.price-carousel .owl-nav .owl-prev,
.price-carousel .owl-nav .owl-next{
    position: relative;
    margin: 0 5px;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    background: #FFFFFF;
    font-size: 22px;
    border-radius: 45px;
    transition: .5s;
}

.price-carousel .owl-nav .owl-prev:hover,
.price-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}

@media (min-width: 576px) {
    .team-item .row {
        height: 350px;
    }
}

.team-carousel .owl-nav {
    position: absolute;
    padding: 0 45px;
    width: 100%;
    height: 45px;
    top: calc(50% - 22.5px);
    left: 0;
    display: flex;
    justify-content: space-between;
}

.team-carousel .owl-nav .owl-prev,
.team-carousel .owl-nav .owl-next {
    position: relative;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: var(--primary);
    border-radius: 45px;
    font-size: 22px;
    transition: .5s;
}

.team-carousel .owl-nav .owl-prev:hover,
.team-carousel .owl-nav .owl-next:hover {
    background: var(--dark);
}

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

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 20px;
    height: 20px;
    background: var(--light);
    border: 2px solid var(--primary);
    border-radius: 20px;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    width: 40px;
    height: 40px;
    background: var(--primary);
}

.testimonial-carousel .owl-item img {
    width: 150px;
    height: 150px;
}

.team-item:hover .team-social {
    opacity: 1;
    transition: 0.3s;
}
.team-social {
    position: absolute;
    bottom: 10px;
    right: 10px;
    opacity: 0;
}
/* Float VMC cards above hero */
.vision-mission-core {
    position: relative;
    top: -100px; /* overlaps hero */
    z-index: 10;
}

/* VMC card style */
.vmc-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

.vmc-card:hover {
    transform: translateY(-10px);
}

.vision-mission-core h5 {
    color: #d32f2f;
    font-weight: 700;
    margin-bottom: 15px;
}

.vision-mission-core p {
    color: #555;
    font-size: 0.95rem;
}

/* VMC + Appointment */
.vision-mission-core {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.vmc-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.vmc-card:hover {
    transform: translateY(-5px);
}

/* Compact Appointment */
form .form-control, form .form-select {
    height: 45px;
    font-size: 0.9rem;
    padding: 0 12px;
}

form .btn {
    font-size: 1rem;
    padding: 10px 0;
}

/* Responsive: stack columns on mobile */
@media (max-width: 991px) {
    .row.gx-5.align-items-start {
        flex-direction: column;
    }
    .vision-mission-core {
        margin-bottom: 30px;
    }
}
/* VMC + Appointment same height */
.row.gx-4.align-items-stretch {
    display: flex;
    flex-wrap: wrap;
}

.vision-mission-core {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.vmc-card {
    flex: 1 1 auto; /* make cards equal height in column */
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.vmc-card:hover {
    transform: translateY(-5px);
}

/* Compact Appointment Form */
form .form-control, form .form-select {
    height: 45px;
    font-size: 0.9rem;
    padding: 0 12px;
}

form .btn {
    font-size: 1rem;
    padding: 10px 0;
}

/* Reduce spacing to "Our Doctors" */
.container-fluid.py-5.bg-light {
    margin-bottom: 20px; /* smaller gap before "Our Doctors" section */
}

/* Responsive */
@media (max-width: 991px) {
    .row.gx-4.align-items-stretch {
        flex-direction: column;
    }
    .vision-mission-core {
        margin-bottom: 30px;
    }
}
/* Navbar Logo */
.navbar-brand {
    display: flex;
    align-items: center;
}

/* Make logo image bigger and fill the navbar area */
.logo-img {
    height: 70px;      /* increase from 48px */
    width: auto;       /* keep aspect ratio */
    border-radius: 10%; 
    margin-right: 15px; /* space between logo and text */
}

/* Logo text size */
.logo-text {
    font-size: 28px;   /* increase from 24px */
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}
@media (min-width: 1200px) {
    .logo-img {
        height: 90px;   /* bigger for large screens */
    }
    .logo-text {
        font-size: 32px;
    }
}

.how-we-started-strip {
    background: #f8f9fa;  /* light, neutral background */
    border-radius: 10px;
    padding: 10px 20px;     /* small and compact */
    margin: 30px auto 40px auto; /* spacing from slider and next section */
    box-shadow: 0 3px 8px rgba(0,0,0,0.1); /* subtle shadow */
    max-width: 95%;  /* fits nicely on large screens */
}

.strip-logo {
    width: 50px;
    height: auto;
    margin-right: 15px;
    border-radius: 8%;
}

.strip-text {
    font-size: 0.95rem;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .how-we-started-strip {
        flex-direction: column;
        text-align: center;
        padding: 10px 15px;
    }

    .strip-logo {
        margin: 0 0 10px 0;
    }
}

.service-list {
    list-style: disc;
    padding-left: 18px;
    margin: 15px 0 0;
    text-align: left;
}

.service-list li {
    font-size: 14.5px;
    color: #555;
    margin-bottom: 8px;
    line-height: 1.5;
}

.service-list li strong {
    color: #07ad89;
    font-weight: 700;
}
.header-slide::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
}
.header-slide {
    position: relative;
}
.header-slide > div {
    position: relative;
    z-index: 2;
}
.logo-img {
    height: 60px;
    width: auto;
}
.logo-text {
    font-weight: 700;
    font-size: 1.2rem;
}
/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    width: 55px;
    height: 55px;
    bottom: 25px;
    right: 25px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    text-align: center;
    font-size: 28px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
    color: #fff;
}

/* Mobile Adjustments */
@media (max-width: 576px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}
/* Service Card Background Image */
.service-bg {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 360px;
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
}

/* Dark overlay for readability */
.service-bg .service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        rgba(0, 0, 0, 0.75),
        rgba(0, 0, 0, 0.75)
    );
    z-index: 1;
}


/* Content Above Overlay */
.service-bg .service-content {
    position: relative;
    z-index: 2;
    padding: 30px;
}

/* Icons */
.service-bg .service-icon i {
    font-size: 30px;
    color: #fff;
    margin-bottom: 18px;
}

/* Lists */
.service-bg .service-list li {
    color: #8cbfee;
}

/* Hover Effect */
.service-bg:hover {
    transform: translateY(-6px);
    transition: all 0.3s ease;
}
/* Service Cards */
.service-card {
    position: relative;
    height: 360px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.35),
        rgba(0,0,0,0.75)
    );
    z-index: 1;
}

.service-content {
    position: relative;
    z-index: 2;
    color: #fff;
    padding: 25px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.service-content h4 {
    font-weight: 700;
    margin-bottom: 12px;
}

.service-list {
    padding-left: 18px;
    font-size: 14px;
}

.service-list li {
    margin-bottom: 6px;
}

.service-link {
    margin-top: auto;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
}

.service-link:hover {
    text-decoration: underline;
}

/* Icon */
.service-icon {
    font-size: 32px;
    margin-bottom: 12px;
    color: #0d6efd;
}
.how-we-started-strip {
    margin-top: -10px;
    margin-bottom: 50px;
}

.header-carousel {
    margin-bottom: 30px;
}
.how-we-started-strip {
    background: #fff;
    border-top: 4px solid #0d6efd;
    padding: 20px 0;
}

.strip-logo {
    width: 80px;
    height: auto;
    margin-right: 20px;
}

.strip-text {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}
.logo-img {
    height: 55px;
}
.logo-text {
    font-weight: 700;
    letter-spacing: 1px;
}

