/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 50%;
    pointer-events: none;
    width: 50px;
    height: 50px;
    transform: translate(-50%, -50%) scale(0);
    animation: ripple 0.8s ease-out;
}

:root {
    --primary-color: #4ECDC4;
    --primary-rgb: 78, 205, 196;
    --secondary-color: #FF6B6B;
    --secondary-rgb: 255, 107, 107;
    --accent-color: #45B7B8;
    --text-dark: #2C3E50;
    --text-light: #7F8C8D;
    --background-light: #F8F9FA;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 8px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Performance optimizations */
html {
    /* Improve scrolling performance */
    scroll-behavior: smooth;
}

body {
    /* Reduce repaints */
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Optimize animations */
.animate-in, .slider-container, .hero-slide,
.test-card, .package-card, .specialty-card, .location-card {
    will-change: transform, opacity;
    transform: translateZ(0);
}

html {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: -3px;
    line-height: 1.2;
}

.brand-text p {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.1;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.nav-link.active::after,
.nav-link:hover::after {
    width: 80%;
    opacity: 1;
}

/* Home Visit Tag Styling */
.home-visit-tag {
    display: block;
    color: #ff6b6b;
    font-size: 0.79em;
    margin-top: -10px;
    margin-left: -13px;
    text-transform: lowercase;
    font-family: cursive;
    font-weight: 700;
}

@media (max-width: 768px) {
    .home-visit-tag {
        font-size: 0.89em;
        color: #ff6b6b;
        padding-top: 5px;
        margin-left: -1px;
        
    }
}

/* Responsive nav link animations */
@media (max-width: 768px) {
    .nav-link:hover,
    .nav-link.active {
        transform: translateY(-1px);
    }
}

@media (max-width: 480px) {
    .nav-link {
        transition: all 0.2s ease;
    }
    
    .nav-link:hover,
    .nav-link.active {
        transform: none;
    }
    
    .nav-link::after {
        transition: all 0.2s ease;
    }
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}



.whatsapp-btn {
    background: #25D366;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 8px;
}

.whatsapp-btn:hover {
    background: #20B954;
    transform: translateY(-2px);
}

/* Responsive WhatsApp button animations */
@media (max-width: 768px) {
    .whatsapp-btn:hover {
        transform: translateY(-1px);
    }
}

@media (max-width: 480px) {
    .whatsapp-btn {
        transition: all 0.2s ease;
    }
    
    .whatsapp-btn:hover {
        transform: none;
    }
}

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

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

/* Hero Section */
.hero {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

/* Animated Heartbeat */
.animated-heartbeat {
    display: inline-block;
    margin-left: 10px;
    color: var(--secondary-color);
}

.animated-heartbeat i {
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.2); }
    50% { transform: scale(1); }
    75% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
    background: var(--background-light);
    transform: translateY(-2px);
    box-shadow: 0 7px 14px rgba(78, 205, 196, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-secondary:hover {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 7px 14px rgba(255, 107, 107, 0.4);
    transform: translateY(-3px);
}

.hero-graphic {
    text-align: center;
    font-size: 6rem;
    opacity: 0.2;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

/* Quick Actions */
.quick-actions {
    padding: 40px 0;
    background: var(--background-light);
}

.quick-actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.quick-action-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow), 0 0 0 1px rgba(0, 0, 0, 0.02);
    text-align: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.05);
}

.quick-action-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.quick-action-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(78, 205, 196, 0.1);
    border-color: rgba(78, 205, 196, 0.3);
}

.quick-action-card:hover::before {
    opacity: 1;
}

.quick-action-card:hover i {
    transform: scale(1.15) rotate(5deg);
    color: var(--secondary-color);
    text-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
}

/* Responsive card animations */
@media (max-width: 768px) {
    .quick-action-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(78, 205, 196, 0.08);
    }
    
    .quick-action-card:hover i {
        transform: scale(1.1) rotate(3deg);
    }
}

@media (max-width: 480px) {
    .quick-action-card {
        transition: all 0.25s ease;
    }
    
    .quick-action-card:hover {
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(78, 205, 196, 0.05);
    }
    
    .quick-action-card:hover i {
        transform: scale(1.05) rotate(2deg);
    }
}

.quick-action-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.quick-action-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
}

.quick-action-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Health Services Slider */
.health-slider-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    overflow: hidden;
    position: relative;
    display: flex;
}

.sliders-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-left: 36px;
}

.health-slider-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e0e0e0" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

.slider-container {
    position: relative;
    max-width: 348px;
    margin: 0 auto;
    border-radius: 24px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    overflow: hidden;
    z-index: 1;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1), 0 5px 10px rgba(0, 0, 0, 0.04), 0 0 0 1px rgba(0, 0, 0, 0.02), inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    border: none;
    padding: 2px;
    background-clip: padding-box;
}

.slider-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.5;
    transition: opacity 0.5s ease;
}

.slider-container:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(var(--primary-rgb), 0.08),
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.slider-container:hover::before {
    opacity: 1;
}

