/* Healthcare Demo Styles */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #4a90e2;
    --accent-color: #00bcd4;
    --text-dark: #2c3e50;
    --text-light: #7f8c8d;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --border-color: #e9ecef;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-accent: linear-gradient(135deg, var(--accent-color), #26c6da);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

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

/* Navigation */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    gap: 20px;
}

.back-to-portfolio {
    font-size: 1.2rem;
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 12px;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: 10px;
}

.back-to-portfolio:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(0, 123, 255, 0.1);
    transform: translateY(-2px) scale(1.1);
}

.nav-logo i {
    margin-right: 10px;
    font-size: 1.8rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
}

.nav-item {
    margin-left: 30px;
}

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

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.appointment-btn {
    background: var(--gradient);
    color: var(--white) !important;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
}

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

.appointment-btn::after {
    display: none;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.healthcare-demo .hero {
    padding: 100px 0 80px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 100vh !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Desktop Hero Background */
.healthcare-demo .desktop-hero {
    display: block !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 1 !important;
}

.healthcare-demo .desktop-hero-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}

.healthcare-demo .desktop-hero .hero-overlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.5) 0%, rgba(74, 144, 226, 0.5) 100%) !important;
    z-index: 2 !important;
}

/* Mobile Hero Background - Hidden on Desktop */
.healthcare-demo .mobile-hero {
    display: none !important;
}

.healthcare-demo .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 90, 160, 0.1) 0%, rgba(74, 144, 226, 0.1) 100%) !important;
    z-index: 1;
}

.healthcare-demo .hero-content {
    display: block !important;
    max-width: 700px !important;
    margin: 0 auto !important;
    text-align: center !important;
    color: var(--white) !important;
    z-index: 2 !important;
    position: relative !important;
    animation: fadeInUp 1s ease-out !important;
}

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

.healthcare-demo .hero-title {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: var(--white) !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
    line-height: 1.1 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    letter-spacing: -0.02em !important;
    display: block !important;
}

.healthcare-demo .hero-subtitle {
    font-size: 1.4rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 45px !important;
    line-height: 1.8 !important;
    font-weight: 400 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    margin-top: 10px !important;
    display: block !important;
}

.healthcare-demo .hero-buttons {
    display: flex !important;
    gap: 25px !important;
    justify-content: center !important;
    flex-wrap: wrap !important;
}

.btn {
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.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%;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.3);
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 107, 107, 0.4);
    background: linear-gradient(135deg, #ff5252 0%, #d63031 100%);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
}

/* Hero image removed - using background image instead */

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    text-align: center;
    width: 100%;
    position: relative;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Services Section */
.services {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
}

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

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.8);
    opacity: 1;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card * {
    text-align: center;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Left cards (1st, 4th) - Primary Care, Ophthalmology - slide from left */
.service-card:nth-child(1),
.service-card:nth-child(4) {
    transform: translateX(0);
    transition-delay: 0s;
}

/* Right cards (3rd, 6th) - Neurology, Pediatrics - slide from right */
.service-card:nth-child(3),
.service-card:nth-child(6) {
    transform: translateX(0);
    transition-delay: 0s;
}

/* Center cards (2nd, 5th) - Cardiology, Orthopedics - fade in gently */
.service-card:nth-child(2),
.service-card:nth-child(5) {
    transform: translateY(0);
    transition-delay: 0s;
}



/* Left cards when animated - Primary Care (1st), Ophthalmology (4th) - slide from left */
.service-card:nth-child(1).animate-in,
.service-card:nth-child(4).animate-in {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0s;
}

/* Right cards when animated - Neurology (3rd), Pediatrics (6th) - slide from right */
.service-card:nth-child(3).animate-in,
.service-card:nth-child(6).animate-in {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0s;
}

/* Center cards when animated - Cardiology (2nd), Orthopedics (5th) - fade in gently */
.service-card:nth-child(2).animate-in,
.service-card:nth-child(5).animate-in {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0s;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02) !important;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--white);
    font-size: 1.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(78, 205, 196, 0.3);
    position: relative;
    text-align: center;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
    text-align: center;
    width: 100%;
}

.service-card:hover h3 {
    color: #2c5aa0;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    text-align: center;
    width: 100%;
}

.service-card:hover p {
    color: #5a6c7d;
}

/* About Section */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    position: relative;
}

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

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

.about-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
    background: var(--white);
    padding: 60px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.about-content::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.05) 0%, transparent 70%);
    z-index: -1;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
}

