 /* =========================================================
GLOBAL CSS
========================================================= */
* {
     margin: 0;
     padding: 0;
     box-sizing: border-box;
 }

 body {
     font-family: 'Montserrat', sans-serif;
 }


 h1,h2,h3,h4,h5,h6{
    color:#076fb8;

 }

 

 h2{
    font-size: 32px;
 }


 p{
    font-size:15px;
     line-height:1.8;
   
 }



 /* ==========================================================================
   Navbar & General Dropdown Styles
   ========================================================================== */
.navbar .nav-link {
    font-weight: 500;
    padding: 8px 10px !important;
}

.dropdown-menu {
    border: none;
    box-shadow: 0 10px 25px rgba(0,0,0,.12);
}

/* ==========================================================================
   Custom Multi-Column Mega Dropdown (New Additions)
   ========================================================================== */
.custom-mega-dropdown {
    min-width: 450px;
    border-radius: 8px;
    padding: 10px !important;
}

/* Individual list item styles */
.custom-mega-dropdown .dropdown-item {
    font-size: 1rem;
    color: #333333;
    padding: 8px 10px;
    border-bottom: 1px solid #e9ecef; /* Underline divider */
    font-weight: 400;
    transition: all 0.2s ease-in-out;
}

/* Clear the bottom border from the final items in columns */
.custom-mega-dropdown li:last-child .dropdown-item {
    border-bottom: none;
}

/* Chevron arrow alignment & subtle coloring */
.custom-mega-dropdown .dropdown-item i {
    color: #444444;
    font-size: 0.85rem;
    transition: transform 0.2s ease;
}

/* Hover effects */
.custom-mega-dropdown .dropdown-item:hover {
    background-color: #f8f9fa;
    color: #0d6efd; /* Changes text to theme blue on hover */
    padding-left: 0.75rem; /* Subtle pull effect */
}

.custom-mega-dropdown .dropdown-item:hover i {
    transform: translateX(3px); /* Arrow nudges right slightly on hover */
    color: #0d6efd;
}

/* Center vertical separator between columns (Only on desktop viewports) */
@media (min-width: 992px) {
    .custom-divided-row .dropdown-col:first-child {
        border-right: 1px solid #e9ecef;
    }
}

/* Fix for mobile behavior inside offcanvas/collapse menus */
@media (max-width: 991px) {
    .custom-mega-dropdown {
        min-width: 100% !important;
        box-shadow: none !important;
        padding: 0 !important;
    }
    .custom-divided-row .dropdown-col {
        padding: 0 !important;
    }
    .custom-mega-dropdown .dropdown-item {
        color: #fff !important; /* Forces link text visible over mobile color scheme */
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
    .custom-mega-dropdown .dropdown-item i {
        color: #fff !important;
    }
}

/* ==========================================================================
   CSS Marquee Animation
   ========================================================================== */
.marquee-wrapper {
    white-space: nowrap;
    display: inline-block;
    animation: marquee-scroll 35s linear infinite;
    padding-left: 100%;
}

@keyframes marquee-scroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-100%, 0, 0); }
}

.marquee-container {
    overflow: hidden;
    width: 100%;
    display: flex;
}

/* ==========================================================================
   Sticky Navigation Formatting Fixes
   ========================================================================== */
.desktop-header .navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.75rem 1rem;
    transition: color 0.2s ease-in-out;
}

.desktop-header .navbar-nav .nav-link:hover {
    opacity: 0.9;
}

/* Interactive Button Transitions */
.header-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    font-weight: 500;
}

/* ==========================================================================
   Hover to Open Dropdown (Desktop Only)
   ========================================================================== */
@media (min-width: 992px) {
    /* Trigger the dropdown display on list-item hover */
    .navbar-nav .nav-item.dropdown:hover .dropdown-menu {
        display: block;
        margin-top: 0; /* Aligns the dropdown panel smoothly with the navbar hook */
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
        transition: all 0.25s ease-in-out;
    }

    /* Set up an initial hidden state with a slight fade/slide effect */
    .navbar-nav .nav-item.dropdown .dropdown-menu {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease-in-out;
    }
}

/* ==========================================================================
   Responsive & Mobile Breakpoints
   ========================================================================== */
@media (max-width:991px) {
    .navbar-collapse {
        background: #0d6efd;
        padding: 15px;
        margin-top: 10px;
        border-radius: 10px;
    }

    .navbar-nav {
        text-align: left;
    }

    .navbar .nav-link {
        color: #fff !important;
    }
}