/* Responsive slider container animations */
@media (max-width: 768px) {
    .slider-container {
        border-radius: 20px;
        padding: 1.5px;
        box-shadow: 
            0 8px 20px rgba(0, 0, 0, 0.08),
            0 4px 8px rgba(0, 0, 0, 0.03),
            0 0 0 1px rgba(0, 0, 0, 0.01),
            inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    }

    .slider-container::before {
        border-radius: 20px;
        padding: 1.5px;
    }
    
    .slider-container:hover {
        transform: translateY(-3px) scale(1.005);
        box-shadow: 
            0 15px 30px rgba(0, 0, 0, 0.12),
            0 8px 16px rgba(0, 0, 0, 0.08),
            0 0 0 1px rgba(var(--primary-rgb), 0.05),
            inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    }
}

@media (max-width: 480px) {
    .slider-container {
        border-radius: 16px;
        padding: 1px;
        transition: all 0.3s ease;
        box-shadow: 
            0 6px 15px rgba(0, 0, 0, 0.06),
            0 2px 6px rgba(0, 0, 0, 0.02),
            0 0 0 1px rgba(0, 0, 0, 0.01),
            inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    }

    .slider-container::before {
        border-radius: 16px;
        padding: 1px;
    }
    
    .slider-container:hover {
        transform: translateY(-2px) scale(1.002);
        box-shadow: 
            0 10px 25px rgba(0, 0, 0, 0.1),
            0 6px 12px rgba(0, 0, 0, 0.06),
            0 0 0 1px rgba(var(--primary-rgb), 0.03),
            inset 0 0 0 1px rgba(255, 255, 255, 0.5);
    }
}

.slider-track {
    display: flex;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 100%;
}

.slide {
    min-width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    padding: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    transition: all 0.5s ease;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 1px;
    border: 2px solid transparent;
    border-radius: 22px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color)) border-box;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.15;
    transition: opacity 0.5s ease;
}

.slide:hover::before {
    opacity: 0.3;
}

@media (max-width: 768px) {
    .slide {
        min-height: 250px;
        padding: 15px;
    }

    .slide::before {
        border-radius: 18px;
        border-width: 1.5px;
    }
}

@media (max-width: 480px) {
    .slide {
        min-height: 220px;
        padding: 12px;
    }

    .slide::before {
        border-radius: 14px;
        border-width: 1px;
    }
}

.slide::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.slider-container:hover .slide::after {
    opacity: 1;
}

.slide img {
    width: auto;
    height: auto;
    max-width: 85%;
    max-height: 85%;
    object-fit: contain;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
    filter: brightness(1);
}

.slider-container:hover .slide img {
    transform: scale(1.03);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(var(--primary-rgb), 0.08);
    filter: brightness(1.05);
}

/* Responsive slide image animations */
@media (max-width: 768px) {
    .slide img {
        max-width: 90%;
        max-height: 90%;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    }
    
    .slider-container:hover .slide img {
        transform: scale(1.02);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(var(--primary-rgb), 0.05);
    }
}

@media (max-width: 480px) {
    .slide img {
        max-width: 95%;
        max-height: 95%;
        transition: all 0.3s ease;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        filter: brightness(1.02);
    }
    
    .slider-container:hover .slide img {
        transform: scale(1.01);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(var(--primary-rgb), 0.03);
        filter: brightness(1.05);
    }
}

.slide:hover img {
    transform: scale(1.05);
}

.slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
    backdrop-filter: blur(4px);
}

.slide:hover .slide-content {
    transform: translateY(0);
}

.slide-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.6rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.3px;
}

.slide-content p {
    font-size: 1rem;
    opacity: 0.9;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    font-weight: 400;
    line-height: 1.3;
}

@media (max-width: 768px) {
    .slide-content {
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
        backdrop-filter: none;
        padding: 1.5rem 1rem 1rem;
    }
    
    .slide-content h3 {
        font-size: 1.2rem;
        margin-bottom: 0.4rem;
    }
    
    .slide-content p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .slide-content {
        background: linear-gradient(transparent 20%, rgba(0, 0, 0, 0.95));
        padding: 1.2rem 0.8rem 0.8rem;
    }
    
    .slide-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .slide-content p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    padding: 1.5rem 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(248, 249, 250, 0.8) 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
}

.slider-indicators::before {
    content: '';
    position: absolute;
    top: 0;
    left: 15%;
    right: 15%;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(var(--primary-rgb), 0.1) 20%,
        rgba(var(--primary-rgb), 0.1) 80%,
        transparent 100%
    );
}

.indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.06),
        inset 0 0 0 1px rgba(0, 0, 0, 0.02);
    position: relative;
}

.indicator::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.indicator.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transform: scale(1.2);
    border-color: white;
    box-shadow: 
        0 4px 8px rgba(var(--primary-rgb), 0.25),
        0 2px 4px rgba(var(--primary-rgb), 0.15),
        inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.indicator.active::after {
    opacity: 0.3;
}

