/* CSS Custom Properties */
:root {
    /* Colors */
    --primary-color: #2563eb;
    --primary-light: #3b82f6;
    --primary-dark: #1d4ed8;
    --secondary-color: #f8fafc;
    --accent-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Text Colors */
    --text-color: #334155;
    --text-light: #64748b;
    --text-dark: #1e293b;
    --text-white: #ffffff;
    
    /* Background Colors */
    --background-color: #ffffff;
    --background-light: #f8fafc;
    --background-dark: #0f172a;
    
    /* Border Colors */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --border-dark: #cbd5e1;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    
    /* Font Sizes */
    --fs-xs: 0.75rem;
    --fs-sm: 0.875rem;
    --fs-base: 1rem;
    --fs-lg: 1.125rem;
    --fs-xl: 1.25rem;
    --fs-2xl: 1.5rem;
    --fs-3xl: 1.875rem;
    --fs-4xl: 2.25rem;
    --fs-5xl: 3rem;
    --fs-6xl: 3.75rem;
    
    /* Font Weights */
    --fw-light: 300;
    --fw-normal: 400;
    --fw-medium: 500;
    --fw-semibold: 600;
    --fw-bold: 700;
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.375rem;
    --radius-lg: 0.5rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-full: 50%;
    
    /* Transitions */
    --transition-fast: 0.15s ease-in-out;
    --transition-base: 0.25s ease-in-out;
    --transition-slow: 0.35s ease-in-out;
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal: 1040;
    --z-tooltip: 1070;
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

/* Section Utilities */
.section {
    padding: var(--space-5xl) 0;
}

.section__header {
    text-align: center;
    margin-bottom: var(--space-4xl);
}

.section__subtitle {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: var(--space-md);
}

.section__title {
    font-family: var(--font-secondary);
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    cursor: pointer;
    text-transform: capitalize;
    position: relative;
    overflow: hidden;
}

.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, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn--primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn--secondary {
    background: var(--text-white);
    color: var(--primary-color);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
}

.btn--secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.btn--outline {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn--outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn--small {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--fs-sm);
}

.btn--large {
    padding: var(--space-lg) var(--space-2xl);
    font-size: var(--fs-lg);
}

.btn--full {
    width: 100%;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--text-white);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-fixed);
    transition: all var(--transition-base);
}

.header.scroll-header {
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__brand {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--primary-color);
}

.nav__logo {
    height: 50px;
    width: auto;
    object-fit: contain;
}

.nav__logo-icon {
    font-size: var(--fs-2xl);
}

.nav__list {
    display: flex;
    align-items: center;
    gap: var(--space-2xl);
}

.nav__link {
    font-size: var(--fs-base);
    font-weight: var(--fw-medium);
    color: var(--text-color);
    position: relative;
    transition: all var(--transition-base);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-base);
}

.nav__link:hover,
.nav__link.active-link {
    color: var(--primary-color);
}

.nav__link:hover::after,
.nav__link.active-link::after {
    width: 100%;
}

