/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* CSS Variables for Premium Design System */
:root {
    --primary-hsl: 216, 86%, 28%; /* HSL for deep navy blue */
    --primary: hsl(var(--primary-hsl));
    --primary-light: hsl(216, 75%, 40%);
    --primary-dark: hsl(216, 90%, 18%);
    
    --secondary-hsl: 206, 100%, 42%; /* HSL for royal/sky blue */
    --secondary: hsl(var(--secondary-hsl));
    
    --accent-hsl: 38, 100%, 50%; /* Warm gold/amber */
    --accent: hsl(var(--accent-hsl));
    --accent-hover: hsl(38, 100%, 45%);
    
    --dark: #1e293b;
    --light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --text-muted: #64748b;
    
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --radius: 12px;
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary-dark);
    font-weight: 700;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-4 { margin-bottom: 24px; }
.mb-5 { margin-bottom: 40px; }
.mt-4 { margin-top: 24px; }
.py-5 { padding-top: 48px; padding-bottom: 48px; }

/* Buttons with Micro-animations */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 15px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    gap: 8px;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 14px rgba(15, 81, 50, 0.3);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 81, 50, 0.4);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary);
    transform: translateY(-2px);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--dark);
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.3);
}

.btn-accent:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-block {
    display: flex;
    width: 100%;
}

/* Glassmorphism Header */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    box-shadow: var(--shadow-sm);
}

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

.logo a {
    display: flex;
    align-items: center;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 26px;
    color: var(--primary);
}

.logo-leaf {
    color: var(--secondary);
    margin-right: 4px;
}

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

.nav-links a {
    font-weight: 500;
    font-size: 15px;
    color: var(--dark);
    padding: 6px 0;
    position: relative;
}

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

/* Navigation Line Hover Animation */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links li.active a::after {
    width: 100%;
}

/* Dropdown Menu styling */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    padding: 12px;
    min-width: 220px;
    display: none;
    flex-direction: column;
    gap: 8px;
    z-index: 1100;
}

.nav-dropdown:hover .dropdown-menu {
    display: flex;
}

.dropdown-menu a {
    padding: 8px 12px;
    border-radius: 8px;
}

.dropdown-menu a:hover {
    background-color: var(--light);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 22px;
    color: var(--primary-dark);
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
    transition: var(--transition);
    align-items: center;
    justify-content: center;
}
.mobile-menu-toggle:hover {
    background-color: var(--light);
    color: var(--secondary);
}

.search-trigger, .cart-icon {
    font-size: 18px;
    cursor: pointer;
    position: relative;
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background-color: var(--accent);
    color: var(--dark);
    font-size: 10px;
    font-weight: 700;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero Section */
.hero-banner {
    position: relative;
    overflow: hidden;
}

.hero-slide {
    background-size: cover;
    background-position: center;
    padding: 140px 0;
    min-height: 540px;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 650px;
    color: var(--white);
    animation: fadeInUp 0.8s ease-out;
    margin-left: 5%;
}

.hero-subtitle {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.25);
}

.hero-title {
    font-size: 48px;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 20px;
}

.hero-text {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 16px;
}

/* Trust Badges */
.trust-badges {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: -40px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.badge-item {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 16px;
    align-items: center;
    border-bottom: 3px solid var(--secondary);
    transition: var(--transition);
}

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

.badge-icon {
    font-size: 32px;
    color: var(--primary);
}

.badge-info h3 {
    font-size: 16px;
    margin-bottom: 4px;
}

.badge-info p {
    font-size: 13px;
    color: var(--text-muted);
}

/* Section Header styling */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px auto;
}

.section-header h2 {
    font-size: 36px;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

/* Categories Overview Grid */
.categories-overview {
    margin-bottom: 80px;
}

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

.category-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border);
}

.category-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.category-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}

.category-card:hover .category-img {
    transform: scale(1.03);
}

.category-content {
    padding: 24px;
}

.category-content h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.category-content p {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
}

.category-link:hover {
    color: var(--secondary);
    gap: 12px;
}

/* Doctor Consultation Banner Section */
.consultation-banner {
    background-color: var(--light);
    padding: 80px 0;
    margin-bottom: 80px;
}