/* Desktop & Mobile Toggle */
.mobile-header {
    display: none;
}

@media (max-width:991.98px) {
    .desktop-header {
        display: none !important;
    }

    .mobile-header {
        display: block !important;
        position: sticky;
        top: 0;
        z-index: 9999;
    }
}

/* Mobile Header Content Formatting */
.mobile-topbar {
    background: #076fb8;
    color: #fff;
    text-align: center;
    font-size: 12px;
    padding: 6px 10px;
}

.mobile-main-header {
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.mobile-logo img {
    height: 55px;
    width: auto;
}

.mobile-icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offcanvas-body .nav-link {
    padding: 12px 0;
    border-bottom: 1px solid #eee;
    font-weight: 500;
    color: #222;
}

/* Remove default caret arrow from appointment button */
.hide-toggle-arrow::after {
    display: none !important;
}

/* Force the dropdown form layer to stack on top of everything else */
.appointment-dropdown .appointment-popup-menu {
    z-index: 2050 !important; /* Higher than sticky navbars (1020) and fixed banners */
}

/* Clean input focus styling */
.appointment-dropdown .form-control:focus {
    border-color: #0d6efd;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.15);
}


/* end navbar */



/* sidebar css */
.service-item{
    display:block;
    text-decoration:none;
    color:#333;
    padding:12px 15px;
    margin-bottom:8px;
    border-radius:10px;
    background:#f8f9fa;
    transition:all .3s ease;
    font-weight:500;
}

.service-item:hover{
    background:#076fb8;
    color:#fff;
    padding-left:20px;
}

.service-item.active{
    background:#076fb8;
    color:#fff;
}

.form-control,
.form-select{
    border:none;
    border-radius:10px;
    padding:12px;
}

.btn-light{
    border-radius:10px;
    padding:12px;
}


/* end sidebar css */


/* home page service slider */

.slider-track {
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}
.slider-card-item {
    flex: 0 0 100%;
}
.card-img-custom {
    height: 190px;
    object-fit: cover;
}
@media (min-width: 768px) {
    .slider-card-item {
        flex: 0 0 calc(50% - 10px);
    }
}
@media (min-width: 1200px) {
    .slider-card-item {
        flex: 0 0 calc(33.333% - 13.33px);
    }
}
.h-100-hover {
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.2, 0, 0.2, 1);
}
.h-100-hover:hover {
    transform: translateY(-6px);
    box-shadow: 0 1.25rem 3.5rem rgba(0,0,0,.085) !important;
}
.slider-control-btn:hover {
    background-color: #076fb8 !important;
    border-color: #076fb8 !important;
}
.slider-control-btn:hover i {
    color: #ffffff !important;
}
.hover-lift:hover {
    transform: translateY(-2px);
}

/* end home page service slider */


    /* PATIENT SUCCESS STORIES SECTION END */


.story-slider-viewport {
    overflow: hidden;
    width: 100%;
    padding: 15px 0;
}
.story-slider-track {
    display: flex;
    gap: 24px; /* Standardized fluid layout card gutters */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}

.story-card-wrapper {
    flex: 0 0 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .story-card-wrapper {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}

@media (min-width: 992px) {
    .story-card-wrapper {
        flex: 0 0 calc(33.333333% - 16px);
        max-width: calc(33.333333% - 16px);
    }
}

.story-nav-btn {
    width: 46px;
    height: 46px;
    background: rgba(255, 255, 255, 0.95);
    color: #076fb8;
    border: none;
    border-radius: 50%;
    top: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    transition: all 0.2s ease-in-out;
    z-index: 10;
    cursor: pointer;
}

.story-nav-btn:hover {
    background: #ffffff;
    color: #054d80;
    transform: scale(1.1) translateY(-50%) !important;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.story-nav-btn:active {
    transform: scale(0.95) translateY(-50%) !important;
}

/* Style corrections for buttons on edges */
#storyPrevBtn { left: -10px !important; transform: translateY(-50%); }
#storyNextBtn { right: -10px !important; transform: translateY(-50%); }

@media (max-width: 576px) {
    #storyPrevBtn { left: 5px !important; }
    #storyNextBtn { right: 5px !important; }
}

/* Card Micro-interactions */
.transition-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.transition-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2) !important;
}

    /* PATIENT SUCCESS STORIES SECTION END */

/* 
    book an appointment section */
    /* Core Section Setup */
