/* ========================================
   Health Quest Laboratories - Professional CSS
   Diagnostic & Pathology Lab | Bhubaneswar
   ======================================== */

:root {
    --primary: #0077B6;
    --primary-dark: #005a8c;
    --primary-light: #48CAE4;
    --secondary: #00B4D8;
    --accent: #90E0EF;
    --teal: #00BFA5;
    --white: #FFFFFF;
    --light: #F0F9FF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-400: #ADB5BD;
    --gray-500: #6C757D;
    --gray-600: #495057;
    --gray-700: #343A40;
    --gray-800: #212529;
    --success: #28A745;
    --danger: #DC3545;
    --warning: #FFC107;
    --font-primary: 'Poppins', 'Segoe UI', sans-serif;
    --font-secondary: 'Inter', 'Segoe UI', sans-serif;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-primary);
    color: var(--gray-700);
    background: var(--white);
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

/* ========== LOADING SCREEN ========== */
.loading-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: var(--white); z-index: 99999;
    display: flex; align-items: center; justify-content: center; flex-direction: column;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; }
.loader {
    width: 60px; height: 60px; border: 4px solid var(--light);
    border-top-color: var(--primary); border-radius: 50%;
    animation: spin 1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loader-text { margin-top: 20px; font-size: 1rem; color: var(--primary); font-weight: 500; }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary); font-weight: 700; color: var(--gray-800); line-height: 1.3;
}
h1 { font-size: clamp(2rem, 4vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

.section-subtitle {
    display: inline-block; color: var(--primary); font-weight: 600; font-size: 0.875rem;
    text-transform: uppercase; letter-spacing: 2px; margin-bottom: 12px; position: relative;
}
.section-subtitle::after {
    content: ''; display: block; width: 40px; height: 3px;
    background: var(--primary); margin-top: 8px; border-radius: 2px;
}
.section-title { margin-bottom: 16px; }
.section-desc { color: var(--gray-500); font-size: 1.05rem; max-width: 600px; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 32px; font-size: 1rem; font-weight: 600;
    border-radius: var(--radius-md); border: none; cursor: pointer;
    transition: var(--transition); font-family: var(--font-primary);
    position: relative; overflow: hidden;
}
.btn::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: width 0.6s, height 0.6s;
}
.btn:active::before { width: 300px; height: 300px; }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: 0 4px 15px rgba(0,119,182,0.3); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 25px rgba(0,119,182,0.4); }
.btn-secondary { background: var(--teal); color: var(--white); box-shadow: 0 4px 15px rgba(0,191,165,0.3); }
.btn-secondary:hover { background: #00a890; transform: translateY(-2px); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--white); }
.btn-white { background: var(--white); color: var(--primary); box-shadow: var(--shadow-md); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-sm { padding: 10px 20px; font-size: 0.875rem; }

/* ========== TOP BAR ========== */
.top-bar { background: var(--gray-800); color: var(--gray-300); padding: 8px 0; font-size: 0.85rem; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: var(--gray-300); display: inline-flex; align-items: center; gap: 6px; }
.top-bar a:hover { color: var(--primary-light); }
.top-bar .top-links { display: flex; gap: 24px; }

/* ========== HEADER ========== */
.header {
    position: sticky; top: 0; background: var(--white);
    box-shadow: var(--shadow-sm); z-index: 1000; transition: var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }
.header .container { display: flex; align-items: center; justify-content: space-between; padding: 12px 20px; }
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    width: 48px; height: 48px; background: var(--primary); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--white); font-size: 1.5rem; font-weight: 700;
}
.logo-text h1 { font-size: 1.25rem; color: var(--primary); line-height: 1.2; }
.logo-text span { font-size: 0.75rem; color: var(--gray-500); font-weight: 500; }