.consultation-flex {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.consultation-text h2 {
    font-size: 38px;
    margin-bottom: 20px;
}

.consultation-text p {
    font-size: 16px;
    margin-bottom: 24px;
}

.consultation-features {
    list-style: none;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.consultation-features li {
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.consultation-features i {
    color: var(--secondary);
}

.consultation-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

/* About Intro Home Page */
.about-intro {
    margin-bottom: 100px;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.section-tag {
    color: var(--secondary);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
}

.about-intro-text h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.about-intro-text p {
    margin-bottom: 20px;
}

.about-intro-graphics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.about-grid-item {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 30px 20px;
    border: 1px solid var(--border);
    transition: var(--transition);
}

.about-grid-item:hover {
    background-color: var(--white);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary);
}

.stat-number {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
}

/* Public Products Page Layout */
.products-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.filters-sidebar {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    height: fit-content;
}

.filters-sidebar h3 {
    font-size: 18px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--border);
}

.filter-group {
    margin-bottom: 24px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 10px;
}

.filter-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    cursor: pointer;
}

.filter-option input {
    accent-color: var(--primary);
}

.search-box-wrapper {
    margin-bottom: 30px;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 14px 20px 14px 48px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    font-size: 15px;
    outline: none;
    transition: var(--transition);
}

.search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.15);
}

.search-icon-inside {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 16px;
}

/* Product Cards Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
}

.product-card {
    background-color: var(--white);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(15,81,50,0.3);
}

.product-img-box {
    height: 200px;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

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

.product-card:hover .product-img-box img {
    transform: scale(1.05);
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background-color: var(--primary);
    color: var(--white);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
}

.product-details {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-details h4 {
    font-size: 16px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.product-desc-short {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.product-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary-dark);
}

/* Forms (Contact, Consultation, Career) Styling */
.form-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    max-width: 650px;
    margin: 0 auto;
}

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

.form-group label {
    display: block;
    font-weight: 500;
    font-size: 14px;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    font-size: 14px;
    background-color: var(--white);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(15, 81, 50, 0.15);
}

/* About & Story Sections */
.page-hero {
    background-size: cover;
    background-position: center;
    padding: 80px 0;
    color: var(--white);
    margin-bottom: 60px;
}

.page-hero h1 {
    color: var(--white);
    font-size: 42px;
    margin-bottom: 8px;
}

.about-story-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 80px;
}

.story-image img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.values-section {
    background-color: var(--light);
    border-radius: var(--radius);
    padding: 60px 40px;
    margin-bottom: 80px;
    border: 1px solid var(--border);
}

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

.value-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--primary);
}

.value-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 16px;
}

.value-card h3 {
    margin-bottom: 12px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.facility-card {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.facility-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.facility-card h4 {
    margin-bottom: 12px;
    color: var(--primary);
}

/* Careers open listing details */
.career-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
}

.job-list {
    list-style: none;
    margin-top: 24px;
}

.job-list li {
    padding: 20px;
    background-color: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 16px;
}

.job-list li strong {
    font-size: 16px;
    color: var(--primary);
}

.career-form-container {
    background-color: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-md);
}

.career-form-container h3 {
    margin-bottom: 20px;
}

/* Contact page grid split */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    font-size: 24px;
    color: var(--primary);
}

.contact-details h4 {
    font-size: 18px;
    margin-bottom: 6px;
}

/* Footer elements */
footer {
    background-color: #0c2014;
    color: #cbd5e1;
    padding: 80px 0 30px 0;
    font-size: 14px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.2fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    color: var(--white);
    margin-bottom: 24px;
    font-size: 18px;
}

.footer-about p {
    margin-bottom: 20px;
    line-height: 1.7;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 4px;
}

.footer-contact p {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-contact i {
    color: var(--secondary);
    font-size: 16px;
    margin-top: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: rgba(255,255,255,0.05);
    border-radius: 50%;
    color: var(--white);
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

/* Admin Dashboard Styling */
.admin-body {
    background-color: #f1f5f9;
}

.admin-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}

.admin-brand {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 22px;
    margin-bottom: 40px;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
}

.admin-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    color: #94a3b8;
    font-weight: 500;
}

.admin-menu a:hover,
.admin-menu li.active a {
    background-color: rgba(255,255,255,0.08);
    color: var(--white);
}

.admin-main {
    padding: 40px;
    overflow-y: auto;
}

.admin-header-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: var(--white);
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.stat-card-info h4 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.stat-card-info span {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-card-icon {
    font-size: 32px;
    color: var(--primary-light);
    opacity: 0.8;
}

/* Admin Data Tables */
.admin-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 16px;
    text-align: left;
}

