:root {
            --primary-blue: #4a72c0;
            --primary-red: #e53935;
            --secondary-blue: #3a7ca5;
            --light-bg: #f9fbfd;
            --card-bg: #ffffff;
            --border-color: #e1e5eb;
        }
        
        /* Improved responsive base */
        html {
            font-size: 16px;
        }
        
        /* body {
            font-size: 1rem;
            line-height: 1.6;
            overflow-x: hidden;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        } */
         
         body {
            font-size: 1rem;
            line-height: 1.6;
            overflow-x: hidden;
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
                        Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
        }


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

        /* Hide header contact info on mobile */
        @media (max-width: 768px) {
            .header-contact-info {
                display: none;
            }
        }
        
        .header-contact-info {
            background-color: #f5f7fa;
            border-bottom: 1px solid var(--border-color);
            padding: 8px 0;
            font-size: 0.85rem;
        }
        
        .header-contact-info a {
            color: var(--secondary-blue);
            text-decoration: none;
        }
        
        .header-contact-info a:hover {
            text-decoration: underline;
        }
        
        .header-contact-info .contact-item {
            margin-bottom: 5px;
            display: flex;
            align-items: center;
        }
        
        .opening-hours {
            background-color: #edf2f7;
            padding: 8px 12px;
            border-radius: 4px;
            border-left: 3px solid #3a7ca5;
            font-size: 0.85rem;
            margin-top: 5px;
        }
        
        .main-header {
            background-color: white;
            /* padding: 15px 0; */
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
        }
        
        .logo-container {
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .logo-text {
            margin-left: 15px;
            flex: 1;
            min-width: 250px;
        }
        
        .logo-text h1 {
            color: var(--primary-red);
            font-size: 1.5rem;
            font-weight: 700;
            margin-bottom: 0px;
            letter-spacing: 0.5px;
            line-height: 1.2;
        }
        
        .logo-text p {
            color: var(--primary-red);
            font-size: 0.85rem;
            margin-bottom: 0px;
            font-weight: 500;
            line-height: 1.3;
        }
        
        .logo-text .secondary-text {
            color: var(--secondary-blue);
            font-weight: 700;
            font-size: 0.9rem;
        }
        
        .logo-text .secondary-text-lab {
            color: var(--secondary-blue);
            font-weight: 700;
            font-size: 1.3rem;
        }
        
        /* Appointment Dropdown - Improved for mobile */
        .appointment-dropdown {
            position: relative;
            display: inline-block;
            width: 100%;
        }
        
        .appointment-btn {
            width: 100%;
            text-align: left;
            padding: 10px 15px;
            background-color: #f1f8ff;
            color: black;
            border: none;
            border-radius: 5px;
            font-weight: 450;
            display: flex;
            justify-content: space-between;
            align-items: center;
            cursor: pointer;
        }
        
        .appointment-dropdown-content {
            display: none;
            position: absolute;
            background-color: white;
            width: 100%;
            box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.1);
            z-index: 1000;
            border-radius: 0 0 5px 5px;
            padding: 10px;
            top: 100%;
            left: 0;
            border-top: 2px solid #3a7ca5;
        }
        
        /* Show dropdown on hover for desktop */
        @media (min-width: 769px) {
            .appointment-dropdown:hover .appointment-dropdown-content {
                display: block;
            }
            
            .appointment-dropdown:hover .appointment-btn {
                border-radius: 5px 5px 0 0;
            }
        }
        
        /* Show dropdown on click for mobile */
        .appointment-dropdown.active .appointment-dropdown-content {
            display: block;
        }
        
        .appointment-dropdown.active .appointment-btn {
            border-radius: 5px 5px 0 0;
        }
        .same-f-weight{
            font-weight: 450 !important;
        }
        
        .ime-option {
            display: block;
            padding: 3px;
            color: var(--dark-text);
            text-decoration: none;
            border-radius: 4px;
            margin-bottom: 2px;
            font-weight: 450;
        }
        
        .ime-option:hover {
            background-color: rgba(13, 110, 253, 0.1);
            color: #3a7ca5;
        }
        
        /* Improved tooltip styles for mobile */
        .tooltip-info {
            position: relative;
            display: flex;
            align-items: center;
            padding: 2px;
            border-radius: 5px;
            /* margin-bottom: 10px; */
        }
        
        .tooltip-info .header-feature-icon {
            width: 40px;
            height: 40px;
            background-color: rgba(13, 110, 253, 0.1);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-right: 10px;
            flex-shrink: 0;
        }
        
        .tooltip-info .header-feature-icon i {
            color: #3a7ca5;
            font-size: 1.1rem;
        }
        
        .tooltip-info .tooltip-text {
            visibility: hidden;
            width: 200px;
            background-color: #555;
            color: #fff;
            text-align: center;
            border-radius: 6px;
            padding: 8px;
            position: absolute;
            z-index: 1;
            bottom: 125%;
            left: 30%;
            margin-left: -100px;
            opacity: 0;
            transition: opacity 0.3s;
            font-size: 0.85rem;
        }
        
        .tooltip-info .tooltip-text::after {
            content: "";
            position: absolute;
            top: 100%;
            left: 50%;
            margin-left: -5px;
            border-width: 5px;
            border-style: solid;
            border-color: #555 transparent transparent transparent;
        }
        
        /* Show tooltip on hover for desktop */
        @media (min-width: 769px) {
            .tooltip-info:hover .tooltip-text {
                visibility: visible;
                opacity: 1;
            }
        }
        
        /* Improved report services intro for mobile */
        .report-services-intro {
            background: linear-gradient(135deg, #f8f9fa 100%, #e9ecef 0%);
            border-radius: 8px;
            /* padding: 15px; */
            margin-top: 0px;
            border-left: 4px solid #d93444;
        }
        
        
        /* Full width sections */
        .full-width-section {
            width: 100vw;
            position: relative;
            left: 50%;
            right: 50%;
            margin-left: -50vw;
            margin-right: -50vw;
        }
        
        /* Navigation */
        .navbar {
            background-color: var(--card-bg) !important;
            border-bottom: 1px solid var(--border-color);
        }
        
        .navbar .navbar-toggler {
            border: none;
            padding: 5px 10px;
        }
        
        .navbar .nav-link {
            color: #4a5568;
            font-weight: 500;
            padding: 10px 15px;
        }
        
        .navbar .nav-link:hover,
        .navbar .nav-link.active {
            color: #3a7ca5;
        }
        
        /* Carousel improvements */
        .carousel-item {
            height: 570px;
        }
        
        .carousel-item img {
            height: 100%;
            object-fit: cover;
            width: 100%;
        }
        
        .carousel-caption {
            background: rgba(0, 0, 0, 0.5);
            padding: 15px;
            border-radius: 5px;
        }
        
        /* News ticker improvements */
        .news-ticker-container {
            background: linear-gradient(to right, #edf2f7, #e2e8f0);
            padding: 12px 15px;
            border-radius: 8px;
            margin-bottom: 25px;
            overflow: hidden;
            display: flex;
            align-items: center;
        }
        
        /* IME Services improvements */
        .ime-service-card {
            border: 1px solid var(--border-color);
            border-radius: 8px;
            padding: 20px;
            text-align: center;
            height: 100%;
            transition: all 0.3s ease;
            background: var(--card-bg);
            box-shadow: 0 4px 6px rgba(0,0,0,0.03);
            margin-bottom: 10px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }
        
        .ime-service-card img {
            max-width: 80px;
            margin: 0 auto 15px;
            border-radius: 4px;
            height: auto;
        }
        
        .ime-service-card h5 {
            color: #3a7ca5;
            margin-bottom: 15px;
            font-weight: 600;
        }
        
        .ime-service-card p {
            color: #666;
            margin-bottom: 20px;
            font-size: 0.95rem;
        }
        
        .info-link {
            font-size: 0.85rem;
            color: #3a7ca5;
            text-decoration: none;
            display: block;
            margin: 5px 0;
        }
        
        /* EMI Notice improvements */
        .emi-notice-container {
            background: white;
            border-radius: 10px;
            padding: 20px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            margin-bottom: 30px;
            border: 1px solid #e1e5eb;
            height: 100%;
        }
        
        .emi-header {
            display: flex;
            align-items: center;
            /* margin-bottom: 5px; */
            padding-bottom: 5px;
            border-bottom: 2px solid #e1e5eb;
            flex-wrap: wrap;
            gap: 5px;
        }

        .country-badge {
            display: inline-flex;
            align-items: center;
            background: #f1f8ff;
            border: 1px solid #d1e6ff;
            border-radius: 20px;
            padding: 5px 12px;
            font-weight: 600;
            font-size: 0.85rem;
        }

        h6 {
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        
        .country-badge img {
            width: 20px;
            height: 15px;
            margin-right: 8px;
            border-radius: 2px;
        }

        a.non-textdecoration {
            text-decoration: none;
            color: #3a7ca5;
        }
        
        /* Services section improvements */
        .services-container {
            background: var(--card-bg);
            border-radius: 10px;
            padding: 30px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.03);
            /* margin-bottom: 30px; */
            border: 1px solid var(--border-color);
        }
        
        .section-title {
            color: #3a7ca5;
            border-bottom: 2px solid var(--primary-red);
            padding-bottom: 10px;
            margin-bottom: 25px;
            text-align: center;
            font-weight: 700;
        }
        
        .lab-test-item {
            margin-bottom: 15px;
            transition: all 0.3s ease;
            padding: 12px;
            border: 1px solid var(--border-color);
            border-radius: 6px;
            background-color: var(--card-bg);
            box-shadow: 0 2px 4px rgba(0,0,0,0.03);
        }
        
        .lab-test-item:hover {
            transform: translateX(5px);
            border-color: #3a7ca5;
        }
        
        .lab-test-icon {
            font-size: 1.8rem;
            width: 50px;
            text-align: center;
            margin-right: 15px;
            flex-shrink: 0;
        }
        
        .lab-test-content h6 {
            margin-bottom: 5px;
            color: #2d3748;
            font-weight: 600;
        }
        
        .service-item {
            background: var(--card-bg);
            padding: 15px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.03);
            transition: all 0.3s ease;
            margin-bottom: 15px;
            border: 1px solid var(--border-color);
            height: 100%;
        }
        
        .service-item:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            border-color: #3a7ca5;
        }
        
        .service-category {
            margin-bottom: 25px;
        }
        
        .services-grid {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 15px;
        }
        
        .report-services {
            background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
            border-radius: 8px;
            padding: 10px;
            margin-top: 5px;
            border-right: 4px solid #3a7ca5;
        }
        
        .report-service {
            text-align: center;
            padding: 15px;
        }
        
        .health-icon {
            font-size: 2.2rem;
            color: #3a7ca5;
            margin-bottom: 12px;
        }
        
        .report-service h6 {
            font-weight: 600;
            color: #2d3748;
            margin-bottom: 8px;
        }
        
        /* Slogan boxes */
        .slogan-box-ime {
            background: linear-gradient(135deg, #e94141 0%, #ebf8ff 0%);
            border-right: 5px solid #3a7ca5;
            padding: 15px;
            border-radius: 8px;
            margin: 10px auto;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.03);
        }
        
        .slogan-box-ime p {
            font-size: 16px;
            color: var(--secondary-blue);
            font-weight: 500;
            margin: 0;
            line-height: 1.6;
        }

        .slogan-box {
            background: linear-gradient(135deg, #ebf8ff 0%, #bee3f8 100%);
            border-left: 5px solid #3a7ca5;
            padding: 15px;
            border-radius: 8px;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.03);
            margin-bottom: 20px;
        }
        
        .slogan-box p {
            font-size: 1.2rem;
            color: var(--secondary-blue);
            font-weight: 500;
            margin: 0;
            line-height: 1.6;
        }

        .slogan-box-checkup {
            background: linear-gradient(135deg, #e94141 0%, #ebf8ff 0%);
            border-left: 5px solid #3a7ca5;
            padding: 15px;
            border-radius: 8px;
            margin: 10px auto;
            text-align: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.03);
        }
        
        .slogan-box-checkup p {
            font-size: 16px;
            color: var(--secondary-blue);
            font-weight: 500;
            margin: 0;
            line-height: 1.6;
        }
        
        /* Footer improvements */
        footer {
            background: linear-gradient(135deg, #f1f8ff 0%, #f1f8ff 100%);
            color: #333;
            padding: 30px 0 15px;
        }
        
        footer h6 {
            color: #3a7ca5;
            border-bottom: 2px solid #3a7ca5;
            padding-bottom: 8px;
            margin-bottom: 15px;
        }
        
        .footer-opening-hours {
            background-color: rgba(255,255,255,0.1);
            border-radius: 5px;
            margin-top: 10px;
        }
        
        .footer-hours-row {
            display: flex;
            justify-content: space-between;
            margin-bottom: 8px;
            flex-wrap: wrap;
        }
        
        /* Animation */
        @keyframes scroll-left {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
        }
        
        /* Modal Styles */
        .modal-flag {
            width: 40px;
            margin-right: 10px;
        }
        
        /* Responsive improvements */
        @media (max-width: 1200px) {
            .logo-text h1 {
                font-size: 1.3rem;
            }
            
            .logo-text .secondary-text-lab {
                font-size: 1.1rem;
            }
        }
        
        @media (max-width: 992px) {
            .carousel-item {
                height: 400px;
            }
        }
        
        @media (max-width: 768px) {
            .main-header .container > .row {
                flex-direction: column;
                text-align: center;
            }
            
            .logo-container {
                justify-content: center;
                margin-bottom: 15px;
            }
            
            .logo-text {
                margin-left: 0;
                margin-top: 10px;
            }
            
            .carousel-item {
                height: 350px;
            }
            
            .services-grid {
                grid-template-columns: 1fr;
            }
            
            .lab-test-item {
                padding: 10px;
            }
            
            .lab-test-icon {
                font-size: 1.5rem;
                width: 40px;
                margin-right: 10px;
            }
            
            .news-ticker-container {
                flex-direction: column;
                align-items: flex-start;
                gap: 10px;
            }
            
            .emi-header {
                flex-wrap: wrap;
            }
            
            .country-badge {
                margin-bottom: 8px;
            }
            
            .footer-hours-row {
                flex-direction: column;
                gap: 5px;
            }
            
            /* Improved tooltip info for mobile */
            .tooltip-info {
                padding: 8px;
            }
            
            .tooltip-info .header-feature-icon {
                width: 35px;
                height: 35px;
                margin-right: 8px;
            }
            
            .tooltip-info .header-feature-icon i {
                font-size: 1rem;
            }
            
            .tooltip-info h6 {
                font-size: 0.9rem;
            }
            
            /* Show package details on click for mobile */
            .package-popup {
                position: static;
                opacity: 1;
                visibility: visible;
                display: none;
                width: 100%;
                margin-top: 5px;
                box-shadow: none;
                border: 1px solid #e1e5eb;
            }
            
            .package-card.active .package-popup {
                display: block;
            }
        }
        
        @media (max-width: 576px) {
            .logo-text h1 {
                font-size: 1.2rem;
            }
            
            .carousel-item {
                height: 300px;
            }
            
            .carousel-caption {
                padding: 10px;
                bottom: 20px;
            }
            
            .carousel-caption h5 {
                font-size: 1rem;
            }
            
            .carousel-caption p {
                font-size: 0.8rem;
                margin-bottom: 0;
            }
            
            .news-ticker-container {
                padding: 10px;
            }
            
            /* .ime-service-card {
                padding: 15px;
            } */
            
            .ime-service-card img {
                max-width: 60px;
            }
            
            .emi-notice-container {
                padding: 15px;
            }
            
            .package-header {
                padding: 15px;
            }
            
            .package-price {
                font-size: 1.5rem;
            }
            
            footer .row > div {
                margin-bottom: 25px;
            }
        }
        
        @media (max-width: 400px) {
            .logo-container {
                flex-direction: column;
            }
            
            .logo-text {
                margin-left: 0;
                text-align: center;
            }
            
            .carousel-item {
                height: 250px;
            }
            
            .carousel-caption {
                display: none;
            }
        }




        /* Mobile-specific styles */
@media (max-width: 768px) {
    /* Appointment dropdown mobile behavior */
    .appointment-dropdown {
        position: relative;
    }
    
    .appointment-dropdown.active .appointment-dropdown-content {
        display: block;
        position: relative;
        margin-top: 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        border-radius: 5px;
        animation: fadeIn 0.3s ease;
    }
    
    .appointment-dropdown.active .appointment-btn {
        border-radius: 5px 5px 0 0;
        background-color: #e3f2fd;
    }
    
    .appointment-btn {
        width: 100%;
        justify-content: space-between;
        padding: 12px 15px;
        background-color: #f1f8ff;
        border: 1px solid #d1e6ff;
    }
    
    .appointment-btn i.fa-chevron-down {
        transition: transform 0.3s ease;
    }
    
    .appointment-dropdown.active .appointment-btn i.fa-chevron-down {
        transform: rotate(180deg);
    }
    
    .ime-option {
        display: flex;
        align-items: center;
        padding: 12px 15px;
        border-bottom: 1px solid #f1f1f1;
    }
    
    .ime-option:last-child {
        border-bottom: none;
    }
    
    .ime-option img {
        margin-right: 10px;
        width: 24px;
        height: 18px;
    }
    
    /* Health packages mobile behavior */
    .package-wrapper {
        margin-bottom: 20px;
    }
    
    .package-card {
        border: 1px solid #e1e5eb;
        border-radius: 8px;
        overflow: hidden;
        transition: all 0.3s ease;
    }
    
    .package-card.active {
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-color: #3a7ca5;
    }
    
    .package-header {
        padding: 5px;
        background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .package-header::after {
        content: '+';
        font-size: 1.2rem;
        font-weight: bold;
        color: #3a7ca5;
        transition: transform 0.3s ease;
    }
    
    .package-card.active .package-header::after {
        content: '-';
    }
    
    .package-popup {
        display: none;
        padding: 15px;
        background: white;
        border-top: 1px solid #e1e5eb;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .package-card.active .package-popup {
        display: block;
        max-height: 500px;
        animation: slideDown 0.4s ease;
    }
    
    .package-feature {
        display: flex;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px dashed #e1e5eb;
    }
    
    .package-feature:last-child {
        border-bottom: none;
    }
    
    .feature-check {
        color: #28a745;
        margin-right: 10px;
    }
    
    .package-cta {
        padding: 15px;
        text-align: center;
        border-top: 1px solid #e1e5eb;
    }
    
    .cutom-badge {
        display: inline-block;
        padding: 10px 20px;
        /* background: #3a7ca5; */
        background: #f1f8ff;
        /* color: white; */
        color: rgba(var(--bs-link-color-rgb),var(--bs-link-opacity,1));
        border-radius: 25px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
    }
    
    /* .cutom-badge:hover {
        background: var(--secondary-blue);
        transform: translateY(-2px);
    } */
    
    /* Animations */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }
    
    @keyframes slideDown {
        from { 
            opacity: 0;
            transform: translateY(-10px);
        }
        to { 
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* JavaScript toggle classes for mobile interaction */
.appointment-dropdown.active .appointment-dropdown-content {
    display: block;
}

.package-card.active .package-popup {
    display: block;
}

.publish-date {
            font-size: 0.8rem;
            color: red;
            display: block;
            /* margin-top: 5px; */
        }

.text-justify {
  text-align: justify;
}




 /* Sidebar Styles */
        .sidebar {
            position: sticky;
            top: 20px;
        }
        
        .sidebar-section {
            background-color: white;
            border-radius: 8px;
            padding: 20px;
            box-shadow: 0 2px 10px rgba(0,0,0,0.05);
            margin-bottom: 25px;
        }
        
        .sidebar-section h4 {
            color: var(--primary-blue);
            font-weight: 600;
            margin-bottom: 1.2rem;
            padding-bottom: 0.75rem;
            border-bottom: 2px solid #f0f0f0;
        }
        
        .sidebar-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .sidebar-list li {
            padding: 10px 0;
            border-bottom: 1px solid #f0f0f0;
        }
        
        .sidebar-list li:last-child {
            border-bottom: none;
        }
        
        .sidebar-list a {
            color: #444;
            text-decoration: none;
            transition: all 0.2s ease;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .sidebar-list a:hover {
            color: var(--primary-blue);
        }
        
        .sidebar-list .date {
            color: #6c757d;
            font-size: 0.8rem;
        }




/* ================================
   Health Packages - Clean + Responsive
=================================== */
.package-wrapper {
    position: relative;
    transition: all 0.3s ease;
}

/* Package Card */
.package-card {
    border: 2px solid #ffbfbf;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden; /* ensure popup stays inside */
    padding-bottom: 20px;
    transition: all 0.3s ease;
}

/* Hover effect for desktop */
.package-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.1);
}

/* Package Header */
.package-header {
    text-align: center;
    padding: 15px;
    background: none;
    color: #333;
}

.package-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.package-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #3a7ca5;
    margin-top: 10px;
}

/* ===============================
   Popup Inside Card
=============================== */
.package-popup {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 10px;
    padding: 16px;
    font-size: 0.9rem;
    z-index: 5;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border: 1px solid #eee;
    pointer-events: none;
    overflow-y: auto;
}

/* Show popup on hover (desktop) */
@media (min-width: 769px) {
    .package-card:hover .package-popup {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Optional dim background when popup appears
    .package-card:hover > *:not(.package-popup) {
        opacity: 0.3;
    } */
     /* Dim everything except popup and CTA (so button stays visible) */
    .package-card:hover > *:not(.package-popup):not(.package-cta) {
        opacity: 0.3;
    }
}

/* Show popup on click (mobile) */
.package-card.active .package-popup {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Popup Scrollbar (optional styling) */
.package-popup::-webkit-scrollbar {
    width: 6px;
}
.package-popup::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

/* ===============================
   Feature List
=============================== */
.package-feature {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    border-bottom: 1px dashed #e1e5eb;
    padding-bottom: 4px;
}
.package-feature:last-child {
    border-bottom: none;
}
.feature-check {
    color: #20c997;
    margin-right: 8px;
}

/* ===============================
   CTA Button
=============================== */
.package-cta {
    padding: 10px 20px;
    text-align: right;
    /* border-top: 1px solid #e1e5eb; */
    position: relative;
    z-index: 50;
}

/* Modern button style */
.package-cta .btn {
    /* background: #3a7ca5; */
    color: #fff;
    border: none;
    /* border-radius: 20px; */
    /* padding: 6px 16px; */
    /* font-size: 0.9rem; */
    /* font-weight: 600; */
    transition: all 0.3s ease;
    position: relative;
    z-index: 60;
}

.package-cta .btn:hover {
    /* background: #2c6a8a; */
    /* box-shadow: 0 0 8px rgba(58, 124, 165, 0.4); */
    transform: scale(1.05);
}




.cutom-badge {
            align-items: center;
            background: #f1f8ff;
            border: 1px solid #d1e6ff;
            border-radius: 20px;
            padding: 5px 12px;
            font-weight: 600;
            font-size: 0.85rem;
            text-decoration: none;
            display: inline-block;
            text-align: center;
            cursor: pointer;
        }


/* ===============================
   Mobile Responsive Adjustments
=============================== */
@media (max-width: 768px) {
    .package-card {
        padding: 10px;
        margin-bottom: 15px;
    }

    .package-name {
        font-size: 1rem;
    }

    .package-price {
        font-size: 1.1rem;
    }

    /* For smaller screens, popup slides up */
    .package-popup {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        height: auto;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: all 0.3s ease;
    }

    .package-card.active .package-popup {
        top: 0;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
}


table {
    width: 100%;
}


/* Mobile: show side-by-side */
                .mobile-two-col {
                    display: flex;
                    gap: 12px;
                }

                .flex-item {
                    width: 50%;
                }

                /* Tablet and Desktop: return to normal stacked layout */
                @media (min-width: 768px) {
                    .mobile-two-col {
                        display: block;
                    }

                    .flex-item {
                        width: 100%;
                        margin-bottom: 2px;
                    }
                }