/* Professional Template Styles */

/* ============ CSS CUSTOM PROPERTIES (VARIABLES) ============ */
:root {
    /* Color Palette */
    --primary-purple: #7c3aed;
    --purple-light: #8b5cf6;
    --purple-lighter: #a855f7;
    --purple-dark: #9333ea;
    
    /* Layout & Spacing */
    --container-max-width: min(1200px, 95vw);
    --section-padding: clamp(3rem, 8vw, 5rem);
    --card-padding: clamp(1.5rem, 3vw, 2.5rem);
    
    /* Logo & Icon Sizes */
    --logo-size: clamp(2rem, 3vw, 3.125rem);
    --logo-size-mobile: clamp(1.875rem, 4vw, 2.5rem);
    --icon-size-small: clamp(2.5rem, 4vw, 3rem);
    --icon-size-medium: clamp(3rem, 5vw, 4.375rem);
    --icon-size-large: clamp(4rem, 6vw, 5rem);
    
    /* Hero Image Sizes */
    --hero-image-width: clamp(15rem, 40vw, 31.25rem);
    --hero-image-height: clamp(12rem, 30vw, 25rem);
    
    /* Button & Interactive Elements */
    --button-size: clamp(2.5rem, 4vw, 3.75rem);
    --touch-target-min: 2.75rem;
    --progress-bar-height: 0.25rem;
    
    /* Form Elements */
    --form-max-width: min(600px, 90vw);
    
    /* Animations */
    --transition-speed: 0.3s;
    --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 1.25rem);
}

/* Header */
.header {
    background: #fff;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: var(--logo-size);
    width: var(--logo-size);
    object-fit: cover;
    border-radius: 0.5rem;
    transition: transform var(--transition-speed) var(--transition-ease);
}

.brand-text {
    font-size: 24px;
    font-weight: 700;
    color: #7c3aed;
}

.nav-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: #334155;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #7c3aed;
}

.contact-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.phone {
    color: #059669;
    font-weight: 600;
}

.cta-button {
    background: #dc2626;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #b91c1c;
}

/* Hero Section */
.hero {
    padding: 140px 0 80px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.5), rgba(168, 85, 247, 0.4)), 
                url('https://images.unsplash.com/photo-1559757148-5c350d0d3c56?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-text {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 18px;
    color: #e2e8f0;
    margin-bottom: 40px;
    line-height: 1.7;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.stat-label {
    font-size: 14px;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: #7c3aed;
    color: white;
}

.btn-primary:hover {
    background: #8b5cf6;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #7c3aed;
    border: 2px solid #7c3aed;
}

.btn-secondary:hover {
    background: #7c3aed;
    color: white;
}

/* Professional Healthcare Image - Hero Section */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    position: relative;
}

.professional-healthcare-image {
    width: var(--hero-image-width);
    height: var(--hero-image-height);
    aspect-ratio: 5 / 4;
    position: relative;
    border-radius: clamp(1rem, 2vw, 1.25rem);
    overflow: hidden;
    box-shadow: 0 1.25rem 3.75rem rgba(124, 58, 237, 0.3);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.professional-healthcare-image:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 80px rgba(124, 58, 237, 0.4);
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: clamp(1rem, 2vw, 1.25rem);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(124, 58, 237, 0.9), rgba(124, 58, 237, 0.6), transparent);
    padding: 30px;
    border-radius: 0 0 20px 20px;
}

.healthcare-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-logo {
    width: var(--icon-size-small);
    height: var(--icon-size-small);
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.badge-text h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.badge-text p {
    color: #e2e8f0;
    font-size: 14px;
    margin: 2px 0 0 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}





/* Services Section */

/* Service Segment Positioning */
.specialty-segment {
    top: 15%;
    left: 5%;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.9), rgba(168, 85, 247, 0.8));
}

.nursing-segment {
    top: 8%;
    right: 5%;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.9), rgba(245, 158, 11, 0.8));
}

.physio-segment {
    top: 45%;
    right: -5%;
    background: linear-gradient(135deg, rgba(192, 132, 252, 0.9), rgba(168, 85, 247, 0.8));
}

