/* CSS Variables for Modern Minimalist Design */
:root {
    --color-bg: #f9fafb;
    --color-surface: #ffffff;
    --color-text-main: #111827;
    --color-text-muted: #6b7280;
    --color-accent: #059669; /* Medical Green */
    --color-accent-hover: #047857;
    --color-border: #f3f4f6;
    
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.08);
    
    --radius-md: 12px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --font-sans: 'Baloo 2', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    
    --container-max: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0 4vw;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--color-accent);
    color: #fff;
    box-shadow: 0 4px 12px rgba(123, 164, 201, 0.3);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(123, 164, 201, 0.4);
}

.btn-outline {
    border: 1px solid var(--color-border);
    background-color: var(--color-surface);
}

.btn-outline:hover {
    background-color: var(--color-bg);
    border-color: #e5e7eb;
}

.btn-text {
    color: var(--color-text-main);
    font-weight: 500;
    padding: 12px 16px;
}

.btn-text:hover {
    color: var(--color-accent);
}

/* Animated Button (Header) */
.btn-animated {
    position: relative;
    overflow: hidden;
    background: transparent;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
    box-shadow: 0 2px 8px rgba(123, 164, 201, 0.2);
    animation: pulse-glow 2s infinite;
    font-weight: 500;
    padding: 0.5rem 1.2rem; /* Reduced to match search input */
    font-size: 0.9rem;
}

.btn-animated:hover {
    color: white;
    background-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(123, 164, 201, 0.4);
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(123, 164, 201, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(123, 164, 201, 0); }
    100% { box-shadow: 0 0 0 0 rgba(123, 164, 201, 0); }
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    20% { left: 100%; }
    100% { left: 100%; }
}

/* Header */
.header {
    background-color: rgba(249, 250, 251, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.5);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 110px; /* Increased to allow larger logo */
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    text-decoration: none;
}

.logo-img {
    height: 90px; /* Increased logo size */
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    gap: 44px;
    margin: 0 auto;
}

.nav-link {
    position: relative;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    font-weight: 600;
    padding: 6px 0;
    transition: color 0.3s ease;
}

.nav-link:not(:first-child)::before {
    content: '';
    position: absolute;
    left: -22px; /* Half of gap (44px) */
    top: 50%;
    transform: translateY(-50%);
    height: 14px;
    width: 1px;
    background-color: #d1d5db; /* Light grey line */
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover {
    color: var(--color-text-main);
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-icon-btn {
    background: none;
    border: none;
    color: var(--color-text-main);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.header-icon-btn:hover {
    background-color: var(--color-border);
    color: var(--color-accent);
}

.header-lang {
    position: relative;
    display: flex;
    align-items: center;
}

.lang-select {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: none;
    color: var(--color-text-main);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    padding: 6px 20px 6px 8px;
    font-family: inherit;
    outline: none;
    transition: color 0.3s ease;
}

.header-lang::after {
    content: '';
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--color-text-main);
    pointer-events: none;
    transition: border-top-color 0.3s ease;
}

.lang-select:hover, .header-lang:hover::after {
    color: var(--color-accent);
    border-top-color: var(--color-accent);
}

/* Hero Section */
.hero {
    padding: 80px 0 120px;
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(123, 164, 201, 0.1);
    color: var(--color-accent);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    color: var(--color-text-main);
}

.hero-title span {
    font-weight: 700;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.7;
}

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

.hero-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
}

.hero-image-blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(123,164,201,0.15) 0%, rgba(249,250,251,0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* Hero Slider */
.hero-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.hero-image.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
}

.hero-image.slide.active {
    opacity: 1;
    z-index: 2;
}

.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 16px;
    z-index: 10;
    pointer-events: none;
}

.slider-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--color-text-main);
    box-shadow: var(--shadow-soft);
}

.slider-btn:hover {
    background: white;
    color: var(--color-accent);
}

.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dots .dot.active {
    background: white;
}

/* Services */
.services {
    padding: 100px 0;
    background-color: var(--color-surface);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 16px;
    color: var(--color-text-main);
}

.section-header p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

.services-list {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.service-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--color-border);
}

.service-reverse {
    grid-template-columns: 1fr 1fr;
    direction: rtl;
}

.service-reverse > * {
    direction: ltr;
}

.service-image-wrapper {
    width: 100%;
    height: 100%;
    min-height: 350px;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-content {
    padding: 40px;
}

.service-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
}

.service-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* Categories Section */
.categories {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.category-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 3/4;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
    box-shadow: var(--shadow-sm);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.category-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.6s cubic-bezier(0.2, 1, 0.3, 1);
}