.nav__actions {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

/* Dual Button Component */
.nav__dual-btn {
    display: flex;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
}

.dual-btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: var(--fs-sm);
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.dual-btn--left {
    background: var(--text-white);
    color: var(--text-dark);
    border-right: 1px solid var(--border-color);
}

.dual-btn--right {
    background: var(--primary-color);
    color: var(--text-white);
}

.dual-btn--left:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.dual-btn--right:hover {
    background: #1d4ed8;
}



.nav__toggle,
.nav__close {
    font-size: var(--fs-xl);
    color: var(--text-color);
    cursor: pointer;
    display: none;
}

/* Hide mobile login buttons on desktop by default */
.nav__mobile-login {
    display: none;
}

/* Modern Animations & Effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

@keyframes shimmer {
    0% {
        background-position: -468px 0;
    }
    100% {
        background-position: 468px 0;
    }
}

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

@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0deg) scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Smooth scrolling for the entire page */
html {
    scroll-behavior: smooth;
}

/* Scroll-triggered animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Hero Carousel Section */
.hero {
    padding-top: 80px;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.hero--carousel {
    background: linear-gradient(135deg, var(--background-light) 0%, #f8fafc 100%);
}

.hero__carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.hero__slide.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: all;
}

.hero__slide.prev {
    transform: translateX(-100px);
}

/* Navigation Controls */
.hero__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero__nav:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.hero__nav--prev {
    left: 2rem;
}

.hero__nav--next {
    right: 2rem;
}



.hero__carousel {
    position: relative;
    height: 100vh;
    width: 100%;
}

.hero__slides {
    position: relative;
    height: 100%;
    width: 100%;
}

.hero__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: calc(100vh - 80px);
    opacity: 0;
    visibility: hidden;
    transform: translateX(100%);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
}



.hero__slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.hero__slide.prev {
    transform: translateX(-100%);
}

.hero__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.hero__subtitle {
    display: inline-block;
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary-color);
    background: var(--secondary-color);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.hero__title {
    font-family: var(--font-secondary);
    font-size: var(--fs-6xl);
    font-weight: var(--fw-bold);
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.hero__highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__description {
    font-size: var(--fs-lg);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 500px;
}

.hero__actions {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-3xl);
}

.hero__stats {
    display: flex;
    gap: var(--space-2xl);
}

.hero__stat {
    text-align: center;
}

.hero__stat-number {
    font-family: var(--font-secondary);
    font-size: var(--fs-3xl);
    font-weight: var(--fw-bold);
    color: var(--primary-color);
    display: block;
}

.hero__stat-label {
    font-size: var(--fs-sm);
    color: var(--text-light);
    font-weight: var(--fw-medium);
}

.hero__image {
    position: relative;
}

.hero__image-placeholder,
.about__image-placeholder,
.consultation__image-placeholder {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-4xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
}

.hero__image-placeholder i,
.about__image-placeholder i,
.consultation__image-placeholder i {
    font-size: var(--fs-6xl);
    opacity: 0.8;
}

.hero__image-placeholder span,
.about__image-placeholder span,
.consultation__image-placeholder span {
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
}

/* Laboratory Image Styling */
.about__image-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
}

.about__image-photo:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-2xl);
}

/* Consultation Image Styling */
.consultation__image-photo {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-2xl);
    box-shadow: var(--shadow-xl);
    transition: all var(--transition-normal);
}

.consultation__image-photo:hover {
    transform: scale(1.02);
    box-shadow: var(--shadow-2xl);
}

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

@keyframes ripple-animation {
    to {
        transform: scale(2);
        opacity: 0;
    }
}




/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: var(--text-white);
    color: var(--text-dark);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: 10000;
    transform: translateY(-100px);
    opacity: 0;
    transition: all var(--transition-normal);
    max-width: 400px;
    min-width: 300px;
    border-left: 4px solid var(--primary-color);
}

.notification--show {
    transform: translateY(0);
    opacity: 1;
}

.notification--success {
    border-left-color: var(--success-color);
}

.notification--error {
    border-left-color: var(--error-color);
}

.notification--warning {
    border-left-color: var(--warning-color);
}

.notification--info {
    border-left-color: var(--primary-color);
}

.notification__content {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-weight: var(--fw-medium);
}

.notification__content i {
    font-size: var(--fs-lg);
}

.notification--success .notification__content i {
    color: var(--success-color);
}

.notification--error .notification__content i {
    color: var(--error-color);
}

.notification--warning .notification__content i {
    color: var(--warning-color);
}

.notification--info .notification__content i {
    color: var(--primary-color);
}

@media (max-width: 480px) {
    .notification {
        left: 20px;
        right: 20px;
        max-width: none;
        min-width: auto;
    }
}

/* Modern Hero Visual Cards */
.hero__visual-card {
    background: var(--text-white);
    border-radius: var(--radius-2xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid rgba(37, 99, 235, 0.1);
    text-align: center;
    max-width: 400px;
    margin: 0 auto;
}

.hero__icon-container {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-lg);
    box-shadow: var(--shadow-lg);
}

