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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #2d3748;
    overflow-x: hidden;
    background: #ffffff;
    font-weight: 400;
}

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

/* Custom Properties */
:root {
    --primary-color: #2c5aa0;
    --primary-dark: #1e3f73;
    --primary-light: #4a7bc8;
    --secondary-color: #28a745;
    --accent-color: #ff6b35;
    --text-color: #2d3748;
    --text-light: #4a5568;
    --text-muted: #718096;
    --border-color: #e2e8f0;
    --bg-color: #ffffff;
    --bg-light: #f7fafc;
    --bg-dark: #1a202c;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #20c997 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-color) 0%, #e85d04 100%);
    --border-radius: 12px;
    --border-radius-lg: 20px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: all 0.5s ease-out;
}

.loading-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    max-width: 300px;
}

.loading-logo {
    margin-bottom: 30px;
    animation: pulse 2s infinite;
}

.loading-logo img {
    height: 80px;
    width: auto;
}

.loading-spinner {
    margin: 30px 0;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(44, 90, 160, 0.1);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

.loading-text {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    animation: fadeInOut 2s infinite;
}

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

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

@keyframes fadeInOut {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: var(--transition);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-lg);
    border-bottom: 1px solid var(--border-color);
}

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

.logo {
    height: 80px;
    width: auto;
}

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

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2c5aa0;
}

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

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

/* Enhanced Schedule Appointment Button in Navigation */
.nav-link.btn-primary {
    padding: 12px 24px;
    border-radius: 25px;
    background: var(--gradient-primary);
    color: white !important;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link.btn-primary::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;
}

.nav-link.btn-primary:hover::before {
    left: 100%;
}

.nav-link.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(44, 90, 160, 0.4);
    color: white !important;
}

.nav-link.btn-primary::after {
    display: none;
}

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-md);
}

.btn-glow {
    box-shadow: 0 0 20px rgba(44, 90, 160, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(44, 90, 160, 0.4);
}

.btn-glow:hover {
    box-shadow: 0 0 30px rgba(44, 90, 160, 0.6);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background: #2c5aa0;
    color: white;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #2c5aa0;
    border: 2px solid #2c5aa0;
}

.btn-outline:hover {
    background: #2c5aa0;
    color: white;
}

/* Phone Buttons Styling */
.phone-buttons {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: center;
}

.btn-call {
    background: var(--primary-color);
    color: white !important;
    border: 2px solid var(--primary-color);
    padding: 12px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(44, 90, 160, 0.3);
}

.btn-call i {
    color: white !important;
}

.btn-call:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(44, 90, 160, 0.4);
}

.btn-whatsapp {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
    padding: 12px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 18px;
}

