/* Modern CSS for Al Raji Diagnostic Center */

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

:root {
    /* Enhanced Color Palette */
    --primary-color: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-light: #38bdf8;
    --secondary-color: #10b981;
    --secondary-dark: #059669;
    --accent-color: #f59e0b;
    --accent-light: #fbbf24;
    
    /* Medical Theme Colors */
    --medical-blue: #0ea5e9;
    --medical-green: #10b981;
    --medical-red: #ef4444;
    --medical-purple: #8b5cf6;
    --medical-teal: #14b8a6;
    --medical-indigo: #6366f1;
    
    /* Text Colors */
    --text-dark: #1e293b;
    --text-medium: #475569;
    --text-light: #64748b;
    --text-lighter: #94a3b8;
    
    /* Background Colors */
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    
    /* Enhanced Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Design System */
    --border-radius: 16px;
    --border-radius-lg: 20px;
    --border-radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Enhanced Gradients */
    --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    --gradient-hero: linear-gradient(135deg, #0ea5e9 0%, #0284c7 50%, #10b981 100%);
    --gradient-mesh: linear-gradient(135deg, #0ea5e9 0%, #0284c7 25%, #10b981 50%, #059669 75%, #0ea5e9 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
    
    /* Mobile-first breakpoints */
    --mobile-xs: 320px;
    --mobile-sm: 480px;
    --tablet: 768px;
    --desktop-sm: 1024px;
    --desktop: 1200px;
    --desktop-lg: 1440px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Hind Siliguri', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

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

/* Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 25%, #10b981 50%, #059669 75%, #0ea5e9 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
    transform: scale(1.1);
}

.splash-container {
    text-align: center;
    color: var(--white);
    position: relative;
    z-index: 2;
}

.splash-logo {
    position: relative;
    margin-bottom: 2rem;
    display: inline-block;
}

.logo-animation {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    animation: logoSpin 3s ease-in-out infinite;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 6px solid rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px;
    backdrop-filter: blur(10px);
}

.logo-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140px;
    height: 140px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: ringRotate 4s linear infinite;
}

.logo-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 160px;
    height: 160px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: pulse 2s ease-in-out infinite;
}

.splash-content {
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease-out 0.5s both;
}

.splash-title {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.splash-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.splash-tagline {
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    opacity: 0.8;
    font-weight: 400;
    font-style: italic;
}

.splash-progress {
    animation: fadeInUp 1s ease-out 1s both;
}

.progress-bar {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin: 0 auto 1rem;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ffffff, #f0f9ff);
    border-radius: 2px;
    width: 0%;
    animation: progressLoad 3s ease-in-out forwards;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.progress-text {
    font-size: 0.9rem;
    opacity: 0.8;
    font-weight: 500;
}

.splash-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: floatParticle 6s ease-in-out infinite;
}

.particle:nth-child(1) {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 20%;
    animation-delay: 1s;
}

.particle:nth-child(3) {
    top: 30%;
    right: 15%;
    animation-delay: 2s;
}

.particle:nth-child(4) {
    bottom: 25%;
    right: 25%;
    animation-delay: 3s;
}

.particle:nth-child(5) {
    top: 70%;
    left: 60%;
    animation-delay: 4s;
}

.particle:nth-child(6) {
    bottom: 40%;
    left: 40%;
    animation-delay: 5s;
}

/* Splash Screen Animations */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes logoSpin {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(180deg) scale(1.05); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes ringRotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes progressLoad {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes floatParticle {
    0%, 100% {
        transform: translateY(0px) translateX(0px);
        opacity: 0.6;
    }
    25% {
        transform: translateY(-20px) translateX(10px);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) translateX(-10px);
        opacity: 0.8;
    }
    75% {
        transform: translateY(-30px) translateX(5px);
        opacity: 1;
    }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
    z-index: 1000;
    transition: var(--transition);
}

.navbar {
    padding: 1rem 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.logo-img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-lg);
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2px;
}

.logo-text p {
    font-size: 0.875rem;
    color: var(--text-light);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
    background-color: var(--gray-50);
}

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

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

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.hamburger.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(135deg, #0f766e 0%, #064e3b 25%, #22c55e 50%, #15803d 75%, #0f766e 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://images.unsplash.com/photo-1538108149393-fbbd81895907?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center center/cover;
    opacity: 0.15;
    filter: brightness(0.4) contrast(1.3) saturate(0.8);
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="bd-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/><path d="M10 0v20M0 10h20" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23bd-pattern)"/></svg>') repeat;
    opacity: 0.6;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(15, 118, 110, 0.95) 0%, 
        rgba(6, 78, 59, 0.97) 25%, 
        rgba(34, 197, 94, 0.94) 50%, 
        rgba(21, 128, 61, 0.97) 75%, 
        rgba(15, 118, 110, 0.95) 100%);
    backdrop-filter: blur(1px);
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.floating-element {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-element.medical-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-element.cultural-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: rgba(251, 191, 36, 0.9);
    box-shadow: 0 6px 24px rgba(251, 191, 36, 0.2);
    background: rgba(251, 191, 36, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.floating-element:nth-child(1) {
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.floating-element:nth-child(2) {
    top: 25%;
    right: 12%;
    animation-delay: -1.5s;
}

.floating-element:nth-child(3) {
    top: 45%;
    left: 5%;
    animation-delay: -3s;
}

.floating-element:nth-child(4) {
    top: 65%;
    right: 8%;
    animation-delay: -4.5s;
}

.floating-element:nth-child(5) {
    top: 35%;
    left: 50%;
    animation-delay: -2s;
}

.floating-element:nth-child(6) {
    top: 75%;
    left: 25%;
    animation-delay: -5.5s;
}

.floating-element:nth-child(7) {
    top: 20%;
    right: 25%;
    animation-delay: -1s;
}

.floating-element:nth-child(8) {
    top: 80%;
    right: 35%;
    animation-delay: -3.5s;
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 3;
    position: relative;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2.5rem;
    font-weight: 700;
    font-size: 1rem;
    animation: slideInDown 1s ease-out;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.hero-badge:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.hero-badge i {
    color: #fbbf24;
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    line-height: 1.1;
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease-out 0.3s both;
    position: relative;
}

.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #fbbf24, transparent);
    border-radius: 2px;
    animation: slideInLeft 1s ease-out 0.8s both;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.6rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.7;
    font-weight: 500;
    animation: fadeInUp 1s ease-out 0.6s both;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 3.5rem 0;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-stats .stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(15px);
    padding: 2rem 2.5rem;
    border-radius: 25px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    min-width: 140px;
    transition: var(--transition);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-stats .stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.hero-stats .stat-item:hover::before {
    left: 100%;
}

.hero-stats .stat-item:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-stats .stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: #fbbf24;
    margin-bottom: 0.75rem;
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats .stat-label {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 600;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    justify-content: center;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.8);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    animation: fadeInUp 1s ease-out 1.2s both;
}

.scroll-arrow {
    width: 30px;
    height: 30px;
    border: 2px solid var(--white);
    border-top: none;
    border-right: none;
    transform: rotate(-45deg);
    animation: bounce 2s infinite;
    margin: 0 auto 0.5rem;
}

.scroll-text {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: var(--gray-50);
}

/* Gallery Section */
.gallery-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.gallery-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="gallery-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(14,165,233,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23gallery-pattern)"/></svg>');
    opacity: 0.5;
    z-index: 1;
}

.gallery-section .container {
    position: relative;
    z-index: 2;
}

/* Gallery Slider */
.gallery-slider-container {
    position: relative;
    max-width: 1000px;
    margin: 3rem auto 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.gallery-slider {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: none;
}

.gallery-slide.active {
    opacity: 1;
    display: block;
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.8) 0%, rgba(2, 132, 199, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.gallery-slide:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    text-align: center;
    color: var(--white);
    padding: 2rem;
}

.gallery-content h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.gallery-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    font-size: 1.1rem;
}

.gallery-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid var(--white);
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-btn:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: scale(1.1);
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 15;
    position: relative;
}

.slider-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.slider-btn:active {
    transform: scale(0.95);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--white);
    transform: scale(1.2);
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* Reports Section */
.reports-section {
    padding: 6rem 0;
    background: var(--white);
    position: relative;
}

.reports-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="reports-pattern" width="30" height="30" patternUnits="userSpaceOnUse"><path d="M15 0v30M0 15h30" stroke="rgba(14,165,233,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23reports-pattern)"/></svg>');
    z-index: 1;
}

.reports-section .container {
    position: relative;
    z-index: 2;
}

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

.report-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--gray-200);
}

.report-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.report-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.report-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.report-card:hover .report-image img {
    transform: scale(1.05);
}

.report-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14, 165, 233, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.report-card:hover .report-overlay {
    opacity: 1;
}

.report-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: var(--white);
    color: var(--primary-color);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.report-btn:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.05);
}