.hero__icon-container--green {
    background: linear-gradient(135deg, #10b981, #059669);
}

.hero__icon {
    color: var(--text-white);
    font-size: var(--fs-2xl);
}

.hero__visual-card h3 {
    font-family: var(--font-secondary);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.hero__visual-card p {
    color: var(--text-light);
    font-size: var(--fs-base);
    line-height: 1.6;
    margin-bottom: var(--space-xl);
}

.hero__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.hero__feature-item,
.hero__location-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-light);
    font-size: var(--fs-sm);
    font-weight: var(--fw-medium);
}

.hero__feature-item i,
.hero__location-item i {
    color: var(--primary-color);
    font-size: var(--fs-base);
}

.hero__locations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.hero__location-item {
    flex-direction: column;
    text-align: center;
    gap: var(--space-xs);
}

.hero__location-item i {
    color: #10b981;
}

/* Carousel Controls */
.hero__control--prev,
.hero__control--next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}

.hero__control--prev {
    left: 20px;
}

.hero__control--next {
    right: 20px;
}

.hero__control {
    pointer-events: all;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(37, 99, 235, 0.2);
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.hero__control:hover,
.hero__control:active,
.hero__control:focus {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
    outline: none;
}

.hero__control--prev:hover,
.hero__control--prev:active,
.hero__control--prev:focus {
    transform: translateY(-50%);
}

.hero__control--next:hover,
.hero__control--next:active,
.hero__control--next:focus {
    transform: translateY(-50%);
}

.hero__control i {
    font-size: var(--fs-lg);
}

/* Carousel Pagination */
.hero__indicators {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--space-sm);
    z-index: 10;
}

.hero__indicator {
    width: 40px;
    height: 4px;
    border-radius: 2px;
    border: none;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all var(--transition-base);
}

.hero__indicator.active {
    background: var(--text-white);
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.hero__indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
}

/* About Section */
.about__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.about__description {
    font-size: var(--fs-lg);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.about__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.about__feature {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.about__feature-icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-white);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xl);
    box-shadow: var(--shadow-md);
}

.about__feature-content h3 {
    font-family: var(--font-secondary);
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

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

/* Services Section */
.services {
    background: var(--background-light);
}

.services__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.service__card {
    background: var(--text-white);
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: slideUp 0.8s ease-out both;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(37, 99, 235, 0.05),
        transparent
    );
    transition: left 0.6s;
}

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

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.service__card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.service__icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-white);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-2xl);
    margin-bottom: var(--space-xl);
    box-shadow: var(--shadow-lg);
}

.service__title {
    font-family: var(--font-secondary);
    font-size: var(--fs-2xl);
    font-weight: var(--fw-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-md);
}

.service__description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service__features li {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    color: var(--text-color);
}

.service__features i {
    color: var(--success-color);
    font-size: var(--fs-sm);
}

/* Test Panels Section */
.panels__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
}

.panel__card {
    background: var(--text-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
    position: relative;
    border: 2px solid transparent;
    height: 450px;
    display: flex;
    flex-direction: column;
}

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



.panel__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-color);
}



.panel__title {
    font-family: var(--font-secondary);
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--text-dark);
    flex: 1;
    margin-right: var(--space-md);
}

.panel__price {
    display: flex;
    align-items: flex-start;
    gap: var(--space-xs);
    font-family: var(--font-secondary);
    font-weight: var(--fw-bold);
    flex-shrink: 0;
}

.panel__currency {
    font-size: var(--fs-lg);
    color: var(--primary-color);
}



.panel__amount {
    font-size: var(--fs-3xl);
    color: var(--primary-color);
}



.panel__description {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    font-size: var(--fs-base);
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 6;
    -webkit-box-orient: vertical;
}



.panel__tests-count {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-sm);
    color: var(--text-light);
    margin-bottom: var(--space-lg);
    margin-top: auto;
}

.panel__tests-count i {
    color: var(--primary-color);
}

/* Legacy styles for backwards compatibility */
.packages__container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: var(--space-2xl);
}