.healthcare-demo .about-text p {
    font-size: 1rem;
    color: #000000 !important;
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-text p {
    font-size: 1rem;
    color: #000000 !important;
    margin-bottom: 15px;
    line-height: 1.6;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin: 30px 0;
    padding: 20px 0;
    background: var(--light-bg);
    border-radius: 8px;
}

.stat {
    text-align: center;
    padding: 10px;
}

.stat h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

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

.about-image {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.about-facility-image {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.about-facility-image:hover {
    transform: scale(1.02);
}

.about-placeholder {
    width: 100%;
    height: 500px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    box-shadow: var(--shadow-lg);
    min-height: 500px;
}

.about-placeholder i {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Enhanced About Section Styles */
.about-text {
    opacity: 1 !important;
    transform: translateY(0) !important;
    padding-right: 20px;
}

.healthcare-demo .about-text h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000000 !important;
    margin-top: 25px;
}

.about-text h3 {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #000000 !important;
    margin-top: 25px;
}

.about-text h3:first-child {
    margin-top: 0;
}

.features-list {
    margin-top: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    padding: 12px;
    background: var(--light-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    background: #e3f2fd;
    transform: translateX(3px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.healthcare-demo .feature-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: #000000 !important;
}

.healthcare-demo .feature-item p {
    font-size: 0.85rem;
    color: #000000 !important;
    margin: 0;
    line-height: 1.4;
}

.feature-item h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 3px;
    color: #000000 !important;
}

.feature-item p {
    font-size: 0.85rem;
    color: #000000 !important;
    margin: 0;
    line-height: 1.4;
}

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


/* Location Map Section */
.location-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.location-section .section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--text-dark);
    text-align: center;
}

.location-section .section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 40px;
}

.map-container {
    margin-bottom: 40px;
}

.map-wrapper {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    height: 400px;
}

.map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 30px;
    color: var(--white);
}

.map-info {
    text-align: center;
}

.map-info i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--white);
}

.map-info h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--white);
}

.map-info p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.map-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.map-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.map-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.location-details {
    background: var(--white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: var(--shadow);
}

.location-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.info-item:hover {
    background: #e3f2fd;
    transform: translateY(-2px);
}

.info-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 5px;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

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

/* Team Section */
.team {
    padding: 100px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    opacity: 1 !important;
    transform: translateY(0) !important;
    position: relative;
    overflow: hidden;
}

.team::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="hexagons" width="30" height="30" patternUnits="userSpaceOnUse"><polygon points="15,5 25,10 25,20 15,25 5,20 5,10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23hexagons)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

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

.team .section-header h2 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.team .section-header p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 80px;
    opacity: 1 !important;
    transform: translateY(0) !important;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

/* Desktop - Ensure 4 columns are maintained */
@media (min-width: 769px) {
    .team-grid {
        grid-template-columns: repeat(4, 1fr) !important;
        display: grid !important;
        gap: 20px !important;
    }
}

/* Team Member Scroll Animation */
.team-member.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delays for team members */
.team-member:nth-child(1) { transition-delay: 0.1s; }
.team-member:nth-child(2) { transition-delay: 0.2s; }
.team-member:nth-child(3) { transition-delay: 0.3s; }
.team-member:nth-child(4) { transition-delay: 0.4s; }

.team-member {
    text-align: center;
    background: var(--white);
    padding: 40px 30px;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.6s ease-out;
    opacity: 1;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
    z-index: 10;
    max-width: 280px;
    margin: 0 auto;
}


.team-member::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 100%;
    animation: gradientShift 4s ease infinite;
}

.team-member:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.member-image {
    margin-bottom: 25px;
    position: relative;
    z-index: 15;
}


.member-placeholder {
    width: 120px;
    height: 120px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    color: var(--white);
    font-size: 3rem;
}

/* CRITICAL: Force ALL member photos to be exactly the same size */
.healthcare-demo .team-member .member-photo,
.healthcare-demo .team-member img,
.healthcare-demo .member-photo,
.healthcare-demo .team-member img[alt*="Dr."],
.healthcare-demo .team-member img[src*="Dr."] {
    width: 140px !important;
    height: 140px !important;
    min-width: 140px !important;
    min-height: 140px !important;
    max-width: 140px !important;
    max-height: 140px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    margin: 0 auto !important;
    display: block !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2) !important;
    border: 4px solid var(--white) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative !important;
    z-index: 20 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}