.indicator:hover {
    background: var(--accent-color);
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.9);
    box-shadow: 
        0 3px 6px rgba(var(--primary-rgb), 0.2),
        0 1px 3px rgba(var(--primary-rgb), 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

@media (max-width: 768px) {
    .slider-indicators {
        padding: 1.2rem 0;
        gap: 0.7rem;
    }

    .indicator {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .slider-indicators {
        padding: 1rem 0;
        gap: 0.6rem;
    }

    .indicator {
        width: 6px;
        height: 6px;
        border-width: 1.5px;
    }

    .indicator::after {
        inset: -3px;
    }
}





/* Vision, Mission & Motto Section */
.vision-mission-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.vision-mission-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="%23e9ecef" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.5;
}

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

.vision-mission-section .section-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.vision-mission-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.vision-mission-section .section-header h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.vision-mission-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    width: 100%;
}

.vision-card,
.mission-card,
.motto-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(0, 0, 0, 0.05);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vision-card::before,
.mission-card::before,
.motto-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.vision-card:hover::before,
.mission-card:hover::before,
.motto-card:hover::before {
    transform: scaleX(1);
}

.vision-card:hover,
.mission-card:hover,
.motto-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    box-shadow: 0 8px 20px rgba(78, 205, 196, 0.25);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.vision-card:hover .card-icon,
.mission-card:hover .card-icon,
.motto-card:hover .card-icon {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 10px 25px rgba(78, 205, 196, 0.3);
}

.vision-card h3,
.mission-card h3,
.motto-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    position: relative;
    flex-shrink: 0;
}

.vision-card h3::after,
.mission-card h3::after,
.motto-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.vision-card p,
.mission-card p,
.motto-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-light);
    margin: 0;
    font-style: italic;
    flex-grow: 1;
}

/* Animation classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-on-scroll.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design for Slider */
@media (max-width: 768px) {
    .sliders-wrapper {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        padding: 0 15px;
        margin-left: 7px;
        margin-top: -22px;
    }
    
    .slider-container {
        max-width: 95%;
        margin: 0 auto;
    }
    
    .slide {
        min-height: 250px;
        padding: 15px;
    }
    
    .slide-content {
        padding: 1.5rem 1rem 1rem;
        transform: translateY(0);
        background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    }
    
    .slide-content h3 {
        font-size: 1.3rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
    }
    
    .slider-indicators {
        padding: 0.8rem 0;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    /* Vision Mission Responsive */
    .vision-mission-section {
        padding: 50px 0;
    }
    
    .vision-mission-section .section-header h2 {
        font-size: 2.5rem;
        margin-bottom: 1.2rem;
    }
    
    .vision-mission-section .section-header {
        margin-bottom: 3rem;
    }
    
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 20px;
    }
    
    .vision-card,
    .mission-card,
    .motto-card {
        padding: 2.5rem 2rem;
        border-radius: 16px;
    }
    
    .card-icon {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .vision-card h3,
    .mission-card h3,
    .motto-card h3 {
        font-size: 1.8rem;
        margin-bottom: 1.2rem;
    }
    
    .vision-card p,
    .mission-card p,
    .motto-card p {
        font-size: 1.1rem;
        line-height: 1.7;
    }
    


}

@media (max-width: 480px) {
    .slide {
        min-height: 200px;
        padding: 10px;
    }
    
    .slide-content h3 {
        font-size: 1.1rem;
    }
    
    .slide-content p {
        font-size: 0.8rem;
    }
    
    /* Vision Mission Mobile Responsive */
    .vision-mission-section {
        padding: 20px 0;
    }
    
    .vision-mission-section .section-header h2 {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    .vision-mission-section .section-header {
        margin-bottom: 2rem;
    }
    
    .vision-mission-grid {
        gap: 1rem;
        padding: 0 10px;
    }
    
    .vision-card,
    .mission-card,
    .motto-card {
        padding: 1.5rem 1rem;
        border-radius: 12px;
    }
    
    .card-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-bottom: 1rem;
    }
    
    .vision-card h3,
    .mission-card h3,
    .motto-card h3 {
        font-size: 1.3rem;
        margin-bottom: 0.6rem;
    }
    
    .vision-card p,
    .mission-card p,
    .motto-card p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    


}

/* Lab Partners */
.lab-partners {
    padding: 12px 0;
    background: white;
}

.section-header {
    padding-top: 16px;
    text-align: center;
    margin-bottom: 1rem;
}

/* About Us Section */
.about-us {
    padding: 4rem 0;
    background-color: var(--background-light);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    line-height: 1.8;
    font-size: 1.1rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.section-header h2.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.section-header h2.highlight::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.5s ease;
}



@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.lab-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

.lab-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.lab-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: var(--primary-color);
}

.lab-logo {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    padding: 15px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 2px solid var(--background-light);
}

.lab-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: var(--transition);
}

.lab-card:hover .lab-logo {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: scale(1.05);
}

.lab-card:hover .lab-logo img {
    transform: scale(1.1);
}

.lab-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
}

/* Blood Tests */
.blood-tests {
    padding: 1px 0;
    background: var(--background-light);
}

.tests-slider-container {
    position: relative;
    max-width: 100%;
    overflow: hidden;
}

.slider-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.slider-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: var(--shadow);
}