.package__card {
    background: var(--text-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
    position: relative;
    border: 2px solid transparent;
}

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

.package__card--featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--text-white);
    transform: scale(1.02);
}

.package__badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: var(--text-white);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-full);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
}

/* Consultation Section */
.consultation {
    background: var(--background-light);
}

.consultation__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
}

.consultation__description {
    font-size: var(--fs-lg);
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
}

.consultation__features {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.consultation__feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    font-size: var(--fs-lg);
    font-weight: var(--fw-medium);
    color: var(--text-color);
}

.consultation__feature i {
    color: var(--primary-color);
    font-size: var(--fs-xl);
}

/* Contact Section */
.contact__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact__card {
    background: var(--text-white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
    transition: all var(--transition-base);
}

.contact__card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.contact__icon {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-white);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-xl);
    box-shadow: var(--shadow-md);
}

.contact__details h3 {
    font-family: var(--font-secondary);
    font-size: var(--fs-xl);
    font-weight: var(--fw-semibold);
    color: var(--text-dark);
    margin-bottom: var(--space-sm);
}

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

/* Form Styles */
.form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form__group {
    position: relative;
}

.form__input {
    width: 100%;
    padding: var(--space-lg) var(--space-md);
    font-size: var(--fs-base);
    color: var(--text-color);
    background: var(--text-white);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.form__input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
    top: -12px;
    left: 12px;
    font-size: var(--fs-sm);
    color: var(--primary-color);
    background: var(--text-white);
    padding: 0 var(--space-sm);
}

.form__label {
    position: absolute;
    top: 50%;
    left: var(--space-md);
    transform: translateY(-50%);
    font-size: var(--fs-base);
    color: var(--text-light);
    font-weight: var(--fw-medium);
    transition: all var(--transition-base);
    pointer-events: none;
}

.form__textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: var(--space-lg);
}

.form__textarea + .form__label {
    top: var(--space-lg);
    transform: none;
}

.form__select {
    cursor: pointer;
}

.form__select option {
    padding: var(--space-sm);
}

/* Footer */
.footer {
    background: var(--background-dark);
    color: var(--text-white);
    padding: var(--space-5xl) 0 var(--space-xl) 0;
}

.footer__container {
    display: flex;
    flex-direction: column;
    gap: var(--space-4xl);
}

.footer__content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-4xl);
}

.footer__brand .nav__brand {
    color: var(--text-white);
    margin-bottom: var(--space-lg);
}

.footer__brand .nav__logo {
    height: 45px;
    filter: brightness(0) invert(1);
}

.footer__description {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: var(--space-xl);
    max-width: 400px;
}

.footer__social {
    display: flex;
    gap: var(--space-md);
}

.footer__social-link {
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    transition: all var(--transition-base);
}

.footer__social-link:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.footer__links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.footer__title {
    font-family: var(--font-secondary);
    font-size: var(--fs-lg);
    font-weight: var(--fw-semibold);
    color: var(--text-white);
    margin-bottom: var(--space-lg);
}

.footer__list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.footer__link {
    color: #94a3b8;
    transition: all var(--transition-base);
}

.footer__link:hover {
    color: var(--text-white);
    transform: translateX(4px);
}

.footer__bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid #334155;
    text-align: center;
}

.footer__copyright {
    color: #94a3b8;
    font-size: var(--fs-sm);
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    right: var(--space-xl);
    bottom: var(--space-xl);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--fs-lg);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-fixed);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-base);
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .hero__title {
        font-size: var(--fs-5xl);
    }
    
    .section__title {
        font-size: var(--fs-3xl);
    }
}

