/* Advanced Pathology Laboratory - Enhanced CSS with Sophisticated Animations */

/* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Poppins:wght@300;400;500;600;700;800;900&family=Playfair+Display:wght@400;500;600;700&display=swap');

/* CSS Variables */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #3b82f6;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-color: #1f2937;
    --light-color: #f8fafc;
    --white: #ffffff;
    
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #06b6d4 100%);
    --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-success: linear-gradient(135deg, #10b981 0%, #059669 100%);
    
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.12), 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 15px 35px rgba(0, 0, 0, 0.1), 0 5px 15px rgba(0, 0, 0, 0.07);
    --shadow-xl: 0 25px 50px rgba(0, 0, 0, 0.15), 0 10px 25px rgba(0, 0, 0, 0.1);
    
    --border-radius: 16px;
    --border-radius-lg: 24px;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s ease;
    
    /* Enhanced Color Schemes */
    --gradient-medical: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #667eea 100%);
    --gradient-health: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    --gradient-science: linear-gradient(135deg, #30cfd0 0%, #91a7ff 100%);
    --gradient-wellness: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    --gradient-care: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    --gradient-lab: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    
    /* Animated Background Colors */
    --color-medical-1: rgba(59, 130, 246, 0.1);
    --color-medical-2: rgba(16, 185, 129, 0.1);
    --color-medical-3: rgba(245, 158, 11, 0.1);
    --color-medical-4: rgba(139, 92, 246, 0.1);
    --color-medical-5: rgba(236, 72, 153, 0.1);
}


/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--light-color);
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* Floating Particles Background */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite linear;
}

.particle:nth-child(1) {
    background: linear-gradient(45deg, #3b82f6, #06b6d4);
    animation-delay: 0s;
    animation-duration: 18s;
}

.particle:nth-child(2) {
    background: linear-gradient(45deg, #10b981, #059669);
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(3) {
    background: linear-gradient(45deg, #f59e0b, #f97316);
    animation-delay: 8s;
    animation-duration: 20s;
}

.particle:nth-child(4) {
    background: linear-gradient(45deg, #8b5cf6, #a855f7);
    animation-delay: 12s;
    animation-duration: 24s;
}

.particle:nth-child(5) {
    background: linear-gradient(45deg, #ec4899, #f43f5e);
    animation-delay: 16s;
    animation-duration: 26s;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    left: 20%;
    animation-delay: 2s;
    animation-duration: 18s;
}

.particle:nth-child(3) {
    left: 60%;
    animation-delay: 4s;
    animation-duration: 22s;
}

.particle:nth-child(4) {
    left: 80%;
    animation-delay: 6s;
    animation-duration: 16s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 20s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.1;
    }
    90% {
        opacity: 0.1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

.loading-logo {
    width: 100px;
    height: 100px;
    margin-bottom: 1rem;
    animation: logoSpin 2s ease-in-out infinite;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(59, 130, 246, 0.3));
}

.loading-text {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top: 3px solid white;
    border-radius: 50%;
    margin: 0 auto;
    animation: spin 1s linear infinite;
}

@keyframes logoSpin {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(180deg); }
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes glow {
    from {
        filter: drop-shadow(0 8px 16px rgba(59, 130, 246, 0.2));
    }
    to {
        filter: drop-shadow(0 12px 24px rgba(59, 130, 246, 0.4));
    }
}

@keyframes pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 1; }
}

/* Enhanced Color Animation Keyframes */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    25% { background-position: 100% 50%; }
    50% { background-position: 50% 100%; }
    75% { background-position: 0% 0%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientShiftAlt {
    0% { background-position: 0% 0%; }
    20% { background-position: 100% 0%; }
    40% { background-position: 100% 100%; }
    60% { background-position: 0% 100%; }
    80% { background-position: 50% 50%; }
    100% { background-position: 0% 0%; }
}

@keyframes medicalPulse {
    0% { 
        background-position: 0% 50%;
        opacity: 0.8;
    }
    25% { 
        background-position: 50% 0%;
        opacity: 1;
    }
    50% { 
        background-position: 100% 50%;
        opacity: 0.9;
    }
    75% { 
        background-position: 50% 100%;
        opacity: 1;
    }
    100% { 
        background-position: 0% 50%;
        opacity: 0.8;
    }
}

@keyframes colorWave {
    0% { transform: translateX(-100%) scale(1); opacity: 0.7; }
    50% { transform: translateX(50%) scale(1.2); opacity: 1; }
    100% { transform: translateX(200%) scale(1); opacity: 0.7; }
}

@keyframes breathe {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* Modern Enhanced Navigation */
.modern-navbar {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1rem 0;
    position: relative;
    z-index: 1000;
}

.modern-navbar.scrolled {
    background: rgba(255, 255, 255, 0.99);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    padding: 0.75rem 0;
}

/* Modern Brand Section */
.modern-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--dark-color);
    transition: var(--transition);
}

.brand-logo-container {
    position: relative;
    width: 65px;
    height: 65px;
}

.brand-logo {
    width: 100%;
    height: 100%;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(59, 130, 246, 0.2));
}

.logo-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, #3b82f6, #10b981, #06b6d4);
    border-radius: 50%;
    opacity: 0;
    animation: logoGlow 3s ease-in-out infinite;
    z-index: -1;
}

@keyframes logoGlow {
    0%, 100% { opacity: 0; transform: scale(0.8); }
    50% { opacity: 0.3; transform: scale(1.1); }
}

.modern-brand:hover .brand-logo {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 16px rgba(59, 130, 246, 0.4));
}

.modern-brand:hover .logo-glow {
    opacity: 0.5;
}

.brand-content {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6, #10b981);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: -2px;
}

.brand-tagline {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
    letter-spacing: 0.6px;
    text-transform: uppercase;
}

/* Contact Info in Header */
.navbar-contact {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-right: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    line-height: 1;
    margin-bottom: 2px;
}

.contact-value {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    line-height: 1.1;
}

.contact-value:hover {
    color: var(--secondary-color);
}

.contact-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
}