/* ========== NAVIGATION ========== */
.nav-desktop { display: flex; gap: 4px; }
.nav-desktop a {
    padding: 10px 16px; font-weight: 500; font-size: 0.9rem;
    color: var(--gray-600); border-radius: var(--radius-sm); position: relative;
}
.nav-desktop a::after {
    content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
    width: 0; height: 2px; background: var(--primary); transition: var(--transition); border-radius: 1px;
}
.nav-desktop a:hover, .nav-desktop a.active { color: var(--primary); }
.nav-desktop a:hover::after, .nav-desktop a.active::after { width: 60%; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; color: var(--primary); cursor: pointer; padding: 8px; }

/* ========== MOBILE NAV ========== */
.mobile-nav {
    position: fixed; top: 0; right: -100%; width: 280px; height: 100vh;
    background: var(--white); z-index: 1001; padding: 80px 24px 24px;
    box-shadow: -4px 0 20px rgba(0,0,0,0.1); transition: right 0.4s ease; overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav a { display: block; padding: 14px 0; font-weight: 500; color: var(--gray-700); border-bottom: 1px solid var(--gray-200); }
.mobile-nav a:hover, .mobile-nav a.active { color: var(--primary); }
.overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5); z-index: 1000; opacity: 0; visibility: hidden; transition: var(--transition);
}
.overlay.active { opacity: 1; visibility: visible; }

/* ========== HERO SECTION ========== */
.hero {
    position: relative; min-height: 85vh; display: flex; align-items: center;
    background: var(--light); overflow: hidden;
}
.hero-bg-pattern {
    position: absolute; top: 0; right: 0; width: 60%; height: 100%;
    background: var(--primary); clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%); opacity: 0.03;
}
.hero .container {
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
    position: relative; z-index: 2;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px; background: var(--white);
    padding: 8px 16px; border-radius: 50px; font-size: 0.85rem; font-weight: 600;
    color: var(--primary); box-shadow: var(--shadow-sm); margin-bottom: 24px;
    animation: fadeInUp 0.6s ease;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--teal); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.hero h1 { margin-bottom: 20px; animation: fadeInUp 0.6s ease 0.1s both; }