@media screen and (max-width: 768px) {
    .nav__menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--text-white);
        box-shadow: var(--shadow-xl);
        padding: var(--space-4xl) var(--space-xl);
        transition: right var(--transition-base);
        z-index: var(--z-modal);
    }
    
    .nav__menu.show-menu {
        right: 0;
    }
    
    .nav__list {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-xl);
    }
    
    .nav__close {
        position: absolute;
        top: var(--space-xl);
        right: var(--space-xl);
        display: block;
    }
    
    .nav__toggle {
        display: block;
        order: 1;
    }
    
    .nav__actions {
        gap: var(--space-sm);
    }
    
    /* Hide dual buttons on mobile - will show in side menu */
    .nav__dual-btn {
        display: none;
    }
    
    /* Mobile Login Buttons in Side Menu */
    .nav__mobile-login {
        display: flex;
        flex-direction: column;
        gap: var(--space-md);
        margin-top: var(--space-2xl);
        padding-top: var(--space-2xl);
        border-top: 1px solid var(--border-color);
    }
    
    .mobile-login-btn {
        display: flex;
        align-items: center;
        gap: var(--space-sm);
        width: 100%;
        padding: var(--space-md) var(--space-lg);
        border: 1px solid var(--border-color);
        border-radius: var(--radius-lg);
        background: var(--text-white);
        color: var(--text-dark);
        font-size: var(--fs-base);
        font-weight: 500;
        cursor: pointer;
        transition: all var(--transition-base);
    }
    
    .mobile-login-btn--client:hover {
        background: var(--bg-light);
        color: var(--primary-color);
        border-color: var(--primary-color);
    }
    
    .mobile-login-btn--patient {
        background: var(--primary-color);
        color: var(--text-white);
        border-color: var(--primary-color);
    }
    
    .mobile-login-btn--patient:hover {
        background: #1d4ed8;
        border-color: #1d4ed8;
    }
    
    .hero__container,
    .about__container,
    .consultation__container,
    .contact__container {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .hero__title {
        font-size: var(--fs-4xl);
    }
    
    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .hero__stats {
        justify-content: space-around;
    }
    
    .services__container {
        grid-template-columns: 1fr;
    }
    
    .packages__container {
        grid-template-columns: 1fr;
    }
    
    .package__card--featured {
        transform: none;
    }
    
    .footer__content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer__links {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

@media screen and (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
    
    /* Keep dual buttons hidden on extra small screens */
    .nav__dual-btn {
        display: none;
    }
    
    /* Mobile login buttons stay the same on extra small screens */
    
    .hero {
        padding-top: 100px;
    }
    
    .hero__title {
        font-size: var(--fs-3xl);
    }
    
    /* Mobile Hero Carousel */
    .hero__control--prev {
        left: 15px;
    }
    
    .hero__control--next {
        right: 15px;
    }
    
    .hero__indicators {
        bottom: 30px;
    }
    
    .hero__indicator {
        width: 30px;
        height: 3px;
    }
    
    .hero__visual-card {
        padding: var(--space-xl);
        max-width: 100%;
    }
    
    .hero__icon-container {
        width: 60px;
        height: 60px;
        margin-bottom: var(--space-md);
    }
    
    .hero__icon {
        font-size: var(--fs-xl);
    }
    
    .hero__locations {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .hero__actions {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .section__title {
        font-size: var(--fs-2xl);
    }
    
    .hero__actions {
        gap: var(--space-md);
    }
    
    .btn--large {
        padding: var(--space-md) var(--space-xl);
        font-size: var(--fs-base);
    }
    
    .about__features {
        gap: var(--space-lg);
    }
    
    .about__feature {
        flex-direction: column;
        text-align: center;
    }
    
    .contact__info {
        gap: var(--space-md);
    }
    
    .contact__card {
        flex-direction: column;
        text-align: center;
    }
}

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

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

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

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

.animate-fade-left {
    animation: fadeInLeft 0.6s ease-out;
}

.animate-fade-right {
    animation: fadeInRight 0.6s ease-out;
}

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

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.d-flex {
    display: flex;
}

.d-grid {
    display: grid;
}

.d-none {
    display: none;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.position-relative {
    position: relative;
}

.position-absolute {
    position: absolute;
}

.overflow-hidden {
    overflow: hidden;
}

/* Loading Styles */


.panels__error {
    text-align: center;
    padding: var(--space-2xl);
    color: var(--text-light);
}


/* Modal Styles - Complete Override */