.member-photo::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    border-radius: 50%;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member:hover .member-photo {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.team-member:hover .member-photo::before {
    opacity: 1;
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

.team-member:hover h3 {
    color: #2c5aa0;
}

.team-member p {
    color: var(--text-light);
    margin-bottom: 8px;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.team-member:hover p {
    color: #5a6c7d;
}

.specialty {
    color: #ff6b6b !important;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.3s ease;
}

.team-member:hover .specialty {
    transform: scale(1.05);
}

/* Testimonials Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::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="quotes" width="40" height="40" patternUnits="userSpaceOnUse"><text x="20" y="25" font-family="serif" font-size="20" fill="rgba(255,255,255,0.1)" text-anchor="middle">"</text></pattern></defs><rect width="100" height="100" fill="url(%23quotes)"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

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

.testimonials-slider {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial {
    display: none;
    text-align: center;
    background: var(--white);
    padding: 60px 50px;
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

.testimonial.active {
    display: block;
    animation: fadeInScale 0.6s ease-out;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.testimonial-rating {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1.2rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-content p {
    font-size: 1.2rem;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 30px;
    line-height: 1.7;
}

.testimonial-author h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.testimonial-author p {
    color: var(--text-light);
    font-style: normal;
}

.testimonial-dots {
    text-align: center;
    margin-top: 30px;
}

.dot {
    height: 12px;
    width: 12px;
    background: var(--border-color);
    border-radius: 50%;
    display: inline-block;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

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

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--white);
}

.contact-info-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 10px;
}

.contact-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
}

.contact-info-row .contact-item {
    margin-bottom: 0;
    text-align: center;
    flex-direction: column;
    align-items: center;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 20px;
    margin-top: 5px;
}

.contact-info-row .contact-item i {
    margin-right: 0;
    margin-bottom: 8px;
    font-size: 1.5rem;
}

.contact-item h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.contact-info-row .contact-item h3 {
    font-size: 1rem;
    margin-bottom: 5px;
}

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

.contact-info-row .contact-item p {
    font-size: 0.9rem;
    line-height: 1.4;
}


.contact-map {
    display: flex;
    flex-direction: column;
}

.contact-map .map-wrapper {
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.contact-map .map-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.contact-map .map-overlay {
    padding: 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.contact-map .map-info h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.contact-map .map-info p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.contact-map .map-actions {
    flex-direction: column;
    gap: 8px;
}

.contact-map .map-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
}

.contact-form {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4);
    background-size: 300% 100%;
    animation: gradientShift 3s ease infinite;
}

.contact-form.animate-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.form-group {
    margin-bottom: 30px;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid #e9ecef;
    border-radius: 15px;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: var(--white);
    font-family: 'Inter', sans-serif;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.form-group label {
    position: absolute;
    top: -8px;
    left: 15px;
    background: var(--white);
    padding: 0 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #4ecdc4;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.form-group input:focus + label,
.form-group textarea:focus + label {
    opacity: 1;
    transform: translateY(0);
}

/* Appointment Section */
.appointment {
    padding: 60px 0;
    background: #1e3a8a;
    color: var(--white);
    text-align: center;
}

.appointment-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.appointment-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.appointment .btn-primary {
    background: var(--white);
    color: var(--primary-color);
    font-size: 1.1rem;
    padding: 18px 35px;
}

.appointment .btn-primary:hover {
    background: var(--light-bg);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: var(--white);
    padding: 80px 0 30px;
    position: relative;
    overflow: hidden;
}

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

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #4ecdc4, #45b7d1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo i {
    margin-right: 15px;
    color: #4ecdc4;
    font-size: 2rem;
}

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

.footer-section h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #4ecdc4, #45b7d1);
    border-radius: 2px;
}

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

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section ul li a {
    color: #b0b0b0;
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-section ul li a:hover {
    color: #4ecdc4;
    transform: translateX(5px);
}

.footer-section p {
    color: #b0b0b0;
    line-height: 1.7;
    font-size: 1rem;
}

.footer-section .social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-section .social-links a {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.footer-section .social-links a:hover {
    background: #4ecdc4;
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Mobile Responsive Design - Enhanced for All Screen Sizes */

/* Large Mobile and Small Tablets */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .healthcare-demo .hero {
        padding: 60px 0 40px !important;
        min-height: 90vh !important;
    }
    
    .healthcare-demo .hero-title {
        font-size: 2.2rem !important;
    }
    
    .healthcare-demo .hero-subtitle {
        font-size: 1.2rem !important;
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 30px;
    }
}

/* Medium Mobile */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--white);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 20px 0;
    }

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

    .nav-item {
        margin: 15px 0;
    }

    .container {
        padding: 0 20px;
    }
    

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 40px 30px;
    }
    
    .about-facility-image {
        height: 300px;
        min-height: 300px;
    }
    
    .about-placeholder {
        height: 300px;
        min-height: 300px;
    }
    
    .about-text {
        padding-right: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        margin-top: 30px;
    }

    .service-card {
        padding: 30px 25px;
        text-align: center !important;
    }
    
    .services .section-header {
        text-align: center !important;
    }
    
    .services .section-header h2 {
        text-align: center !important;
    }
    
    .services .section-header p {
        text-align: center !important;
    }
    
    .service-card * {
        text-align: center !important;
    }
    
    .team-member {
        padding: 20px 15px;
        max-width: 200px;
        margin: 0 auto;
    }
    
    
    .member-image {
        margin-bottom: 18px !important;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section .social-links {
        justify-content: center;
    }
    
    .map-wrapper {
        height: 300px;
    }
    
    .map-overlay {
        padding: 20px;
    }
    
    .map-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 15px;
    }
    
    .map-info h4 {
        font-size: 1.3rem;
    }
    
    .map-info p {
        font-size: 1rem;
    }
    
    .location-info {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin: 20px 0;
        padding: 15px 0;
    }
    
    .stat {
        padding: 8px;
    }
    
    .stat h3 {
        font-size: 1.5rem;
        margin-bottom: 4px;
    }
    
    .stat p {
        font-size: 0.75rem;
    }

    .contact-info-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        padding: 15px;
    }
    
    .contact-info-row .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .contact-info-row .contact-item i {
        margin-right: 0;
        margin-bottom: 5px;
        font-size: 1.3rem;
    }
    
    .contact-info-row .contact-item h3 {
        font-size: 0.9rem;
        margin-bottom: 3px;
    }
    
    .contact-info-row .contact-item p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .contact-map .map-wrapper {
        height: 300px;
    }
    
    .contact-map .map-overlay {
        padding: 15px;
    }
    
    .contact-map .map-info h4 {
        font-size: 1rem;
    }
    
    .contact-map .map-info p {
        font-size: 0.8rem;
    }
    

    .services-grid {
        grid-template-columns: 1fr;
    }
    

    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
    
    .member-image {
        margin-bottom: 15px !important;
    }
    
    .team-member {
        padding: 25px 15px;
        max-width: 180px;
        margin: 0 auto;
    }
}