.lab-segment {
    bottom: 8%;
    right: 5%;
    background: linear-gradient(135deg, rgba(244, 244, 245, 0.9), rgba(226, 232, 240, 0.8));
    border: 3px solid rgba(139, 92, 246, 0.3);
}

.hospital-segment {
    bottom: 15%;
    left: 5%;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.9), rgba(245, 158, 11, 0.8));
}

.funeral-segment {
    top: 45%;
    left: -5%;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.9), rgba(245, 158, 11, 0.8));
}

/* Segment Content */
.segment-content {
    text-align: center;
    color: white;
    padding: 1rem;
}

.segment-content h4 {
    font-size: 12px;
    font-weight: 700;
    margin: 8px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.segment-icon {
    font-size: 24px;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.segment-image {
    font-size: 16px;
    opacity: 0.8;
    margin-top: 5px;
}

/* Special styling for lab segment */
.lab-segment .segment-content {
    color: #8b5cf6;
}

.lab-segment .segment-content h4 {
    color: #6d28d9;
    text-shadow: none;
}

/* Floating Service Icons */
.floating-service-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.3);
    animation: float 4s ease-in-out infinite;
    cursor: pointer;
    pointer-events: all;
    border: 3px solid rgba(255, 255, 255, 0.6);
    transition: all 0.3s ease;
}

.floating-icon:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 30px rgba(139, 92, 246, 0.4);
}

.emergency-icon {
    top: 5%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 8px 20px rgba(239, 68, 68, 0.3);
}

.user-icon {
    top: 50%;
    right: 2%;
    animation-delay: 1s;
}

.home-icon {
    bottom: 2%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-12px) scale(1.05);
        opacity: 1;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: #fff;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
}

