/* 
 * B-Care Diagnostics - Responsive CSS
 * Mobile-First Approach
 * Bootstrap 5 + Custom Styling
 */


.why-choose-container {
    font-family: 'Poppins', sans-serif;
    max-width: 600px;

    padding: 20px 0px 20px 76px;
    background-color: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: #000000;
    margin-bottom: 40px;
    text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.15);
}

.why-choose-block {
    position: relative;

}

/* Top Row: Pill and Scooter Alignment */
.top-row {
    /*display: flex;*/
    /*justify-content: space-between;*/
    align-items: center;
    margin-bottom: -10px;
    position: relative;
    z-index: 2;
}

.comfort-pill {
    background-color: #004d54;
    /* Clean corporate brand teal */
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
    padding: 22px 35px;
    border-radius: 50px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
}

.comfort-pill .dot {
    width: 24px;
    height: 24px;
    background-color: #ffffff;
    border-radius: 50%;
    display: inline-block;
}

.delivery-image-box {
   width: 100%;
    position: relative;
    overflow: hidden;
   
}

.delivery-img {
    width: 150px;
    height: auto;

    display: block;
    /* 3s = duration, linear = smooth speed, infinite = loops forever */
    animation: moveScooter 3s linear infinite;
}


/*.delivery-img {*/
/*    width: 100%;*/
/*    height: auto;*/
/*    display: block;*/
/*}*/

/* Vertical Timeline Layout Alignment */
.timeline-wrapper {
    position: relative;
    padding-left: 0px;
    margin-top: -15px;
}

/* The continuous vertical dash connector line */
.vertical-line {
    position: absolute;
    left: 19px;
    top: 0px;
    bottom: 35px;
    width: 4px;
    background-color: #004d54;
    z-index: 1;

}

.timeline-milestone {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

/* Rounded brand icon wrapper badges */
.icon-circle {
    width: 42px;
    height: 43px;
    background-color: #ffffff;
    border: 3px solid #004d54;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #004d54;
    font-size: 1rem;
    box-sizing: border-box;
}

.milestone-text {
    font-size: 0.87rem;
    font-weight: 500;
    color: #000000;
    text-shadow: 0px 1px 2px rgba(0, 0, 0, 0.1);
}

:root {
    --primary-color: #00515C;
    --accent-color: #F27A21;
    --surface-color: #F9FBFD;
    --text-dark: #0F172A;
    --text-gray: #64748B;
    --border-color: #E2E8F0;
    --success-color: #22C55E;
    --danger-color: #EF4444;
    --info-color: #0EA5E9;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    background-color: #FFFFFF;
    line-height: 1.6;
}

/* ===== Typography ===== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
    color: var(--text-dark);
}

h1 {
    font-size: 2rem;
    line-height: 1.2;
}

h2 {
    font-size: 1.75rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.5rem;
    line-height: 1.3;
}

/* ===== Buttons ===== */
.btn {
    border-radius: 8px;
    padding: 10px 8px;
    font-weight: 600;
    transition: var(--transition);
    border: none;
    font-size: 0.87rem;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(255, 145, 0, 0.2);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.btn-accent {
    background-color: var(--accent-color);
    color: #fff;
}

.btn-accent:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 12px 32px;
    font-size: 1rem;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.875rem;
}

/* ===== Navigation Header ===== */
.navbar {
    padding: 0.75rem 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
}

.navbar-brand {
    color: white;
    font-size: 1.35rem !important;
    font-weight: 700 !important;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--accent-color) !important;
    transform: translateY(-2px);
}