.admin-table th, .admin-table td {
    padding: 14px 18px;
    border-bottom: 1px solid var(--border);
}

.admin-table th {
    background-color: var(--light);
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 14px;
}

.admin-table tr:hover {
    background-color: #fafafa;
}

.badge-status {
    padding: 4px 8px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success { background-color: #d1fae5; color: #065f46; }
.badge-pending { background-color: #fef3c7; color: #92400e; }

.actions-cell {
    display: flex;
    gap: 8px;
}

.btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background-color: var(--light);
    border: 1px solid var(--border);
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    background-color: var(--primary-light);
    color: var(--white);
    border-color: var(--primary-light);
}

.btn-icon.delete:hover {
    background-color: #ef4444;
    border-color: #ef4444;
    color: var(--white);
}

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

/* Product Detail Page Layout */
.product-detail-layout {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
    .products-layout {
        grid-template-columns: 1fr;
    }
    .about-story-grid, .about-intro-grid, .career-grid, .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .story-image, .consultation-image {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 70px;
        position: relative;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    nav {
        display: none;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: 20px 24px;
        z-index: 1000;
    }
    nav.active {
        display: block;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .nav-links li {
        width: 100%;
    }
    .nav-links a {
        display: block;
        padding: 10px 0;
        font-size: 16px;
        width: 100%;
        border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    }
    .nav-links li:last-child a {
        border-bottom: none;
    }
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        padding: 10px 0 10px 15px;
        width: 100%;
        background-color: transparent;
        display: none;
        flex-direction: column;
        gap: 8px;
    }
    .hero-slide {
        padding: 80px 0;
        min-height: 380px;
    }
    .hero-content {
        margin-left: 0;
        padding: 0 16px;
    }
    .hero-buttons {
        justify-content: center;
        gap: 12px;
    }
    .trust-badges {
        margin-top: 20px;
        margin-bottom: 40px;
        grid-template-columns: 1fr;
    }
    .hero-title {
        font-size: 32px;
    }
    .hero-text {
        font-size: 15px;
    }
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .consultation-flex {
        grid-template-columns: 1fr;
    }
    .product-detail-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .hero-buttons {
        flex-direction: column;
    }
}

/* SBL-Style Homepage Layout Extensions */

/* 1. Common Layout Helpers */
.section-title-sbl {
    text-align: center;
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 8px;
}
.section-subtitle-sbl {
    text-align: center;
    color: #64748b;
    font-size: 16px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 2. Search by Ailment */
.ailments-section {
    padding: 60px 0;
    background-color: var(--white);
}
.ailments-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}
.ailment-card {
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
}
.ailment-card:hover {
    transform: translateY(-5px);
}
.ailment-img-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--border);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    margin-bottom: 12px;
    background-color: #f1f5f9;
}
.ailment-card:hover .ailment-img-wrapper {
    border-color: var(--secondary);
    box-shadow: 0 10px 15px -3px rgba(0, 120, 215, 0.2);
}
.ailment-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.ailment-card:hover img {
    transform: scale(1.1);
}
.ailment-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-top: 4px;
}

/* 3. Horizontal Product Scroll Tracks (Savings & Popular) */
.scroll-section {
    padding: 60px 0;
    background-color: #f8fafc;
}
.scroll-track-wrapper {
    position: relative;
    margin: 0 -10px;
}
.scroll-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    padding: 10px;
    gap: 20px;
}
.scroll-track::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}
.scroll-item {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: 12px;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.scroll-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.scroll-item-img {
    height: 200px;
    background-color: #f8fafc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.scroll-item-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}
.scroll-item-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.scroll-item-tag {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--secondary);
    margin-bottom: 6px;
}
.scroll-item-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    min-height: 42px;
}
.scroll-item-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.scroll-item-price del {
    font-size: 13px;
    color: #94a3b8;
    font-weight: 500;
}
.scroll-item-btn {
    margin-top: auto;
    text-align: center;
    padding: 10px;
    background-color: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    transition: background-color 0.2s ease;
}
.scroll-item-btn:hover {
    background-color: var(--primary-dark);
}