.slider-btn:hover {
    background: var(--accent-color);
    transform: scale(1.1);
    box-shadow: var(--shadow-hover);
}

.slider-btn:disabled {
    background: var(--text-light);
    cursor: not-allowed;
    transform: none;
}

.tests-slider {
    overflow: hidden;
    border-radius: var(--border-radius);
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1rem;
    transition: transform 0.5s ease;
    padding: 0.5rem 1rem;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 2rem;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary-color);
    transform: scale(1.2);
}

.test-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 1.2rem;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(78, 205, 196, 0.08);
    border-left: 4px solid var(--primary-color);
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    overflow: hidden;
}

.test-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15), 0 6px 15px rgba(0, 0, 0, 0.1);
    border-color: rgba(78, 205, 196, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
}

.test-card:hover h3 {
    color: var(--primary-color);
    transform: translateX(2px);
}

.test-card:hover .test-Price {
    background: linear-gradient(135deg, #45B7B8, #3a9a9b);
    transform: scale(1.05);
    box-shadow: 0 4px 8px rgba(78, 205, 196, 0.4);
}

.test-card:hover .report-badge {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    color: #155724;
    transform: scale(1.05);
    box-shadow: 0 2px 6px rgba(46, 204, 113, 0.2);
}

.test-card:hover .test-mrp {
    color: #6c757d;
}

.test-card:hover .test-desc {
    color: #495057;
}

.test-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.4rem;
    color: var(--text-dark);
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.3s ease;
}

.test-card p {
    font-size: 0.87rem;
    color: #6c757d;
    margin-bottom: 0.6rem;
    flex-grow: 1;
    line-height: 1.4;
}

/* Blood test enhancements */
.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
}