.navbar-brand img {
    max-height: 50px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.navbar-brand:hover img {
    filter: drop-shadow(0 4px 8px rgba(0, 81, 92, 0.15));
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    padding: 0.5rem 1rem !important;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
    transform: translateX(-50%);
    transition: width 0.3s ease-out;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.nav-link:hover::after {
    width: 70%;
}

/* Mobile menu improvements */
@media (max-width: 992px) {
    .nav-link {
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin: 0.75rem 0;
        font-size: 1rem;
    }

    .nav-link::after {
        display: none;
    }

    .navbar-collapse {
        margin-top: 0rem;
        border-top: 0px solid var(--border-color);
        padding-top: 0rem;
    }
}

/* ===== Hero Section ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004451 100%);
    background-image: linear-gradient(135deg, rgba(0, 81, 92, 0.95) 0%, rgba(0, 68, 81, 0.95) 100%),
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.1)" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,122.7C672,117,768,139,864,144C960,149,1056,139,1152,128C1248,117,1344,107,1392,101.3L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #fff;
    padding: 4rem 1rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255, 145, 0, 0.08);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 350px;
    height: 350px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

.hero-section h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    animation: slideInDown 0.8s ease-out;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.98;
    position: relative;
    z-index: 1;
    animation: slideInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    z-index: 1;
    animation: slideInUp 0.8s ease-out 0.4s both;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
    animation: slideInUp 0.8s ease-out 0.6s both;
}

.stat-item {
    background: rgba(255, 255, 255, 0.12);
    padding: 1.5rem 1rem;
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
    transform: translateY(0);
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-4px);
    border-color: rgba(255, 145, 0, 0.4);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.95;
    margin-top: 0.75rem;
    font-weight: 500;
}

@media (min-width: 768px) {
    .hero-section {
        padding: 6rem 2rem;
        min-height: 600px;
    }

    .hero-section h1 {
        font-size: 3.5rem;
    }

    .hero-section p {
        font-size: 1.3rem;
    }

    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }

    .stats-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 7rem 2rem;
        min-height: 650px;
    }

    .hero-section h1 {
        font-size: 4rem;
        line-height: 1.1;
    }

    .hero-section p {
        font-size: 1.5rem;
    }
}

/* ===== Cards Section ===== */
.card {
    border: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    background-color: #fff;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.card-body {
    padding: 0.1rem;
}

.card-title {
    font-weight: 600;
    color: var(--text-dark);
}

.card-text {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ===== Section Spacing ===== */
section {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    section {
        padding: 3rem 0;
        margin: 0 20px 20px;
    }
}

@media (min-width: 1024px) {
    section {
        padding: 4rem 0;
    }
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.services-grid .card {
    animation: slideInUp 0.6s ease-out forwards;
}

.services-grid .card:nth-child(1) {
    animation-delay: 0.05s;
}

.services-grid .card:nth-child(2) {
    animation-delay: 0.1s;
}

.services-grid .card:nth-child(3) {
    animation-delay: 0.15s;
}

.services-grid .card:nth-child(4) {
    animation-delay: 0.2s;
}

.services-grid .card:nth-child(5) {
    animation-delay: 0.25s;
}

.services-grid .card:nth-child(6) {
    animation-delay: 0.3s;
}

@media (min-width: 576px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ===== Package Cards ===== */
#packages {
    background: linear-gradient(135deg, #f8fafc 0%, #f0f9fc 100%);
}

.package-card {
    background: #fff;
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    transition: var(--transition);
    text-align: center;
    position: relative;
    overflow: hidden;
    animation: scaleUp 0.6s ease-out forwards;
}

.package-card:nth-child(1) {
    animation-delay: 0.05s;
}

.package-card:nth-child(2) {
    animation-delay: 0.1s;
}

.package-card:nth-child(3) {
    animation-delay: 0.15s;
}

.package-card:nth-child(4) {
    animation-delay: 0.2s;
}

.package-card:nth-child(5) {
    animation-delay: 0.25s;
}

.package-card:nth-child(6) {
    animation-delay: 0.3s;
}

.package-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-color) 0%, var(--primary-color) 100%);
}

.package-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 145, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease-out;
}

.package-card:hover {
    border-color: var(--accent-color);
    transform: translateY(-8px);
    box-shadow: 0 16px 36px rgba(0, 81, 92, 0.2);
}

.package-card:hover::after {
    opacity: 1;
}

.package-card:hover .package-name {
    color: var(--accent-color);
}

.package-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    transition: color 0.3s ease-out;
    position: relative;
    z-index: 1;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.package-price small {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.package-card .btn {
    position: relative;
    z-index: 1;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* mobile: 2 columns */
    gap: 1rem;
}

@media (min-width: 768px) {
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
        /* tablets */
    }
}

@media (min-width: 1024px) {
    .packages-grid {
        grid-template-columns: repeat(5, 1fr);
        /* laptop & desktop */
    }
}

/* ===== Why Us Section ===== */
#why-us {
    background: linear-gradient(135deg, #f0f9fc 0%, #e8f5fa 100%);
    position: relative;
    overflow: hidden;
}

#why-us::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 145, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

#why-us::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 81, 92, 0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.why-us-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
    transition: var(--transition);
    position: relative;
    z-index: 1;
    animation: slideInUp 0.6s ease-out forwards;
}

.why-us-item:nth-child(1) {
    animation-delay: 0.1s;
}

