 body {
     font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;

     color: #2E3333;
     /* 1mg's primary text color */
 }

h1, h2, h3, h4, h5, h6 {
    font-family: play fair display !important;
    line-height: 30px !important;

}

 /* Buttons */

 /* Price text */
 .price {
     font-family: 'Inter', sans-serif;
     font-weight: var(--font-bold);
 }

 /* Special cases for medical content */
 .test-parameter-name {
     font-weight: var(--font-medium);
 }

 .test-description {
     font-weight: var(--font-regular);
     color: #4A4A4A;
     /* Slightly lighter for descriptions */
 }


 .btn {
     display: inline-block;
     padding: 4px 20px !important;
     border-radius: 4px;
     font-weight: 600;
     text-decoration: none;
     transition: all 0.3s ease;
     cursor: pointer;
 }

 .btn-login {
     background-color: transparent;
     border: 2px solid #237dc7  !important;
 }

 .btn-login:hover {
     background-color: #237dc7  !important;
     color: #fff !important;
 }

 .btn-appointment {
     background-color: #237dc7  !important;
     color: #fff !important;
     border: 2px solid #237dc7 ;
 }

 .btn-appointment:hover {
     background-color: transparent !important;
     color: #f3100a !important;
     border: 1.5px solid #f3100a;
 }

 @media only screen and (max-width: 991px) {
     .main-responsive-nav .main-responsive-menu.mean-container .mean-nav ul li a i {
         display: contents !important;
     }
 }

 .main-navbar .navbar .navbar-nav .nav-item {
     display: flex;
     justify-content: space-between;
     align-items: center;
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 14px;
 }






 /* Modern Styling with Big Content Handling */
 .pricing-area {
     background-color: #f9fafc;
 }

 .health-package-card {
     background: white;
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
     transition: transform 0.3s ease, box-shadow 0.3s ease;
     height: 100%;
     display: flex;
     flex-direction: column;
 }

 .health-package-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
 }

 .package-header {
     background: linear-gradient(135deg, #237dc7 0%, #237dc7  100%);
     color: white;
     padding: 14px;
     position: relative;
 }

 .package-header h3 {
     margin: 0;
     font-size: 1.25rem;
     font-weight: 600;
     color: white;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .package-header h3 a {
     color: inherit;
     text-decoration: none;
 }

 .discount-badge {
     position: absolute;
     top: -12px;
     right: 20px;
     background: #ff4757;
     color: white;
     padding: 5px 12px;
     border-radius: 20px;
     font-size: 0.75rem;
     font-weight: 600;
     box-shadow: 0 4px 8px rgba(255, 71, 87, 0.3);
     margin: 12px -12px !important;
     padding: 4px 6px !important;
 }

 .package-pricing {
     padding: 15px 20px;
     background: #f8f9ff;
     display: flex;
     align-items: center;
     gap: 0px;
     flex-wrap: wrap;
 }

 .original-price {
     font-size: 0.9rem;
     color: #6c757d;
     text-decoration: line-through;
 }

 .current-price {
     font-size: 1.5rem;
     font-weight: 700;
     color: #2f3542;
 }

 .price-per-test {
     font-size: 0.8rem;
     background: #ff4757;
     color: white;
     padding: 3px 8px;
     border-radius: 4px;
     margin-left: auto;
 }

 .package-features {
     padding: 20px;
     flex-grow: 1;
     display: flex;
     flex-direction: column;
 }

 .features-count {
     display: flex;
     align-items: center;
     gap: 8px;
     color: #4a6cf7;
     font-weight: 600;
     margin-bottom: 15px;
     padding-bottom: 10px;
     border-bottom: 1px dashed #e0e0e0;
 }

 .features-scroll-container {
     max-height: 250px;
     overflow-x: hidden;
     padding-right: 8px;
     margin-bottom: 10px;
     scrollbar-width: thin;
     scrollbar-color: #237dc7 #f1f3ff;
 }

 .features-scroll-container::-webkit-scrollbar {
     width: 6px;
 }

 .features-scroll-container::-webkit-scrollbar-track {
     background: #f1f3ff;
     border-radius: 3px;
 }

 .features-scroll-container::-webkit-scrollbar-thumb {
     background-color: #4a6cf7;
     border-radius: 3px;
 }

 .scroll-indicator {
     font-size: 0.75rem;
     color: #7f8c8d;
     text-align: center;
     padding: 5px;
     background: #f8f9fa;
     border-radius: 4px;
     margin-top: auto;
     display: none;
 }

 .features-list {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .features-list li {
     display: flex;
     gap: 10px;
     padding: 8px 0;
     align-items: flex-start;
 }

 .features-list li i {
     color: #4CAF50;
     margin-top: 3px;
     font-size: 1.1rem;
     flex-shrink: 0;
 }

 .features-list li div {
     flex: 1;
 }

 .features-list li strong {
     display: block;
     font-weight: 500;
     color: #2f3542;
     font-size: 0.9rem;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
 }

 .features-list li span {
     display: block;
     font-size: 0.8rem;
     color: #57606f;
     margin-top: 2px;
 }

 .package-cta {
     display: flex;
     padding: 0 20px 20px;
     gap: 10px;
 }

 .details-btn,
 .book-now-btn,
 .view-cart-btn {
     flex: 1;
     padding: 10px;
     border: none;
     border-radius: 6px;
     font-weight: 500;
     cursor: pointer;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     justify-content: center;
     gap: 8px;
     font-size: 0.85rem;
     white-space: nowrap;
 }

 .details-btn {
     background: #f1f3ff;
     color: #4a6cf7;
 }

 .details-btn:hover {
     background: #e1e5ff;
 }

 .book-now-btn {
     background: linear-gradient(135deg, #237dc7 0%, #237dc7  100%);
     color: white;
 }

 .book-now-btn:hover {
     opacity: 0.9;
     transform: translateY(-2px);
 }

 .view-cart-btn {
     background: #4CAF50;
     color: white;
 }

 .view-cart-btn a {
     color: inherit;
     text-decoration: none;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .view-cart-btn:hover {
     background: #3e8e41;
 }

 .quick-contact {
     padding: 0 20px 20px;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .quick-contact span {
     font-size: 0.8rem;
     color: #57606f;
 }

 .contact-options {
     display: flex;
     gap: 10px;
 }

 .whatsapp-btn,
 .call-btn,
 .chat-btn {
     width: 32px;
     height: 32px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: white;
     font-size: 1rem;
     transition: transform 0.3s ease;
 }

 .whatsapp-btn {
     background: #25D366;
 }

 .call-btn {
     background: #4a6cf7;
 }

 .chat-btn {
     background: #ff6b81;
 }

 .whatsapp-btn:hover,
 .call-btn:hover,
 .chat-btn:hover {
     transform: scale(1.1);
     color: #fff;
 }

 .section-title h2 {
     font-size: 42px;
    color: #18435a;
     margin-bottom: 10px;
 }

 .section-title .subtitle {
     color: #57606f;
     font-size: 1rem;
 }

 .view-all-btn {
     display: inline-flex;
     align-items: center;
     gap: 8px;
     padding: 12px 24px;
     background: white;
     color: #4a6cf7;
     border: 1px solid #4a6cf7;
     border-radius: 6px;
     font-weight: 500;
     transition: all 0.3s ease;
 }

 .view-all-btn:hover {
     background: #237dc7;
     color: white;
     text-decoration: none;
     transform: translateY(-2px);
     box-shadow: 0 5px 15px rgba(74, 108, 247, 0.3);
 }

 /* Responsive Adjustments */
 @media (max-width: 992px) {
     .health-package-card {
         max-width: 400px;
         margin-left: auto;
         margin-right: auto;
     }
 }

 @media (max-width: 768px) {
     .package-cta {
         flex-direction: column;
     }

     .details-btn,
     .book-now-btn,
     .view-cart-btn {
         width: 100%;
     }

     .features-scroll-container {
         max-height: 200px;
     }
 }


 .hero-content {
     position: relative;
     z-index: 2;
     color: white;
     max-width: 800px;
     padding: 40px;
     background: rgba(0, 0, 0, 0.5);
     border-radius: 10px;
 }

 .hero-content h1 {
     font-size: 3rem;
     font-weight: 700;
     margin-bottom: 20px;
     line-height: 1.2;
 }

 .hero-content p {
     font-size: 1.2rem;
     margin-bottom: 30px;
 }

 .hero-btn {
     display: inline-block;
     padding: 12px 30px;
     background: #2ecc71;
     color: white;
     border-radius: 50px;
     font-weight: 600;
     text-decoration: none;
     transition: all 0.3s ease;
     border: 2px solid #2ecc71;
 }

 .hero-btn:hover {
     background: transparent;
     color: #2ecc71;
 }

 /* Search Section Styles */
 .health-search-section {
     padding: 20px 0;

     position: relative;
     margin-top: -30px;
     z-index: 10;
 }

 .search-container {

     border-radius: 10px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     padding: 16px;
     position: relative;
     margin-top: -54px;
     background: #fff;
 }

 .search-header {
     text-align: center;
     margin-bottom: 0px;
 }

 .search-header h2 {
     font-size: 2.2rem;
     color: #2c3e50;
     margin-bottom: 15px;
 }

 .search-header p {
     color: #7f8c8d;
     font-size: 1.1rem;
 }

 .search-actions {
     display: flex;
     flex-direction: column;
     gap: 30px;
 }

 .action-buttons {
     display: flex;
     justify-content: center;
     gap: 20px;
     flex-wrap: wrap;
 }

 .action-btn {
     padding: 6px 15px;
     border-radius: 50px;
     font-weight: 600;
     text-decoration: none;
     transition: all 0.3s ease;
     display: flex;
     align-items: center;
     gap: 8px;
 }

 .offers-btn {
     background: #e74c3c;
     color: white;
     border: 2px solid #e74c3c;
 }

 .offers-btn:hover {
     background: transparent;
     color: #e74c3c;
 }

 .prescription-btn {
     background: #3498db;
     color: white;
     border: 2px solid #3498db;
 }

 .prescription-btn:hover {
     background: transparent;
     color: #3498db;
 }

 .search-box-container {
     width: 100%;
     max-width: 800px;
     margin: 0 auto;
 }

 .search-box {
     position: relative;
     width: 100%;
 }

 .search-input {
     width: 100%;
     padding: 15px 25px;
     padding-right: 50px;
     border-radius: 50px;
     border: 2px solid #e0e0e0;
     font-size: 1rem;
     transition: all 0.3s ease;
 }

 .search-input:focus {
     border-color: #3498db;
     box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
     outline: none;
 }

 .search-icon {
     position: absolute;
     right: -40px;
     top: 50%;
     transform: translateY(-50%);
     background: transparent;
     border: none;
     color: #7f8c8d;
     font-size: 1.2rem;
     cursor: pointer;
    opacity: 0.5;
 }

 .search-results {
     position: absolute;
     top: 100%;
     left: 0;
     width: 100%;
     background: white;
     border-radius: 0 0 10px 10px;
     box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
     max-height: 300px;
     overflow-y: auto;
     z-index: 100;
     display: none;
 }

 /* Owl Carousel Customization */
 .hero-slider .owl-nav {
     position: absolute;
     top: 50%;
     width: 100%;
     display: flex;
     justify-content: space-between;
     padding: 0 30px;
     transform: translateY(-50%);
 }

 .hero-slider .owl-prev,
 .hero-slider .owl-next {
     width: 50px;
     height: 50px;
     background: rgba(255, 255, 255, 0.2) !important;
     color: white !important;
     border-radius: 50% !important;
     font-size: 1.5rem !important;
     transition: all 0.3s ease;
 }

 .hero-slider .owl-prev:hover,
 .hero-slider .owl-next:hover {
     background: rgba(255, 255, 255, 0.4) !important;
 }

 .hero-slider .owl-dots {
     position: absolute;
     bottom: 30px;
     left: 50%;
     transform: translateX(-50%);
 }

 .hero-slider .owl-dot span {
     background: rgba(255, 255, 255, 0.5) !important;
     transition: all 0.3s ease;
 }

 .hero-slider .owl-dot.active span {
     background: white !important;
     width: 25px;
 }

 /* Responsive Design */
 @media (max-width: 992px) {
     .hero-content h1 {
         font-size: 2.5rem;
     }

     .hero-slide {
         height: 500px;
     }
 }

 @media (max-width: 768px) {
     .hero-content {
         padding: 30px;
     }

     .hero-content h1 {
         font-size: 2rem;
     }

     .hero-content p {
         font-size: 1rem;
     }

     .health-search-section {
         padding: 60px 0;
     }

     .search-container {
         padding: 30px;
     }
 }

 @media (max-width: 576px) {
     .hero-slide {
         height: 400px;
     }

     .hero-content {
         padding: 20px;
     }

     .action-buttons {
         flex-direction: column;
         align-items: center;
     }

     .action-btn {
         /* width: 100%;
         justify-content: center; */
     }

     .search-header h2 {
         font-size: 1.8rem;
     }
 }


 .bg-primary-light {
     background-color: rgba(13, 110, 253, 0.1);
 }

 .service-card {
     transition: all 0.3s ease;
 }

 .service-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
 }

 /* Fixed overflow issues */
 .about-section {
     background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
     overflow: hidden;
 }

 /* Image hover effects */
 .scale-hover {
     transition: transform 0.5s ease;
 }

 .scale-hover:hover {
     transform: scale(1.03);
 }

 .transition {
     transition: all 0.3s ease;
 }

 /* Typography */
 .lh-sm {
     line-height: 1.2;
 }

 /* Spacing */
 .py-6 {
     padding-top: 5rem;
     padding-bottom: 5rem;
 }

 @media (min-width: 992px) {
     .py-lg-8 {
         padding-top: 7rem;
         padding-bottom: 7rem;
     }
 }

 /* Z-index fixes */
 .position-relative {
     z-index: 1;
 }

 .service-card {
     transition: all 0.3s ease;
     border: 1px solid rgba(0, 0, 0, 0.05);
 }

 .service-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
 }

 /* Responsive adjustments */
 @media (max-width: 575.98px) {
     .top-services-area {
         padding: 2rem 0;
     }

     .section-title h2 {
         font-size: 1.5rem;
     }

     .card-body {
         padding: 1.5rem 1rem;
     }
 }

 @media (min-width: 576px) and (max-width: 767.98px) {
     .col-sm-6 {
         flex: 0 0 50%;
         max-width: 50%;
     }
 }

 @media (min-width: 768px) and (max-width: 991.98px) {
     .col-md-4 {
         flex: 0 0 33.333333%;
         max-width: 33.333333%;
     }
 }

 .features-section {
     overflow: hidden;
     background: linear-gradient(to bottom, #f0f7ff 0%, #ffffff 100%);
 }

 .feature-card {
     transition: all 0.3s ease;
     border: 1px solid rgba(0, 119, 182, 0.1);
 }

 .feature-card:hover {
     transform: translateY(-5px);
     box-shadow: 0 10px 30px rgba(0, 119, 182, 0.1);
     border-color: rgba(0, 119, 182, 0.2);
 }

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

 .feature-card:hover .feature-icon {
     background-color: var(--bs-primary) !important;
     color: white !important;
 }

 @media (max-width: 991.98px) {
     .features-section {
         text-align: center;
     }

     .feature-card {
         text-align: left;
     }
 }

 .features-row {
     padding: 0 0 45px 0;
     background: #fcfdff;
     margin-top: 10px;
     z-index: 10;
     position: relative;
 }

 .features-container {
     display: flex;
     justify-content: center;
     gap: 42px;
     flex-wrap: wrap;
     max-width: 1400px;
     margin: 0 auto;
     border: 1px solid #aedbd89e;

 }

 .feature-box {
     width: 142px;
     min-width: 115px;
     min-height: 130px;
     background: #fff;
     border-radius: 12px;
     box-shadow: 0 2px 14px rgba(68, 130, 252, 0.10);
     display: flex;
     flex-direction: column;
     align-items: center;
     justify-content: center;
     padding: 18px 8px 12px 8px;
     margin-top: 50px;
     transition: box-shadow 0.17s;
 }

 .feature-box:hover {
     box-shadow: 0 8px 32px rgba(18, 202, 255, 0.13);
 }

 .feature-box img {
     width: 38px;
     height: 38px;
     margin-bottom: 16px;
     object-fit: contain;
 }

 .feature-title {
     font-weight: 700;
     font-size: 0.98rem;
     color: #365b89;
     text-align: center;
     line-height: 1.2;
 }

 .feature-title span {
     display: block;
     color: #32476b;
     font-weight: 400;
     font-size: 0.79rem;
     margin-top: 2px;
     opacity: 0.77;
 }

 @media (max-width: 1000px) {
     .features-container {
         gap: 10px;
         flex-wrap: wrap;
     }

     .feature-box {
         width: 44vw;
         min-width: 110px;
         margin-top: 13px;
     }
 }

 @media (max-width: 660px) {
     .features-container {
         flex-wrap: wrap;
         gap: 6px;
         padding: 0 5px;
     }

     .feature-box {
         width: 97vw;
         max-width: 380px;
         margin-top: 10px;
     }
 }

 .testimonial-section {
     position: relative;

     overflow: hidden;
     padding: 60px 0 180px 0;
 }

 .testimonial-bg {

     background-position: center center;
     background-size: cover;
     opacity: 0.24;
     position: absolute;
     inset: 0;
     z-index: 1;
 }

 .testimonial-content {
     position: relative;
     z-index: 2;
     max-width: 850px;
     margin: 0 auto;
     text-align: center;
 }

 .testimonial-header {
     margin-bottom: 16px;
 }

 .testimonial-subtitle {
     color: #6794db;
     font-size: 1.01rem;
     font-weight: 500;
     letter-spacing: 0.4px;
     margin-bottom: 0.2rem;
     display: block;
 }

 .testimonial-title {
     color: #122648;
     font-size: 2rem;
     font-weight: 700;
     margin: 0 0 2rem 0;
     letter-spacing: 0.2px;
 }

 .testimonial-card {
     background: #fff;
     border-radius: 12px;
     box-shadow: 0 4px 18px rgba(120, 160, 255, 0.10);
     padding: 2.4rem 2.7rem 2.2rem 2.7rem;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     align-items: center;
     min-width: 320px;
     max-width: 620px;
     transition: opacity 0.35s;
 }

 .testimonial-card.fade-out {
     opacity: 0;
 }

 .testimonial-card.fade-in {
     opacity: 1;
 }

 .testimonial-avatar {
     width: 52px;
     height: 52px;
     border-radius: 50%;
     margin-bottom: 7px;
     border: 3px solid #e0edf9;
     object-fit: cover;
     box-shadow: 0 1px 6px rgba(42, 98, 174, 0.11);
 }

 .testimonial-name {
     font-size: 1.18rem;
     font-weight: 700;
     color: #1e345f;
     margin-bottom: 8px;
     margin-top: 2px;
 }

 .testimonial-text {
     font-size: 0.99rem;
     color: #444a73;
     font-style: italic;
     opacity: 0.91;
     line-height: 1.57;
 }

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

 .dot {
     width: 9px;
     height: 9px;
     border-radius: 50%;
     background: #b7d5fb;
     opacity: 0.5;
     display: inline-block;
     transition: background 0.2s, opacity 0.2s;
     cursor: pointer;
 }

 .dot.active {
     background: #27dbfd;
     opacity: 1;
 }

 @media (max-width: 700px) {
     .testimonial-card {
         padding: 1.3rem 1rem;
         min-width: unset;
     }

     .testimonial-title {
         font-size: 1.2rem;
     }
 }




 .testimonial-section-alt {
     background: #f4f8fb;
     padding: 70px 0 100px 0;
     text-align: center;
     position: relative;
     z-index: 2;
     overflow: hidden;
 }

 .testimonial-alt-header {
     margin-bottom: 38px;
 }

 .testimonial-alt-header span {
     font-weight: 500;
     color: #12aefb;
     font-size: 1rem;
     letter-spacing: .5px;
 }

 .testimonial-alt-header h2 {
     font-size: 2.1rem;
     color: #133454;
     letter-spacing: 0px;
     margin: 12px 0 0 0;
     font-weight: 800;
 }

 .testimonial-alt-slider-3 {
     display: flex;
     gap: 32px;
     justify-content: center;
     align-items: stretch;
     overflow: hidden;
     position: relative;
     max-width: 1180px;
     margin: 0 auto;
     min-height: 300px;
     transition: min-height 0.25s;
 }

 /* Card styling */
 .testimonial-alt-card-3 {
     background: #fff;
     border-radius: 16px;
     box-shadow: 0 4px 28px rgba(20, 128, 255, 0.08), 0 1.5px 6px rgba(21, 140, 210, 0.10);
     padding: 48px 38px 30px 38px;
     position: relative;
     text-align: left;
     width: 368px;
     max-width: 86vw;
     margin: 0 auto;
     display: flex;
     flex-direction: column;
     align-items: center;
     opacity: 0.55;
     transform: scale(.93) translateY(18px);
     pointer-events: none;
     filter: blur(1.5px) grayscale(35%);
     transition: all 0.35s cubic-bezier(.7, -0.04, .49, 1.15);
     z-index: 1;
 }

 .testimonial-alt-card-3.active {
     opacity: 1;
     z-index: 10;
     pointer-events: auto;
     transform: scale(1) translateY(0);
     filter: none;
     box-shadow: 0 8px 32px rgba(18, 202, 255, 0.13), 0 1.5px 6px rgba(21, 140, 210, 0.11);
 }

 .testimonial-alt-card-3.inactive-left,
 .testimonial-alt-card-3.inactive-right {
     opacity: 0.78;
     filter: blur(.5px) grayscale(8%);
     pointer-events: none;
     z-index: 2;
 }

 .testimonial-alt-card-3:not(.active):not(.inactive-left):not(.inactive-right) {
     display: none;
 }

 .testimonial-alt-quote {
     position: absolute;
     top: 8px;
     left: 24px;
     font-size: 2.5rem;
     color: #18befc;
     opacity: .18;
     pointer-events: none;
 }

 .testimonial-alt-avatar {
     width: 76px;
     height: 76px;
     border-radius: 50%;
     border: 4px solid #ebf6fd;
     object-fit: cover;
     margin: -58px auto 14px;
     display: block;
     background: #fff;
     box-shadow: 0 2px 20px #0083c11f;
 }

 .testimonial-alt-name {
     font-weight: 700;
     color: #0f395a;
     font-size: 1.11rem;
     margin-bottom: 1px;
     margin-top: 0;
 }

 .testimonial-alt-role {
     color: #6ca7d1;
     font-size: .95rem;
     margin-bottom: 10px;
 }

 .testimonial-alt-stars {
     margin-bottom: 10px;
 }

 .star-icon {
     color: #ffcb2d;
     font-size: 1.04rem;
     margin-right: 2px;
     vertical-align: -2px;
 }

 .testimonial-alt-text {
     font-size: 1.06rem;
     color: #3c4663;
     font-style: italic;
     margin: 0;
     line-height: 1.7;
 }

 .testimonial-alt-dots {
     margin-top: 34px;
     display: flex;
     justify-content: center;
     gap: 7px;
 }

 .testimonial-alt-dot {
     width: 11px;
     height: 11px;
     border-radius: 50%;
     background: #b7d5fb;
     opacity: 0.5;
     display: inline-block;
     transition: background 0.2s, opacity 0.2s;
     cursor: pointer;
 }

 .testimonial-alt-dot.active {
     background: #18befc;
     opacity: 1;
 }

 @media (max-width: 1200px) {
     .testimonial-alt-slider-3 {
         max-width: 95vw;
         gap: 14px;
     }

     .testimonial-alt-card-3 {
         width: 320px;
         max-width: 96vw;
         padding: 36px 8px 22px 8px;
     }
 }

 @media (max-width: 800px) {
     .testimonial-alt-slider-3 {
         gap: 4px;
         min-height: 0;
     }

     .testimonial-alt-card-3 {
         width: 98vw;
     }

     .testimonial-alt-card-3:not(.active) {
         display: none !important;
     }
 }

 @media (max-width: 600px) {
     .testimonial-section-alt {
         padding: 35px 0 60px 0;
     }

     .testimonial-alt-header h2 {
         font-size: 1.22rem;
     }

     .testimonial-alt-card-3 {
         padding: 33px 7px 18px 7px;
         width: 98vw;
         min-width: 0;
         max-width: 97vw;
     }

     .testimonial-alt-avatar {
         width: 59px;
         height: 59px;
         margin-top: -37px;
     }
 }








 .floating-buttons {
     position: fixed;
     right: 20px;
     bottom: 20px;
     display: flex;
     flex-direction: column;
     gap: 15px;
     z-index: 99;
 }

 .floating-btn {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
     transition: all 0.3s ease;
 }

 .floating-btn:hover {
     transform: translateY(-3px) scale(1.1);
     box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
 }

 .whatsapp-btn {
     background: #25D366;
 }

 .call-btn {
     background: #2c84c5;
 }

 .instagram-btn {
     background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
 }

 .floating-btn img {
     width: 24px;
     height: 24px;
 }

 /* Book Appointment Button */
 .book-appointment-btn {
     display: block;
     background: linear-gradient(135deg, #2c84c5 0%, #4bb5e3 100%);
     color: white;
     text-align: center;
     padding: 14px 25px;
     border-radius: 30px;
     text-decoration: none;
     font-weight: 600;
     margin: 30px auto;
     max-width: 250px;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(44, 132, 197, 0.4);
     border: none;
     text-transform: uppercase;
     letter-spacing: 1px;
     font-size: 14px;
     position: relative;
     overflow: hidden;
 }

 .book-appointment-btn:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(44, 132, 197, 0.6);
 }

 .book-appointment-btn::after {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
 }


 /* Modern Medical Footer with Gradient */
 .expertlab-footer {
     background: linear-gradient(135deg, #b1f0eb 0%, #8fd3f1 50%, #5a9bd5 100%);
     color: #2d3748;

     padding: 60px 0 30px;
     position: relative;
     overflow: hidden;
 }

 /* Watermark effect */
 .expertlab-footer::before {
     content: '';
     position: absolute;
     top: 0;
     left: 0;
     right: 0;
     bottom: 0;
     background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" opacity="0.05"><path d="M30,10 L50,30 L70,10" fill="none" stroke="%232d3748" stroke-width="2"/><path d="M30,50 L50,70 L70,50" fill="none" stroke="%232d3748" stroke-width="2"/><circle cx="20" cy="20" r="5" fill="%232d3748"/><circle cx="80" cy="80" r="5" fill="%232d3748"/></svg>');
     opacity: 0.1;
     z-index: 0;
 }

 .footer-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
     position: relative;
     z-index: 1;
 }

 .footer-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
     gap: 30px;
     margin-bottom: 40px;
 }

 .footer-column h3 {
     color: #1a365d;
     font-size: 18px;
     font-weight: 700;
     margin-bottom: 20px;
     position: relative;
     padding-bottom: 10px;
 }

 .footer-column h3::after {
     content: '';
     position: absolute;
     left: 0;
     bottom: 0;
     width: 40px;
     height: 3px;
     background: linear-gradient(90deg, #3182ce, #5a9bd5);
     border-radius: 3px;
 }

 .footer-logo {
     margin-bottom: 20px;
 }

 .footer-logo img {
     max-width: 180px;
     height: auto;
     filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
 }

 .footer-about {
     margin-bottom: 20px;
     line-height: 1.6;
     color: #2d3748;
     font-weight: 500;
 }

 .footer-links {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .footer-links li {
     margin-bottom: 12px;
 }

 .footer-links a {
     color: #2d3748;
     text-decoration: none;
     transition: all 0.2s ease;
     display: flex;
     align-items: center;
     font-weight: 500;
 }

 .footer-links a:hover {
     color: #1a365d;
     transform: translateX(5px);
 }

 .footer-links i {
     margin-right: 8px;
     color: #3182ce;
     font-size: 14px;
 }

 .contact-info {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .contact-info li {
     margin-bottom: 16px;
     display: flex;
     align-items: flex-start;
 }

 .contact-info i {
     color: #3182ce;
     margin-right: 12px;
     font-size: 24px;
     margin-top: 3px;
 }
 .lab{
     font-size: 24px;  
 }

 .contact-text {
     flex: 1;
 }

 .contact-text span {
     display: block;
     font-size: 14px;
     color: #4a5568;
     margin-bottom: 3px;
     font-weight: 500;
 }

 .contact-text a {
     color: #2d3748;
     text-decoration: none;
     transition: all 0.2s ease;
     font-weight: 600;
 }

 .contact-text a:hover {
     color: #1a365d;
 }

 .footer-bottom {
     text-align: center;
     padding-top: 30px;
     border-top: 1px solid rgba(255, 255, 255, 0.3);
     color: #2d3748;
     font-size: 14px;
     font-weight: 500;
 }

 .footer-bottom a {
     color: #1a365d;
     text-decoration: none;
     font-weight: 700;
 }

 .social-links {
     display: flex;
     gap: 12px;
     margin-top: 20px;
 }

 .social-links a {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 36px;
     height: 36px;
     border-radius: 50%;
    background: #237dc7;
    /* backdrop-filter: blur(5px); */
    color: #ffff;
     transition: all 0.3s ease;
 }

 .social-links a:hover {
     background: rgba(255, 255, 255, 0.5);
     color: #1a365d;
     transform: translateY(-3px);
 }

 /* Floating CTA Button */
 .footer-cta {
     display: inline-block;
     background: linear-gradient(135deg, #3182ce, #5a9bd5);
     color: white;
     padding: 12px 25px;
     border-radius: 30px;
     text-decoration: none;
     font-weight: 600;
     margin-top: 15px;
     box-shadow: 0 4px 15px rgba(49, 130, 206, 0.4);
     transition: all 0.3s ease;
     border: none;
 }

 .footer-cta:hover {
     transform: translateY(-3px);
     box-shadow: 0 6px 20px rgba(49, 130, 206, 0.6);
 }

 /* Responsive adjustments */
 @media (max-width: 768px) {
     .footer-grid {
         grid-template-columns: 1fr;
         gap: 30px;
     }

     .footer-column h3 {
         font-size: 17px;
     }
 }

 /* Floating Action Buttons Container */
 .fab-container {
     position: fixed;
     bottom: 30px;
     width: 100%;
     display: flex;
     justify-content: space-between;
     pointer-events: none;
     z-index: 999;
     padding: 0 20px;
     box-sizing: border-box;
 }

 /* Left Side - Book Appointment FAB */
 .fab-appointment {
     pointer-events: auto;
 }

 .book-now-btn-floats {
     display: flex;
     align-items: center;
     justify-content: center;
     background: linear-gradient(135deg, #3182ce, #5a9bd5);
     color: white;
     padding: 12px 25px;
     border-radius: 30px;
     font-weight: 600;
     font-size: 15px;
     box-shadow: 0 6px 20px rgba(49, 130, 206, 0.4);
     transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
     cursor: pointer;
     text-decoration: none;
     white-space: nowrap;
     border: none;
     text-transform: uppercase;
     letter-spacing: 0.5px;
 }

 .book-now-btn-floats:hover {
     transform: translateY(-5px);
     box-shadow: 0 8px 25px rgba(49, 130, 206, 0.6);
     background: linear-gradient(135deg, #2b75c1, #4f8fd1);
 }

 /* Right Side - Social FABs */
 .fab-socials {
     display: flex;
     gap: 15px;
     pointer-events: auto;
 }

 .floating-btn {
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
     transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
 }

 .floating-btn:hover {
     transform: translateY(-5px) scale(1.1);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
 }

 .whatsapp-btn {
     background: #25D366;
 }

 .call-btn {
     background: #3182ce;
 }

 .instagram-btn {
     background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
 }

 .floating-btn img {
     width: 24px;
     height: 24px;
 }

 /* Pulse Animation for Attention */
 @keyframes subtlePulse {
     0% {
         transform: translateY(0);
     }

     50% {
         transform: translateY(-3px);
     }

     100% {
         transform: translateY(0);
     }
 }

 .book-now-btn {
     animation: subtlePulse 3s infinite;
 }

 /* Responsive Adjustments */
 @media (max-width: 768px) {
     .fab-container {
         bottom: 20px;
         padding: 0 15px;
     }

     .book-now-btn {
         padding: 10px 20px;
         font-size: 14px;
     }

     .fab-socials {
         gap: 10px;
     }

     .floating-btn {
         width: 45px;
         height: 45px;
     }
 }

 @media (max-width: 480px) {
     .book-now-btn {
         padding: 8px 15px;
         font-size: 13px;
         border-radius: 25px;
     }
 }



 .section {
     margin: 50px 0px 50px 0px;
     text-align: center;
 }

 .section-title {
     margin-bottom: 40px;
     /* text-transform: uppercase; */
 }

 .tags {
     max-width: 1200px;
     margin: 0 auto;
     display: flex;
     flex-wrap: wrap;
     justify-content: center;
     gap: 10px;
 }

 .tags a {
     color: #2c84c5;
     text-decoration: none;
     font-size: 16px;
 }

 .tags a:hover {
     text-decoration: underline;
 }

 @media (max-width: 600px) {
     .tags a {
         font-size: 14px;
     }
 }

 /* cart page */
 :root {
     --primary: #3182ce;
     --primary-dark: #2c5282;
     --secondary: #edf2f7;
     --accent: #e53e3e;
     --text: #2d3748;
     --text-light: #718096;
     --border: #e2e8f0;
     --success: #48bb78;
     --danger: #f56565;
     --warning: #ed8936;
 }






 .btn i {
     font-size: 1.1em;
 }

 .btn-primary {
     background: var(--primary);
     border-color: var(--primary);
 }

 .btn-primary:hover {
     background: var(--primary-dark);
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(49, 130, 206, 0.3);
 }

 .btn-outline {
     border: 1px solid var(--primary);
     color: var(--primary);
     background: transparent;
 }

 .btn-outline:hover {
     background: rgba(49, 130, 206, 0.1);
 }


 .cart-count {
     background: var(--primary);
     color: #ad0d0d;
     border-radius: 50%;
     width: 20px;
     height: 20px;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     font-size: 0.75rem;
     margin-left: 5px;
 }

 .btn {
     padding: 0.5rem 1rem;
     border-radius: 6px;
     font-weight: 500;
     display: inline-flex;
     align-items: center;
 }

 .btn-cart,
 .btn-profile {
     background: var(--white);
     color: var(--text);
     border: 1px solid var(--border);
 }

 .btn-cart:hover,
 .btn-profile:hover {
     background: var(--secondary);
 }

 .main-navbar .navbar .navbar-nav .nav-item a i {
     top: -1px;
 }

 .btn-cart,
 .btn-profile {
     background: var(--white);
     color: var(--text);
     border: 1px solid var(--border);
 }

 .btn-cart:hover,
 .btn-profile:hover {
     background: var(--secondary);
 }

 @media (max-width: 1199.98px) {
     .btn {
         padding: 7px 16px;
         font-size: 0.95rem;
     }
 }

 @media (max-width: 991.98px) {
     .nav-item {
         margin: 5px 0;
     }

     .nav-item .btn {
         width: 50% !important;
         margin: 8px 20px !important;
         float: none !important;
         justify-content: flex-start;
         padding: 10px 16px;
     }
 }

 @media (max-width: 767.98px) {

     /* Mobile styles */
     .btn {
         /* width: 50% !important; */
         margin: 8px 20px !important;
         float: none !important;
         justify-content: flex-start;
         padding: 10px 16px;
     }

     .btn i {
         font-size: 1rem;
     }
 }

 @media (max-width: 575.98px) {
     .btn {
         /* width: 50% !important; */
         margin: 8px !important;
         float: none !important;
         justify-content: center;
         padding: 10px 16px;
         font-size: 0.8rem;
     }

     .btn i {
         margin-right: 5px;
     }
 }

 .single-services-item .icon i {
     background-color: #237dc7;
     color: #fff;
 }


 /* cart page */

 /* Page Header */
 .page-title-area {
     background: linear-gradient(135deg, var(--primary), var(--primary-dark));
     color: white;
     padding: 60px 0;
     margin-bottom: 40px;
     text-align: center;
 }

 .page-title-content h4 {
     font-size: 28px;
     font-weight: 700;
     margin-bottom: 15px;
 }

 .page-title-content ul {
     display: flex;
     justify-content: center;
     padding: 0;
     margin: 0;
     list-style: none;
     flex-wrap: wrap;
 }

 .page-title-content ul li {
     margin: 0 10px;
     position: relative;
 }

 .page-title-content ul li:not(:last-child)::after {
     content: '/';
     position: absolute;
     right: -12px;
     color: rgba(255, 255, 255, 0.7);
 }

 .page-title-content ul li a {
     color: rgba(255, 255, 255, 0.9);
     text-decoration: none;
     transition: all 0.2s ease;
 }

 .page-title-content ul li a:hover {
     color: white;
     text-decoration: underline;
 }

 .page-title-content ul li:last-child {
     color: white;
 }

 /* Cart Container */
 .cart-container {
     max-width: 1200px;
     margin: 0 auto;
     padding: 0 20px;
 }

 /* Cart Table */
 .cart-table {
     width: 100%;
     border-collapse: separate;
     border-spacing: 0;
     margin-bottom: 30px;
     background: white;
     border-radius: 12px;
     overflow: hidden;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
 }

 .cart-table th {
     background: var(--secondary);
     padding: 15px;
     text-align: left;
     font-weight: 600;
     color: var(--text);
 }

 .cart-table td {
     padding: 15px;
     border-bottom: 1px solid var(--border);
     vertical-align: middle;
 }

 .cart-table tr:last-child td {
     border-bottom: none;
 }

 .remove-btn {
     color: var(--danger);
     background: none;
     border: none;
     font-size: 18px;
     cursor: pointer;
     transition: all 0.2s ease;
     width: 32px;
     height: 32px;
     display: flex;
     align-items: center;
     justify-content: center;
     border-radius: 50%;
 }

 .remove-btn:hover {
     background: rgba(245, 101, 101, 0.1);
     transform: scale(1.1);
 }

 /* Member Cards */
 .members-section {
     /* margin: 40px 0; */
 }

 .members-section h2 {
     margin-bottom: 4px;
     color: var(--primary-dark);
     display: flex;
     align-items: center;
     gap: 10px;

 }

 .member-card {
     background: white;
     border-radius: 12px;
     padding: 20px;
     margin-bottom: 20px;
     box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
     border-left: 4px solid var(--primary);
     transition: transform 0.2s ease;
 }

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

 .member-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 0px;
     padding: 0px;

 }

 .member-header h3 {
     margin: 0;
     font-size: 18px;
     display: flex;
     align-items: center;
     gap: 8px;
     color: #fff;
 }

 .member-actions {
     display: flex;
     gap: 10px;
 }

 .member-actions button {
     background: none;
     border: none;
     cursor: pointer;
     font-size: 16px;
     width: 32px;
     height: 32px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     transition: all 0.2s ease;
 }

 .member-actions .edit-btn {
     color: #fff;
 }

 .member-actions .edit-btn:hover {
     background: rgba(49, 130, 206, 0.1);
 }

 .member-actions .remove-btn {
     color: var(--danger);
 }

 .member-actions .remove-btn:hover {
     background: rgba(245, 101, 101, 0.1);
 }

 .test-list {
     list-style: none;
     padding: 0;
     margin: 0;
 }

 .test-list li {
     display: flex;
     justify-content: space-between;
     padding: 0px 0;
     border-bottom: 1px dashed var(--border);
     align-items: center;
 }

 .test-list li:last-child {
     border-bottom: none;
 }

 .test-list li .remove-btn {
     margin-left: 10px;
     font-size: 14px;
 }

 .member-total {
     text-align: right;
     font-weight: 600;
     margin-top: 15px;
     color: var(--primary-dark);
     font-size: 16px;
 }

 /* Cart Summary */
 .cart-summary {
     background: white;
     border-radius: 12px;
     padding: 25px;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
     margin-bottom: 30px;
 }

 .cart-summary h3 {
     margin-top: 0;
     margin-bottom: 20px;
     color: var(--primary-dark);
     display: flex;
     align-items: center;
     gap: 10px;
 }

 .summary-table {
     width: 100%;
     margin-bottom: 20px;
 }

 .summary-table td {
     padding: 12px 0;
     border-bottom: 1px solid var(--border);
 }

 .summary-table tr:last-child td {
     border-bottom: none;
     font-weight: 600;
     font-size: 18px;
 }

 .coupon-form {
     display: flex;
     gap: 10px;
     margin-bottom: 20px;
 }

 .coupon-form input {
     flex: 1;
     padding: 12px 15px;
     border: 1px solid var(--border);
     border-radius: 8px;
     font-size: 1rem;
 }

 /* Empty Cart */
 .empty-cart {
     text-align: center;
     padding: 60px 0;
 }

 .empty-cart i {
     font-size: 12px;
     color: #ffffff;
     margin-bottom: 0;
 }

 .empty-cart-icon i {
     color: #2e5070;
     font-size: 60px;
 }

 .empty-cart h3 {
     margin-bottom: 15px;
     font-size: 24px;
 }

 .empty-cart p {
     color: var(--text-light);
     margin-bottom: 25px;
     font-size: 16px;
 }

 /* Enhanced Modal with Auto-Scrolling */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1050;
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
    overflow-y: auto; /* Enable overlay scrolling */
    padding: 20px 0; /* Add padding for small screens */
}

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

.modal-content {
    width: 90%;
    max-width: 600px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    transform: translateY(20px);
    animation: slideUp 0.3s ease forwards;
    margin: auto; /* Center vertically */
    max-height: 90vh; /* Limit height relative to viewport */
    display: flex;
    flex-direction: column;
}

@keyframes slideUp {
    to { transform: translateY(0); }
}

.modal-header {
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    position: relative;
    flex-shrink: 0; /* Prevent header from shrinking */
}

.modal-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 20px;
    overflow-y: auto; /* Enable scrolling */
    flex-grow: 1; /* Take remaining space */
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

/* Improved Form Elements */
.form-row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.form-col {
    flex: 1;
    min-width: 200px;
    padding: 0 10px;
    margin-bottom: 15px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #4a5568;
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.2s ease;
    background-color: #f8fafc;
}

.form-control:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.2);
    background-color: white;
    outline: none;
}

/* Enhanced Test Selection Area */
.test-selection {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    margin-top: 20px;
}

.test-list-container {
    max-height: 40vh; /* Responsive height */
    overflow-y: auto;
    padding: 10px;
    background: #f8fafc;
    border-radius: 6px;
    margin-top: 15px;
    scrollbar-width: thin; /* For Firefox */
    scrollbar-color: #cbd5e0 #f8fafc; /* For Firefox */
}

/* Custom scrollbar for Webkit browsers */
.test-list-container::-webkit-scrollbar {
    width: 6px;
}

.test-list-container::-webkit-scrollbar-track {
    background: #f8fafc;
}

.test-list-container::-webkit-scrollbar-thumb {
    background-color: #cbd5e0;
    border-radius: 3px;
}

.test-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
}

.test-item:last-child {
    border-bottom: none;
}

.test-checkbox {
    margin-right: 15px;
    width: 18px;
    height: 18px;
    accent-color: #3182ce;
}

.test-label {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.test-name {
    color: #2d3748;
    font-size: 0.95rem;
}

.test-price {
    color: #3182ce;
    font-weight: 600;
    font-size: 0.95rem;
}

.member-total-display {
    background: #ebf8ff;
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: right;
}

.member-total-display h4 {
    margin: 0;
    color: #2b6cb0;
    font-size: 1.2rem;
}

.member-total-display span {
    font-size: 1.4rem;
    font-weight: 700;
    color: #3182ce;
}

.modal-footer {
    display: flex;
    justify-content: flex-end;
    padding: 15px 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    flex-shrink: 0; /* Prevent footer from shrinking */
}

/* Responsive adjustments */
@media (max-height: 700px) {
    .modal-content {
        max-height: 85vh;
    }
    
    .test-list-container {
        max-height: 35vh;
    }
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
    }
    
    .form-col {
        min-width: 100%;
    }
    
    .modal-header h3 {
        font-size: 1rem;
    }
    
    .test-name, .test-price {
        font-size: 0.85rem;
    }
}
 /* Alert Styles */
 .alert {
     padding: 15px;
     border-radius: 8px;
     margin-bottom: 20px;
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .alert-success {
     background-color: #f0fff4;
     border: 1px solid #c6f6d5;
     color: #2f855a;
 }

 .alert-danger {
     background-color: #fff5f5;
     border: 1px solid #fed7d7;
     color: #c53030;
 }

 .alert-info {
     background-color: #ebf8ff;
     border: 1px solid #bee3f8;
     color: #2b6cb0;
 }

 .close {
     background: none;
     border: none;
     font-size: 1.5rem;
     cursor: pointer;
     color: inherit;
     opacity: 0.7;
     transition: all 0.2s ease;
 }

 .close:hover {
     opacity: 1;
 }

 /* Responsive adjustments */
 @media (max-width: 992px) {
     .cart-container .row>div {
         width: 100%;
     }
 }

 @media (max-width: 768px) {
     .form-col {
         flex: 100%;
     }

     .modal-content {
         width: 95%;
     }

     .modal-body {
         padding: 15px;
     }

     .coupon-form {
         flex-direction: column;
     }

     .page-title-area {
         padding: 40px 0;
     }

     .page-title-content h4 {
         font-size: 24px;
     }

     .cart-table th,
     .cart-table td {
         padding: 10px;
     }

     .member-header {
         flex-direction: column;
         align-items: flex-start;
         gap: 10px;
     }

     .member-actions {
         align-self: flex-end;
     }
 }

 @media (max-width: 576px) {
     .page-title-content ul li {
         margin: 0 5px;
     }

     .page-title-content ul li:not(:last-child)::after {
         right: -8px;
     }

     .cart-summary {
         padding: 15px;
     }
 }

 /* Button Styles */

 .btn-lg {
     padding: 0.875rem 1.75rem;
     font-size: 1.125rem;
     min-width: 140px;
 }

 .btn-primary {
     background-color: var(--primary);
     border-color: var(--primary);
     color: white;
 }

 .btn-primary:hover {
     background-color: var(--primary-dark);
     transform: translateY(-2px);
     box-shadow: 0 4px 12px rgba(49, 130, 206, 0.2);
 }

 .btn-outline-primary {
     border: 1px solid var(--primary);
     color: var(--primary);
     background-color: transparent;
 }

 .btn-outline-primary:hover {
     background-color: rgba(49, 130, 206, 0.1);
 }

 /* Empty Cart Section */
 .empty-cart {
     background: white;
     padding: 0px;
     border-radius: 0.75rem;
     box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
 }

 .empty-cart-icon {
     font-size: 3.5rem;
     color: var(--primary);
     margin-bottom: 1.5rem;
     display: inline-flex;
     align-items: center;
     justify-content: center;
     width: 6rem;
     height: 6rem;
     background: rgba(49, 130, 206, 0.1);
     border-radius: 50%;
 }

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

 /* Responsive Adjustments */
 @media (max-width: 768px) {


     .btn-lg {
         padding: 0.75rem 1.5rem;
         font-size: 1rem;
     }

     .action-buttons {
         flex-direction: column;
         gap: 0.75rem;
     }

     .action-buttons .btn {
         width: 100%;
         max-width: 240px;
         margin: 0 auto;
     }
 }


 #membersContainer {
     margin: 0;
     padding: 0;
 }

 .member-card {
     border: 1px solid #ddd;
     border-radius: 8px;
     padding: 10px;
     background: #fff;
 }

 .member-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
 }

 .member-header h3 {
     font-size: 16px;
     margin: 0;
 }

 .member-header small {
     font-size: 11px;
     color: #666;
 }

 .member-actions button {
     background: none;
     border: none;
     cursor: pointer;
     font-size: 14px;
     color: #007bff;
 }

 .member-actions button:hover {
     color: #0056b3;
 }

 .test-list {
     list-style: none;
     margin: 5px 0 0 0;
     padding: 0;
 }

 .test-list li {
     display: flex;
     justify-content: space-between;
     font-size: 13px;
     padding: 5px 0;
 }

 .test-list li button.remove-btn {
     background: none;
     border: none;
     color: #dc3545;
     font-size: 16px;
     cursor: pointer;
 }

 .test-list li button.remove-btn:hover {
     color: #a71d2a;
 }

 .member-total {
     text-align: right;
     font-weight: 600;
     font-size: 14px;
     margin-top: 0px;
 }

 .test-list {
     min-height: auto !important;
 }

 .view-cart-btn {
     /* Size & Layout */

     border-radius: 6px;

     /* Gradient & Text */
     background: linear-gradient(135deg, #1A73E8 0%, #00C4FF 100%);
     color: white;
     font-size: 14px;
     font-weight: 500;

     /* Effects */
     border: none;
     box-shadow: 0 2px 8px rgba(26, 115, 232, 0.2);
     transition: all 0.2s;

     /* Flex Alignment */
     display: inline-flex;
     align-items: center;
     gap: 6px;
 }

 .view-cart-btn:hover {
     background: linear-gradient(135deg, #0D5BC5 0%, #00A8E0 100%);
     transform: translateY(-1px);
     box-shadow: 0 4px 10px rgba(26, 115, 232, 0.3);
 }

 .view-cart-btn ion-icon {
     font-size: 16px;
     /* Perfectly matches 14px text */
 }

 .cart-counter {
     background: white;
     color: #1A73E8;
     border-radius: 50%;
     padding: 0 5px;
     font-size: 12px;
     font-weight: bold;
     margin-left: 4px;
 }


 .book-now-btn {
     /* Size & Layout */


     /* Gradient & Text */
     background: linear-gradient(135deg, #FF4D4D 0%, #E53E3E 100%);
     color: white;
     font-size: 14px;
     font-weight: 500;

     /* Effects */
     border: none;
     box-shadow: 0 2px 8px rgba(229, 62, 62, 0.3);
     transition: all 0.2s;

     /* Flex Alignment */
     display: inline-flex;
     align-items: center;
     gap: 6px;
 }

 .book-now-btn:hover {
     background: linear-gradient(135deg, #E53E3E 0%, #C53030 100%);
     transform: translateY(-1px);
     box-shadow: 0 4px 10px rgba(229, 62, 62, 0.4);
 }

 .book-now-btn:active {
     animation: pulse-red 0.8s;
 }

 .book-now-btn ion-icon {
     font-size: 16px;
 }

 @keyframes pulse-red {
     0% {
         box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.4);
     }

     70% {
         box-shadow: 0 0 0 8px rgba(255, 77, 77, 0);
     }

     100% {
         box-shadow: 0 0 0 0 rgba(255, 77, 77, 0);
     }
 }

 .cart-count {
     background: #ffffff00;
     font-size: 15px;
     margin-left: 0px;
 }


 /*================================================
Top Area CSS
=================================================*/
 .top-header {
     background-color: #05152f;
     padding-top: 0px;
     padding-bottom: 8px;
 }

 .top-header .top-left {
     padding-left: 0;
     text-align: left;
     margin-bottom: 0;
 }

 .top-header .top-left li {
     list-style-type: none;
     display: inline-block;
     color: #ffffff;
     margin-right: 20px;
     -webkit-transition: 0.5s;
     transition: 0.5s;
     font-weight: 400;
     font-size: 12px;
 }

 .top-header .top-left li:last-child {
     margin-right: 0;
 }
 .footer-right{
      text-align: right !important;;
    }
 .top-header .top-left li a {
     color: #ffffff;
 }

 .top-header .top-left li i {
     font-size: 22px;
     color: #12a3ff;
     position: relative;
     top: 2px;
     line-height: 0;
     margin-right: 4px;
 }

 .top-header .top-right {
     padding-left: 0;
     text-align: right;
     margin-bottom: 0;
 }

 .top-header .top-right li {
     list-style-type: none;
     display: inline-block;
     color: #ffffff;
     margin-right: 20px;
     -webkit-transition: 0.5s;
     transition: 0.5s;
     font-weight: 400;
     font-size: 15px;
 }

 .top-header .top-right li:last-child {
     margin-right: 0;
 }

 .top-header .top-right li a {
     color: #ffffff;
 }

 .top-header .top-right li i {
     font-size: 22px;
     color: #12a3ff;
     position: relative;
     top: 2px;
     line-height: 0;
     margin-right: 4px;
 }

 .es-main-content a {
     display: none !important;
 }

 .hvsvmR>a {
     display: none !important;
     opacity: 0 !important;
 }

 a[href*="elfsight.com/google-reviews-widget"] {
     display: none !important;
     visibility: hidden !important;
     opacity: 0 !important;
     height: 0 !important;
     width: 0 !important;
     overflow: hidden !important;
     position: absolute !important;
     z-index: -9999 !important;
 }

 .fab-call {
     position: fixed;
     bottom: 20px;
     right: 20px;
     z-index: 999;
 }

 .call-now-btn {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     background-color: #25D366;
     /* WhatsApp green color */
     color: white;
     font-size: 24px;
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
     text-decoration: none;
     transition: all 0.3s;
 }

 .call-now-btn:hover {
     background-color: #128C7E;
     /* Darker green on hover */
     transform: scale(1.1);
 }

 .fab-call-left {
     position: fixed;
     bottom: 20px;
     left: 20px;
     z-index: 999;
 }

 .call-now-btn {
     display: flex;
     align-items: center;
     justify-content: center;
     width: 50px;
     height: 50px;
     border-radius: 50%;
     background-color: #25D366;
     color: white;
     font-size: 24px;
     box-shadow: 0 2px 5px #128C7E;
     text-decoration: none;
     transition: all 0.3s;
     cursor: pointer;
     /* Ensures hand cursor */
 }

 .call-now-btn:hover {
     background-color: #25D366;
     transform: scale(1.1);
     color: white;
 }

 .nice-select .list {
     max-height: 150px;
     overflow-y: auto;
     width: 100% !important;
 }


 /* Mobile Navigation Styles (max-width: 991px) */
@media only screen and (max-width: 991px) {
    /* Base container styles */
    .mean-container .mean-nav {
        background: #fff;
        margin-top: 80px; /* Space for header */
    }
    
    /* Logo styling */
    .mobile-nav .logo {
        font-size: 20px;
        font-weight: 700;
        color: #000;
        padding: 15px;
        display: block;
    }
    
    /* All menu items */
    .mean-container .mean-nav ul li a {
        display: block;
        width: 90%;
        margin: 0 auto;
        padding: 15px 5%;
        font-size: 16px;
        border-bottom: 1px solid #eee;
        text-align: justify;
    }
    
    /* Regular links (like Contact) */
    .mean-container .mean-nav ul li a.nav-link {
        color: #333;
    }
    
    /* Button-style links */
    .mean-container .mean-nav ul li a.btn {
        border-radius: 30px;
        margin: 10px auto;
        min-height: 30px;
         display: flex;
        align-items: center;
    }
    
    /* Login button */
    .mean-container .mean-nav ul li a.btn-login {
        background: linear-gradient(to right, #ff2d55, #ff6b6b);
        color: white !important;
        box-shadow: 0 4px 6px rgba(255, 45, 85, 0.1);
    }
    
    /* Cart button */
    .mean-container .mean-nav ul li a.ttm-btn {
        background: #252525;
        color: white !important;
        position: relative;
    }
    
    /* Cart count bubble */
    .mean-container .mean-nav ul li a .cart-count {
        background: #ff2d55;
        color: white;
        border-radius: 50%;
        padding: 2px 6px;
        font-size: 12px;
        margin-left: 5px;
    }
    
    /* Book Appointment button */
    .mean-container .mean-nav ul li a.btn-appointment {
        background: linear-gradient(to right, #0066cc, #004d99);
        color: white !important;
        font-weight: 500;
        box-shadow: 0 4px 8px rgba(0, 102, 204, 0.2);
    }
    
    /* Button hover/active states */
    .mean-container .mean-nav ul li a.btn:active {
        transform: translateY(2px);
        box-shadow: none;
    }
    
    /* Icon styling */
    .mean-container .mean-nav ul li a i {
        margin-right: 8px;
        font-size: 18px;
    }
    
    /* Remove top border from first item */
    .mean-container .mean-nav ul li:first-child a {
        border-top: none;
    }
}

/* Mobile Button Improvements */
@media only screen and (max-width: 991px) {
    .mean-container .mean-nav ul li.nav-item .btn {
         width: calc(80% - 40px) !important;
        /* margin: 8px 20px !important; */
        float: none !important;
        display: flex !important
;
        justify-content: normal;
        padding: 7px !important;
        /* border-radius: 8px !important; */
        font-size: 13px !important;
        min-height: 25px !important;
        box-sizing: border-box !important;
    }

    /* Specific button styles */
    .mean-container .mean-nav ul li.nav-item .btn-login {
        background-color: #ff2d55;
        color: white !important;
    }

    .mean-container .mean-nav ul li.nav-item .ttm-btn {
        background-color: #252525;
        color: white !important;
    }

    .mean-container .mean-nav ul li.nav-item .btn-appointment {
        background-color: #ff2d55 !important;
        color: white !important;
        font-weight: 600;
        border-radius: 30px;
    }

    /* Button icons */
    .mean-container .mean-nav ul li.nav-item .btn i {
        margin-right: 10px !important;
        font-size: 18px !important;
    }

    /* Cart count styling */
    .mean-container .mean-nav ul li.nav-item .cart-count {
        margin-left: 8px !important;
        background: rgba(255,255,255,0.2);
        padding: 2px 8px;
        border-radius: 10px;
    }
}

@media only screen and (max-width: 767px) {
    .mean-container a.meanmenu-reveal {
        padding: 12px 15px 0 0;
    }
}


/* Custom Select Dropdown Styles */
.nice-select {
    -webkit-tap-highlight-color: transparent;
    background-color: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-sizing: border-box;
    clear: both;
    cursor: pointer;
    display: block;
    font-weight: normal;
    height: auto;
    line-height: 1.5;
    outline: none;
    padding: 10px 40px 10px 12px;
    position: relative;
    text-align: left !important;
    transition: all 0.2s ease;
    user-select: none;
    white-space: nowrap;
    width: 100%;
    font-size: 1rem;
    color: #4a5568;
}

.nice-select:hover {
    border-color: #cbd5e0;
}

.nice-select:active, .nice-select.open {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.2);
}

.nice-select:after {
    content: "▼";
    font-size: 0.8rem;
    color: #718096;
    height: 100%;
    margin-top: 0;
    pointer-events: none;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.15s ease;
    width: auto;
}

.nice-select.open:after {
    transform: translateY(-50%) rotate(180deg);
}

.nice-select .current {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.nice-select .list {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    box-sizing: border-box;
    margin-top: 4px;
    opacity: 0;
    overflow: hidden;
    padding: 0;
    pointer-events: none;
    position: absolute;
    top: 100%;
    left: 0;
    transform-origin: 50% 0;
    transform: scale(0.75) translateY(-21px);
    transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
    width: 100%;
    z-index: 9;
    border: 1px solid #e2e8f0;
    max-height: 210px;
    overflow-y: auto;
}

.nice-select.open .list {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1) translateY(0);
}

.nice-select .list::-webkit-scrollbar {
    width: 6px;
}

.nice-select .list::-webkit-scrollbar-track {
    background: #f8fafc;
    border-radius: 0 8px 8px 0;
}

.nice-select .list::-webkit-scrollbar-thumb {
    background-color: #cbd5e0;
    border-radius: 3px;
}

.nice-select .option {
    cursor: pointer;
    font-weight: 400;
    line-height: 1.5;
    list-style: none;
    margin: 0;
    padding: 10px 12px;
    text-align: left;
    transition: all 0.2s;
    color: #4a5568;
}

.nice-select .option:hover, 
.nice-select .option.focus, 
.nice-select .option.selected.focus {
    background-color: #ebf8ff;
    color: #3182ce;
}

.nice-select .option.selected {
    font-weight: 600;
    color: #3182ce;
    background-color: #f8fafc;
}

.nice-select .option.disabled {
    background-color: transparent;
    color: #cbd5e0;
    cursor: default;
}

/* Focus state for accessibility */
.nice-select:focus {
    border-color: #3182ce;
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.2);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .nice-select {
        padding: 10px 35px 10px 12px;
        font-size: 0.95rem;
    }
    
    .nice-select:after {
        right: 12px;
    }
    
    .nice-select .option {
        padding: 8px 12px;
    }
}