.hero h1 span { color: var(--primary); }
.hero p { font-size: 1.15rem; color: var(--gray-500); margin-bottom: 32px; max-width: 500px; animation: fadeInUp 0.6s ease 0.2s both; }
.hero-buttons { display: flex; gap: 16px; flex-wrap: wrap; animation: fadeInUp 0.6s ease 0.3s both; }
.hero-stats { display: flex; gap: 40px; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--gray-300); animation: fadeInUp 0.6s ease 0.4s both; }
.hero-stat { text-align: center; }
.hero-stat .number { font-size: 2rem; font-weight: 700; color: var(--primary); line-height: 1; }
.hero-stat .label { font-size: 0.85rem; color: var(--gray-500); margin-top: 4px; }
.hero-image { position: relative; animation: fadeInRight 0.8s ease 0.3s both; }
.hero-image img { border-radius: var(--radius-xl); box-shadow: var(--shadow-xl); width: 100%; height: 500px; object-fit: cover; }
.hero-float-card {
    position: absolute; background: var(--white); padding: 16px 20px;
    border-radius: var(--radius-md); box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 12px; animation: float 3s ease-in-out infinite;
}
.hero-float-card.card-1 { top: 20px; left: -20px; animation-delay: 0s; }
.hero-float-card.card-2 { bottom: 40px; right: -10px; animation-delay: 1.5s; }
.hero-float-card .icon { width: 44px; height: 44px; background: var(--light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.25rem; }
.hero-float-card .text h4 { font-size: 0.875rem; color: var(--gray-800); }
.hero-float-card .text p { font-size: 0.75rem; color: var(--gray-500); margin: 0; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

/* ========== TRUST BAR ========== */
.trust-bar { background: var(--white); padding: 40px 0; border-bottom: 1px solid var(--gray-200); }
.trust-bar .container { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 12px; color: var(--gray-600); font-weight: 500; font-size: 0.9rem; }
.trust-item i { width: 40px; height: 40px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1rem; }

/* ========== SECTIONS COMMON ========== */
.section { padding: 80px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header .section-subtitle::after { margin: 8px auto 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ========== SERVICES SECTION ========== */
.services-section { background: var(--gray-100); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.service-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 32px;
    box-shadow: var(--shadow-sm); transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-card .icon { width: 60px; height: 60px; background: var(--light); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.5rem; margin-bottom: 20px; transition: var(--transition); }
.service-card:hover .icon { background: var(--primary); color: var(--white); }
.service-card h3 { margin-bottom: 12px; font-size: 1.15rem; }
.service-card p { color: var(--gray-500); font-size: 0.9rem; margin-bottom: 16px; }
.service-card .link { color: var(--primary); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.service-card .link:hover { gap: 10px; }

/* ========== ABOUT SECTION ========== */
.about-section .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-image { position: relative; }
.about-image img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; height: 450px; object-fit: cover; }
.about-image .experience-badge { position: absolute; bottom: -20px; right: -20px; background: var(--primary); color: var(--white); padding: 24px 32px; border-radius: var(--radius-lg); text-align: center; box-shadow: var(--shadow-lg); }
.about-image .experience-badge .years { font-size: 2.5rem; font-weight: 700; line-height: 1; }
.about-image .experience-badge .text { font-size: 0.85rem; opacity: 0.9; }
.about-content p { color: var(--gray-500); margin-bottom: 20px; }
.about-features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 28px 0; }
.about-feature { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--gray-700); }
.about-feature i { color: var(--teal); font-size: 1.1rem; }

/* ========== TESTS SECTION ========== */
.tests-section { background: var(--light); }
.tests-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.test-card { background: var(--white); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); transition: var(--transition); border: 1px solid var(--gray-200); }
.test-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: var(--shadow-md); }
.test-card .test-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.test-card .test-header .icon { width: 44px; height: 44px; background: var(--light); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: var(--primary); }
.test-card .test-header h3 { font-size: 1rem; margin: 0; }
.test-card .test-header h3 span { display: block; font-size: 0.8rem; color: var(--gray-500); font-weight: 400; }
.test-card .price { font-size: 1.25rem; font-weight: 700; color: var(--primary); margin-bottom: 8px; }
.test-card .price span { font-size: 0.8rem; color: var(--gray-400); font-weight: 400; text-decoration: line-through; margin-left: 6px; }
.test-card .details { display: flex; gap: 16px; margin-bottom: 16px; font-size: 0.8rem; color: var(--gray-500); }
.test-card .details span { display: flex; align-items: center; gap: 4px; }

/* ========== PACKAGES SECTION ========== */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.package-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); border: 2px solid transparent; position: relative; }
.package-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--primary); }
.package-card.featured { border-color: var(--primary); transform: scale(1.02); }
.package-card.featured:hover { transform: scale(1.02) translateY(-8px); }
.package-card .featured-badge { position: absolute; top: 0; right: 24px; background: var(--primary); color: var(--white); padding: 6px 16px; font-size: 0.75rem; font-weight: 600; border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.package-card .package-header { padding: 32px 24px 24px; text-align: center; background: var(--gray-100); }
.package-card.featured .package-header { background: var(--light); }
.package-card .package-header h3 { margin-bottom: 8px; }
.package-card .package-header .price { font-size: 2.5rem; font-weight: 700; color: var(--primary); line-height: 1; }
.package-card .package-header .price span { font-size: 0.9rem; color: var(--gray-500); font-weight: 400; }
.package-card .package-body { padding: 24px; }
.package-card .package-body ul { margin-bottom: 24px; }
.package-card .package-body ul li { padding: 10px 0; border-bottom: 1px solid var(--gray-200); display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--gray-600); }
.package-card .package-body ul li i { color: var(--teal); }