.why-us-item:nth-child(2) {
    animation-delay: 0.2s;
}

.why-us-item:nth-child(3) {
    animation-delay: 0.3s;
}

.why-us-item:nth-child(4) {
    animation-delay: 0.4s;
}

.why-us-item:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 24px rgba(0, 81, 92, 0.15);
    background: rgba(255, 255, 255, 0.95);
}

.why-us-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff7a00 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.75rem;
    box-shadow: 0 4px 12px rgba(255, 145, 0, 0.2);
}

.why-us-content h4 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    color: var(--primary-color);
    font-weight: 700;
}

.why-us-content p {
    color: var(--text-gray);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* ===== Process Section ===== */
.process-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.process-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    background: linear-gradient(135deg, rgba(240, 249, 252, 0.8) 0%, rgba(232, 245, 250, 0.8) 100%);
    border-radius: 16px;
    border: 1px solid rgba(224, 232, 240, 0.6);
    transition: var(--transition);
    animation: slideInUp 0.6s ease-out forwards;
}

.process-card:nth-child(1) {
    animation-delay: 0.1s;
}

.process-card:nth-child(2) {
    animation-delay: 0.2s;
}

.process-card:nth-child(3) {
    animation-delay: 0.3s;
}

.process-card:nth-child(4) {
    animation-delay: 0.4s;
}

.process-card:hover {
    background: linear-gradient(135deg, rgba(255, 249, 240, 0.9) 0%, rgba(240, 245, 250, 0.9) 100%);
    transform: translateY(-8px);
    box-shadow: 0 12px 36px rgba(0, 81, 92, 0.15);
    border-color: var(--accent-color);
}

.process-step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #004451 100%);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.75rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 8px 20px rgba(0, 81, 92, 0.25);
    transition: var(--transition);
}

.process-step.alt {
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff7a00 100%);
    box-shadow: 0 8px 20px rgba(255, 145, 0, 0.25);
}

.process-card:hover .process-step {
    transform: scale(1.1) rotateZ(-5deg);
}

.process-title {
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.process-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

@media (min-width: 768px) {
    .process-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .process-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }

    .process-card::after {
        content: '→';
        position: absolute;
        right: -2.5rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 2.5rem;
        color: var(--border-color);
        font-weight: 300;
        transition: all 0.3s ease-out;
    }

    .process-card:last-child::after {
        display: none;
    }

    .process-card:hover::after {
        color: var(--accent-color);
        font-weight: 600;
    }
}

/* ===== FAQ Section ===== */
.accordion-button {
    background-color: var(--surface-color);
    border: 1px solid var(--border-color);
    color: var(--text-dark);
    font-weight: 600;
    padding: 1rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: none;
}

.accordion-button:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.25rem rgba(255, 145, 0, 0.25);
}

.accordion-body {
    color: var(--text-gray);
    padding: 1.5rem;
    background-color: #fff;
}

/* ===== Cart Sidebar ===== */
.floating-cart-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #004451 100%);
    color: #fff;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 81, 92, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1035;
    transition: var(--transition);
    animation: slideInUp 0.6s ease-out 0.5s both;
}

.floating-cart-btn:hover {
    transform: scale(1.15) translateY(-4px);
    box-shadow: 0 12px 36px rgba(0, 81, 92, 0.4);
}

.floating-cart-btn .cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #ff7a00 100%);
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 12px rgba(255, 145, 0, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

.floating-whatsapp-btn {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color) 0%, #004451 100%);
    color: #fff;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1034;
    transition: var(--transition);
    animation: slideInUp 0.6s ease-out 0.6s both;
    text-decoration: none;
}

.floating-whatsapp-btn:hover {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 12px 36px rgba(37, 211, 102, 0.4);
}