/* Modern Toggle Button */
.modern-toggler {
    border: none;
    background: transparent;
    padding: 0.5rem;
    position: relative;
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    transition: var(--transition);
}

.toggler-line {
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    border-radius: 2px;
    transition: var(--transition);
}

.modern-toggler:not(.collapsed) .toggler-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.modern-toggler:not(.collapsed) .toggler-line:nth-child(2) {
    opacity: 0;
}

.modern-toggler:not(.collapsed) .toggler-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

.modern-toggler:hover {
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
}

/* Modern Navigation Links */
.modern-nav {
    align-items: center;
    gap: 0.5rem;
}

.modern-nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.modern-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    transition: var(--transition);
}

.modern-nav-link:hover::before {
    left: 100%;
}

.modern-nav-link:hover,
.modern-nav-link.active {
    color: var(--primary-color);
    background: rgba(59, 130, 246, 0.08);
    transform: translateY(-1px);
}

.nav-icon {
    font-size: 0.875rem;
    opacity: 0.8;
    transition: var(--transition);
}

.modern-nav-link:hover .nav-icon,
.modern-nav-link.active .nav-icon {
    opacity: 1;
    transform: scale(1.1);
}

/* Modern CTA Button */
.nav-cta {
    margin-left: 1rem;
}

.modern-cta-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white !important;
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    transition: var(--transition);
}

.cta-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transform: rotate(45deg);
    transition: var(--transition);
    opacity: 0;
}

.modern-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    color: white !important;
}

.modern-cta-btn:hover .cta-glow {
    opacity: 1;
    animation: shimmer 1.5s ease-in-out;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) rotate(45deg); }
    100% { transform: translateX(100%) rotate(45deg); }
}

/* Mobile Contact Section */
.mobile-contact {
    padding: 1.5rem 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 1rem;
}

.mobile-contact-header h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.mobile-contact-actions {
    display: flex;
    gap: 0.75rem;
}

.mobile-contact-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0.5rem;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-contact-btn.call {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.mobile-contact-btn.whatsapp {
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
}

.mobile-contact-btn.email {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.mobile-contact-btn:hover {
    transform: translateY(-2px);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.mobile-contact-btn i {
    font-size: 1.25rem;
}

/* Scroll Progress Bar */
.scroll-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #3b82f6, #06b6d4);
    width: 0%;
    transition: width 0.1s ease;
    border-radius: 0 2px 2px 0;
}

/* Animated Background Classes */
.animated-bg {
    position: relative;
    overflow: hidden;
}

.animated-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, 
        var(--color-medical-1) 0%, 
        var(--color-medical-2) 25%, 
        var(--color-medical-3) 50%, 
        var(--color-medical-4) 75%, 
        var(--color-medical-1) 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -1;
}

.animated-bg-alt {
    position: relative;
    overflow: hidden;
}

.animated-bg-alt::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(102, 126, 234, 0.12) 0%, 
        rgba(118, 75, 162, 0.12) 25%, 
        rgba(52, 211, 153, 0.12) 50%, 
        rgba(16, 185, 129, 0.12) 75%, 
        rgba(102, 126, 234, 0.12) 100%);
    background-size: 300% 300%;
    animation: gradientShiftAlt 20s ease infinite;
    z-index: -1;
}

.animated-bg-medical {
    position: relative;
    overflow: hidden;
}

.animated-bg-medical::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(60deg, 
        rgba(14, 165, 233, 0.1) 0%, 
        rgba(5, 150, 105, 0.1) 20%, 
        rgba(59, 130, 246, 0.1) 40%, 
        rgba(16, 185, 129, 0.1) 60%, 
        rgba(14, 165, 233, 0.1) 80%, 
        rgba(5, 150, 105, 0.1) 100%);
    background-size: 500% 500%;
    animation: medicalPulse 25s ease infinite;
    z-index: -1;
}