/* ========== WHY CHOOSE US ========== */
.why-section { background: var(--primary); color: var(--white); position: relative; overflow: hidden; }
.why-section::before { content: ''; position: absolute; top: -50%; right: -20%; width: 600px; height: 600px; background: rgba(255,255,255,0.03); border-radius: 50%; }
.why-section .section-subtitle, .why-section .section-title, .why-section .section-desc { color: var(--white); }
.why-section .section-subtitle::after { background: var(--accent); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.why-card { background: rgba(255,255,255,0.1); backdrop-filter: blur(10px); border-radius: var(--radius-lg); padding: 32px; border: 1px solid rgba(255,255,255,0.15); transition: var(--transition); }
.why-card:hover { background: rgba(255,255,255,0.15); transform: translateY(-4px); }
.why-card .icon { width: 56px; height: 56px; background: rgba(255,255,255,0.15); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.5rem; margin-bottom: 20px; }
.why-card h3 { color: var(--white); font-size: 1.1rem; margin-bottom: 10px; }
.why-card p { color: rgba(255,255,255,0.8); font-size: 0.9rem; }

/* ========== HOME COLLECTION ========== */
.home-collection { background: var(--light); }
.home-collection .container { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.home-collection-content h2 { margin-bottom: 20px; }
.home-collection-content p { color: var(--gray-500); margin-bottom: 28px; }
.home-collection-features { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.home-collection-feature { display: flex; align-items: center; gap: 14px; padding: 16px 20px; background: var(--white); border-radius: var(--radius-md); box-shadow: var(--shadow-sm); }
.home-collection-feature .icon { width: 44px; height: 44px; background: var(--light); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.1rem; flex-shrink: 0; }
.home-collection-feature h4 { font-size: 0.95rem; margin-bottom: 2px; }
.home-collection-feature p { font-size: 0.8rem; color: var(--gray-500); margin: 0; }
.home-collection-image { position: relative; }
.home-collection-image img { border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); width: 100%; height: 450px; object-fit: cover; }

/* ========== REVIEWS ========== */
.reviews-section { background: var(--white); }
.reviews-slider { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.review-card { background: var(--gray-100); border-radius: var(--radius-lg); padding: 32px; position: relative; }
.review-card .quote { font-size: 3rem; color: var(--primary); opacity: 0.2; line-height: 1; margin-bottom: 8px; }
.review-card .review-text { color: var(--gray-600); font-style: italic; margin-bottom: 24px; line-height: 1.8; }
.review-card .reviewer { display: flex; align-items: center; gap: 14px; }
.review-card .reviewer img { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; }
.review-card .reviewer h4 { font-size: 1rem; margin-bottom: 2px; }
.review-card .reviewer .stars { color: var(--warning); font-size: 0.85rem; }

/* ========== FAQ ========== */
.faq-section { background: var(--gray-100); }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius-md); margin-bottom: 12px; overflow: hidden; box-shadow: var(--shadow-sm); }
.faq-item .faq-question { width: 100%; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; background: none; border: none; font-size: 1rem; font-weight: 600; color: var(--gray-800); cursor: pointer; font-family: var(--font-primary); text-align: left; }
.faq-item .faq-question i { transition: var(--transition); color: var(--primary); }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item .faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 24px; }
.faq-item.active .faq-answer { max-height: 300px; padding: 0 24px 20px; }
.faq-item .faq-answer p { color: var(--gray-500); line-height: 1.8; }

/* ========== BLOG SECTION ========== */
.blog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.blog-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--transition); }
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.blog-card .blog-image { position: relative; overflow: hidden; height: 200px; }
.blog-card .blog-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.blog-card:hover .blog-image img { transform: scale(1.1); }
.blog-card .blog-image .category { position: absolute; top: 16px; left: 16px; background: var(--primary); color: var(--white); padding: 4px 12px; border-radius: 50px; font-size: 0.75rem; font-weight: 600; }
.blog-card .blog-content { padding: 24px; }
.blog-card .blog-meta { display: flex; gap: 16px; margin-bottom: 12px; font-size: 0.8rem; color: var(--gray-400); }
.blog-card .blog-meta span { display: flex; align-items: center; gap: 4px; }
.blog-card h3 { font-size: 1.1rem; margin-bottom: 12px; line-height: 1.4; }
.blog-card h3:hover { color: var(--primary); }
.blog-card .read-more { color: var(--primary); font-weight: 600; font-size: 0.9rem; display: inline-flex; align-items: center; gap: 6px; }
.blog-card .read-more:hover { gap: 10px; }