/* 4. App Promotion Banner */
.app-promo-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary) 100%);
    padding: 50px 0;
    color: var(--white);
    overflow: hidden;
}
.app-promo-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.app-promo-content h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}
.app-promo-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}
.app-download-badges {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 30px;
}
.app-badge {
    height: 42px;
    transition: opacity 0.2s ease;
}
.app-badge:hover {
    opacity: 0.9;
}
.app-badge img {
    height: 100%;
    width: auto;
}
.app-qr-wrapper {
    display: flex;
    gap: 24px;
}
.qr-card {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
}
.qr-card img {
    width: 90px;
    height: 90px;
    background: var(--white);
    padding: 4px;
    border-radius: 4px;
    margin-bottom: 6px;
}
.qr-card span {
    display: block;
    font-size: 11px;
    font-weight: 600;
}
.app-promo-image-col {
    position: relative;
    display: flex;
    justify-content: center;
}
.app-phone-mockup {
    max-height: 380px;
    width: auto;
    filter: drop-shadow(0 20px 25px rgba(0,0,0,0.3));
}

/* 5. Featured Tabs */
.tabs-section {
    padding: 60px 0;
    background-color: var(--white);
}
.tabs-header {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.tab-btn {
    border: 1px solid var(--border);
    background: var(--white);
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
}
.tab-btn:hover {
    color: var(--secondary);
    border-color: var(--secondary);
}
.tab-btn.active {
    background-color: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    box-shadow: 0 4px 6px -1px rgba(10, 59, 133, 0.15);
}
.tab-content {
    display: none;
}
.tab-content.active {
    display: block;
}

/* 6. Homoeopathic Approach Banner */
.approach-section {
    padding: 80px 0;
    background-color: #f0fdf4; /* Pale mint/blue tone, let's keep it soft */
    background: radial-gradient(circle at 10% 20%, rgba(240, 253, 244, 1) 0%, rgba(248, 250, 252, 1) 100%);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.approach-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 16px;
}
.approach-content p {
    font-size: 16px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 30px;
}
.video-trigger-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
}
.video-play-btn {
    width: 64px;
    height: 64px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 10px 15px -3px rgba(10, 59, 133, 0.3);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}
.video-trigger-wrapper:hover .video-play-btn {
    transform: scale(1.08);
}
.video-play-btn::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: ripple 1.5s infinite ease-in-out;
    z-index: -1;
}
.video-trigger-text {
    font-weight: 800;
    color: var(--primary-dark);
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.approach-image-col {
    display: flex;
    justify-content: center;
}
.approach-doc-img {
    max-height: 380px;
    width: auto;
    border-radius: 20px;
    filter: drop-shadow(0 15px 20px rgba(0,0,0,0.1));
}

@keyframes ripple {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* 7. Blog Section */
.blog-section {
    padding: 60px 0;
    background-color: var(--white);
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.blog-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.blog-card-img {
    height: 180px;
    overflow: hidden;
}
.blog-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.blog-card:hover .blog-card-img img {
    transform: scale(1.05);
}
.blog-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-card-date {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}
.blog-card-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 44px;
}
.blog-card-summary {
    font-size: 13px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-card-link {
    margin-top: auto;
    font-weight: 700;
    font-size: 13px;
    color: var(--secondary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.blog-card-link:hover {
    color: var(--primary-dark);
}

/* 8. Testimonials SBL Style */
.testimonial-section {
    padding: 80px 0;
    background-color: #f8fafc;
    background: radial-gradient(circle at 90% 80%, rgba(241, 245, 249, 1) 0%, rgba(255, 255, 255, 1) 100%);
    position: relative;
    overflow: hidden;
}
.testimonial-flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}
.testimonial-left {
    position: relative;
    padding-left: 40px;
}
.testimonial-quote-icon {
    font-size: 64px;
    color: var(--secondary);
    opacity: 0.15;
    position: absolute;
    top: -24px;
    left: 0;
}
.testimonial-left blockquote {
    font-size: 20px;
    font-weight: 500;
    color: var(--primary-dark);
    line-height: 1.6;
    margin-bottom: 24px;
    font-style: italic;
    position: relative;
    z-index: 2;
}
.testimonial-author-info {
    display: flex;
    align-items: center;
    gap: 16px;
}
.testimonial-author-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border);
}
.testimonial-author-name {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 15px;
}
.testimonial-author-title {
    font-size: 13px;
    color: #64748b;
}
.testimonial-right {
    display: flex;
    justify-content: center;
}
.testimonial-accent-art {
    max-height: 300px;
    width: auto;
    border-radius: 50% 20% 40% 10%;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.08));
}