.category-card:hover .category-bg {
    transform: scale(1.08);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 30%, rgba(0,0,0,0.85) 100%);
    z-index: 2;
    transition: opacity 0.4s ease;
}

.category-card:hover .category-overlay {
    opacity: 0.95;
}

.category-content {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.category-title {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    transition: transform 0.3s ease;
}

.category-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #a0c4e0;
    opacity: 0;
    max-height: 0;
    transform: translateY(15px);
    transition: all 0.4s ease;
    overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.category-card:hover .category-link {
    opacity: 1;
    max-height: 24px;
    transform: translateY(0);
    margin-top: 8px;
}

.categories-action {
    text-align: center;
}

.btn-rounded {
    border-radius: 50px;
    padding: 12px 32px;
    color: var(--color-text-muted);
}

/* About Section */
.about-section {
    padding: 100px 0;
    background-color: var(--color-surface);
}

.about-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content {
    max-width: 600px;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-text-main);
}

.about-text {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 20px;
    line-height: 1.8;
}

.about-text strong {
    color: var(--color-text-main);
}

.about-image-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: var(--color-bg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.logo-icon-large {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--color-accent), #a0c4e0);
    border-radius: 16px;
    margin-bottom: 24px;
}

.logo-text-large {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    color: var(--color-text-main);
}

.logo-subtext {
    font-size: 0.9rem;
    letter-spacing: 0.2em;
    color: var(--color-text-muted);
    text-transform: uppercase;
    margin-top: 8px;
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background-color: var(--color-surface);
}

.contact-inner {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 80px;
}

.contact-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-main);
}

.contact-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-main);
    font-weight: 600;
    margin-bottom: 24px;
}

.contact-note {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-main);
}

.required {
    color: #ef4444;
}

.form-control {
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    background-color: var(--color-bg);
    font-family: inherit;
    font-size: 1rem;
    color: var(--color-text-main);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(123, 164, 201, 0.2);
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 32px;
}

.contact-info-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.05rem;
    color: var(--color-text-muted);
}

.contact-info-list li svg {
    color: var(--color-text-main);
}

.contact-info-list a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.contact-info-list a:hover {
    color: var(--color-accent-hover);
}

/* Category Banner */
.category-banner {
    padding: 60px 0;
    background-color: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.breadcrumb {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 24px;
}

.breadcrumb a {
    color: var(--color-accent);
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.breadcrumb span {
    margin: 0 8px;
}

.breadcrumb .current {
    color: var(--color-text-main);
    font-weight: 500;
}

.category-banner-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
}

.category-banner-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 700px;
}

/* Products List */
.products-section {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.products-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.product-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    background-color: var(--color-surface);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    align-items: center;
    overflow: hidden;
}

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

.product-image-wrapper {
    width: 100%;
    height: 220px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background-color: #f8fafc;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border: 1px solid #f1f5f9;
}

.product-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 0.4s ease;
    border-radius: 6px;
}

.product-card:hover .product-image {
    transform: scale(1.06);
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-main);
    margin-bottom: 16px;
    line-height: 1.3;
}

.product-desc {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.6;
}

.product-action {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Partners Marquee */
.partners {
    padding: 60px 0;
    background-color: #ffffff;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
}

.partners-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: var(--color-text-main);
}

.marquee {
    position: relative;
    width: 100vw;
    max-width: 100%;
    height: 60px;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    width: fit-content;
    animation: marquee 25s linear infinite;
}

.marquee-content:hover {
    animation-play-state: paused;
}

.partner-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    margin: 0 40px;
}

.partner-logo img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(0.7);
    transition: all 0.3s ease;
}

.partner-logo:hover img {
    filter: grayscale(0%) opacity(1);
    transform: scale(1.05);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* SEO Section */
.seo-section {
    padding: 80px 0;
    background-color: var(--color-bg);
}

.seo-inner {
    width: 100%;
}

.seo-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--color-text-main);
}

.seo-description {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    line-height: 1.8;
}

.seo-description strong {
    color: var(--color-text-main);
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-surface);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-socials {
    display: flex;
    gap: 16px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-bg);
    color: var(--color-text-muted);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: var(--color-accent);
    color: #fff;
    transform: translateY(-2px);
}

/* Responsive Mobile Navigation & Layouts */
.mobile-toggle, .mobile-drawer, .mobile-backdrop {
    display: none;
}