/* Mobile-specific pixel adjustments to match provided screenshots */
@media (max-width: 767px) {
.mobile-grid-only {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        margin-top: 5px !important;
    }
    /* Hero adjustments */
    .hero-banner,
    .hero-section {
        padding-top: 18px !important;

        border-bottom-left-radius: 45px !important;
        border-bottom-right-radius: 45px !important;
        min-height: unset !important;
    }

    .hero-headline,
    .hero-section h1 {
        font-size: 1.6rem !important;
        line-height: 1.1 !important;
        font-weight: 800 !important;
        margin: -17px 0 28px !important;
        text-align: center;
    }

    .hero-subtitle,
    .hero-section p {
        font-size: 0.98rem !important;
        max-width: 100% !important;
    }

    .hero-actions .btn,
    .hero-buttons .btn {
        border-radius: 999px !important;
        padding: 12px 18px !important;
        font-size: 0.95rem !important;
    }

    /* Action cards that sit below hero */
    .action-cards-row {
        margin-top: 15px !important;
        gap: 12px !important;
        padding: 0 20px;
    }

    .action-card {
        border-radius: 10px !important;
        padding: 10px 8px !important;
        box-shadow: 0 12px 26px rgba(0, 0, 0, 0.06) !important;
    }

    .horizontal-scroller,
    .organ-scroller-container {
        padding: 0px !important;
        width: 99%;
    }
.delivery-image-box {
        
        margin-left: 7%;
        margin-top: -26%;
        margin-bottom: -11%;
    }
    .feature-chip {
        width: 65%;
        border-radius: 12px !important;
        padding: 14px 16px !important;
    }

    .promo-carousel-viewport {
        height: auto !important;
        border-radius: 14px !important;
    }

    .promo-slide .slide-content h4 {
        font-size: 1.0rem !important;
    }

    .carousel-dots {
        margin-bottom: 18px !important;
    }

    /* Product / package card tweaks */
    .product-card-premium {
        padding: 20px !important;
        border-radius: 15px !important;
        min-width: 260px !important;
    }

    .product-title {
        font-size: 1.0rem !important;
    }

    .current-price {
        font-size: 1.0rem !important;
    }

    .product-actions {
        gap: 10px !important;
    }

    .btn-action-outline,
    .btn-action-fill {
        min-width: 110px !important;
    }

    /* Organ cards */
    .organ-card {
        min-width: 250px !important;
        padding: 0px 14px 10px !important;
        border-radius: 16px !important;
        max-height: 285px;
    }

    .organ-title {
        font-size: 0.95rem !important;
    }

    .organ-price {
        font-size: 1.20rem !important;
                text-align: left;
    }
.organ-price-div{
        display: grid;
    grid-template-columns: 37% 62%;
    /* margin-top: -22%; */
    margin: 2px 0px 0px 0px;
}
    /* Prescription upload strip */
    .prescription-upload-strip {
        border-radius: 14px !important;
        padding: 16px !important;
    }

    /* Footer nav and floating buttons */
    .app-footer-nav {
        display: flex !important;
        position: fixed !important;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1033;
    }

    .app-footer-nav .footer-tab-item {
        padding: 10px 6px !important;
        font-size: 0.7rem !important;
    }

    .floating-cart-btn {
        bottom: 86px !important;
        right: 18px !important;
        width: 50px !important;
        height: 50px !important;
    }

    .floating-whatsapp-btn {
        bottom: 154px !important;
        right: 18px !important;
    }

    /* Booking modal adjustments for small screens */
    .modal-dialog {
        margin: 12px;
    }

    .modal-content {
        border-radius: 12px;
    }

    /* Reduce excessive vertical whitespace on small screens */
    section {
        padding: 1.2rem 20px !important;
    }
}

/* Hero search styling */
.hero-search .input-group {
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
   width: 50%;
   border: 1px solid black;
}

.hero-search .input-group .input-group-text {
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-teal);
    border-radius: 999px 0 0 999px;
}

.hero-search .site-search-input {
    border: none;
    padding: 12px 14px;
    font-weight: 600;
}

.hero-search .site-search-clear {
    background: rgba(255, 255, 255, 0.95);
    color: var(--brand-teal);
    border-radius: 0 999px 999px 0;
    border: none;
}

@media (max-width: 767px) {
    .hero-search .input-group {
        width: 85%;
    }

    .hero-search .input-group .input-group-text,
    .hero-search .site-search-clear {
        padding: 10px 12px;
    }
}

/* Keep top header/navigation visible on small screens (matches design header) */
@media (max-width: 767px) {

    header.navbar,
    .navbar-toggler {
        display: flex !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0.5rem 0 !important;
        visibility: visible !important;
        align-items: center !important;
        justify-content: space-between !important;
    }

    /* Ensure body content isn't pushed down by header space */
    body {
        padding-top: 0 !important;
    }

    .app-container {
        margin-top: 0 !important;
    }

    /* Make action cards display two per row on small screens to match design */
    .action-cards-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        margin-top: 25px !important;
    }
}

.cart-sidebar {
    position: fixed;
    right: -100%;
    top: 0;
    width: 99%;
    max-width: 420px;
    height: 98%;
    background: #fff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
    z-index: 1050;
    overflow-y: auto;
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: flex;
    flex-direction: column;
    right: -100%;
}