/* Modern Header Mobile Responsiveness */
@media (max-width: 991.98px) {
    .modern-navbar {
        padding: 0.75rem 0;
    }
    
    .navbar-contact {
        display: none !important;
    }
    
    .brand-name {
        font-size: 1.125rem;
    }
    
    .brand-tagline {
        font-size: 0.65rem;
    }
    
    .brand-logo-container {
        width: 55px;
        height: 55px;
    }
    
    .modern-nav {
        flex-direction: column;
        align-items: stretch;
        gap: 0.25rem;
        padding-top: 1rem;
    }
    
    .modern-nav-link {
        justify-content: flex-start;
        padding: 1rem 1.25rem;
        margin: 0;
        border-radius: 8px;
    }
    
    .nav-icon {
        font-size: 1rem;
        width: 20px;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 0.5rem;
    }
    
    .modern-cta-btn {
        justify-content: center;
        padding: 1rem 1.5rem;
        border-radius: 12px;
    }
}

@media (max-width: 767.98px) {
    .modern-navbar {
        padding: 0.5rem 0;
    }
    
    .brand-content {
        display: none;
    }
    
    .brand-logo-container {
        width: 45px;
        height: 45px;
    }
    
    .modern-nav-link {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .mobile-contact-actions {
        flex-direction: column;
    }
    
    .mobile-contact-btn {
        flex-direction: row;
        justify-content: center;
        padding: 0.75rem 1rem;
        gap: 0.75rem;
    }
    
    .mobile-contact-btn i {
        font-size: 1.125rem;
    }
}

/* Update JavaScript for Progress Bar */
@media (min-width: 992px) {
    .navbar-collapse {
        display: flex !important;
        align-items: center;
    }
    
    .modern-nav {
        flex-direction: row;
    }
}

/* Redesigned Hero Section - Clean & Professional */
.hero-section {
    min-height: 100vh;
    position: relative;
    background: linear-gradient(135deg, #3b82f6 0%, #06b6d4 50%, #10b981 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 6rem 0 4rem;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.9) 0%, 
        rgba(6, 182, 212, 0.8) 50%, 
        rgba(16, 185, 129, 0.9) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 10;
    color: white;
    padding: 2rem 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 0.5rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
}

.hero-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.25rem;
    font-weight: 700;
    line-height: 1.2;
    color: white;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero-tagline {
    font-size: 1.375rem;
    font-weight: 600;
    color: #fbbf24;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 500px;
}

/* Feature Pills */
.hero-features-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.feature-pill {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    transition: var(--transition);
}

.feature-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.feature-pill i {
    color: #fbbf24;
    font-size: 1rem;
}

/* Action Buttons */
.hero-action-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-action-buttons .btn {
    border-radius: 25px;
    font-weight: 600;
    padding: 0.875rem 2rem;
    transition: var(--transition);
}

.hero-action-buttons .btn-primary {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

.hero-action-buttons .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.5);
}

.hero-action-buttons .btn-outline-primary {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: transparent;
    backdrop-filter: blur(10px);
}

.hero-action-buttons .btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: white;
    color: white;
    transform: translateY(-3px);
}

/* Hero Card Container */
.hero-card-container {
    position: relative;
    z-index: 10;
    padding: 2rem 0;
}

.hero-main-card {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.hero-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #10b981, #3b82f6, #06b6d4);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
}

/* Card Header */
.card-header-section {
    margin-bottom: 2rem;
}

.lab-info-header {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.lab-logo {
    width: 60px;
    height: 60px;
    filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.2));
}

.lab-title-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
    font-size: 1.25rem;
}

.lab-title-info p {
    color: #64748b;
    margin: 0;
    font-size: 0.875rem;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.service-box {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.service-box:hover {
    background: #e2e8f0;
    transform: translateY(-2px);
    border-color: var(--primary-color);
}

.service-box i {
    color: var(--primary-color);
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
}

.service-box span {
    font-weight: 500;
    color: var(--dark-color);
    font-size: 0.875rem;
}

/* Featured Package */
.featured-package {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.featured-package::before {
    content: 'POPULAR';
    position: absolute;
    top: 12px;
    right: -30px;
    background: #0ea5e9;
    color: white;
    padding: 4px 40px;
    font-size: 0.75rem;
    font-weight: 600;
    transform: rotate(45deg);
}

.package-highlight {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.package-info h5 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.package-details {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.package-price {
    text-align: right;
}

.package-price .price {
    color: #059669;
    font-size: 1.75rem;
    font-weight: 700;
    display: block;
    line-height: 1;
}

.package-price .mrp {
    color: #64748b;
    font-size: 0.75rem;
    text-decoration: line-through;
}

/* Contact Information */
.contact-info-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
    font-size: 1.125rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary-color);
}

/* Hero QR Code Section */
.hero-qr-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
}

.qr-code-container {
    text-align: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #cbd5e1;
}

.qr-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.875rem;
}

.qr-header i {
    font-size: 1.125rem;
}

.qr-code-display {
    margin-bottom: 0.75rem;
}

.qr-code-img {
    border-radius: 8px;
    border: 2px solid #e2e8f0;
    transition: var(--transition);
}

.qr-code-img:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.qr-fallback {
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    color: var(--primary-color);
    text-align: center;
}

.qr-fallback i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.qr-description {
    color: #64748b;
    font-size: 0.75rem;
    margin: 0;
    font-weight: 500;
}

/* CTA Section */
.card-cta-section .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.2);
}