@media (max-width: 992px) {
    .header-inner {
        height: 76px;
        padding: 0 16px;
    }
    
    .logo-img {
        height: 52px;
    }
    
    .nav {
        display: none !important;
    }
    
    .header-actions {
        display: none !important;
    }
    
    /* Hamburger Toggle Button */
    .mobile-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        width: 40px;
        height: 40px;
        background: #ffffff;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        cursor: pointer;
        padding: 8px;
        z-index: 1001;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }
    
    .hamburger-bar {
        width: 100%;
        height: 2.5px;
        background-color: var(--color-text-main);
        border-radius: 4px;
        transition: all 0.3s ease;
    }
    
    .mobile-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }
    
    .mobile-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }
    
    /* Mobile Drawer */
    .mobile-drawer {
        display: flex;
        position: fixed;
        top: 0;
        right: -100%;
        width: 320px;
        max-width: 88vw;
        height: 100vh;
        background-color: #ffffff;
        z-index: 1002;
        box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
        flex-direction: column;
        padding: 24px 20px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
    }
    
    .mobile-drawer.active {
        right: 0;
    }
    
    .mobile-drawer-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        padding-bottom: 14px;
        border-bottom: 1px solid var(--color-border);
    }
    
    .mobile-drawer-logo {
        height: 44px;
        object-fit: contain;
    }
    
    .mobile-close {
        background: #f3f4f6;
        border: none;
        font-size: 1.5rem;
        color: var(--color-text-muted);
        cursor: pointer;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .mobile-search-wrapper {
        margin-bottom: 20px;
    }
    
    .mobile-search-wrapper .header-search {
        width: 100% !important;
        height: 44px;
    }
    
    .mobile-nav {
        display: flex;
        flex-direction: column;
        gap: 6px;
        margin-bottom: 20px;
    }
    
    .mobile-nav-link {
        font-size: 1.05rem;
        font-weight: 600;
        color: var(--color-text-main);
        padding: 12px 16px;
        border-radius: var(--radius-md);
        transition: all 0.2s ease;
    }
    
    .mobile-nav-link:hover, .mobile-nav-link.active {
        background-color: #ecfdf5;
        color: var(--color-accent);
    }
    
    .mobile-drawer-footer {
        margin-top: auto;
        display: flex;
        flex-direction: column;
        gap: 16px;
        padding-top: 16px;
        border-top: 1px solid var(--color-border);
    }
    
    .mobile-backdrop {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        z-index: 1000;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-backdrop.active {
        opacity: 1;
        visibility: visible;
    }

    .hero {
        padding: 0;
    }

    .hero-inner {
        grid-template-columns: 1fr;
        grid-template-areas: "stack";
        gap: 0;
        padding: 0;
        text-align: left;
    }
    
    .hero-image-wrapper {
        grid-area: stack;
        height: 75vh;
        min-height: 480px;
        border-radius: 0;
    }

    .hero-image-wrapper::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(to top, rgba(17, 24, 39, 0.95) 0%, rgba(17, 24, 39, 0.4) 50%, rgba(17, 24, 39, 0.1) 100%);
        z-index: 5;
    }
    
    .hero-content {
        grid-area: stack;
        z-index: 10;
        padding: 40px 20px 80px 20px;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
        height: 100%;
        margin: 0;
        max-width: 100%;
    }

    .hero-title {
        color: #ffffff;
        font-size: 2.8rem;
        margin-bottom: 16px;
    }

    .hero-desc {
        color: #e5e7eb;
        font-size: 1.05rem;
        margin-bottom: 24px;
    }
    
    .hero-buttons {
        justify-content: flex-start;
    }

    .hero-content .badge {
        display: none !important;
    }

    .hero-image-blob {
        display: none;
    }

    .slider-controls {
        display: none !important;
    }

    .hero-buttons .btn {
        background-color: rgba(255, 255, 255, 0.1) !important;
        border: 1px solid rgba(255, 255, 255, 0.3) !important;
        color: #ffffff !important;
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-radius: 50px !important;
        padding: 12px 28px !important;
        font-weight: 500 !important;
        font-size: 1.05rem !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
        transition: all 0.3s ease !important;
        text-transform: none !important;
    }

    .hero-buttons .btn:hover {
        background-color: rgba(255, 255, 255, 0.25) !important;
        border-color: rgba(255, 255, 255, 0.6) !important;
    }

    .slider-dots {
        z-index: 15;
        bottom: 30px;
        left: 20px;
        transform: none;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
        max-width: 100% !important;
        margin: 0 0 30px !important;
    }

    .category-card {
        padding: 16px 12px !important;
        border-radius: 16px !important;
    }
    
    .category-icon {
        width: 50px !important;
        height: 50px !important;
        margin-bottom: 12px !important;
    }
    
    .hero {
        padding: 30px 0 50px !important;
    }
    
    .hero-title {
        font-size: 2rem !important;
        line-height: 1.25 !important;
    }

    .hero-desc {
        font-size: 0.95rem !important;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .product-card {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
        padding: 16px !important;
    }

    .product-image-wrapper {
        height: 200px !important;
    }
}

/* Header Inline Search */
.header-search {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1.5px solid #d1d5db; /* slightly darker border */
    border-radius: 50px;
    padding: 0.45rem 0.9rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    width: 180px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03); /* soft shadow */
}