.section-header p {
    font-size: 18px;
    color: #64748b;
    max-width: 600px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e2e8f0;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-icon {
    width: var(--icon-size-medium);
    height: var(--icon-size-medium);
    background: linear-gradient(135deg, var(--primary-purple), var(--purple-lighter));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: clamp(1rem, 2.5vw, 1.5rem);
}

.service-icon i {
    font-size: 28px;
    color: white !important;
}

/* Prevent icon color change on click/focus/active */
.service-icon:focus,
.service-icon:active,
.service-icon:focus i,
.service-icon:active i {
    color: white !important;
    outline: none;
}

.service-card:focus .service-icon i,
.service-card:active .service-icon i {
    color: white !important;
}

.service-card h3 {
    font-size: 22px;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 16px;
}

.service-card p {
    color: #64748b;
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-features {
    list-style: none;
}

.service-features li {
    padding: 8px 0;
    color: #475569;
    position: relative;
    padding-left: 28px;
    line-height: 1.6;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #059669;
    font-weight: bold;
    margin-right: 8px;
}

/* About Section */
.about {
    padding: 100px 0;
    background: #f8fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about h2 {
    font-size: 36px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 24px;
}

.about p {
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.7;
}

.mission-vision {
    margin-bottom: 40px;
}

.mission, .vision {
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.mission h3, .vision h3 {
    color: #7c3aed;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.certifications h3 {
    color: #1e293b;
    margin-bottom: 16px;
}

.cert-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.cert-item {
    background: #7c3aed;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

/* DPDPA Compliance Badge */
.compliance-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    color: white;
    padding: 12px 24px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    margin-top: 30px;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
    transition: all 0.3s ease;
}

.compliance-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.4);
}

.compliance-badge i {
    font-size: 20px;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.grid-item {
    background: white;
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item i {
    font-size: 32px;
    color: #7c3aed;
    margin-bottom: 12px;
}

.grid-item span {
    display: block;
    font-weight: 600;
    color: #1e293b;
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: #1e293b;
    color: white;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.contact-details {
    margin-bottom: 40px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 30px;
}

.contact-item i {
    font-size: 20px;
    color: #a855f7;
    margin-top: 5px;
}

.contact-item h4 {
    color: #e2e8f0;
    margin-bottom: 8px;
}

.contact-item p {
    color: #94a3b8;
}

.social-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

/* Specific styling for contact section social links - VERTICAL STACK */
.contact .social-links,
.contact-info .social-links {
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
    align-items: flex-start !important;
    margin-top: 20px !important;
    width: fit-content !important;
}

.social-link {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
}

.social-link:hover {
    background: linear-gradient(135deg, #9333ea, #7c3aed);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 6px 20px rgba(147, 51, 234, 0.5);
}

/* Footer Social Links - Completely Rewritten with Higher Specificity */
.footer .footer-brand .social-links,
.footer-brand .social-links {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    margin-top: 25px !important;
    justify-content: flex-start !important;
    align-items: center !important;
}

.footer .footer-brand .social-links a,
.footer-brand .social-links a,
.footer .footer-brand .social-link,
.footer-brand .social-link {
    width: 55px !important;
    height: 55px !important;
    min-width: 55px !important;
    min-height: 55px !important;
    max-width: 55px !important;
    max-height: 55px !important;
    font-size: 22px !important;
    line-height: 55px !important;
    border: 2px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 5px 12px rgba(168, 85, 247, 0.4) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #a855f7, #8b5cf6) !important;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
}

.footer .footer-brand .social-links a i,
.footer-brand .social-links a i,
.footer .footer-brand .social-link i,
.footer-brand .social-link i {
    font-size: 22px !important;
    line-height: 1 !important;
}

.footer .footer-brand .social-links a:hover,
.footer-brand .social-links a:hover,
.footer .footer-brand .social-link:hover,
.footer-brand .social-link:hover {
    transform: translateY(-5px) scale(1.1) !important;
    box-shadow: 0 12px 30px rgba(168, 85, 247, 0.6) !important;
    border-color: rgba(255, 255, 255, 0.4) !important;
    background: linear-gradient(135deg, #9333ea, #7c3aed) !important;
}

/* Mobile responsive sizing for social links */
@media (max-width: 480px) {
    .social-links {
        gap: 15px;
        justify-content: center;
    }
    
    .social-link {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    /* Footer social links larger on mobile */
    .footer .footer-brand .social-links,
    .footer-brand .social-links {
        gap: 12px !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
    }
    
    .footer .footer-brand .social-links a,
    .footer-brand .social-links a,
    .footer .footer-brand .social-link,
    .footer-brand .social-link {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
        min-height: 48px !important;
        max-width: 48px !important;
        max-height: 48px !important;
        font-size: 20px !important;
        line-height: 48px !important;
        border: 2px solid rgba(255, 255, 255, 0.2) !important;
    }
    
    .footer .footer-brand .social-links a i,
    .footer-brand .social-links a i,
    .footer .footer-brand .social-link i,
    .footer-brand .social-link i {
        font-size: 20px !important;
    }
}

/* Tablet and medium screen footer social links */
@media (max-width: 768px) {
    .footer .footer-brand .social-links,
    .footer-brand .social-links {
        gap: 14px !important;
        justify-content: center !important;
    }
    
    .footer .footer-brand .social-links a,
    .footer-brand .social-links a,
    .footer .footer-brand .social-link,
    .footer-brand .social-link {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        max-width: 50px !important;
        max-height: 50px !important;
        font-size: 20px !important;
        line-height: 50px !important;
    }
    
    .footer .footer-brand .social-links a i,
    .footer-brand .social-links a i,
    .footer .footer-brand .social-link i,
    .footer-brand .social-link i {
        font-size: 20px !important;
    }
}

.contact-form {
    background: rgba(255,255,255,0.05);
    padding: 40px;
    border-radius: 12px;
}

.contact-form h3 {
    margin-bottom: 30px;
    color: #e2e8f0;
}

.form-row {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    padding: 12px 16px;
    color: white;
    font-family: inherit;
    width: 100%;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #94a3b8;
}

.contact-form select {
    color: #94a3b8;
}

.contact-form option {
    background: #1e293b;
    color: white;
}

/* Footer */
.footer {
    background: #0f172a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: #94a3b8;
    margin-top: 16px;
}

.footer-logo {
    height: var(--logo-size);
    width: var(--logo-size);
    object-fit: cover;
    border-radius: clamp(0.5rem, 1vw, 0.625rem);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    color: #e2e8f0;
    margin-bottom: 20px;
    font-size: 18px;
}

.link-group ul {
    list-style: none;
}

.link-group li {
    margin-bottom: 12px;
}

.link-group a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: #a855f7;
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 20px;
    text-align: center;
    color: #64748b;
}

/* Professional Service Segment Hover and Active States */
.service-segment:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.service-segment.segment-active {
    background: linear-gradient(135deg, #a855f7, #8b5cf6);
    color: white;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
    transform: scale(1.02);
}

.service-segment.segment-active .segment-icon,
.service-segment.segment-active .segment-image {
    color: white;
}

.central-health-hub:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        padding: 0.5rem 0;
    }
    
    .header .container {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto;
        align-items: center;
        gap: 0.5rem;
    }
    
    .nav-brand {
        grid-column: 1;
        grid-row: 1;
        gap: 0.5rem;
    }
    
    .logo {
        height: var(--logo-size-mobile);
        width: var(--logo-size-mobile);
    }
    
    .brand-text {
        font-size: clamp(0.875rem, 3vw, 1rem);
        font-weight: 600;
    }
    
    .contact-info {
        display: none;
    }
    
    .phone {
        display: none;
    }
    
    .cta-button {
        display: none;
    }
    
    .nav-menu {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
    }
    
    .nav-menu ul {
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-content,
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .hero h1 {
        font-size: 32px;
    }
    
    .hero {
        background-attachment: scroll;
        padding: clamp(5rem, 15vw, 7rem) 0 clamp(2rem, 5vw, 3rem);
        margin-top: 0;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: clamp(2rem, 5vw, 3rem);
        text-align: center;
    }
    
    .hero-text {
        order: 1;
        padding: clamp(1rem, 3vw, 1.5rem);
        margin: 0;
        margin-top: 1rem;
    }
    
    .hero-image {
        order: 2;
        display: flex;
        justify-content: center;
        margin-top: clamp(1.5rem, 4vw, 2.5rem);
        padding: 0 1rem;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .stat {
        min-width: 100px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    /* Professional Hero Section Mobile */
    .professional-healthcare-image {
        width: clamp(15rem, 70vw, 17.5rem);
        height: clamp(12rem, 55vw, 13.75rem);
        margin: 0 auto;
        position: relative;
        overflow: hidden;
    }
    
    .hero-main-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .image-overlay {
        bottom: 0;
        left: 0;
        right: 0;
        padding: clamp(0.75rem, 2vw, 1rem);
        border-radius: 0 0 clamp(0.75rem, 2vw, 1rem) clamp(0.75rem, 2vw, 1rem);
    }
    
    .healthcare-badge {
        max-width: calc(100% - 1.25rem);
        padding: clamp(0.375rem, 1.5vw, 0.625rem) clamp(0.5rem, 2vw, 0.75rem);
        gap: clamp(0.375rem, 1.5vw, 0.625rem);
        border-radius: clamp(0.375rem, 1.5vw, 0.625rem);
        transform: scale(0.85);
    }
    
    .image-overlay {
        padding: clamp(0.5rem, 1.5vw, 0.75rem);
    }
    
    .badge-logo {
        width: clamp(1.5rem, 4vw, 2rem);
        height: clamp(1.5rem, 4vw, 2rem);
    }
    
    .badge-text h4 {
        font-size: clamp(0.75rem, 2vw, 0.875rem);
        line-height: 1.1;
    }
    
    .badge-text p {
        font-size: clamp(0.5rem, 1.5vw, 0.625rem);
        line-height: 1.1;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .form-row {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        padding: 6px 0;
    }
    
    .logo {
        height: clamp(1.875rem, 4vw, 2rem);
        width: clamp(1.875rem, 4vw, 2rem);
    }
    
    .brand-text {
        font-size: 14px;
    }
    
    .hero {
        padding: 70px 0 40px;
    }
    
    .hero h1 {
        font-size: 28px;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .professional-healthcare-image {
        width: clamp(13rem, 60vw, 15rem);
        height: clamp(10rem, 45vw, 11.25rem);
    }
    
    .healthcare-badge {
        display: none;
    }
    
    .image-overlay {
        display: none;
    }
    
    .hero-stats {
        gap: 10px;
    }
    
    .stat {
        min-width: 80px;
    }
    
    .stat-number {
        font-size: 20px;
    }
    
    .stat-label {
        font-size: 10px;
    }
    
    .services,
    .about,
    .contact {
        padding: 50px 0;
    }
    
    .hero h1 {
        font-size: 28px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}

/* ============ PHASE 1 ANIMATIONS STYLES ============ */

/* 1. Scroll Progress Bar */
.scroll-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--progress-bar-height);
    background: rgba(124, 58, 237, 0.1);
    z-index: 1001;
    pointer-events: none;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-purple), var(--purple-lighter), var(--purple-light));
    width: 0%;
    transition: width var(--transition-speed) ease;
    box-shadow: 0 0.125rem 0.625rem rgba(124, 58, 237, 0.3);
}

/* 2. Enhanced Scroll-to-Top Button */
.scroll-to-top-btn {
    position: fixed;
    bottom: clamp(1.5rem, 3vw, 1.875rem);
    right: clamp(1.5rem, 3vw, 1.875rem);
    width: var(--button-size);
    height: var(--button-size);
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-purple), var(--purple-light));
    color: white;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(0.625rem) scale(0.8);
    transition: all 0.4s var(--transition-ease);
    z-index: 999;
    box-shadow: 0 0.5rem 1.5625rem rgba(124, 58, 237, 0.4);
    font-size: clamp(1rem, 2vw, 1.125rem);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.scroll-to-top-btn:hover {
    transform: translateY(0) scale(1.1);
    box-shadow: 0 12px 35px rgba(124, 58, 237, 0.5);
}

.scroll-to-top-btn:active {
    transform: translateY(0) scale(0.95);
}

/* 3. Enhanced Header Transitions */
.header {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.header.scrolled {
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(124, 58, 237, 0.1);
}

/* 4. Enhanced Service Card Animations */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 35px rgba(124, 58, 237, 0.15) !important;
    border-color: rgba(124, 58, 237, 0.2) !important;
}

.service-icon {
    transition: all 0.3s ease;
}

.service-icon i {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 5. Button Ripple Effect */
.btn-ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    pointer-events: none;
    animation: ripple-animation 0.6s ease-out;
}

@keyframes ripple-animation {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* 6. Mobile Menu Enhancement */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: var(--touch-target-min);
    height: var(--touch-target-min);
    background: none;
    border: none;
    cursor: pointer;
    padding: clamp(0.5rem, 1vw, 0.625rem);
    gap: 0.25rem;
}

.mobile-menu-toggle span {
    width: clamp(1.25rem, 2vw, 1.5rem);
    height: 0.125rem;
    background: var(--primary-purple);
    border-radius: 0.125rem;
    transition: all var(--transition-speed) var(--transition-ease);
    transform-origin: center;
}

.mobile-menu-toggle.active span:first-child {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:last-child {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Enhanced Mobile Navigation */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        border-top: 1px solid rgba(124, 58, 237, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu ul {
        flex-direction: column;
        padding: 20px 0;
        gap: 0;
    }
    
    .nav-menu li {
        padding: 0;
    }
    
    .nav-menu a {
        display: block;
        padding: 15px 30px;
        border-bottom: 1px solid rgba(124, 58, 237, 0.1);
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover {
        background: rgba(124, 58, 237, 0.05);
        color: #7c3aed;
        padding-left: 40px;
    }
    
    .contact-info {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .scroll-to-top-btn {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

/* Enhanced Responsive Design */
@media (max-width: 480px) {
    .scroll-progress-bar {
        height: 3px;
    }
    
    .scroll-to-top-btn {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
        font-size: 14px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .professional-healthcare-image img {
        height: 300px;
    }
    
    .image-overlay {
        padding: 15px;
    }
    
    .healthcare-badge {
        padding: 15px;
        gap: 10px;
    }
    
    .badge-logo {
        width: 35px;
        height: 35px;
    }
    
    .badge-text h4 {
        font-size: 14px;
    }
    
    .badge-text p {
        font-size: 11px;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    .scroll-to-top-btn,
    .service-card,
    .progress-fill,
    .mobile-menu-toggle span,
    .nav-menu {
        transition: none;
        animation: none;
    }
    
    .scroll-to-top-btn:hover {
        transform: none;
    }
    
    .service-card:hover {
        transform: none;
    }
}

/* Enhanced Button States */
.btn, .cta-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn:hover, .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.25);
}

.btn:active, .cta-button:active {
    transform: translateY(0);
}

/* Enhanced Mobile Image Responsiveness */
.hero-main-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hero {
        padding: 120px 0 80px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        padding: 30px 20px;
        margin-bottom: 20px;
        order: 1;
    }
    
    .hero-image {
        margin-top: 0;
        width: 100%;
        overflow: hidden;
        order: 2;
    }
    
    .hero-main-image {
        height: 300px;
        max-width: 100%;
        width: 100%;
        object-fit: cover;
    }
    
    .professional-healthcare-image {
        max-width: 100%;
        width: 100%;
        position: relative;
    }
    
    .image-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(124, 58, 237, 0.1);
        display: flex;
        align-items: flex-end;
        justify-content: flex-start;
        padding: 15px;
    }
    
    .healthcare-badge {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        padding: 12px 16px;
        border-radius: 10px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    }
}

@media (max-width: 480px) {
    .hero-main-image {
        height: 280px;
        border-radius: 8px;
    }
    
    .image-overlay {
        padding: 12px;
    }
    
    .healthcare-badge {
        padding: 12px 16px;
        border-radius: 8px;
    }
    
    .badge-logo {
        width: 30px;
        height: 30px;
    }
    
    .badge-text h4 {
        font-size: 13px;
        margin-bottom: 2px;
    }
    
    .badge-text p {
        font-size: 10px;
    }
}

/* Enhanced Service Icons with Purple Theme */
.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #7c3aed, #8b5cf6);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-icon {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 12px 30px rgba(124, 58, 237, 0.4);
}

/* Enhanced Typography for Mobile */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 16px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        line-height: 1.5;
        margin-bottom: 24px;
    }
    
    .section-header h2 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .section-header p {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .service-card h3 {
        font-size: 22px;
        margin-bottom: 12px;
    }
    
    .service-card p {
        font-size: 15px;
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 15px;
    }
    
    .section-header h2 {
        font-size: 24px;
    }
    
    .section-header p {
        font-size: 15px;
    }
    
    .service-card h3 {
        font-size: 20px;
    }
    
    .service-card p {
        font-size: 14px;
    }
    
    .service-features li {
        font-size: 13px;
        padding: 4px 0;
        padding-left: 24px;
    }
    
    .service-features li::before {
        left: 0;
        margin-right: 8px;
    }
}

/* Touch Target Enhancement for Mobile */
@media (max-width: 768px) {
    .nav-menu a,
    .btn,
    .cta-button,
    .mobile-menu-toggle {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-menu a {
        padding: 15px 30px;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {
    .scroll-to-top-btn,
    .service-card,
    .progress-fill,
    .mobile-menu-toggle span,
    .nav-menu,
    .btn-ripple {
        transition: none !important;
        animation: none !important;
    }
    
    .scroll-to-top-btn:hover,
    .service-card:hover {
        transform: none !important;
    }
}

/* Focus States for Accessibility */
.scroll-to-top-btn:focus,
.btn:focus,
.cta-button:focus,
.nav-menu a:focus,
.mobile-menu-toggle:focus {
    outline: 2px solid #7c3aed;
    outline-offset: 2px;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .scroll-to-top-btn {
        background: #000;
        border: 2px solid #fff;
    }
    
    .progress-fill {
        background: #000;
    }
    
    .service-icon {
        background: #000;
        border: 2px solid #fff;
    }
}

/* ============ PHASE 2 ANIMATIONS STYLES ============ */

/* 5. Enhanced Form Input Animations */
input, textarea, select {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    width: 100%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
}

input:focus, textarea:focus, select:focus {
    outline: none;
    border-color: #7c3aed;
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

/* 6. Mobile Menu Backdrop */
.mobile-menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

/* 7. Enhanced Hover Animations */
.logo {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu a {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-menu a:hover::before {
    left: 100%;
}

/* 8. Section Fade-in Animations */
.section-header {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-text, .hero-image {
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 9. Enhanced Button Micro-interactions */
.btn, .cta-button {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn::before, .cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.btn:hover::before, .cta-button:hover::before {
    width: clamp(12rem, 30vw, 18.75rem);
    height: clamp(12rem, 30vw, 18.75rem);
}

/* Enhanced Mobile Navigation Animation */
@media (max-width: 768px) {
    .nav-menu.active {
        animation: slideInFromTop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }
}

@keyframes slideInFromTop {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Mobile Menu Toggle Button Styles */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: clamp(1.875rem, 4vw, 2rem);
    height: clamp(1.875rem, 4vw, 2rem);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    height: 0.1875rem;
    width: 100%;
    background: var(--primary-purple);
    border-radius: 0.1875rem;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: all 0.25s ease-in-out;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Button Ripple Effect */
.btn-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
        grid-column: 2;
        grid-row: 1;
        margin-left: 0.5rem;
    }
    
    .nav-menu {
        position: absolute;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        text-align: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s var(--transition-ease), opacity 0.3s ease;
        opacity: 0;
        z-index: 999;
        box-shadow: 0 0.625rem 1.875rem rgba(0, 0, 0, 0.1);
        margin-top: 0.5rem;
    }
    
    .nav-menu.active {
        max-height: 25rem;
        opacity: 1;
    }
    
    .nav-menu ul {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding: 0;
        margin: 0;
    }
    
    .nav-menu li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid rgba(124, 58, 237, 0.1);
        list-style: none;
    }
    
    .nav-menu a {
        font-size: clamp(1rem, 3vw, 1.125rem);
        font-weight: 500;
        padding: 1rem 1.25rem;
        display: block;
        color: #334155;
    }
    
    .nav-menu a:hover {
        background: rgba(124, 58, 237, 0.05);
        color: var(--primary-purple);
    }
}

/* Mobile Layout Enhancements */
@media (max-width: 768px) {
    body {
        overflow-x: hidden;
        position: relative;
    }
    
    /* Prevent hero content from overlapping header */
    .hero {
        margin-top: clamp(1rem, 3vw, 2rem);
        padding-top: clamp(5rem, 12vw, 7rem);
    }
    
    .hero-content {
        max-width: 100%;
        overflow: hidden;
        padding: 0 clamp(0.5rem, 2vw, 1rem);
    }
    
    .professional-healthcare-image {
        position: relative;
        z-index: 1;
        max-width: 90%;
    }
    
    .overlay-content {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }
    
    .hero-main-image {
        border-radius: clamp(0.75rem, 2vw, 1rem);
    }
    
    .image-overlay {
        border-radius: clamp(0.75rem, 2vw, 1rem);
    }
    
    .healthcare-badge {
        display: none;
    }
    
    .image-overlay {
        display: none;
    }
    
    .overlay-content {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }
    
    .badge-text {
        flex: 1;
        min-width: 0;
    }
    
    .badge-text h4,
    .badge-text p {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Ensure header stays on top */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: rgba(255, 255, 255, 0.98);
    }
}

/* Layout stacking management */
.hero {
    position: relative;
    z-index: 1;
    clear: both;
}

.header {
    z-index: 1000;
    isolation: isolate;
}