.card-cta-section .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.3);
}



/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
}

.scroll-indicator a {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.scroll-indicator a:hover {
    color: var(--warning-color);
    transform: translateY(-5px);
}

.scroll-mouse {
    width: 25px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.7);
    border-radius: 15px;
    position: relative;
    margin-bottom: 0.5rem;
}

.scroll-wheel {
    width: 3px;
    height: 8px;
    background: white;
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { top: 8px; opacity: 1; }
    100% { top: 24px; opacity: 0; }
}

/* Enhanced Stats Section */
.stats-section {
    background: white;
    padding: 5rem 0;
    margin-top: -3rem;
    position: relative;
    z-index: 3;
    border-radius: 3rem 3rem 0 0;
    box-shadow: var(--shadow-xl);
}

.stat-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    animation: breathe 5s ease-in-out infinite;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transition: var(--transition);
}

.stat-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.03) 0%, 
        rgba(16, 185, 129, 0.03) 50%, 
        rgba(59, 130, 246, 0.03) 100%);
    animation: colorWave 10s ease-in-out infinite;
    z-index: 0;
}

.stat-card > * {
    position: relative;
    z-index: 1;
}

.stat-card:hover::before {
    left: 0;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.stat-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.8rem;
    color: white;
    box-shadow: var(--shadow-md);
    animation: statIconPulse 4s ease-in-out infinite;
}