/* ========== CONTACT SECTION ========== */
.contact-section { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-info-card { background: var(--light); border-radius: var(--radius-lg); padding: 32px; margin-bottom: 20px; display: flex; align-items: flex-start; gap: 16px; transition: var(--transition); }
.contact-info-card:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.contact-info-card .icon { width: 50px; height: 50px; background: var(--primary); border-radius: var(--radius-md); display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.25rem; flex-shrink: 0; }
.contact-info-card h4 { font-size: 1rem; margin-bottom: 4px; }
.contact-info-card p { color: var(--gray-500); font-size: 0.9rem; }
.contact-form { background: var(--white); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-lg); border: 1px solid var(--gray-200); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; color: var(--gray-700); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 14px 18px; border: 2px solid var(--gray-200); border-radius: var(--radius-sm); font-family: var(--font-primary); font-size: 1rem; color: var(--gray-700); transition: var(--transition); background: var(--white); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(0,119,182,0.1); }
.form-group textarea { resize: vertical; min-height: 120px; }
.map-container { margin-top: 48px; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); height: 400px; }
.map-container iframe { width: 100%; height: 100%; border: none; }

/* ========== FOOTER ========== */
.footer { background: var(--gray-800); color: var(--gray-300); padding-top: 80px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo { margin-bottom: 20px; }
.footer-brand .logo-icon { background: var(--primary); }
.footer-brand .logo-text h1 { color: var(--white); font-size: 1.1rem; }
.footer-brand .logo-text span { color: var(--gray-400); }
.footer-brand p { color: var(--gray-400); font-size: 0.9rem; margin-bottom: 20px; line-height: 1.8; }
.footer-social { display: flex; gap: 12px; }
.footer-social a { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gray-300); transition: var(--transition); }
.footer-social a:hover { background: var(--primary); color: var(--white); transform: translateY(-3px); }
.footer-column h4 { color: var(--white); font-size: 1rem; margin-bottom: 24px; position: relative; padding-bottom: 12px; }
.footer-column h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 30px; height: 2px; background: var(--primary); }
.footer-column ul li { margin-bottom: 12px; }
.footer-column ul li a { color: var(--gray-400); font-size: 0.9rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 8px; }
.footer-column ul li a:hover { color: var(--primary-light); padding-left: 4px; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; color: var(--gray-400); font-size: 0.9rem; }
.footer-contact li i { color: var(--primary); margin-top: 4px; }
.footer-bottom { padding: 24px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--gray-500); font-size: 0.85rem; }
.footer-bottom .footer-links { display: flex; gap: 24px; }
.footer-bottom .footer-links a { color: var(--gray-500); font-size: 0.85rem; }
.footer-bottom .footer-links a:hover { color: var(--primary-light); }

/* ========== FLOATING BUTTONS ========== */
.floating-buttons { position: fixed; bottom: 24px; right: 24px; z-index: 999; display: flex; flex-direction: column; gap: 12px; }
.floating-btn { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); font-size: 1.5rem; box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: var(--transition); cursor: pointer; border: none; }
.floating-btn:hover { transform: scale(1.1); }
.floating-btn.whatsapp { background: #25D366; }
.floating-btn.call { background: var(--primary); }
.floating-btn.scroll-top { background: var(--gray-700); opacity: 0; visibility: hidden; transform: translateY(20px); }
.floating-btn.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }

/* ========== BOOKING MODAL ========== */
.modal-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 2000; display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: var(--transition); backdrop-filter: blur(4px); }
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal { background: var(--white); border-radius: var(--radius-xl); width: 90%; max-width: 500px; max-height: 90vh; overflow-y: auto; transform: scale(0.9) translateY(20px); transition: transform 0.3s ease; box-shadow: var(--shadow-xl); }
.modal-overlay.active .modal { transform: scale(1) translateY(0); }
.modal-header { padding: 24px 32px; border-bottom: 1px solid var(--gray-200); display: flex; justify-content: space-between; align-items: center; }
.modal-header h3 { font-size: 1.25rem; }
.modal-close { background: none; border: none; font-size: 1.5rem; color: var(--gray-500); cursor: pointer; transition: var(--transition); }
.modal-close:hover { color: var(--danger); transform: rotate(90deg); }
.modal-body { padding: 32px; }