.report-content {
    padding: 1.5rem;
}

.report-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.report-content p {
    color: var(--text-light);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.report-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.report-type {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.report-time {
    color: var(--text-light);
    font-size: 0.8rem;
    font-weight: 500;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.section-divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    margin: 0 auto 1.5rem;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    transition: var(--transition);
}

.service-icon.blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: var(--white);
}

.service-icon.green {
    background: linear-gradient(135deg, #10b981, #059669);
    color: var(--white);
}

.service-icon.purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: var(--white);
}

.service-icon.orange {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: var(--white);
}

.service-icon.red {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: var(--white);
}

.service-icon.indigo {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: var(--white);
}

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

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

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

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

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1440px) {
    .container {
        max-width: 1200px;
    }
    
    .hero-title {
        font-size: clamp(2.5rem, 4vw, 3.5rem);
    }
}

@media (max-width: 1024px) {
    .container {
        max-width: 960px;
        padding: 0 16px;
    }
    
    .hero-stats {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .hero-stats .stat-item {
        min-width: 120px;
        padding: 1rem 1.5rem;
    }
    
    .gallery-slider {
        height: 400px;
    }
    
    .reports-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .doctors-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .test-categories {
        gap: 0.75rem;
    }
    
    .category-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .tests-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-visual {
        width: 300px;
        height: 300px;
    }
    
    .testimonials-container {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .appointment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* Enhanced Mobile Touch Targets */
    .btn, .btn-primary, .btn-secondary {
        min-height: 48px;
        touch-action: manipulation;
    }
    
    /* Better Mobile Spacing */
    .section {
        padding: 3rem 0;
    }
    
    .section-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        margin-bottom: 1.5rem;
    }
    
    /* Why Choose Us Mobile Enhancements */
    .why-choose-us-section {
        padding: 40px 0;
    }
    
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-top: 2rem;
    }
    
    .features-side {
        gap: 1.5rem;
    }
    
    .feature-card-new {
        padding: 1.25rem;
        gap: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon-wrapper {
        align-self: center;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .feature-number {
        font-size: 0.8rem;
        width: 20px;
        height: 20px;
    }
    
    .feature-title {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .feature-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .feature-highlight {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .stats-visual {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }
    
    .central-logo h4 {
        font-size: 1rem;
    }
    
    .stat-bubble {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    /* Splash Screen Mobile */
    .splash-logo {
        margin-bottom: 1.5rem;
    }
    
    .logo-animation {
        width: 100px;
        height: 100px;
        padding: 6px;
        border-width: 4px;
    }
    
    .logo-ring {
        width: 120px;
        height: 120px;
    }
    
    .logo-pulse {
        width: 140px;
        height: 140px;
    }
    
    .splash-content {
        margin-bottom: 2rem;
    }
    
    .splash-title {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    
    .splash-subtitle {
        font-size: clamp(0.9rem, 4vw, 1.1rem);
    }
    
    .splash-tagline {
        font-size: clamp(0.8rem, 3vw, 1rem);
    }
    
    .progress-bar {
        width: 150px;
    }
    
    /* Navigation */
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: var(--shadow-xl);
        padding: 2rem 0;
        gap: 0;
        z-index: 1000;
        border-top: 1px solid var(--gray-200);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-item {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    /* Hero Section Mobile */
    .hero-content {
        padding: 0 16px;
    }

    .hero-badge {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        margin-bottom: 2rem;
    }

    .hero-title {
        font-size: clamp(2.2rem, 8vw, 3.2rem);
        margin-bottom: 1.5rem;
    }

    .hero-title::after {
        width: 80px;
        height: 3px;
    }

    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
        margin-bottom: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
        margin: 2.5rem auto;
        align-items: center;
        width: 100%;
        max-width: 350px;
    }

    .hero-stats .stat-item {
        min-width: auto;
        width: 100%;
        max-width: 300px;
        padding: 1.5rem 1.5rem;
        margin: 0 auto;
        text-align: center;
    }

    .hero-stats .stat-number {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-stats .stat-label {
        font-size: 0.9rem;
        line-height: 1.3;
        word-wrap: break-word;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        margin-top: 2rem;
        width: 100%;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1.25rem 2rem;
        font-size: 1.1rem;
        min-height: 50px;
        justify-content: center;
        min-width: auto;
    }

    /* Services Mobile */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    /* Gallery Mobile */
    .gallery-slider-container {
        margin: 2rem auto 0;
        border-radius: 15px;
    }

    .gallery-slider {
        height: 300px;
    }

    .gallery-content h3 {
        font-size: 1.4rem;
    }

    .gallery-content p {
        font-size: 0.95rem;
    }

    .gallery-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .slider-controls {
        padding: 0 12px;
    }

    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .slider-indicators {
        bottom: 12px;
        gap: 8px;
    }

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

    /* Reports Mobile */
    .reports-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .report-card {
        max-width: 100%;
        margin: 0;
    }

    /* Doctors Mobile */
    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .doctor-card-new {
        max-width: 100%;
        margin: 0;
    }

    /* Floating Elements Mobile */
    .floating-element.medical-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }

    .floating-element:nth-child(1) {
        top: 10%;
        left: 5%;
    }

    .floating-element:nth-child(2) {
        top: 20%;
        right: 8%;
    }

    .floating-element:nth-child(3) {
        top: 40%;
        left: 3%;
    }

    .floating-element:nth-child(4) {
        top: 60%;
        right: 5%;
    }

    .floating-element:nth-child(5) {
        top: 30%;
        left: 45%;
    }

    .floating-element:nth-child(6) {
        top: 70%;
        left: 20%;
    }
    
    /* Tests Mobile */
    .test-categories {
        gap: 0.5rem;
        margin: 2rem 0;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .tests-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .test-card-new {
        margin: 0;
    }
    
    .test-card-header {
        padding: 1.5rem 1.5rem 1rem;
    }
    
    .test-card-content {
        padding: 1.5rem;
    }
    
    /* Why Choose Us Mobile */
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .features-side {
        gap: 1.5rem;
    }
    
    .feature-card-new {
        padding: 1.5rem;
        gap: 1rem;
    }
    
    .stats-visual {
        width: 250px;
        height: 250px;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }
    
    /* Testimonials Mobile */
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-card.featured {
        transform: none;
    }
    
    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1.5rem;
    }
    
    /* Contact Mobile */
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-card {
        padding: 1.5rem;
    }
    
    .contact-form-wrapper {
        padding: 2rem 1.5rem;
    }
    
    /* Appointment Mobile */
    .appointment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .appointment-text h2 {
        font-size: 2rem;
    }
    
    .appointment-actions {
        align-items: center;
    }
    
    .appointment-btn {
        min-width: 100%;
        max-width: 300px;
    }
    
    /* Map Mobile */
    .map-header {
        position: relative;
        top: 0;
        left: 0;
        margin: 1rem;
        max-width: none;
        padding: 1.5rem;
    }
    
    .map-overlay {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 1rem;
        max-width: none;
        padding: 1.5rem;
    }
    
    .map-container {
        height: auto;
    }
    
    .map-wrapper {
        height: 350px;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .logo-text h1 {
        font-size: 1.2rem;
    }

    .logo-text p {
        font-size: 0.75rem;
    }

    .logo-img {
        width: 50px;
        height: 50px;
    }

    .service-card {
        padding: 1.5rem;
    }

    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    /* Remove conflicting mobile styles - handled in enhanced section below */

    .hero-stats .stat-number {
        font-size: 1.5rem;
    }

    .hero-stats .stat-label {
        font-size: 0.8rem;
    }
    
    /* Enhanced Home Section Mobile */
    .hero {
        min-height: 100vh;
        padding: 1rem 0 2rem 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .hero-content {
        padding: 0 1rem;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
    
    .hero-badge {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1.5rem;
        align-self: center;
    }
    
    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 1rem;
        line-height: 1.2;
        text-align: center;
        width: 100%;
        padding: 0 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 4vw, 1.3rem);
        margin-bottom: 1.5rem;
        line-height: 1.6;
        text-align: center;
        width: 100%;
        max-width: 95%;
        margin-left: auto;
        margin-right: auto;
        padding: 0 0.5rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .floating-elements {
        display: none; /* Hide floating elements on mobile for better performance */
    }
    
    .hero-pattern {
        opacity: 0.2;
    }
    
    /* Better text visibility on mobile */
    .hero-title {
        text-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    }
    
    .hero-subtitle {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    }
    
    .hero-stats .stat-item {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px);
        border: 2px solid rgba(255, 255, 255, 0.25);
    }
    
    .hero-stats .stat-number {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    }
    
    .hero-stats .stat-label {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    }
    
    /* Additional Mobile UI Improvements */
    .section-header {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    .section-badge {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin-bottom: 1rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-top: 1rem;
    }
    
    /* Better Mobile Navigation */
    .nav-menu {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Mobile Gallery Improvements */
    .gallery-slider {
        height: 250px;
    }
    
    .gallery-slide img {
        height: 250px;
        object-fit: cover;
    }
    
    .slider-controls {
        bottom: 10px;
        z-index: 20;
    }
    
    .slider-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(255, 255, 255, 0.8);
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
        z-index: 25;
    }
    
    .slider-btn:hover {
        background: var(--primary-color);
        color: white;
        transform: scale(1.05);
    }
    
    .slider-btn:active {
        transform: scale(0.95);
    }
    
    /* Mobile Reports Grid */
    .reports-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .report-card {
        margin-bottom: 1rem;
    }
    
    .report-image {
        height: 200px;
    }
    
    .report-content {
        padding: 1rem;
    }
    
    .report-content h3 {
        font-size: 1.1rem;
        margin-bottom: 0.5rem;
    }
    
    .report-content p {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }

    .gallery-filters {
        flex-direction: column;
        align-items: center;
    }

    .filter-btn {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }

    .gallery-content {
        padding: 1rem;
    }

    .gallery-content h3 {
        font-size: 1.2rem;
    }

    .gallery-content p {
        font-size: 0.9rem;
    }

    .report-content {
        padding: 1rem;
    }

    .report-content h3 {
        font-size: 1.1rem;
    }

    .report-meta {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .floating-element.medical-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }

    .floating-element:nth-child(1) {
        top: 8%;
        left: 3%;
    }

    .floating-element:nth-child(2) {
        top: 15%;
        right: 5%;
    }

    .floating-element:nth-child(3) {
        top: 35%;
        left: 2%;
    }

    .floating-element:nth-child(4) {
        top: 55%;
        right: 3%;
    }

    .floating-element:nth-child(5) {
        top: 25%;
        left: 40%;
    }

    .floating-element:nth-child(6) {
        top: 65%;
        left: 15%;
    }

    .gallery-slider {
        height: 300px;
    }

    .gallery-content h3 {
        font-size: 1.3rem;
    }

    .gallery-content p {
        font-size: 0.9rem;
    }

    .gallery-content {
        padding: 1.5rem;
    }

    .gallery-btn {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .slider-btn {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }

    .slider-controls {
        padding: 0 10px;
    }

    .slider-indicators {
        bottom: 10px;
        gap: 8px;
    }

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

    .doctors-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .doctor-card-new {
        max-width: 350px;
        margin: 0 auto;
    }

    .doctor-image-wrapper {
        height: 250px;
    }

    .doctor-content {
        padding: 1.5rem 1rem 1rem;
    }

    .doctor-name {
        font-size: 1.2rem;
    }

    .doctor-degree {
        font-size: 0.85rem;
    }

    .doctor-description {
        font-size: 0.85rem;
    }

    .specialty-tag {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }

    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Tests Section */
.tests {
    padding: 6rem 0;
    background: var(--white);
}

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

.test-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
}

.test-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: var(--transition);
}

.test-card:hover::before {
    transform: scaleX(1);
}

.test-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.test-card-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.test-card-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(45deg);
    transition: var(--transition);
}

.test-card:hover .test-card-header::before {
    right: -30%;
}

.test-card-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 2;
}

.test-card-body {
    padding: 2rem;
}

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

.test-list li {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--gray-100);
    transition: var(--transition);
}

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

.test-list li:hover {
    background: var(--gray-50);
    padding-left: 0.5rem;
}

.test-list li i {
    color: var(--secondary-color);
    margin-right: 0.75rem;
    font-size: 1rem;
}

.test-price {
    text-align: right;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px solid var(--gray-100);
}

.test-price span {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Doctors Section */
.doctors {
    padding: 6rem 0;
    background: var(--gray-50);
}

.doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
    justify-items: center;
}

.doctor-card-new {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: var(--transition);
    position: relative;
    max-width: 380px;
    width: 100%;
}

.doctor-card-new:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.15);
}

.doctor-card-new::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 20px 20px 0 0;
}

.doctor-image-wrapper {
    position: relative;
    height: 280px;
    overflow: hidden;
    margin: 1.5rem 1.5rem 0 1.5rem;
    border-radius: 15px;
}

.doctor-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    border-radius: 15px;
}

.doctor-card-new:hover .doctor-image {
    transform: scale(1.05);
}

.doctor-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-md);
    animation: pulse 2s infinite;
}