@keyframes statIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.stat-number {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 3rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-weight: 600;
    color: var(--dark-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Package Section */
.packages-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

.section-header {
    margin-bottom: 4rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 2.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.package-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid #e2e8f0;
    position: relative;
    animation: breathe 8s ease-in-out infinite;
}

.package-card.featured {
    border: 2px solid var(--primary-color);
    transform: scale(1.02);
    animation: breathe 7s ease-in-out infinite;
}

.package-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.package-header {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.package-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--warning-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.package-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.package-price .currency {
    font-size: 1.5rem;
    font-weight: 600;
}

.package-price .amount {
    font-size: 3rem;
    font-weight: 800;
}

.price-note {
    font-size: 0.9rem;
    opacity: 0.8;
    text-decoration: line-through;
}

.package-content {
    padding: 2rem;
}

.test-list {
    list-style: none;
    padding: 0;
}

.test-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
}

.test-list li:hover {
    background: #f8fafc;
    padding-left: 1rem;
}

.test-list li:last-child {
    border-bottom: none;
}

.package-footer {
    padding: 0 2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.package-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.package-features span {
    background: #f1f5f9;
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Quick Tests Card */
.quick-tests-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    height: 100%;
}

.quick-tests-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.quick-tests-card h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.quick-test-item {
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
    transition: var(--transition-fast);
}

.quick-test-item:hover {
    background: #f8fafc;
    padding-left: 1rem;
    border-radius: 8px;
}

.quick-test-item:last-child {
    border-bottom: none;
}

.test-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.test-name {
    font-weight: 500;
    color: var(--dark-color);
}

.test-price {
    font-weight: 700;
    color: var(--success-color);
    font-size: 1.1rem;
}

/* Section Logos */
.section-logo-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.section-logo {
    width: 60px;
    height: 60px;
    animation: logoFloat 8s ease-in-out infinite;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: all 0.3s ease;
}

.section-logo:hover {
    transform: scale(1.1) rotate(5deg);
    opacity: 1;
    filter: drop-shadow(0 6px 12px rgba(59, 130, 246, 0.3));
}

.section-logo-center {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    animation: logoFloat 8s ease-in-out infinite;
    opacity: 0.9;
    filter: drop-shadow(0 6px 12px rgba(59, 130, 246, 0.2));
    transition: all 0.3s ease;
}

.section-logo-center:hover {
    transform: scale(1.05) rotate(-3deg);
    opacity: 1;
    filter: drop-shadow(0 8px 16px rgba(59, 130, 246, 0.3));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(3deg); }
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: white;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: 1.5rem;
}

.about-features {
    margin-top: 3rem;
}

.about-features .feature-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #f8fafc;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.about-features .feature-item:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.about-image {
    text-align: center;
    position: relative;
}

.about-logo {
    width: 200px;
    height: 200px;
    margin-bottom: 2rem;
    animation: logoFloat 8s ease-in-out infinite;
    opacity: 0.85;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
    transition: all 0.5s ease;
}

.about-logo:hover {
    transform: scale(1.05);
    opacity: 1;
    filter: drop-shadow(0 15px 30px rgba(59, 130, 246, 0.25));
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.about-stats .stat-item {
    background: var(--gradient-primary);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    text-align: center;
    transition: var(--transition);
}

.about-stats .stat-item:hover {
    transform: scale(1.05);
}

.about-stats h4 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

/* Services Section */
.services-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.service-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    animation: breathe 6s ease-in-out infinite;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: var(--transition);
    transform: translate(-50%, -50%);
}

.service-card:hover .service-icon::before {
    width: 100%;
    height: 100%;
}

.service-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.service-description {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-features span {
    background: #f1f5f9;
    color: var(--dark-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    text-align: center;
}

/* Contact Section */
.contact-section {
    padding: 6rem 0;
    background: white;
}

/* Enhanced Contact Section */
.contact-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
}

/* Contact Cards */
.contact-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
}

.phone-card .contact-icon {
    background: linear-gradient(135deg, #3b82f6, #1e40af);
}

.email-card .contact-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.location-card .contact-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.hours-card .contact-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.contact-card h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.contact-details {
    margin-bottom: 1rem;
}

.contact-link {
    display: block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.contact-link:hover {
    color: var(--secondary-color);
    transform: translateX(5px);
}

.contact-note {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
    height: 100%;
}

.contact-form-wrapper h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: #64748b;
    margin-bottom: 2rem;
}

/* Enhanced Form Controls */
.form-floating > .form-control,
.form-floating > .form-select {
    height: 3.5rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: var(--transition);
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.25);
}

.form-floating > label {
    color: #64748b;
    font-weight: 500;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select:focus ~ label,
.form-floating > .form-select:not([value=""]) ~ label {
    color: var(--primary-color);
}

/* Contact Info Sidebar */
.contact-info-sidebar {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
    height: 100%;
}

.contact-info-sidebar h3 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    background: #f8fafc;
    transition: var(--transition);
}

.info-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.info-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-content h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.info-content p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.emergency-contact {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    border: 2px solid #f87171;
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    margin-top: 2rem;
}

.emergency-contact h6 {
    color: #dc2626;
    font-weight: 600;
    margin-bottom: 1rem;
}

.emergency-number {
    display: inline-block;
    background: #dc2626;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.emergency-number:hover {
    background: #b91c1c;
    transform: scale(1.05);
}

.emergency-contact p {
    font-size: 0.875rem;
    color: #7f1d1d;
    margin: 0;
}

/* Button Improvements */
.contact-form .btn {
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.contact-form .btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-card {
        margin-bottom: 1.5rem;
    }
    
    .contact-form-wrapper,
    .contact-info-sidebar {
        padding: 1.5rem;
    }
    
    .contact-form .btn {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .contact-form .btn.ms-3 {
        margin-left: 0 !important;
    }
}

@media (max-width: 576px) {
    .contact-section {
        padding: 4rem 0;
    }
    
    .contact-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}

.contact-info-card h4,
.contact-form-card h4 {
    font-family: 'Poppins', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.contact-link {
    color: var(--dark-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    transition: var(--transition-fast);
}

.contact-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.contact-item {
    margin-bottom: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid #f1f5f9;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-form .form-control {
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    padding: 1rem 1.5rem;
    font-size: 1rem;
    transition: var(--transition);
    background: #f8fafc;
    margin-bottom: 1rem;
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
    background: white;
    outline: none;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-brand {
    text-align: center;
}

.footer-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1rem;
    opacity: 0.9;
    filter: drop-shadow(0 4px 8px rgba(255,255,255,0.1));
    transition: all 0.3s ease;
}

.footer-logo:hover {
    transform: scale(1.1);
    opacity: 1;
    filter: drop-shadow(0 6px 12px rgba(255,255,255,0.2));
}

.footer-tagline {
    font-style: italic;
    color: var(--warning-color);
    font-weight: 500;
}

.footer-contact p,
.footer-tests a {
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-tests a:hover {
    color: var(--accent-color);
    transform: translateX(5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 3rem;
    padding-top: 2rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
    justify-content: end;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    color: white;
}

/* Floating Buttons */
.whatsapp-float,
.call-float {
    position: fixed;
    bottom: 2rem;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 1000;
}

.whatsapp-float {
    right: 2rem;
    background: #25d366;
}

.call-float {
    right: 5rem;
    background: var(--gradient-primary);
}

.whatsapp-float:hover,
.call-float:hover {
    transform: scale(1.1) translateY(-5px);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
        text-align: center;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .package-card.featured {
        transform: none;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    /* Contact Section Mobile Fixes */
    .contact-info-card,
    .contact-form-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-info-card h4,
    .contact-form-card h4 {
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .contact-item {
        margin-bottom: 0.75rem;
        padding: 0.5rem;
    }
    
    .contact-link {
        font-size: 0.9rem;
        flex-wrap: wrap;
    }
    
    .contact-link span {
        word-break: break-all;
    }
    
    .contact-form .form-control {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .contact-form .row {
        margin: 0;
    }
    
    .contact-form .col-12 {
        padding: 0;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Section logos mobile */
    .section-logo-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .section-logo {
        width: 50px;
        height: 50px;
    }
    
    .section-logo-center {
        width: 60px;
        height: 60px;
        margin-bottom: 1rem;
    }
    
    /* Navbar mobile fixes */
    .navbar-brand {
        gap: 0.5rem;
    }
    
    .navbar-logo {
        width: 40px;
        height: 40px;
    }
    
    .brand-text strong {
        font-size: 1rem;
    }
    
    .brand-text small {
        font-size: 0.7rem;
    }
    
    /* Hero mobile improvements */
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-card {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .hero-logo {
        width: 80px;
        height: 80px;
    }
    
    /* Package section mobile */
    .package-content {
        padding: 1.5rem;
    }
    
    .package-header {
        padding: 1.5rem;
    }
    
    .package-title {
        font-size: 1.4rem;
    }
    
    .package-price .amount {
        font-size: 2.5rem;
    }
    
    .test-list li {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
    
    /* Service cards mobile */
    .service-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    /* Stats section mobile */
    .stat-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: 3rem 0 2rem;
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .row {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Floating buttons mobile */
    .whatsapp-float,
    .call-float {
        bottom: 1rem;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .call-float {
        right: 4rem;
    }
    
    /* Particles mobile optimization */
    .particle {
        width: 4px;
        height: 4px;
    }
    
    /* Scroll indicator mobile */
    .scroll-indicator {
        bottom: 1rem;
        font-size: 0.8rem;
    }
    
    .scroll-mouse {
        width: 20px;
        height: 35px;
    }
}

/* Additional mobile breakpoint for very small screens */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.1;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 1rem;
    }
    
    .contact-item {
        margin-bottom: 0.5rem;
        padding: 0.25rem;
    }
    
    .contact-link {
        font-size: 0.85rem;
    }
    
    .contact-form .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        margin-bottom: 0.6rem;
    }
    
    /* Logo responsiveness */
    .section-logo {
        width: 40px;
        height: 40px;
    }
    
    .section-logo-center {
        width: 50px;
        height: 50px;
    }
    
    .package-card,
    .service-card,
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .hero-features {
        gap: 0.5rem;
    }
    
    .hero-features .feature-item {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .whatsapp-float {
        right: 1rem;
    }
    
    .call-float {
        right: 3.5rem;
    }
}

/* FAB (Floating Action Buttons) System */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

/* Individual FAB Buttons */
.fab-button {
    position: relative;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.8);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.fab-button.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.fab-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: white;
    font-size: 1.125rem;
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.fab-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.2);
    opacity: 0;
    transition: var(--transition);
}

.fab-link:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
    color: white;
}

.fab-link:hover::before {
    opacity: 1;
}

/* FAB Button Colors */
.fab-call .fab-link {
    background: linear-gradient(135deg, #059669, #047857);
}

.fab-whatsapp .fab-link {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.fab-email .fab-link {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.fab-location .fab-link {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

/* FAB Tooltips */
.fab-tooltip {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-50%) translateX(-10px);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    pointer-events: none;
}

.fab-button:hover .fab-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

/* Main FAB Button */
.fab-main {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    order: 1;
    opacity: 0;
    transform: scale(0.8);
}

.fab-main.loaded {
    opacity: 1;
    transform: scale(1);
}

.fab-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #34d399, #10b981);
    opacity: 0;
    transition: var(--transition);
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(16, 185, 129, 0.6);
}

.fab-main:hover::before {
    opacity: 1;
}

.fab-main i {
    color: white;
    font-size: 1.5rem;
    z-index: 1;
    position: relative;
    transition: var(--transition);
}

.fab-main.active i {
    transform: rotate(45deg);
}

/* FAB Animation Sequence */
.fab-container.active .fab-button {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.fab-container.active .fab-button:nth-child(2) {
    transition-delay: 0.1s;
}

.fab-container.active .fab-button:nth-child(3) {
    transition-delay: 0.2s;
}

.fab-container.active .fab-button:nth-child(4) {
    transition-delay: 0.3s;
}

.fab-container.active .fab-button:nth-child(5) {
    transition-delay: 0.4s;
}

/* FAB Mobile Responsiveness */
@media (max-width: 768px) {
    .fab-container {
        bottom: 1rem;
        right: 1rem;
        gap: 0.75rem;
    }
    
    .fab-main {
        width: 55px;
        height: 55px;
    }
    
    .fab-main i {
        font-size: 1.375rem;
    }
    
    .fab-link {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
    
    .fab-tooltip {
        display: none;
    }
}

/* FAB Animations */
@keyframes fabPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.fab-main {
    animation: fabPulse 3s ease-in-out infinite;
}

.fab-main:hover,
.fab-main.active {
    animation: none;
}

/* Google Maps Location Section */
.map-section {
    background: #f8fafc;
    padding: 0;
    position: relative;
}

.map-container {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    filter: contrast(1.1) saturate(1.1);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.map-marker {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.map-marker i {
    font-size: 1.5rem;
    color: #dc3545;
    animation: mapPulse 2s ease-in-out infinite;
}

.map-info {
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.map-info p {
    color: var(--dark-color);
    font-size: 0.875rem;
    line-height: 1.4;
}

.map-info strong {
    color: var(--primary-color);
}

@keyframes mapPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* QR Code Section Styles */
.qr-code-section {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.qr-code-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #f59e0b);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

.qr-header {
    margin-bottom: 1rem;
}

.qr-header h6 {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.qr-header i {
    color: var(--secondary-color);
    font-size: 1.125rem;
}

.qr-subtitle {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.qr-code-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.qr-code-image {
    border: 3px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    background: white;
    padding: 8px;
}

.qr-code-image:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

/* QR Code Fallback Styles */
.qr-fallback {
    width: 180px;
    height: 180px;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.qr-fallback-content {
    text-align: center;
    padding: 1rem;
}

.qr-fallback-content h6 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.qr-fallback-content .btn {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
}

.qr-instructions {
    flex: 1;
    text-align: left;
    min-width: 200px;
}

.qr-instructions p {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.qr-steps {
    list-style: none;
    padding: 0;
    margin: 0;
}

.qr-steps li {
    color: #64748b;
    font-size: 0.8rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.qr-steps li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute;
    left: 0;
    top: 0;
    background: var(--primary-color);
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 600;
}

.qr-steps {
    counter-reset: step-counter;
}

/* QR Code Mobile Responsiveness */
@media (max-width: 768px) {
    .qr-code-container {
        flex-direction: column;
        text-align: center;
    }
    
    .qr-code-image {
        width: 150px;
        height: 150px;
    }
    
    .qr-instructions {
        text-align: center;
        min-width: auto;
    }
    
    .qr-steps li {
        text-align: left;
    }
}

@media (max-width: 576px) {
    .qr-code-section {
        padding: 1rem;
    }
    
    .qr-code-image {
        width: 120px;
        height: 120px;
    }
    
    .qr-header h6 {
        font-size: 0.9rem;
    }
    
    .qr-subtitle {
        font-size: 0.8rem;
    }
    
    .qr-steps li {
        font-size: 0.75rem;
    }
}

.location-info {
    background: white;
    padding: 3rem 2.5rem;
    height: 500px;
    overflow-y: auto;
    position: relative;
}

.location-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}

.location-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.2));
}

.location-header h3 {
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.location-subtitle {
    color: #64748b;
    font-size: 0.875rem;
    margin: 0;
}

.address-details {
    margin-bottom: 2rem;
}

.address-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
    transition: var(--transition);
}

.address-item:hover {
    background: #e2e8f0;
    transform: translateX(5px);
}

.address-icon {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.address-icon i {
    color: white;
    font-size: 1rem;
}

.address-content h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.9rem;
}

.address-content p {
    color: #64748b;
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
}

.location-actions {
    margin-bottom: 2rem;
}

.location-actions .btn {
    border-radius: 12px;
    font-weight: 600;
    padding: 0.875rem 1.5rem;
    font-size: 0.875rem;
    transition: var(--transition);
}

.location-actions .btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.location-actions .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.location-actions .btn-success {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.location-actions .btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

.visit-info {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 12px;
    padding: 1.5rem;
}

.visit-info h6 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.visit-checklist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.visit-checklist li {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: #475569;
}

.visit-checklist li:last-child {
    margin-bottom: 0;
}

.visit-checklist i {
    color: #059669;
    margin-right: 0.5rem;
    font-size: 0.75rem;
}

/* Map Section Mobile Responsiveness */
@media (max-width: 991.98px) {
    .map-container {
        height: 400px;
    }
    
    .location-info {
        height: auto;
        padding: 2rem 1.5rem;
    }
    
    .location-header {
        margin-bottom: 1.5rem;
        padding-bottom: 1rem;
    }
    
    .location-logo {
        width: 50px;
        height: 50px;
    }
    
    .location-header h3 {
        font-size: 1.25rem;
    }
    
    .address-item {
        padding: 0.75rem;
        margin-bottom: 1rem;
    }
    
    .address-icon {
        width: 35px;
        height: 35px;
    }
    
    .address-icon i {
        font-size: 0.875rem;
    }
    
    .address-content h6 {
        font-size: 0.85rem;
    }
    
    .address-content p {
        font-size: 0.8rem;
    }
    
    .location-actions .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.8rem;
    }
    
    .visit-info {
        padding: 1.25rem;
    }
    
    .visit-info h6 {
        font-size: 0.85rem;
    }
    
    .visit-checklist li {
        font-size: 0.75rem;
    }
}

@media (max-width: 767.98px) {
    .map-container {
        height: 300px;
    }
    
    .map-overlay {
        top: 10px;
        left: 10px;
        padding: 0.75rem 1rem;
    }
    
    .map-marker {
        gap: 0.5rem;
        font-size: 0.875rem;
    }
    
    .map-marker i {
        font-size: 1.25rem;
    }
    
    .location-info {
        padding: 1.5rem 1rem;
    }
    
    .location-header {
        margin-bottom: 1.25rem;
    }
    
    .location-logo {
        width: 45px;
        height: 45px;
    }
    
    .location-header h3 {
        font-size: 1.125rem;
    }
    
    .location-subtitle {
        font-size: 0.8rem;
    }
    
    .address-item {
        padding: 0.6rem;
        margin-bottom: 0.875rem;
        gap: 0.75rem;
    }
    
    .address-icon {
        width: 32px;
        height: 32px;
    }
    
    .address-icon i {
        font-size: 0.8rem;
    }
    
    .location-actions {
        margin-bottom: 1.5rem;
    }
    
    .location-actions .btn {
        padding: 0.7rem 1rem;
        font-size: 0.75rem;
    }
    
    .visit-info {
        padding: 1rem;
    }
    
    .visit-info h6 {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .visit-checklist li {
        font-size: 0.7rem;
        margin-bottom: 0.4rem;
    }
    
    .visit-checklist i {
        font-size: 0.7rem;
    }
}

/* Hero Section Mobile Responsiveness */
@media (max-width: 991.98px) {
    .hero-main-title {
        font-size: 2.5rem;
    }
    
    .hero-tagline {
        font-size: 1.125rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .hero-features-pills {
        gap: 0.5rem;
    }
    
    .feature-pill {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .hero-action-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero-action-buttons .btn {
        width: 100%;
        margin-bottom: 0.75rem;
    }
    
    .hero-card-container {
        margin-top: 2rem;
    }
    
    .hero-main-card {
        padding: 2rem;
    }
    
    .lab-info-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .lab-logo {
        width: 50px;
        height: 50px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .service-box {
        padding: 0.75rem;
    }
    
    .featured-package {
        padding: 1.25rem;
    }
    
    .package-highlight {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .package-price .price {
        font-size: 1.5rem;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        min-height: auto;
        padding: 6rem 0 3rem;
    }
    
    .hero-content {
        padding: 1rem 0;
        text-align: center;
    }
    
    .hero-main-title {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .hero-tagline {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features-pills {
        justify-content: center;
        margin-bottom: 1.5rem;
    }
    
    .feature-pill {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
    
    .hero-action-buttons {
        margin-bottom: 2rem;
    }
    
    .hero-action-buttons .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
    
    .hero-card-container {
        margin-top: 1.5rem;
        padding: 0 1rem;
    }
    
    .hero-main-card {
        padding: 1.5rem;
    }
    
    .lab-title-info h4 {
        font-size: 1.125rem;
    }
    
    .lab-title-info p {
        font-size: 0.8rem;
    }
    
    .service-box {
        padding: 0.6rem;
    }
    
    .service-box span {
        font-size: 0.8rem;
    }
    
    .featured-package {
        padding: 1rem;
    }
    
    .package-info h5 {
        font-size: 1rem;
    }
    
    .package-details {
        font-size: 0.8rem;
    }
    
    .package-price .price {
        font-size: 1.25rem;
    }
    
    .contact-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        text-align: left;
    }
    
    .contact-details {
        gap: 0.15rem;
    }
    
    .contact-link {
        font-size: 0.875rem;
    }
    
    .hero-qr-section {
        padding-top: 1rem;
    }
    
    .qr-code-container {
        padding: 1rem;
    }
    
    .qr-header {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .qr-code-img {
        width: 100px;
        height: 100px;
    }
    
    .qr-description {
        font-size: 0.7rem;
    }
    
    .card-cta-section .btn {
        padding: 0.875rem 1rem;
        font-size: 0.875rem;
    }
}

@media (max-width: 575.98px) {
    .hero-content {
        padding: 0.5rem 0;
    }
    
    .hero-main-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-tagline {
        font-size: 0.9rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        line-height: 1.6;
    }
    
    .hero-features-pills {
        flex-direction: column;
        align-items: center;
        gap: 0.4rem;
    }
    
    .feature-pill {
        width: fit-content;
    }
    
    .hero-main-card {
        padding: 1.25rem;
    }
    
    .lab-logo {
        width: 40px;
        height: 40px;
    }
    
    .lab-title-info h4 {
        font-size: 1rem;
    }
    
    .service-box {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .service-box i {
        font-size: 1rem;
    }
    
    .service-box span {
        font-size: 0.75rem;
    }
    
    .featured-package::before {
        font-size: 0.65rem;
        padding: 3px 30px;
    }
    
    .package-info h5 {
        font-size: 0.9rem;
    }
    
    .package-price .price {
        font-size: 1.125rem;
    }
    
    .package-price .mrp {
        font-size: 0.7rem;
    }
    
    .contact-item i {
        font-size: 1rem;
    }
    
    .contact-link {
        font-size: 0.8rem;
    }
    
    .qr-code-container {
        padding: 0.75rem;
    }
    
    .qr-header {
        font-size: 0.75rem;
        gap: 0.4rem;
    }
    
    .qr-header i {
        font-size: 1rem;
    }
    
    .qr-code-img {
        width: 80px;
        height: 80px;
    }
    
    .qr-description {
        font-size: 0.65rem;
    }
}