/* ========== BREADCRUMB ========== */
.breadcrumb-section { background: var(--primary); color: var(--white); padding: 60px 0 40px; text-align: center; }
.breadcrumb-section h1 { color: var(--white); margin-bottom: 12px; }
.breadcrumb { display: flex; justify-content: center; align-items: center; gap: 8px; font-size: 0.9rem; color: rgba(255,255,255,0.8); }
.breadcrumb a:hover { color: var(--white); text-decoration: underline; }

/* ========== PAGE CONTENT ========== */
.page-content { padding: 60px 0; }
.page-content h2 { margin-bottom: 20px; color: var(--gray-800); }
.page-content h3 { margin: 32px 0 16px; color: var(--primary); }
.page-content p { color: var(--gray-500); margin-bottom: 16px; line-height: 1.8; }
.page-content ul { margin-bottom: 20px; padding-left: 20px; }
.page-content ul li { color: var(--gray-500); margin-bottom: 8px; position: relative; padding-left: 20px; }
.page-content ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; background: var(--primary); border-radius: 50%; }
.info-box { background: var(--light); border-left: 4px solid var(--primary); padding: 24px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 24px 0; }
.info-box h4 { color: var(--primary); margin-bottom: 8px; }
.info-box p { margin: 0; }
.price-tag { display: inline-block; background: var(--primary); color: var(--white); padding: 8px 20px; border-radius: 50px; font-weight: 700; font-size: 1.1rem; }
.price-tag .old-price { text-decoration: line-through; opacity: 0.7; font-weight: 400; font-size: 0.9rem; margin-left: 8px; }

/* ========== TEST DETAIL PAGE ========== */
.test-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; }
.test-detail-sidebar { position: sticky; top: 100px; height: fit-content; }
.test-detail-card { background: var(--white); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-md); border: 1px solid var(--gray-200); margin-bottom: 20px; }
.test-detail-card h3 { font-size: 1.1rem; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--light); }
.test-detail-card .detail-row { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid var(--gray-200); font-size: 0.9rem; }
.test-detail-card .detail-row:last-child { border-bottom: none; }
.test-detail-card .detail-row span:first-child { color: var(--gray-500); }
.test-detail-card .detail-row span:last-child { font-weight: 600; color: var(--gray-800); }

/* ========== TABLE ========== */
.data-table { width: 100%; border-collapse: collapse; margin: 24px 0; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-sm); }
.data-table th, .data-table td { padding: 16px; text-align: left; border-bottom: 1px solid var(--gray-200); }
.data-table th { background: var(--primary); color: var(--white); font-weight: 600; font-size: 0.9rem; }
.data-table td { color: var(--gray-600); font-size: 0.9rem; }
.data-table tr:hover td { background: var(--light); }

/* ========== ANIMATIONS ON SCROLL ========== */
.reveal { opacity: 0; transform: translateY(40px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
    .hero .container, .about-section .container, .home-collection .container, .contact-grid, .test-detail-grid { grid-template-columns: 1fr; }
    .hero-image, .about-image, .home-collection-image { order: -1; }
    .hero-image img, .about-image img, .home-collection-image img { height: 350px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .nav-desktop, .header-actions .btn { display: none; }
    .nav-toggle { display: block; }
    .hero-stats { gap: 24px; }
    .test-detail-sidebar { position: static; }
}
@media (max-width: 576px) {
    .section { padding: 50px 0; }
    .hero { min-height: auto; padding: 60px 0; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .hero-stats { flex-wrap: wrap; justify-content: center; }
    .about-features { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .top-bar .container { flex-direction: column; gap: 8px; text-align: center; }
    .floating-buttons { bottom: 16px; right: 16px; }
    .floating-btn { width: 48px; height: 48px; font-size: 1.2rem; }
    .modal { width: 95%; }
    .contact-form { padding: 24px; }
}

/* ========== PRINT ========== */
@media print { .header, .footer, .floating-buttons, .top-bar, .modal-overlay { display: none !important; } }