.cart-sidebar.show {
    right: 0;
}

.cart-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, #004451 100%);
    color: #fff;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.cart-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.0rem;
    cursor: pointer;
    transition: var(--transition);
}

.cart-close:hover {
    transform: rotate(90deg);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    background: var(--surface-color);
    border-radius: 8px;
    transition: var(--transition);
}

.cart-item:hover {
    background: linear-gradient(135deg, #f0f9fc 0%, #e8f5fa 100%);
    border-color: var(--accent-color);
}

.cart-item-name {
    flex: 1;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.85rem;
}

.cart-item-price {

    font-weight: 700;
    margin: 0 1rem;
    font-size: 0.88rem;
}

.cart-item-remove {
    background: none;
    border: none;
    color: var(--danger-color);
    cursor: pointer;
    font-size: 0.89rem;
    transition: var(--transition);
    padding: 0.25rem 0.5rem;
}

.cart-item-remove:hover {
    transform: scale(1.2);
}

.cart-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-gray);
}

.cart-empty i {
    font-size: 3.5rem;
    color: var(--border-color);
    margin-bottom: 1rem;
    opacity: 0.5;
}

.cart-footer {
    border-top: 2px solid var(--border-color);
    padding: 0.5rem;
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(240, 249, 252, 0.8) 0%, rgba(232, 245, 250, 0.8) 100%);
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.0rem;
    font-size: 1.0rem;
    font-weight: 700;
    color: var(--primary-color);
}

.cart-footer .btn {
    margin-bottom: 0.75rem;
}

@media (min-width: 992px) {
    .cart-sidebar {
        width: 420px;
        right: -100%;
        height: 100vh;
    }

    .floating-cart-btn,
    .floating-whatsapp-btn {
        display: none;
    }
}


/* ===== Forms ===== */
.form-control {
    border-radius: 8px;
    border: 1px solid var(--border-color);
    padding: 0.40rem 1rem;
    font-size: 0.7rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(255, 145, 0, 0.25);
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
    font-size: 0.90rem;
}

.form-text {
    color: var(--text-gray);
    font-size: 0.875rem;
}

/* ===== Badges ===== */
.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    font-size: 0.8rem;
}

/* ===== Modals ===== */
.modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.3rem 1.5rem;
}

.modal-title {
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
}

.btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: 0.5rem 1.5rem;
        padding-bottom: 0px;
}

.modal-footer {
    border: none;
    padding: 1.5rem;
    gap: 1rem;
        padding-top: 0px;
}

/* ===== Alert Messages ===== */
.alert {
       border-radius: 8px;
    border: none;
    padding: 0.45rem;
    font-size: 0.8rem;
    margin-bottom: 0.5rem;
}

.alert-success {
    background-color: rgba(34, 197, 94, 0.1);
    color: #166534;
}

.alert-danger {
    background-color: rgba(239, 68, 68, 0.1);
    color: #991b1b;
}

.alert-info {
    background-color: rgba(14, 165, 233, 0.1);
    color: #0c4a6e;
}

.alert-warning {
    background-color: rgba(234, 179, 8, 0.1);
    color: #78350f;
}

/* ===== Tables ===== */
.table {
    border-collapse: collapse;
    background-color: #fff;
}

.table thead {
    background-color: var(--surface-color);
}

.table th {
    border-color: var(--border-color);
    font-weight: 600;
    color: var(--text-dark);
    padding: 1rem;
}

.table td {
    border-color: var(--border-color);
    padding: 0.75rem 1rem;
}

.table tbody tr:hover {
    background-color: var(--surface-color);
}

/* ===== Animations ===== */
@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleUp {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-30px);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.9;
    }
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes glow {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(255, 145, 0, 0.5);
    }

    50% {
        box-shadow: 0 0 20px rgba(255, 145, 0, 0.8);
    }
}

/* ===== Responsive Utility Classes ===== */
.hide-mobile {
    display: none;
}

.hide-desktop {
    display: block;
}

@media (min-width: 992px) {
    .hide-mobile {
        display: block;
    }

    .hide-desktop {
        display: none;
    }
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--surface-color);
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-gray);
}

/* ===== Spinner ===== */
.spinner-border {
    color: var(--primary-color);
    border-width: 3px;
}

/* ===== Breadcrumb ===== */
.breadcrumb {
    background-color: var(--surface-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
}

.breadcrumb-item.active {
    color: var(--text-dark);
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}