.appointment-section {
    position: relative;
    background-image: url('../img/Banner/appointment-form-bg.jpg'); /* Professional high-res medical laboratory background */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    
}

/* Mixed solid-alpha color masking formula over background image */
.medical-overlay {
    background: linear-gradient(135deg, rgba(6, 28, 61, 0.92) 0%, rgba(7, 111, 184, 0.85) 100%);
}

/* Text spacing corrections */
.tracking-wider {
    letter-spacing: 1.2px;
}

/* Form block high-end presentation shadows */
.appointment-form-card {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25) !important;
}

/* Premium Form Field Restyling */
.premium-input {
    background-color: #f8fafd !important;
    border: 1px solid #e2eaf2 !important;
    color: #212529 !important;
    font-size: 0.95rem;
    border-radius: 8px !important;
    transition: all 0.2s ease-in-out;
}

/* Text placeholder readability color corrections */
.premium-input::placeholder {
    color: #a0aec0 !important;
    opacity: 1;
}

/* Dynamic Field Focus Animations */
.premium-input:focus {
    background-color: #ffffff !important;
    border-color: #076fb8 !important;
    box-shadow: 0 0 0 4px rgba(7, 111, 184, 0.15) !important;
}

/* Custom Primary Button Design replacing original generic light state */
.btn-primary-medical {
    background-color: #076fb8;
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(7, 111, 184, 0.4);
}

.btn-primary-medical:hover {
    background-color: #055085;
    box-shadow: 0 6px 20px rgba(7, 111, 184, 0.6);
}

/* General micro-interaction transformations */
.transition-action-btn {
    transition: all 0.25s cubic-bezier(0.25, 1, 0.5, 1);
}

.transition-action-btn:hover {
    transform: translateY(-2px);
}

.transition-action-btn:active {
    transform: translateY(0);
}

/* Clean device break configurations for background support layers */
@media (max-width: 991px) {
    .appointment-section {
        background-attachment: scroll;
    }
}


    /* end book an appointment section  */

    /* Premium Background Gradient setup using your deep branding blue */
.medical-counter-bar {
    background: #076fb8;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Base structural item container wrappers */
.counter-card {
    width: 100%;
    padding: 0.5rem;
}

/* Elegant Icon Circle Box */
.counter-icon-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.counter-card:hover .counter-icon-box {
    transform: translateY(-3px);
    background-color: #ffffff;
    color: #076fb8;
}

/* Numeric Text Architecture Configuration */
.counter-text-group h2 {
    font-size: 2rem;
    font-weight: 800 !important;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -0.5px;
}

/* Aesthetic matching plus suffix sign modifier */
.counter-plus {
    font-size: 1.5rem;
    font-weight: 700;
    color: #00d2ff; /* High visibility cyan accent highlight pointer */
    margin-left: 2px;
    line-height: 1;
}

/* Refined label typography */
.counter-label {
    font-size: 0.825rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 4px;
    line-height: 1.3;
}

/* Responsive Overrides optimizing tight screens */
@media (max-width: 767px) {
    .counter-text-group h2 {
        font-size: 1.75rem;
    }
    .counter-icon-box {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
        border-radius: 10px;
    }
    .counter-label {
        font-size: 0.78rem;
    }
}

/* list style */
.brand-check-list {
  list-style: none;
  padding: 0;
  padding-bottom: 9px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem; 
}

.brand-check-list li {
  position: relative;
  padding-left: 2.8rem; 
  line-height: 1.8rem; 
}

.brand-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 30px; 
  height: 30px; 
  background-color: #ebebeb;
  border-radius: 50%;
  box-shadow: 0 3px 8px rgba(7, 111, 184, 0.08); 
}

.brand-check-list li::after {
  content: "";
  position: absolute;
  left: 11px; 
  top: 8px;
  width: 6px;
  height: 11px;
  border: solid #076fb8;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* end list style */


/* FAQ */


.custom-faq .accordion-item {
    transition: all 0.3s ease-in-out;
    border-left: 4px solid transparent !important;
}

.custom-faq .accordion-item:has(.accordion-button:not(.collapsed)) {
    border-left: 4px solid #076fb8 !important;
}

.custom-faq .accordion-button {
    background-color: transparent !important;
    color: #2b303a;
    box-shadow: none !important;
}

.custom-faq .accordion-button:not(.collapsed) {
    color: #076fb8;
}


.custom-faq-list li {
    font-size: 0.95rem;
}

.custom-faq-list li span {
    flex-shrink: 0;
}

/* end faq */