.btn-whatsapp:hover {
    background: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.phone-buttons-small {
    display: flex;
    gap: 6px;
    margin-top: 8px;
}

.btn-call-small,
.btn-whatsapp-small {
    padding: 8px 12px;
    border-radius: 50px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-call-small {
    background: var(--primary-color);
    color: white !important;
    border: 2px solid var(--primary-color);
}

.btn-call-small i {
    color: white !important;
}

.btn-call-small:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-whatsapp-small {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
}

.btn-whatsapp-small i {
    font-size: 16px;
}

.btn-whatsapp-small:hover {
    background: #128C7E;
    transform: translateY(-1px);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.contact-item span {
    flex: 1;
    min-width: 160px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 25% 25%, rgba(44, 90, 160, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 75% 50%, rgba(40, 167, 69, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 50% 75%, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.floating-element {
    position: absolute;
    border-radius: 50%;
    background: rgba(44, 90, 160, 0.1);
    animation: float 6s ease-in-out infinite;
}

.element-1 {
    width: 60px;
    height: 60px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.element-2 {
    width: 80px;
    height: 80px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.element-3 {
    width: 40px;
    height: 40px;
    top: 30%;
    right: 25%;
    animation-delay: 4s;
}

.element-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

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

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

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(44, 90, 160, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(44, 90, 160, 0.2);
}

.hero-badge-right {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: rgba(44, 90, 160, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    border: 2px solid rgba(44, 90, 160, 0.3);
    position: absolute;
    top: -30px;
    right: 0;
    z-index: 10;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(44, 90, 160, 0.2);
    animation: pulse 2s infinite;
}

.hero-badge-right i {
    font-size: 20px;
    color: var(--primary-color);
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text-color);
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.title-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.title-highlight::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
    opacity: 0.3;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 40px;
    line-height: 1.7;
    font-weight: 400;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

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

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 4px;
}

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

.hero-image {
    position: relative;
}

.hero-image-container {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    margin-top: 40px;
}

.image-backdrop {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius-lg);
    z-index: -1;
    opacity: 0.1;
}

.hero-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    border-radius: var(--border-radius-lg);
}

.image-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 30px;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

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

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(44, 90, 160, 0.1);
    color: var(--primary-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    border: 1px solid rgba(44, 90, 160, 0.2);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: 3rem;
    color: var(--text-color);
    margin-bottom: 20px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

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

/* Services Section */
.services {
    padding: 120px 0;
    background: var(--bg-light);
    position: relative;
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 80% 20%, rgba(40, 167, 69, 0.05) 0%, transparent 50%);
    z-index: 0;
}

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

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 50px 40px;
    border-radius: var(--border-radius-lg);
    text-align: left;
    transition: var(--transition);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 320px;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
}

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

.service-icon-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.icon-bg {
    position: absolute;
    top: 8px;
    left: 8px;
    width: 80px;
    height: 80px;
    background: rgba(44, 90, 160, 0.1);
    border-radius: var(--border-radius);
    z-index: 1;
    transition: var(--transition);
}

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

.service-card:hover .icon-bg {
    transform: scale(1.2);
}

.service-icon i {
    font-size: 2rem;
    color: white;
}

.service-content h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 700;
    line-height: 1.3;
}

.service-content p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 20px;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tag {
    padding: 6px 12px;
    background: rgba(44, 90, 160, 0.1);
    color: var(--primary-color);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid rgba(44, 90, 160, 0.2);
}

/* Process Section */
.process {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.step {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.step-number {
    position: absolute;
    top: -15px;
    right: 20px;
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-icon i {
    font-size: 1.5rem;
    color: white;
}

.step h3 {
    font-size: 1.3rem;
    color: #2c5aa0;
    margin-bottom: 10px;
    font-weight: 600;
}

.step p {
    color: #6c757d;
}

/* Packages Section */
.packages {
    padding: 100px 0;
    background: white;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.package-card {
    background: white;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.package-card.featured {
    border: 3px solid #2c5aa0;
}

.package-card.featured::before {
    content: "Most Popular";
    position: absolute;
    top: 20px;
    right: 20px;
    background: #ff6b35;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    z-index: 1;
}

.package-header {
    padding: 40px;
    text-align: center;
    color: white;
    position: relative;
}

.package-header.emerald {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.package-header.diamond {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
}

.package-header h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.package-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

.package-content {
    padding: 40px;
}

.package-description {
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    border-left: 4px solid #2c5aa0;
}

.package-description p {
    margin: 0;
    color: #495057;
    line-height: 1.6;
    font-size: 0.95rem;
}

.tests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.test-category {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 15px;
    border-top: 4px solid #2c5aa0;
    transition: all 0.3s ease;
}

.test-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.test-category h4 {
    color: #2c5aa0;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.test-category h4::before {
    content: "🔬";
    font-size: 1.2rem;
}

.test-category:nth-child(1) h4::before { content: "🩸"; }
.test-category:nth-child(2) h4::before { content: "🍯"; }
.test-category:nth-child(3) h4::before { content: "❤️"; }
.test-category:nth-child(4) h4::before { content: "🫀"; }
.test-category:nth-child(5) h4::before { content: "🦴"; }
.test-category:nth-child(6) h4::before { content: "🫘"; }
.test-category:nth-child(7) h4::before { content: "💊"; }
.test-category:nth-child(8) h4::before { content: "🥗"; }
.test-category:nth-child(9) h4::before { content: "🔥"; }
.test-category:nth-child(10) h4::before { content: "🎗️"; }

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

.test-category li {
    padding: 6px 0;
    color: #495057;
    font-size: 0.9rem;
    position: relative;
    padding-left: 15px;
}

.test-category li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #28a745;
    font-weight: 600;
}

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

/* BMI Calculator */
.bmi-calculator {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.bmi-calculator-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 25px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.bmi-header {
    background: linear-gradient(135deg, #2c5aa0 0%, #1e3f73 100%);
    color: white;
    padding: 40px;
    text-align: center;
}

.bmi-header h3 {
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.bmi-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin: 0;
}

.bmi-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.bmi-form-section {
    padding: 40px;
    border-right: 1px solid #e9ecef;
}

.bmi-form {
    margin-bottom: 30px;
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 25px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-group label {
    margin-bottom: 8px;
    color: #495057;
    font-weight: 600;
    font-size: 0.9rem;
}

.input-with-unit {
    display: flex;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.input-with-unit:focus-within {
    border-color: #2c5aa0;
}

.input-with-unit input {
    flex: 1;
    padding: 15px;
    border: none;
    font-size: 16px;
    outline: none;
}

.input-with-unit select {
    background: #f8f9fa;
    border: none;
    padding: 15px;
    font-size: 16px;
    color: #495057;
    outline: none;
    cursor: pointer;
    border-left: 1px solid #e9ecef;
}

.bmi-calculate-btn {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
}

.bmi-result-section {
    margin-top: 20px;
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    display: none;
}

.bmi-result-section.show {
    display: block;
}

.bmi-result-section h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.bmi-result-section.underweight {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    color: #1976d2;
}

.bmi-result-section.normal {
    background: linear-gradient(135deg, #e8f5e8 0%, #c8e6c9 100%);
    color: #2e7d32;
}

.bmi-result-section.overweight {
    background: linear-gradient(135deg, #fff3e0 0%, #ffe0b2 100%);
    color: #f57c00;
}

.bmi-result-section.obese {
    background: linear-gradient(135deg, #ffebee 0%, #ffcdd2 100%);
    color: #d32f2f;
}

.bmi-chart-section {
    padding: 40px;
    background: #f8f9fa;
}

.bmi-chart-section h4 {
    color: #2c5aa0;
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.bmi-scale {
    margin-bottom: 30px;
}

.bmi-category {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.bmi-category:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.category-bar {
    width: 60px;
    height: 8px;
    border-radius: 4px;
    margin-right: 15px;
}

.bmi-category.underweight .category-bar {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
}

.bmi-category.normal .category-bar {
    background: linear-gradient(135deg, #4caf50 0%, #2e7d32 100%);
}

.bmi-category.overweight .category-bar {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
}

.bmi-category.obese .category-bar {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
}

.category-info {
    display: flex;
    flex-direction: column;
}

.category-name {
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.category-range {
    font-size: 0.9rem;
    color: #6c757d;
}

.bmi-info {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border-left: 4px solid #2c5aa0;
}

.bmi-info h5 {
    color: #2c5aa0;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.bmi-info p {
    color: #6c757d;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

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

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    align-items: center;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.partner-logo:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.partner-logo img {
    max-width: 100%;
    height: 60px;
    object-fit: contain;
    filter: none;
}

.partner-logo img[src*=".svg"] {
    max-width: 150px;
    height: 60px;
    object-fit: contain;
}

/* Blog Section */
.blog {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-light) 0%, #e2e8f0 100%);
    position: relative;
    overflow: hidden;
}

.blog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.05) 0%, transparent 50%);
    z-index: 0;
}

.blog .container {
    position: relative;
    z-index: 1;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 50px;
}

.blog-card {
    background: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-color);
}

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

.blog-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition);
    transform-origin: left;
    z-index: 1;
}

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

.blog-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.blog-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(44, 90, 160, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition);
}

.blog-card:hover .blog-image::after {
    opacity: 1;
}

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

.blog-image-5 {
    object-position: center 25% !important;
}

.blog-card:hover .blog-image img {
    transform: scale(1.08);
}

.blog-content {
    padding: 40px;
    position: relative;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.blog-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.blog-date::before {
    content: '📅';
    font-size: 0.8rem;
}

.blog-category {
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 25px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: var(--shadow-sm);
}

.blog-content h3 {
    color: var(--text-color);
    font-size: 1.4rem;
    margin-bottom: 16px;
    font-weight: 700;
    line-height: 1.4;
    transition: var(--transition);
}

.blog-card:hover .blog-content h3 {
    color: var(--primary-color);
}

.blog-content p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
    font-size: 1rem;
}

.blog-read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--border-radius);
    background: rgba(44, 90, 160, 0.05);
    border: 1px solid rgba(44, 90, 160, 0.1);
}

.blog-read-more:hover {
    color: white;
    background: var(--primary-color);
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

/* Appointment Section */
.appointment {
    padding: 100px 0;
    background: white;
}

.appointment-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.appointment-info h2 {
    color: #2c5aa0;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.appointment-info p {
    color: #6c757d;
    font-size: 1.1rem;
    margin-bottom: 40px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #495057;
}

.contact-item i {
    color: #2c5aa0;
    font-size: 1.2rem;
    width: 20px;
}

.appointment-form {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #495057;
    font-weight: 500;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #2c5aa0;
}

.form-group button {
    width: 100%;
    margin-top: 20px;
}

/* Footer */
.footer {
    background: #2c5aa0;
    color: white;
    padding: 60px 0 20px;
}

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

.footer-section h4 {
    margin-bottom: 25px;
    font-size: 1.2rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.footer-section h4 i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.footer-section .contact-item {
    color: white;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-section .contact-item:last-child {
    border-bottom: none;
}

.footer-section .contact-item i {
    color: white;
    font-size: 18px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-section .contact-item:hover i {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.footer-section .contact-item span {
    color: white;
    font-weight: 500;
    flex: 1;
}

.footer-section .contact-item .btn-call-small,
.footer-section .contact-item .btn-whatsapp-small {
    margin: 0 8px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.8);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: white;
        flex-direction: column;
        justify-content: flex-start;
        padding: 50px 0;
        transition: left 0.3s ease;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .stat-item {
        padding: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .bmi-content {
        grid-template-columns: 1fr;
    }
    
    .bmi-form-section {
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
    
    .input-row {
        grid-template-columns: 1fr;
    }
    
    .tests-grid {
        grid-template-columns: 1fr;
    }
    
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .blog-card {
        margin: 0 10px;
    }
    
    .blog-content {
        padding: 30px;
    }
    
    .appointment-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.2rem;
        text-align: center;
    }
    
    .hero-subtitle {
        text-align: center;
        font-size: 1.1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-item {
        padding: 12px;
    }
    
    .section-header h2 {
        font-size: 2.2rem;
    }
    
    .section-header {
        margin-bottom: 60px;
    }
    
    .section-header p {
        font-size: 1.1rem;
    }
    
    .service-card,
    .step,
    .package-card {
        margin: 0 10px;
    }
    
    .service-content {
        padding: 0;
    }
    
    .service-features {
        margin-top: 16px;
    }
    
    .bmi-calculator-container {
        margin: 0 10px;
        border-radius: var(--border-radius);
    }
    
    .bmi-header {
        padding: 30px 20px;
    }
    
    .bmi-header h3 {
        font-size: 2rem;
    }
    
    .bmi-form-section {
        padding: 30px 20px;
    }
    
    .bmi-chart-section {
        padding: 30px 20px;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .partner-logo {
        padding: 30px;
    }
    
    .partner-logo img {
        height: 50px;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

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

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

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9998;
    transition: width 0.3s ease;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #2c5aa0;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #1e3f73;
}

/* Emerald Package Inclusion in Diamond */
.emerald-inclusion {
    margin-bottom: 30px;
    padding: 20px;
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border-radius: 15px;
    border: 2px solid #28a745;
    position: relative;
}

.emerald-inclusion h4 {
    color: #28a745;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.emerald-inclusion h4 i {
    color: #28a745;
    font-size: 1.3rem;
}

.emerald-inclusion p {
    color: #155724;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.additional-tests-header {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2c5aa0;
}

.additional-tests-header h4 {
    color: #2c5aa0;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
    text-align: center;
}