.header-search:focus-within {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(123, 164, 201, 0.25), 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    width: 220px;
    background-color: #ffffff;
}

.search-icon {
    color: var(--color-text-main); /* darker icon */
    margin-right: 0.5rem;
    transition: color 0.3s ease;
}

.header-search:focus-within .search-icon {
    color: var(--color-accent);
}

.header-search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 0.88rem;
    color: var(--color-text-main);
    width: 100%;
    font-weight: 500;
}

.header-search-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

/* Floating WhatsApp */
.whatsapp-floating-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    display: flex;
    align-items: center;
    z-index: 1000;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-floating-container:hover {
    transform: scale(1.05);
}

.whatsapp-floating-icon {
    background-color: #25D366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 2; /* Overlaps text box */
    position: relative;
}

.whatsapp-floating-text {
    background-color: #f8f9fb;
    color: #4b5563;
    padding: 12px 20px 12px 40px; 
    border-radius: 12px;
    margin-left: -20px; 
    font-size: 0.95rem;
    line-height: 1.4;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    z-index: 1;
}

.whatsapp-floating-text strong {
    color: #1f2937;
    font-weight: 700;
}

@media (max-width: 768px) {
    .whatsapp-floating-container {
        left: 15px !important;
        bottom: 15px !important;
    }
    
    .whatsapp-floating-text {
        font-size: 0.8rem !important;
        padding: 8px 12px 8px 28px !important;
    }
    
    .whatsapp-floating-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    .whatsapp-floating-icon svg {
        width: 48px !important;
        height: 48px !important;
    }
}

/* Live Search Dropdown */
.search-results-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 320px;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(229, 231, 235, 0.9);
    border-radius: 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(6px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-search-wrapper .search-results-dropdown {
    width: 100%;
}

.search-results-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    text-decoration: none;
    color: var(--color-text-main);
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s ease;
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: #f8fafc;
}

.search-result-thumb {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
    background: #f1f5f9;
    padding: 2px;
    flex-shrink: 0;
}

.search-result-info {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.search-result-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result-cat {
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 2px;
}

.search-no-results {
    padding: 16px;
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
}

.search-dropdown-footer {
    display: block;
    padding: 10px;
    text-align: center;
    background: #f8fafc;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    text-decoration: none;
    border-top: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.search-dropdown-footer:hover {
    background: #f1f5f9;
}

.product-cat-badge {
    display: inline-block;
    padding: 4px 12px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 8px;
    width: fit-content;
}

/* 2026 Native View Transitions & Smooth Page Flow */
@view-transition {
    navigation: auto;
}

::view-transition-old(root) {
    animation: 220ms cubic-bezier(0.4, 0, 0.2, 1) page-fade-out,
               220ms cubic-bezier(0.4, 0, 0.2, 1) page-scale-down;
}

::view-transition-new(root) {
    animation: 300ms cubic-bezier(0, 0, 0.2, 1) page-fade-in,
               300ms cubic-bezier(0, 0, 0.2, 1) page-scale-up;
}

@keyframes page-fade-out {
    from { opacity: 1; }
    to { opacity: 0; }
}

@keyframes page-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes page-scale-down {
    from { transform: scale(1); }
    to { transform: scale(0.985) translateY(-4px); }
}

@keyframes page-scale-up {
    from { transform: scale(1.015) translateY(6px); }
    to { transform: scale(1) translateY(0); }
}

/* Fallback & Enhanced JS Page Entrance/Exit System */
#page-loader-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, #059669, #10b981, #3b82f6, #059669);
    background-size: 200% 100%;
    animation: loader-shimmer 2s infinite linear;
    z-index: 99999;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.6);
    opacity: 0;
    transition: width 0.3s ease, opacity 0.2s ease;
    pointer-events: none;
}

@keyframes loader-shimmer {
    0% { background-position: 0% 0%; }
    100% { background-position: 200% 0%; }
}

main {
    opacity: 0;
    transform: translateY(12px);
    filter: blur(4px);
    transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                filter 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform, filter;
}

body.page-entrance-active main {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

body.page-exit-active main {
    opacity: 0;
    transform: translateY(-8px) scale(0.99);
    filter: blur(3px);
    transition: opacity 0.18s ease-in, transform 0.18s ease-in, filter 0.18s ease-in;
}


/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delays for child elements if needed */
.reveal.delay-100 { transition-delay: 100ms; }
.reveal.delay-200 { transition-delay: 200ms; }
.reveal.delay-300 { transition-delay: 300ms; }