/* Small Mobile Devices */
@media (max-width: 600px) {
    .container {
        padding: 0 15px;
    }
    
    .healthcare-demo .hero {
        padding: 0 !important;
        min-height: 60vh !important;
        position: relative !important;
    }
    
    .healthcare-demo .hero::before {
        display: none !important;
    }
    
    .healthcare-demo .hero-content {
        position: relative !important;
        z-index: 2 !important;
        color: #000000 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .healthcare-demo .hero-title {
        color: #000000 !important;
        font-size: 3rem !important;
        font-weight: 800 !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    
    .healthcare-demo .hero-subtitle {
        color: #000000 !important;
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }
    
    .healthcare-demo .btn {
        color: #000000 !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    
    
    .healthcare-demo .hero .hero-title {
        font-size: 1.8rem !important;
        margin-bottom: 12px !important;
    }
    
    .healthcare-demo .hero-subtitle {
        font-size: 1.1rem !important;
        padding: 0 10px !important;
        margin-bottom: 20px !important;
        line-height: 1.4 !important;
    }
    
    .healthcare-demo .hero .btn {
        padding: 10px 16px !important;
        font-size: 0.9rem !important;
        min-width: 110px !important;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 25px;
    }
    
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    
    .member-image {
        margin-bottom: 8px !important;
    }
    
    .team-member {
        padding: 20px 12px;
        max-width: 160px;
        margin: 0 auto;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .healthcare-demo .hero {
        min-height: 55vh !important;
        padding: 0 !important;
        position: relative !important;
    }
    
    .healthcare-demo .hero::before {
        display: none !important;
    }
    
    .healthcare-demo .hero-content {
        position: relative !important;
        z-index: 2 !important;
        color: #000000 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .healthcare-demo .hero-title {
        color: #000000 !important;
        font-size: 3rem !important;
        font-weight: 800 !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    
    .healthcare-demo .hero-subtitle {
        color: #000000 !important;
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }
    
    .healthcare-demo .btn {
        color: #000000 !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    
    
    .healthcare-demo .hero-content {
        padding: 0 10px !important;
    }
    
    .healthcare-demo .hero .hero-title {
        font-size: 1.6rem !important;
        margin-bottom: 10px !important;
    }
    
    .healthcare-demo .hero-subtitle {
        font-size: 1rem !important;
        margin-bottom: 18px !important;
        padding: 0 5px !important;
        line-height: 1.3 !important;
    }
    
    .healthcare-demo .hero .btn {
        padding: 8px 14px !important;
        font-size: 0.85rem !important;
        min-width: 100px !important;
    }
    
    .section-header h2 {
        font-size: 2.2rem !important;
    }
    
    .section-header p {
        font-size: 1.1rem !important;
    }
}

/* Very Small Mobile Devices */
@media (max-width: 360px) {
    .container {
        padding: 0 8px;
    }
    
    .healthcare-demo .hero {
        padding: 0 !important;
        min-height: 50vh !important;
        position: relative !important;
    }
    
    .healthcare-demo .hero::before {
        display: none !important;
    }
    
    .healthcare-demo .hero-content {
        position: relative !important;
        z-index: 2 !important;
        color: #000000 !important;
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .healthcare-demo .hero-title {
        color: #000000 !important;
        font-size: 3rem !important;
        font-weight: 800 !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    
    .healthcare-demo .hero-subtitle {
        color: #000000 !important;
        font-size: 1.5rem !important;
        font-weight: 600 !important;
        margin-top: 0 !important;
        margin-bottom: 10px !important;
    }
    
    .healthcare-demo .btn {
        color: #000000 !important;
        background: transparent !important;
        border: none !important;
        padding: 0 !important;
        margin-top: 0 !important;
        margin-bottom: 5px !important;
    }
    
    
    .healthcare-demo .hero .hero-title {
        font-size: 1.4rem !important;
        margin-bottom: 8px !important;
    }
    
    .healthcare-demo .hero-subtitle {
        font-size: 0.9rem !important;
        margin-bottom: 15px !important;
        line-height: 1.2 !important;
    }
    
    .healthcare-demo .hero .btn {
        padding: 6px 12px !important;
        font-size: 0.75rem !important;
        min-width: 90px !important;
    }
    
    .section-header h2 {
        font-size: 2rem !important;
    }
    
    .section-header p {
        font-size: 1rem !important;
    }

    .service-card,
    .contact-form {
        padding: 30px 20px;
    }

    .testimonial {
        padding: 30px 20px;
    }
    
    
    
    .member-image {
        margin-bottom: 6px !important;
    }
    
    .team-member {
        padding: 18px 10px;
        max-width: 140px;
        margin: 0 auto;
    }
}

/* MODERN MOBILE HERO REDESIGN - CACHE BUST v50 */
@media (max-width: 768px) {
    .healthcare-demo .hero {
        position: relative;
        height: 100vh;
        min-height: 100vh;
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
    }
    
    /* Hide desktop hero on mobile */
    .healthcare-demo .desktop-hero {
        display: none !important;
    }
    
    /* Show mobile hero on mobile */
    .healthcare-demo .mobile-hero {
        display: block !important;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1;
    }
    
    .healthcare-demo .mobile-hero .hero-bg-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
    
    .healthcare-demo .mobile-hero .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(135deg, rgba(102, 126, 234, 0.8) 0%, rgba(118, 75, 162, 0.8) 100%);
        z-index: 2;
    }
    
    .healthcare-demo .hero-content {
        position: relative;
        z-index: 3;
        text-align: center;
        color: white;
        padding: 2rem 1rem;
        max-width: 100%;
    }
    
    .healthcare-demo .hero-title {
        color: #ffffff !important;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }
    
    .healthcare-demo .hero-subtitle {
        color: #ffffff !important;
        text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    }
    
    
    .healthcare-demo .hero-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
        margin-top: 2rem !important;
    }
    
    .healthcare-demo .btn {
        color: #ffffff !important;
        background: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.5) !important;
        padding: 12px 24px !important;
        border-radius: 25px !important;
        font-size: 1rem !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: all 0.3s ease !important;
        backdrop-filter: blur(10px) !important;
        margin: 0 !important;
    }
    
    .healthcare-demo .btn:hover {
        background: rgba(255, 255, 255, 0.3) !important;
        border-color: rgba(255, 255, 255, 0.8) !important;
        transform: translateY(-2px) !important;
    }
}

/* FINAL OVERRIDE: Force all doctor photos to be exactly 140px */
.healthcare-demo .team-member img {
    width: 140px !important;
    height: 140px !important;
    min-width: 140px !important;
    min-height: 140px !important;
    max-width: 140px !important;
    max-height: 140px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