/* 9. Instagram Bar */
.instagram-bar {
    background-color: var(--primary);
    padding: 16px 0;
    text-align: center;
    font-family: 'Outfit', sans-serif;
}
.instagram-bar a {
    color: var(--white);
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s ease;
}
.instagram-bar a:hover {
    opacity: 0.9;
}

/* 10. Footer Certificates seals ribbon */
.footer-seals-bar {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 24px 0;
}
.seals-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}
.seal-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #475569;
    font-weight: 700;
    font-size: 13px;
}
.seal-item i {
    font-size: 24px;
    color: var(--secondary);
}

/* Responsive Overrides for new components */
@media (max-width: 1024px) {
    .ailments-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .app-promo-grid, .approach-grid, .testimonial-flex {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    .app-promo-image-col, .approach-image-col, .testimonial-right {
        order: -1;
    }
    .app-download-badges, .app-qr-wrapper, .testimonial-author-info {
        justify-content: center;
    }
    .testimonial-left {
        padding-left: 0;
    }
    .testimonial-quote-icon {
        left: 50%;
        transform: translateX(-50%);
        top: -40px;
    }
}
@media (max-width: 640px) {
    .ailments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   Chairman's Message Modern Layout
   ========================================== */
.chairman-section {
    padding: 80px 0;
    background-color: var(--light);
}

.chairman-layout-grid {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 50px;
    align-items: flex-start;
}

/* Left Photo Card */
.chairman-profile-card {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 40px 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
    text-align: center;
    position: sticky;
    top: 110px;
    transition: var(--transition);
}

.chairman-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.03);
}

.chairman-avatar-wrapper {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    margin: 0 auto 24px auto;
    overflow: hidden;
    border: 5px solid var(--light);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.chairman-profile-card:hover .chairman-avatar-wrapper {
    transform: scale(1.03);
    border-color: rgba(10, 59, 133, 0.15);
}

.chairman-avatar-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chairman-badge {
    display: inline-block;
    background-color: rgba(10, 59, 133, 0.08);
    color: var(--primary);
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.chairman-profile-card h3 {
    font-size: 22px;
    color: var(--primary-dark);
    margin-bottom: 6px;
}

.chairman-profile-card .title-subtext {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 20px;
}

.chairman-social-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.chairman-social-links a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: var(--light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 14px;
    transition: var(--transition);
}

.chairman-social-links a:hover {
    background-color: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

/* Right Content Box */
.chairman-essay-box {
    background-color: var(--white);
    border-radius: var(--radius);
    padding: 50px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.chairman-essay-box h2 {
    font-size: 32px;
    color: var(--primary-dark);
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 12px;
}

.chairman-essay-box h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.chairman-blockquote {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 18px;
    line-height: 1.6;
    color: var(--primary);
    border-left: 4px solid var(--secondary);
    padding-left: 24px;
    margin: 30px 0;
    background-color: var(--light);
    padding: 22px 24px;
    border-radius: 0 var(--radius) var(--radius) 0;
}

.chairman-essay-text p {
    font-size: 15px;
    line-height: 1.8;
    color: #475569;
    margin-bottom: 20px;
}

.chairman-essay-text p:last-of-type {
    margin-bottom: 40px;
}

.chairman-signature-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--border);
    padding-top: 30px;
    margin-top: 40px;
}

.signature-details strong {
    font-size: 18px;
    color: var(--primary-dark);
    display: block;
}

.signature-details span {
    font-size: 13px;
    color: var(--text-muted);
}

.signature-handwritten {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-style: italic;
    font-size: 26px;
    color: var(--secondary);
    opacity: 0.85;
}

/* Key Leadership Principles Cards */
.principles-section {
    padding: 80px 0;
    background-color: var(--white);
    border-top: 1px solid var(--border);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.principle-card {
    background-color: var(--light);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    transition: var(--transition);
}

.principle-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
    background-color: var(--white);
    box-shadow: var(--shadow-md);
}

.principle-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background-color: rgba(0, 120, 215, 0.08);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 20px;
}

.principle-card h4 {
    font-size: 18px;
    color: var(--primary-dark);
    margin-bottom: 12px;
}

.principle-card p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

@media (max-width: 991px) {
    .chairman-layout-grid {
        grid-template-columns: 1fr;
    }
    .chairman-profile-card {
        position: static;
    }
    .principles-grid {
        grid-template-columns: 1fr;
    }
}