.test-mrp {
    color: #adb5bd;
    text-decoration: line-through;
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.test-desc {
    color: #6c757d;
    font-size: 0.84rem;
    line-height: 1.4;
    font-style: italic;
    transition: all 0.3s ease;
}

.report-badge {
    align-self: flex-end;
    background: linear-gradient(135deg, #e8f5e8, #f0f8f0);
    color: #2d5a2d;
    border: 1px solid rgba(46, 204, 113, 0.2);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.75rem;
    box-shadow: 0 1px 3px rgba(46, 204, 113, 0.1);
    transition: all 0.3s ease;
}

/* Compact price badge for test card */
.test-Price {
    background: linear-gradient(135deg, #4ECDC4, #45B7B8);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.92rem;
    box-shadow: 0 2px 4px rgba(78, 205, 196, 0.3);
    transition: all 0.3s ease;
}

.test-code {
    background: var(--background-light);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 0.8rem;
    color: var(--text-light);
    display: inline-block;
    align-self: flex-start;
}



/* Price Highlight Styles */
.price-highlight {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.price-text {
    background: linear-gradient(135deg, var(--secondary-color), #ff4757);
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.2rem;
    position: relative;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: priceFloat 3s ease-in-out infinite, priceGlow 2s ease-in-out infinite;
    transform-style: preserve-3d;
}

.price-text::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border: 2px solid var(--secondary-color);
    border-radius: 50px;
    animation: pulseBorder 2s ease-in-out infinite;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.packages-grid.main-packages {
    margin-bottom: 2rem;
}

.package-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.package-card.featured {
    border-color: var(--secondary-color);
    background: linear-gradient(to bottom right, rgba(255, 107, 107, 0.05), rgba(255, 107, 107, 0.02));
}

.package-card.featured::before {
    content: 'Popular';
    position: absolute;
    top: 1rem;
    right: -2rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.25rem 2rem;
    transform: rotate(45deg);
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(255, 107, 107, 0.3);
}

@keyframes priceFloat {
    0%, 100% {
        transform: translateY(0) rotateX(0);
    }
    50% {
        transform: translateY(-10px) rotateX(5deg);
    }
}

@keyframes priceGlow {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    50% {
        box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
    }
}

.additional-packages {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.additional-packages.hidden {
    display: none;
}

.additional-packages.show {
    display: grid;
    opacity: 1;
    transform: translateY(0);
}

@keyframes pulseBorder {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

/* Responsive Price Highlight */
@media (max-width: 768px) {
    .price-text {
        font-size: 1.1rem;
        padding: 10px 25px;
    }
}

@media (max-width: 480px) {
    .price-text {
        font-size: 1rem;
        padding: 8px 20px;
    }
    
    .price-highlight {
        margin-top: 1rem;
    }
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.packages-grid.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.package-card {
    background: white;
    border: 2px solid var(--background-light);
    border-radius: var(--border-radius);
    padding: 2rem;
    text-align: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    transform-origin: center;
    will-change: transform, opacity, box-shadow;
    opacity: 0;
    transform: translateY(30px);
}

.package-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.package-card.featured {
    border-color: var(--secondary-color);
    transform: scale(1.05);
    box-shadow: var(--shadow-hover);
    z-index: 1;
}

.package-card.featured::before {
    content: 'Most Popular';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 8px rgba(255, 107, 107, 0.3);
    transition: all 0.3s ease;
}

.package-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-hover);
    transform: translateY(-5px);
}

.package-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.package-card:hover .package-icon {
    transform: scale(1.1) rotate(5deg);
}

.explore-more-section {
    text-align: center;
    margin-top: 3rem;
}

.explore-more-btn {
    background: var(--background-light);
    color: var(--text-dark);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
}

.explore-more-btn:hover {
    background: var(--primary-color);
    color: white;
}

.additional-packages {
    display: grid;
    opacity: 0;
    transform: translateY(30px);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.additional-packages.hidden {
    display: none;
}

.additional-packages.show {
    display: grid;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.package-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.package-card > p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.package-card ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.package-card li {
    padding: 0.5rem 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.package-card li.hidden {
    display: none;
    opacity: 0;
    transform: translateY(10px);
}

.package-card li.show {
    display: flex;
    opacity: 1;
    transform: translateY(0);
}

.package-card li i {
    color: var(--primary-color);
    margin-top: 4px;
}

/* Radiology */
.radiology {
    padding: 80px 0;
    background: var(--background-light);
}

.radiology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.radiology-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
}

.radiology-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.radiology-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--secondary-color), #FF8E8E);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.5rem;
    color: white;
}

.radiology-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.radiology-card p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.locations-section {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.locations-section h3 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--text-dark);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.location-card {
    background: var(--background-light);
    padding: 1rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition);
}

.location-card:hover {
    background: var(--primary-color);
    color: white;
}

.location-card i {
    color: var(--secondary-color);
}

.location-card:hover i {
    color: white;
}

/* Consultation */
.consultation {
    padding: 80px 0;
    background: white;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

@media (max-width: 768px) {
    .specialties-grid {
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 576px) {
    .specialties-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
        gap: 0.8rem;
    }
}

.specialty-card {
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}

.specialty-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.specialty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.specialty-card:hover::before {
    opacity: 1;
}

.specialty-icon {
    width: 100px;
    height: 100px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.specialty-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: all 0.3s ease;
}

.specialty-card:hover .specialty-icon {
    transform: scale(1.05);
}

.specialty-card:hover .specialty-icon img {
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
}

@media (max-width: 768px) {
    .specialty-icon {
        width: 85px;
        height: 85px;
    }
    
    .specialty-card {
        margin-bottom: 1.5rem;
    }
    
    .specialty-card h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .specialty-icon {
        width: 75px;
        height: 75px;
    }
    
    .specialty-card {
        margin-bottom: 1.2rem;
    }
    
    .specialty-card h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .specialty-icon {
        width: 65px;
        height: 65px;
    }
    
    .specialty-card h3 {
        font-size: 0.8rem;
    }
}

.specialty-card h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal.active {
    opacity: 1;
    visibility: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalFadeIn 0.3s ease forwards;
}

@media (max-width: 480px) {
    .modal-content {
        width: 95%;
        margin: 3% auto;
        max-height: 95vh;
    }
}

.modal-header {
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid var(--background-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: white;
    z-index: 10;
}

.modal-header h2 {
    color: var(--text-dark);
    font-size: 1.5rem;
}

@media (max-width: 480px) {
    .modal-header {
        padding: 1.5rem 1.5rem 0.8rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
}

.close-modal {
    font-size: 2rem;
    cursor: pointer;
    color: var(--text-light);
    transition: var(--transition);
    padding: 5px;
    line-height: 1;
}

.close-modal:hover {
    color: var(--text-dark);
}

.consultation-form,
.radiology-form {
    padding: 1rem 2rem 2rem;
}

@media (max-width: 480px) {
    .consultation-form,
    .radiology-form {
        padding: 1rem 1.2rem 1.5rem;
    }
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--background-light);
    border-radius: var(--border-radius);
    font-family: inherit;
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-color: white;
    transform: translateY(0);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
    border-color: #c0c0c0;
    transform: translateY(-1px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Custom dropdown styling */
.form-group select {
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C3E50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
    cursor: pointer;
}

/* Date input styling */
.form-group input[type="date"] {
    cursor: pointer;
    padding-right: 40px;
    position: relative;
    color: var(--text-dark);
}

/* Calendar icon for date inputs */
.form-group input[type="date"]::-webkit-calendar-picker-indicator {
    background: transparent;
    bottom: 0;
    color: transparent;
    cursor: pointer;
    height: 100%;
    left: auto;
    right: 0;
    position: absolute;
    top: 0;
    width: 40px;
    opacity: 0;
}

/* Custom date input appearance */
.form-group input[type="date"]::before {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232C3E50' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3crect x='3' y='4' width='18' height='18' rx='2' ry='2'%3e%3c/rect%3e%3cline x1='16' y1='2' x2='16' y2='6'%3e%3c/line%3e%3cline x1='8' y1='2' x2='8' y2='6'%3e%3c/line%3e%3cline x1='3' y1='10' x2='21' y2='10'%3e%3c/line%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.1);
}

@media (max-width: 768px) {
    .form-group {
        margin-bottom: 1.2rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px;
        font-size: 0.95rem;
    }
}

/* Form section styles */
.form-section {
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--background-light);
    padding-bottom: 1rem;
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

@media (max-width: 480px) {
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 8px 10px;
        font-size: 0.9rem;
    }
    
    .btn-primary {
        width: 100%;
        padding: 12px;
    }
    
    .form-section h3 {
        font-size: 1rem;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Success Modal */
.success-modal-content {
    text-align: center;
    padding: 3rem 2rem;
    max-width: 400px;
}

.success-icon {
    font-size: 4rem;
    color: #2ECC71;
    margin-bottom: 1rem;
}

.success-modal-content h2 {
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.success-modal-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Trustworthy Care */
.trustworthy-care {
    padding: 80px 0;
    background: white;
}

.trustworthy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.trustworthy-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(78, 205, 196, 0.1);
}

.trustworthy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(78, 205, 196, 0.2);
}

.trustworthy-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: white;
    transition: all 0.3s ease;
}

.trustworthy-card:hover .trustworthy-icon {
    transform: scale(1.1) rotate(5deg);
}

.trustworthy-card h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
    font-weight: 600;
}

.trustworthy-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--background-light);
}

.faq-container {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(78, 205, 196, 0.05);
}

.faq-question h3 {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 600;
    margin: 0;
}

.faq-question i {
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(78, 205, 196, 0.02);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 200px;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

/* Footer */
.footer {
    background: linear-gradient(to bottom, #1a2a3a, #2C3E50);
    color: white;
    padding: 60px 0 20px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 1rem;
}

/* Desktop footer brand alignment */
@media (min-width: 769px) {
    .footer-brand {
        justify-content: flex-start;
    }
}

.footer-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.footer-brand .brand-text h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: -5px;
}

.footer-brand .brand-text p {
    font-size: 0.8rem;
    opacity: 0.8;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

/* Footer links alignment for desktop */
.footer-links {
    padding-left: 0;
    text-align: left;
}

/* Desktop footer alignment */
@media (min-width: 769px) {
    .footer-content {
        grid-template-columns: 1fr 1fr 1fr 1fr;
        gap: 3rem;
        align-items: start;
    }
    
    .footer-section {
        text-align: left;
    }
    
    .footer-section h4 {
        text-align: left;
        margin-bottom: 1.5rem;
    }
    
    .footer-brand {
        margin-bottom: 1.5rem;
    }
    
    .footer-links {
        text-align: left;
        padding-left: 0;
    }
    
    .contact-info {
        text-align: left;
    }
    
    .contact-item {
        justify-content: flex-start;
    }
    
    .social-links {
        justify-content: flex-start;
    }
}

.contact-section {
    position: relative;
    z-index: 1;
}

.contact-info {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(78, 205, 196, 0.5);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
}

.contact-info p {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    font-weight: 600;
    font-size: 1.05rem;
}

.contact-item span {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 400;
    display: inline-block;
    margin-left: 8px;
}

.contact-item i {
    color: rgba(78, 205, 196, 0.8);
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    justify-content: center;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    font-size: 1.5rem;
    text-decoration: none;
}

.social-links a.facebook {
    color: #1877F2;
}

.social-links a.instagram {
    color: #E4405F;
}

.social-links a.linkedin {
    color: #0A66C2;
}

.social-links a:hover {
    transform: translateY(-2px) scale(1.1);
    opacity: 0.9;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
}

/* Float Buttons Container */
/* WhatsApp Float Button */
.whatsapp-float {
    width: 60px;
    height: 60px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-float:hover {
    background: #20B954;
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.phone-float {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.3);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
    position: fixed;
    bottom: 110px;
    right: 30px;
    z-index: 1000;
    text-decoration: none;
}

.phone-float:hover {
    background: linear-gradient(135deg, #0056b3, #004085);
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
}

@media (max-width: 400px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        right: 20px;
    }
    
    .phone-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 90px;
        right: 20px;
    }
}


@keyframes pulse-whatsapp {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}



/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        padding: 0.8rem 0;
    }
    
    .nav-brand {
        gap: 10px;
        align-items: center;
    }
    
    .brand-logo {
        width: 42px;
        height: 42px;
    }
    
    .brand-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .brand-text h1 {
        font-size: 1.3rem;
        line-height: 1.1;
        margin-bottom: -2px;
    }
    
    .brand-text p {
        font-size: 0.75rem;
        line-height: 1.1;
    }
    
    .whatsapp-btn {
        padding: 8px 14px;
        font-size: 0.9rem;
        gap: 6px;
    }
    
    .whatsapp-btn i {
        font-size: 0.9rem;
    }
    
    .mobile-menu-btn {
        display: block;
        font-size: 1.4rem;
        transition: transform 0.3s ease;
    }
    
    .mobile-menu-btn.active {
        transform: rotate(90deg);
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        right: 0;
        width: 200px;
        background: rgba(243, 255, 243, 90%);
        backdrop-filter: blur(2px);
        box-shadow: var(--shadow);
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
        border-radius: 0 0 0 var(--border-radius);
        z-index: 1000;
    }
    
    .nav-menu .nav-link {
        white-space: nowrap;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero {
        margin-top: 50px;
        padding: 40px 0;
    }
    
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .section-header h2 {
        font-size: 1.9rem;
    }
    
    .quick-actions {
        padding: 30px 0;
    }
    
    .quick-actions-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .quick-action-card {
        padding: 1.3rem;
    }
    
    .quick-action-card i {
        font-size: 2.2rem;
        margin-bottom: 0.7rem;
    }
    
    .quick-action-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
    }
    
    .quick-action-card p {
        font-size: 0.9rem;
    }

    /* Health packages - 2-column grid on tablets */
    .packages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.2rem;
    }

    .package-card {
        padding: 1.5rem;
    }

    /* Radiology services - 2-column grid on tablets */
    .radiology-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }

    .radiology-card {
        padding: 1.5rem;
    }

    /* Brand logos (lab partners) - keep grid on tablets/large mobiles */
    .lab-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }

    .lab-card {
        padding: 1.2rem;
    }

    .lab-logo {
        width: 90px;
        height: 90px;
        padding: 10px;
    }
    
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}


@media (max-width: 400px) {
    .specialties-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .lab-logo {
        width: 100px;
        height: 100px;
        padding: 12px;
    }
    
    /* Brand logos (lab partners) - 2-column compact grid on small phones */
    .lab-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }
    .lab-card { padding: 0.9rem; }
    .lab-logo { width: 78px; height: 78px; padding: 8px; }
    
    .tests-slider-container {
        margin: 0 -15px;
    }
    
    .slider-controls {
        padding: 0 15px;
        margin-bottom: 1.5rem;
    }
    
    .slider-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
    
    .tests-grid {
        grid-template-columns: 1fr;
        padding: 0.5rem 15px;
        gap: 0.8rem;
    }
    
    .test-card {
        min-height: 110px;
    }
    
    .slider-dots {
        margin-top: 1.5rem;
        padding: 0 15px;
    }
    
    .dot {
        width: 10px;
        height: 10px;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    /* Health packages - compact 2-column grid on phones */
    .packages-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }

    .package-card {
        padding: 1.2rem;
    }

    .package-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }

    .package-card > p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }

    /* Radiology services - compact 2-column grid on phones */
    .radiology-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.8rem;
    }

    .radiology-card {
        padding: 1.2rem;
    }

    .radiology-card h3 {
        font-size: 1.1rem;
    }

    .radiology-card p {
        font-size: 0.85rem;
    }

    /* Trustworthy Care - single column on phones */
    .trustworthy-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .trustworthy-card {
        padding: 1.5rem;
    }

    .trustworthy-card h3 {
        font-size: 1.2rem;
    }

    /* FAQ - mobile optimization */
    .faq-container {
        margin: 2rem auto 0;
    }

    .faq-question {
        padding: 1.2rem;
    }

    .faq-question h3 {
        font-size: 1rem;
    }
    
    .navbar {
        padding: 0.7rem 0;
    }
    
    .brand-logo {
        width: 38px;
        height: 38px;
    }
    
    .brand-text {
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .brand-text h1 {
        font-size: 1.2rem;
        line-height: 1.1;
        margin-bottom: -2px;
    }
    
    .brand-text p {
        font-size: 0.7rem;
        line-height: 1.1;
    }
    
    .whatsapp-btn {
        padding: 3px 12px;
        font-size: 0.85rem;
        gap: 5px;
    }
    
    .whatsapp-btn i {
        font-size: 0.85rem;
    }
    
    .mobile-menu-btn {
        font-size: 1.3rem;
    }
    
    .hero {
        margin-top: 45px;
        padding: 35px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hero-actions .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .section-header h2 {
        font-size: 1.7rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    .quick-actions {
        padding: 25px 0;
    }
    
    .quick-actions-grid {
        gap: 1rem;
    }
    
    .quick-action-card {
        padding: 1.1rem;
    }
    
    .quick-action-card i {
        font-size: 2rem;
        margin-bottom: 0.6rem;
    }
    
    .quick-action-card h3 {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }
    
    .quick-action-card p {
        font-size: 0.85rem;
    }
    
    .lab-logo {
        width: 90px;
        height: 90px;
        padding: 10px;
    }
    
    /* Small mobile slider styles */
    .tests-slider-container {
        margin: 0 -10px;
    }
    
    .slider-controls {
        padding: 0 10px;
        margin-bottom: 1rem;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .tests-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        padding: 0.5rem 10px;
        gap: 0.6rem;
    }
    
    .test-card {
        min-height: 110px;
        padding: 0.9rem;
    }
    
    .test-card h3 {
        font-size: 0.95rem;
        line-height: 1.2;
    }
    
    .test-card p {
        font-size: 0.8rem;
    }
    
    .slider-dots {
        margin-top: 1rem;
        padding: 0 10px;
        gap: 8px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        margin-top: 40px;
        padding: 30px 0;
    }
    
    .hero-title {
        font-size: 1.6rem;
        margin-bottom: 0.6rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
        .hero-graphic {
        font-size: 4rem;
    }
    
    /* Vision Mission Extra Small Mobile */
    .vision-mission-section {
        padding: 15px 0;
    }
    
    .vision-mission-section .section-header h2 {
        font-size: 1.4rem;
        margin-bottom: 0.5rem;
    }
    
    .vision-mission-section .section-header {
        margin-bottom: 1.5rem;
    }
    
    .vision-mission-grid {
        gap: 0.8rem;
        padding: 0 8px;
    }
    
    .vision-card,
    .mission-card,
    .motto-card {
        padding: 1.2rem 0.8rem;
        border-radius: 10px;
    }
    
    .card-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-bottom: 0.8rem;
    }
    
    .vision-card h3,
    .mission-card h3,
    .motto-card h3 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .vision-card p,
    .mission-card p,
    .motto-card p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    

    
    .quick-actions {
        padding: 20px 0;
    }
    
    .quick-actions-grid {
        gap: 0.8rem;
    }
    
    .lab-logo {
        width: 90px;
        height: 90px;
        padding: 10px;
    }
    
    .quick-action-card {
        padding: 1rem;
    }
    
    .quick-action-card i {
        font-size: 1.8rem;
        margin-bottom: 0.5rem;
    }
    
    .quick-action-card h3 {
        font-size: 0.95rem;
        margin-bottom: 0.25rem;
    }
    
    .quick-action-card p {
        font-size: 0.8rem;
    }
    
    /* Health packages - single column on very small screens */
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .package-card {
        padding: 1rem;
    }

    .package-card h3 {
        font-size: 1.1rem;
    }

    /* Radiology services - single column on very small screens */
    .radiology-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }

    .radiology-card {
        padding: 1rem;
    }
    
    .navbar {
        padding: 0.6rem 0;
    }
    
    .nav-brand {
        gap: 8px;
    }
    
    .brand-logo {
        width: 35px;
        height: 35px;
    }
    
    .brand-text h1 {
        font-size: 1rem;
        line-height: 1.1;
        margin-bottom: -1px;
        white-space: nowrap;
    }
    
    .brand-text p {
        font-size: 0.65rem;
        line-height: 1.1;
        white-space: nowrap;
    }
    
    .whatsapp-btn {
        padding: 6px 10px;
        font-size: -2.1rem;
        gap: 4px;
    }
    
    .whatsapp-btn i {
        font-size: 0.8rem;
    }
    
    .mobile-menu-btn {
        font-size: 1.2rem;
    }
    
    .nav-menu {
        width: 180px;
    }
    
    .hero {
        margin-top: 60px;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 0.85rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
}
/* Mobile devices */
@media screen and (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .footer-section {
        text-align: center;
    }

    .footer-section h4 {
        text-align: center;
    }
    
    .footer-brand {
        justify-content: center;
    }

    .footer-section .contact-info {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .footer-section .social-links {
        display: flex;
        flex-direction: row;   /* put them side by side */
        justify-content: center; /* center horizontally */
        align-items: center;     /* align vertically */
        gap: 15px; /* space between icons */
    }

    .footer-section .social-links a {
        margin: 5px;
        font-size: 20px;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .contact-item {
        justify-content: center;
    }
}

.via-home-visit {
    display: block;
    font-size: 0.65rem;
    color: #00e676;
    margin-top: 1px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: glowText 2.5s infinite;
    line-height: 1;
    padding: 2px 4px;
    border-radius: 2px;
    background: rgba(0, 230, 118, 0.08);
}

@media screen and (max-width: 768px) {
    .via-home-visit {
        font-size: 0.6rem;
        margin-top: 0;
        padding: 1px 3px;
    }
}

@media (max-width: 480px) {
    .slider-controls {
        padding: 0 10px;
        margin-bottom: 0rem;
        margin-top: 0px;
    }
}

/* Callback Form Modal Styles */
.callback-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.callback-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.callback-modal-content {
    background: white;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideIn 0.3s ease;
    position: relative;
}

.callback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e9ecef;
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    color: white;
    border-radius: 12px 12px 0 0;
}

.callback-header h3 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 600;
}

.callback-close {
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    color: white;
    transition: color 0.3s ease;
    line-height: 1;
}

.callback-close:hover {
    color: #ff6b6b;
}

.callback-form {
    padding: 25px;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4ECDC4;
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.form-actions .btn {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-actions .btn-primary {
    background: linear-gradient(135deg, #4ECDC4, #44A08D);
    color: white;
}

.form-actions .btn-primary:hover {
    background: linear-gradient(135deg, #44A08D, #3a8b7a);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.form-actions .btn-secondary {
    background: #6c757d;
    color: white;
}

.form-actions .btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-2px);
}

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

@keyframes slideIn {
    from { 
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to { 
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .callback-modal-content {
        width: 95%;
        margin: 10px;
    }
    
    .callback-header {
        padding: 15px 20px;
    }
    
    .callback-header h3 {
        font-size: 1.2rem;
    }
    
    .callback-form {
        padding: 20px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .callback-modal-content {
        width: 98%;
        margin: 5px;
    }
    
    .callback-header {
        padding: 12px 15px;
    }
    
    .callback-form {
        padding: 15px;
    }
}