.doctor-content {
    padding: 2rem 1.5rem 1.5rem;
    text-align: center;
}

.doctor-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.doctor-degree {
    font-size: 0.95rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctor-description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.doctor-specialties {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.specialty-tag {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.doctor-social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}

.social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: var(--transition);
    z-index: 1;
}

.social-link i {
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.social-link.facebook {
    background: #f0f9ff;
    color: #1877f2;
}

.social-link.facebook::before {
    background: #1877f2;
}

.social-link.facebook:hover::before {
    transform: scale(1);
}

.social-link.facebook:hover i {
    color: var(--white);
}

.social-link.twitter {
    background: #f0f9ff;
    color: #1da1f2;
}

.social-link.twitter::before {
    background: #1da1f2;
}

.social-link.twitter:hover::before {
    transform: scale(1);
}

.social-link.twitter:hover i {
    color: var(--white);
}

.social-link.linkedin {
    background: #f0f9ff;
    color: #0077b5;
}

.social-link.linkedin::before {
    background: #0077b5;
}

.social-link.linkedin:hover::before {
    transform: scale(1);
}

.social-link.linkedin:hover i {
    color: var(--white);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Why Choose Us Section */
.why-choose {
    padding: 6rem 0;
    background: var(--white);
}

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

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--gray-50);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--white);
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

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

/* Contact Section */
.contact {
    padding: 6rem 0;
    background: var(--gray-50);
}

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

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

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

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.contact-icon.address {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.contact-icon.phone {
    background: linear-gradient(135deg, #10b981, #059669);
}

.contact-icon.email {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

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

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

/* Footer */
.footer {
    background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
    color: var(--white);
    padding: 3rem 0 0;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

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

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--white);
    position: relative;
}

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--primary-color);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.footer-logo h3 {
    margin: 0;
    font-size: 1.3rem;
}

.footer-logo h3::after {
    display: none;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social-link {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
    font-size: 1.1rem;
    position: relative;
    overflow: hidden;
}

.footer-social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transform: scale(0);
    transition: var(--transition);
    z-index: 1;
}

.footer-social-link i {
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.footer-social-link.facebook {
    background: rgba(24, 119, 242, 0.2);
    color: #1877f2;
}

.footer-social-link.facebook::before {
    background: #1877f2;
}

.footer-social-link.twitter {
    background: rgba(29, 161, 242, 0.2);
    color: #1da1f2;
}

.footer-social-link.twitter::before {
    background: #1da1f2;
}

.footer-social-link.youtube {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
}

.footer-social-link.youtube::before {
    background: #ff0000;
}

.footer-social-link.instagram {
    background: rgba(225, 48, 108, 0.2);
    color: #e1306c;
}

.footer-social-link.instagram::before {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.footer-social-link:hover::before {
    transform: scale(1);
}

.footer-social-link:hover i {
    color: var(--white);
}

.footer-social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

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

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
}

.footer-links a::before {
    content: '→';
    margin-right: 0.5rem;
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
    padding-left: 1rem;
}

.footer-links a:hover::before {
    opacity: 1;
    transform: translateX(0);
}

.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.contact-item div p {
    margin: 0;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Serial contact styling */
.contact-item:has(.fa-calendar-alt) {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin: 0.5rem 0;
}

.contact-item:has(.fa-calendar-alt) i {
    color: #22c55e;
    font-size: 1.3rem;
}

.contact-item:has(.fa-calendar-alt) div p:first-child {
    color: #22c55e;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.contact-item:has(.fa-calendar-alt) div p:not(:first-child) {
    color: #16a34a;
    font-weight: 600;
    font-size: 1.1rem;
    margin: 0.25rem 0;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
    margin-top: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--white);
}

/* Appointment Booking Section */
.appointment-booking {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.appointment-booking::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 1000 1000"><defs><radialGradient id="a" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(255,255,255,0.1)"/><stop offset="100%" stop-color="rgba(255,255,255,0)"/></radialGradient></defs><circle cx="200" cy="200" r="100" fill="url(%23a)"/><circle cx="800" cy="300" r="150" fill="url(%23a)"/><circle cx="400" cy="700" r="120" fill="url(%23a)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.3;
}

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

.appointment-text h2 {
    color: var(--white);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.appointment-text p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.appointment-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--white);
    font-weight: 500;
}

.feature-item i {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.appointment-actions {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: flex-start;
}

.appointment-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-width: 250px;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.appointment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.appointment-btn:hover::before {
    left: 100%;
}

.appointment-btn.primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.appointment-btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.appointment-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.appointment-btn.secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.appointment-btn i {
    font-size: 1.2rem;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: var(--light-bg);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.contact-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    transition: var(--transition);
}

.contact-card.location::before {
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
}

.contact-card.phone::before {
    background: linear-gradient(90deg, #10b981, #047857);
}

.contact-card.email::before {
    background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.contact-card.time::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

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

.contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    position: relative;
}

.contact-card.location .contact-icon {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: #1d4ed8;
}

.contact-card.phone .contact-icon {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: #047857;
}

.contact-card.email .contact-icon {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: #7c3aed;
}

.contact-card.time .contact-icon {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    color: #d97706;
}

.contact-details h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 0.25rem;
}

.contact-form-container {
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.contact-form-wrapper {
    padding: 2.5rem;
}

.contact-form-wrapper h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-align: center;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.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(37, 99, 235, 0.1);
}

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

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Map Section */
.map-section {
    padding: 0;
    position: relative;
}

.map-container {
    position: relative;
    height: 600px;
}

.map-header {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    max-width: 400px;
}

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

.map-header p {
    color: var(--text-light);
    line-height: 1.5;
}

.map-wrapper {
    position: relative;
    height: 100%;
    border-radius: 0;
    overflow: hidden;
}

.map-overlay {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    max-width: 350px;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.map-info-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.map-info-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.map-info-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.4;
}

.map-wrapper iframe {
    filter: grayscale(20%) contrast(1.1);
    transition: filter 0.3s ease;
}

.map-wrapper:hover iframe {
    filter: grayscale(0%) contrast(1.2);
}

/* Testimonials Section */
.testimonials-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.testimonials-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 1000 1000"><defs><radialGradient id="testimonial-bg" cx="50%" cy="50%" r="50%"><stop offset="0%" stop-color="rgba(37,99,235,0.05)"/><stop offset="100%" stop-color="rgba(37,99,235,0)"/></radialGradient></defs><circle cx="150" cy="150" r="80" fill="url(%23testimonial-bg)"/><circle cx="850" cy="200" r="120" fill="url(%23testimonial-bg)"/><circle cx="300" cy="800" r="100" fill="url(%23testimonial-bg)"/></svg>') no-repeat center center;
    background-size: cover;
    opacity: 0.6;
}

.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.testimonial-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
    border-color: var(--primary-color);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    transform: scale(1.05);
}

.testimonial-card.featured::before {
    background: linear-gradient(90deg, rgba(255,255,255,0.3), rgba(255,255,255,0.1));
}

.testimonial-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    box-shadow: 0 25px 50px rgba(37, 99, 235, 0.3);
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.quote-icon {
    width: 50px;
    height: 50px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.testimonial-card.featured .quote-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.rating {
    display: flex;
    gap: 0.25rem;
    font-size: 1rem;
}

.rating i {
    color: #fbbf24;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.testimonial-content {
    margin-bottom: 2rem;
}

.testimonial-content p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-light);
    font-style: italic;
    position: relative;
}

.testimonial-card.featured .testimonial-content p {
    color: rgba(255, 255, 255, 0.95);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    position: relative;
    flex-shrink: 0;
}

.author-avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
}

.testimonial-card.featured .author-avatar img {
    border-color: var(--white);
}

.avatar-badge {
    position: absolute;
    bottom: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    color: var(--white);
    border: 2px solid var(--white);
}

.author-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.testimonial-card.featured .author-info h4 {
    color: var(--white);
}

.author-info p {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.testimonial-card.featured .author-info p {
    color: rgba(255, 255, 255, 0.8);
}

.service-tag {
    display: inline-block;
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.testimonial-card.featured .service-tag {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.testimonials-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding: 2rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, 0.3), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
    .testimonials-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .testimonial-card.featured {
        transform: none;
    }
    
    .testimonial-card.featured:hover {
        transform: translateY(-10px);
    }
    
    .testimonials-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .appointment-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .appointment-text h2 {
        font-size: 2rem;
    }
    
    .appointment-actions {
        align-items: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .map-header {
        position: relative;
        top: 0;
        left: 0;
        margin: 1rem;
        max-width: none;
    }
    
    .map-overlay {
        position: relative;
        bottom: 0;
        right: 0;
        margin: 1rem;
        max-width: none;
    }
    
    .map-container {
        height: auto;
    }
    
    .map-wrapper {
        height: 400px;
        margin-top: 1rem;
    }
}

/* Tests Section New Styles */
.tests-section-new {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.tests-section-new::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="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23e2e8f0" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.tests-section-new .container {
    position: relative;
    z-index: 2;
}

.test-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 24px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 50px;
    color: #64748b;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.category-btn:hover {
    border-color: #3b82f6;
    color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.15);
}

.category-btn.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-color: #3b82f6;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

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

.test-card-new {
    background: white;
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    border: 1px solid #f1f5f9;
}

.test-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.test-card-header {
    position: relative;
    padding: 2rem 2rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.test-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.test-icon.blood-icon {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.test-icon.imaging-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.test-icon.special-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.test-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.test-badge.popular {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: white;
}

.test-badge.recommended {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.test-badge.advanced {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    color: white;
}

.test-card-content {
    padding: 2rem;
}

.test-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.test-description {
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.test-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 8px 0;
}

.feature-item i {
    color: #10b981;
    font-size: 14px;
}

.feature-item span {
    color: #475569;
    font-size: 14px;
}

.test-pricing {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 12px;
}

.price-info {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-label {
    font-size: 12px;
    color: #64748b;
}

.price-amount {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
}

.price-suffix {
    font-size: 12px;
    color: #64748b;
}

.test-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 12px;
    color: #64748b;
}

.test-cta-btn {
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.test-cta-btn:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.3);
}

.tests-cta-section {
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, #1e293b, #334155);
    border-radius: 20px;
    text-align: center;
    color: white;
}

.cta-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cta-content p {
    color: #cbd5e1;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-primary:hover, .btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.2);
}

/* Why Choose Us Section New Styles */
.why-choose-us-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-choose-us-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.why-choose-us-section .container {
    position: relative;
    z-index: 2;
}

.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
    align-items: center;
}

.features-side {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-card-new {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card-new:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateX(10px);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-icon-wrapper {
    position: relative;
    flex-shrink: 0;
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    position: relative;
    z-index: 2;
}

.feature-icon.expert {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
}

.feature-icon.accuracy {
    background: linear-gradient(135deg, #10b981, #059669);
}

.feature-icon.speed {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.feature-icon.price {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.feature-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    z-index: 3;
}

.feature-content {
    flex: 1;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.feature-description {
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.feature-highlight {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 8px 12px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 12px;
    color: #93c5fd;
    width: fit-content;
}

.stats-side {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.stats-visual {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.central-logo {
    text-align: center;
    z-index: 2;
    position: relative;
}

.logo-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: white;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
}

.central-logo h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.floating-stats {
    position: absolute;
    width: 100%;
    height: 100%;
}

.stat-bubble {
    position: absolute;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    text-align: center;
    animation: float 6s ease-in-out infinite;
}

.stat-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.stat-2 {
    top: 10%;
    right: 10%;
    animation-delay: 1.5s;
}

.stat-3 {
    bottom: 10%;
    left: 10%;
    animation-delay: 3s;
}

.stat-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 4.5s;
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 12px;
    color: #cbd5e1;
}

.trust-indicators {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 14px;
    color: #cbd5e1;
}

.trust-item i {
    color: #fbbf24;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .stats-visual {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .test-categories {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .tests-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card-new {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-card-new:hover {
        transform: translateY(-5px);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-visual {
        width: 250px;
        height: 250px;
    }
    
    .trust-indicators {
        flex-direction: column;
        align-items: center;
    }
}

/* Footer Responsive */
@media (max-width: 768px) {
    .footer {
        padding: 2rem 0 0;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-section p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .footer-social {
        gap: 0.75rem;
    }
    
    .footer-social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .footer-bottom {
        padding: 1rem 0;
        margin-top: 1rem;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .footer-bottom-links {
        justify-content: center;
        gap: 1rem;
    }
    
    .footer-bottom-links a {
        font-size: 0.85rem;
    }
    
    /* Mobile Serial Contact Styling */
    .contact-item:has(.fa-calendar-alt) {
        padding: 0.75rem;
        margin: 0.75rem 0;
    }
    
    .contact-item:has(.fa-calendar-alt) div p:not(:first-child) {
        font-size: 1rem;
    }
    
    /* Mobile App Download Mobile Styles */
    .app-download-section {
        padding: 60px 0;
    }
    
    .app-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
        margin-bottom: 1rem;
    }
    
    .app-description {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .app-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-bottom: 2rem;
    }
    
    .feature-item {
        padding: 0.5rem;
        gap: 0.5rem;
    }
    
    .feature-item span {
        font-size: 0.85rem;
    }
    
    .btn-download {
        padding: 0.75rem 1.5rem;
        gap: 0.75rem;
        width: 100%;
        justify-content: center;
    }
    
    .btn-title {
        font-size: 0.9rem;
    }
    
    .btn-subtitle {
        font-size: 0.75rem;
    }
    
    .phone-mockup {
        width: 240px;
        height: 480px;
        padding: 15px;
    }
    
    .app-interface {
        padding: 15px;
    }
    
    .app-header h4 {
        font-size: 0.9rem;
    }
    
    .menu-item {
        padding: 10px 8px;
    }
    
    .menu-item i {
        font-size: 1rem;
    }
    
    .menu-item span {
        font-size: 0.65rem;
    }
    
    .action-card {
        padding: 10px;
    }
    
    .action-card span {
        font-size: 0.75rem;
    }
    
    .floating-icon {
        width: 40px;
        height: 40px;
    }
    
    .floating-icon i {
        font-size: 1rem;
    }
}

/* Mobile App Download Section */
.app-download-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.app-download-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="app-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23app-pattern)"/></svg>') repeat;
    opacity: 0.3;
}

.app-content {
    color: white;
    position: relative;
    z-index: 2;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.app-badge i {
    color: #fbbf24;
    font-size: 1.1rem;
}

.app-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.app-description {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.feature-item i {
    color: #22c55e;
    font-size: 1.2rem;
    min-width: 20px;
}

.feature-item span {
    font-size: 0.9rem;
    font-weight: 500;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-download {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-download:hover::before {
    left: 100%;
}

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(34, 197, 94, 0.4);
    color: white;
}

.btn-download i {
    font-size: 1.5rem;
    color: white;
}

.btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.btn-title {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
}

.btn-subtitle {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Phone Mockup */
.app-mockup {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.app-interface {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: white;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.app-logo img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.app-header h4 {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
}

.app-menu {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.menu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 15px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.menu-item.active {
    background: rgba(255, 255, 255, 0.2);
}

.menu-item i {
    font-size: 1.2rem;
    color: #fbbf24;
}

.menu-item span {
    font-size: 0.7rem;
    font-weight: 500;
    text-align: center;
}

.app-content-mockup {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.action-card i {
    color: #22c55e;
    font-size: 1rem;
}

.action-card span {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.floating-icon i {
    color: #fbbf24;
    font-size: 1.2rem;
}

.floating-icon.icon-1 {
    top: 20%;
    right: 10%;
    animation-delay: 0s;
}

.floating-icon.icon-2 {
    bottom: 30%;
    left: 5%;
    animation-delay: 2s;
}

.floating-icon.icon-3 {
    top: 60%;
    right: 5%;
    animation-delay: 4s;
}

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

/* Enhanced Animations */
.animate-in {
    animation: slideInUp 0.8s ease-out forwards;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ripple Effect */
.btn, .appointment-btn, .test-cta-btn {
    position: relative;
    overflow: hidden;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Enhanced Form Styles */
.form-group {
    position: relative;
    margin-bottom: 1.5rem;
}

.form-group.focused label {
    color: var(--primary-color);
    transform: translateY(-20px) scale(0.85);
}

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

/* Loading States */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Enhanced Card Hover Effects */
.service-card, .doctor-card-new, .test-card-new, .report-card {
    transition: var(--transition);
}

.service-card:hover, .doctor-card-new:hover, .test-card-new:hover, .report-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* Glass Morphism Effects */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Enhanced Button Styles */
.btn {
    position: relative;
    overflow: hidden;
    background-size: 200% 200%;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

/* Mobile Touch Enhancements */
@media (hover: none) and (pointer: coarse) {
    .service-card:hover, .doctor-card-new:hover, .test-card-new:hover {
        transform: none;
    }
    
    .btn:hover {
        transform: none;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066cc;
        --secondary-color: #006600;
        --text-dark: #000000;
        --text-light: #333333;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    :root {
        --white: #1a1a1a;
        --gray-50: #2a2a2a;
        --gray-100: #3a3a3a;
        --text-dark: #ffffff;
        --text-light: #cccccc;
    }
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 1rem;
}

.hidden {
    display: none;
}

.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.zoom-in {
    animation: zoomIn 0.6s ease-out;
}
