/* ==========================================================================
   MED X TECH - COMPONENT STYLES
   ========================================================================== */

/* 1. Header & Navigation Component */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-light);
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: var(--transition-normal);
}

.navbar--scrolled {
    height: 70px;
    background: rgba(255, 255, 255, 0.92);
    box-shadow: var(--shadow-sm);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-family: var(--font-heading);
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.015em;
}

.logo-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
}

.nav-links {
    display: none;
    align-items: center;
    gap: var(--space-xl);
    list-style: none;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-muted);
    position: relative;
    padding: var(--space-xs) 0;
}

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

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

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

.nav-actions {
    display: none;
    align-items: center;
    gap: var(--space-md);
}

/* Mobile Menu Button (Hamburger) */
.mobile-nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1010;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-main);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
    transform-origin: left center;
}

.mobile-nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(2px, -1px);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
    width: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 1px);
}

/* Mobile Nav Menu Drawer */
.mobile-nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--bg-card);
    box-shadow: var(--shadow-xl);
    z-index: 1005;
    padding: calc(var(--header-height) + var(--space-xl)) var(--space-xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    transition: var(--transition-normal);
}

.mobile-nav-menu.open {
    right: 0;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mobile-nav-link {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-main);
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--border-light);
    display: block;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    color: var(--primary);
    padding-left: var(--space-xs);
}

@media (min-width: 1024px) {
    .nav-links, .nav-actions {
        display: flex;
    }
    .mobile-nav-toggle {
        display: none;
    }
}

/* 2. Button Components */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius-full); /* Sleek modern capsule styling */
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.btn:active {
    transform: translateY(0) scale(0.97);
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(26, 86, 219, 0.18), 0 2px 4px rgba(26, 86, 219, 0.08);
}

.btn-primary:hover {
    background-color: white;
    color: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.15), 0 4px 10px rgba(26, 86, 219, 0.08);
    transform: translateY(-3px) scale(1.02);
}

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

.btn-secondary:hover {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 24px rgba(26, 86, 219, 0.35);
    transform: translateY(-3px) scale(1.02);
}

.btn-accent {
    background-color: var(--secondary);
    color: white;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.18), 0 2px 4px rgba(14, 165, 233, 0.08);
}

.btn-accent:hover {
    background-color: var(--secondary-dark);
    box-shadow: 0 8px 24px rgba(14, 165, 233, 0.35), 0 4px 10px rgba(14, 165, 233, 0.15);
    transform: translateY(-3px) scale(1.02);
}

.btn-link {
    background: transparent;
    border: none;
    color: var(--primary);
    padding: 0;
    font-weight: 600;
}

.btn-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* 3. Product Card Component */
.product-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-normal);
    height: 100%;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 15;
}

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

.product-card:hover::before {
    opacity: 1;
}

.product-card__image-container {
    position: relative;
    width: 100%;
    height: 220px;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.product-card__badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    z-index: 10;
    background-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: var(--shadow-md);
    font-weight: 700;
}

.product-card__compliance {
    position: absolute;
    bottom: var(--space-xs);
    right: var(--space-md);
    display: flex;
    gap: var(--space-2xs);
    z-index: 10;
}

.compliance-icon {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--border-light);
    color: var(--text-main);
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
    backdrop-filter: blur(4px);
}

.product-card__content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card__category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.product-card__title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-main);
}

.product-card__desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
    flex-grow: 1;
}

.product-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-md);
    border-top: 1px solid var(--border-light);
    margin-top: auto;
}

.product-card__spec-brief {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* 4. Home Page Sections */

/* Hero Section */
.hero {
    position: relative;
    padding-top: var(--space-xl);
    padding-bottom: var(--space-2xl);
    background-color: #ffffff;
    background-image: 
        radial-gradient(circle at 80% 20%, hsla(220, 95%, 50%, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 15% 85%, hsla(195, 95%, 45%, 0.04) 0%, transparent 50%);
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.05) 0%, transparent 70%);
    top: -200px;
    right: -200px;
    z-index: 0;
    pointer-events: none;
}

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

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

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-lg);
}

.hero-tag {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw + 1rem, 3.5rem);
    color: var(--text-main);
    line-height: 1.15;
}

.hero-desc {
    font-size: clamp(1rem, 1.5vw + 0.5rem, 1.2rem);
    color: var(--text-muted);
    max-width: 600px;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    padding: 3px;
    box-shadow: var(--shadow-xl);
}

.hero-image-inner {
    width: 100%;
    height: 100%;
    background-color: var(--bg-card);
    border-radius: calc(var(--radius-lg) - 3px);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    z-index: 1;
}

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

.monitor-slide {
    width: 90%;
    height: 90%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.photo-slide {
    width: 100%;
    height: 100%;
    object-fit: cover;
    mix-blend-mode: normal;
}

/* Floating Tech Badges in Hero */
.floating-badge {
    position: absolute;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-light);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    animation: floating 4s ease-in-out infinite;
    z-index: 12;
}

.pulse-indicator {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 50%;
    display: inline-block;
    position: relative;
    margin-right: 2px;
}

.pulse-indicator::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--secondary);
    animation: pulse-ring 1.8s cubic-bezier(0.455, 0.03, 0.515, 0.955) infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(0.95);
        opacity: 0.85;
    }
    100% {
        transform: scale(2.8);
        opacity: 0;
    }
}

.floating-badge--1 {
    top: 10%;
    left: -10%;
    animation-delay: 0s;
}

.floating-badge--2 {
    bottom: 15%;
    right: -5%;
    animation-delay: 2s;
}

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

/* Trust Signals Section */
.trust-section {
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-light);
    padding-top: var(--space-xl);
    padding-bottom: var(--space-xs);
    overflow: hidden;
}

.trust-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
    text-align: center;
    font-weight: 600;
}

.trust-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: var(--space-2xl);
    padding: var(--space-xs) 0;
}

.trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation: logoPopIn 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.trust-logo:nth-child(1) {
    animation-delay: 0.15s;
}

.trust-logo:nth-child(2) {
    animation-delay: 0.45s;
}

.trust-logo:nth-child(3) {
    animation-delay: 0.75s;
}

.partner-logo {
    object-fit: contain;
}

.partner-pafiast {
    height: 72px;
    width: auto;
}

.partner-dost {
    height: 80px;
    width: auto;
}

.partner-bioprintx {
    height: 190px;
    width: auto;
}

@keyframes logoPopIn {
    0% {
        opacity: 0;
        transform: translateX(-150px) scale(0.4);
    }
    65% {
        opacity: 0.95;
        transform: translateX(15px) scale(1.1);
    }
    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

/* Featured Categories Section */
.featured-header {
    margin-bottom: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.featured-header.text-center {
    align-items: center;
    text-align: center;
}

.featured-header h2 {
    max-width: 600px;
    line-height: 1.3;
}

.featured-header.text-center h2 {
    margin-left: auto;
    margin-right: auto;
}

.category-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    transition: var(--transition-normal);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 10;
}

.category-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.category-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    background: linear-gradient(145deg, #ddeaff 0%, #b8d0fc 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(25, 100, 242, 0.15), inset 0 1px 0 rgba(255,255,255,0.85);
    flex-shrink: 0;
}

.category-card:hover .category-icon {
    background: linear-gradient(145deg, var(--primary) 0%, #0a31b5 100%);
    color: white;
    box-shadow: 0 10px 28px rgba(25, 100, 242, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-3px) scale(1.07);
}

.category-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.category-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    flex-grow: 1;
}

/* Why Choose Us Section */
.why-choose-us {
    background: radial-gradient(circle at 10% 80%, hsl(175, 80%, 96%) 0%, var(--bg-main) 50%);
}

.why-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition-normal);
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(145deg, #ddeaff 0%, #b8d0fc 100%);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(25, 100, 242, 0.15), inset 0 1px 0 rgba(255,255,255,0.85);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover .why-icon {
    background: linear-gradient(145deg, var(--primary) 0%, #0a31b5 100%);
    color: white;
    box-shadow: 0 10px 28px rgba(25, 100, 242, 0.4), inset 0 1px 0 rgba(255,255,255,0.15);
    transform: translateY(-3px) scale(1.07);
}


.why-title {
    font-size: 1.2rem;
    font-weight: 700;
}

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

/* 5. Footer Component */
.footer {
    background-color: var(--text-main);
    color: white;
    padding-top: var(--space-3xl);
    padding-bottom: var(--space-xl);
}

.footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: var(--space-2xl);
    margin-bottom: var(--space-xl);
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.5fr repeat(3, 1fr);
    }
}

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

.footer-brand .logo {
    color: white;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, white, var(--secondary-light));
    color: var(--primary-dark);
}

.footer-brand-desc {
    color: hsl(217, 10%, 75%);
    font-size: 0.9rem;
    max-width: 320px;
}

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

.footer-nav-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.footer-link {
    color: hsl(217, 10%, 70%);
    font-size: 0.9rem;
}

.footer-link:hover {
    color: #38bdf8;
    transform: translateX(3px);
}

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

.cert-badges {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
}

.cert-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: hsl(217, 10%, 65%);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
    }
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-bottom-link:hover {
    color: white;
}

/* ==========================================================================
   6. Product Catalog Page Styles
   ========================================================================== */
.catalog-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-4xl);
}

.catalog-layout {
    width: 100%;
}

/* Category tabs styling */
.category-tabs {
    display: flex;
    gap: var(--space-xs);
}

.category-tab {
    background: transparent;
    border: 1px solid transparent;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition-fast);
    outline: none;
}

.category-tab:hover {
    color: var(--primary);
    background-color: var(--primary-light);
}

.category-tab.active {
    color: var(--primary);
    background-color: var(--primary-light);
    font-weight: 600;
}



.search-container {
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.9rem;
    color: var(--text-main);
    background-color: var(--bg-main);
    transition: var(--transition-fast);
}

.search-input:focus {
    border-color: var(--primary);
    background-color: var(--bg-card);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.1rem;
    pointer-events: none;
    display: flex;
    align-items: center;
}



.active-filters-summary {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
    align-items: center;
}

.active-filter-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.active-filter-pill {
    background-color: var(--primary-light);
    color: var(--primary);
    padding: 0.25rem 0.65rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    display: inline-flex;
    align-items: center;
    gap: var(--space-2xs);
    border: 1px solid rgba(22, 82, 240, 0.1);
}

.active-filter-pill button {
    background: transparent;
    border: none;
    color: var(--primary);
    cursor: pointer;
    font-weight: bold;
    font-size: 0.85rem;
    line-height: 1;
    display: flex;
    align-items: center;
}

.active-filter-pill button:hover {
    color: var(--primary-dark);
}

.clear-filters-btn {
    background: transparent;
    border: none;
    color: var(--danger);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    padding: 0.25rem var(--space-xs);
}

.clear-filters-btn:hover {
    text-decoration: underline;
}

.no-results-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-3xl) var(--space-xl);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    grid-column: 1 / -1;
    box-shadow: var(--shadow-sm);
}

/* ==========================================================================
   7. About Us Page Styles
   ========================================================================== */
.about-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    color: var(--text-main);
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-light);
}

.about-hero::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 86, 219, 0.04) 0%, transparent 70%);
    bottom: -200px;
    left: -200px;
    pointer-events: none;
}

.about-hero h1, .about-hero p {
    color: white;
}

.standards-section {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.standard-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .standard-card-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.standards-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.standards-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--accent));
    opacity: 0;
    transition: var(--transition-normal);
}

.standards-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.standards-card:hover::before {
    opacity: 1;
}

.standards-card-icon {
    width: 48px;
    height: 48px;
    background-color: var(--secondary-light);
    color: var(--secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
}

/* ==========================================================================
   8. Contact & Distributor Page Styles
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.contact-card-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-2xs);
    margin-bottom: var(--space-md);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.form-label span {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text-main);
    background-color: var(--bg-main);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--bg-card);
    outline: none;
    box-shadow: 0 0 0 3px var(--primary-glow);
}

.form-control::placeholder {
    color: hsl(217, 10%, 70%);
}

.form-success-banner {
    background-color: var(--success-light);
    border: 1px solid rgba(20,164,85,0.2);
    color: var(--success);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    display: none;
    align-items: center;
    gap: var(--space-md);
}

.distributors-section {
    background-color: var(--bg-card);
    border-top: 1px solid var(--border-light);
    padding: var(--space-4xl) 0;
}

.distributors-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

@media (min-width: 768px) {
    .distributors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.distributor-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.distributor-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition-normal);
}

.distributor-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.distributor-card:hover::before {
    opacity: 1;
}

.distributor-region {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--secondary);
    letter-spacing: 0.05em;
}

.distributor-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.distributor-contact {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.map-placeholder-container {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.map-svg-background {
    width: 100%;
    height: 100%;
    opacity: 0.08;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

.map-content-overlay {
    position: relative;
    z-index: 5;
    text-align: center;
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    max-width: 320px;
}

/* ==========================================================================
   9. Scientific Advisory & Executive Team Page Styles
   ========================================================================== */
.team-section {
    padding-top: var(--space-xl);
    padding-bottom: var(--space-4xl);
}

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

@media (min-width: 640px) {
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.team-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: var(--transition-normal);
}

.team-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.team-avatar-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.team-avatar-fallback {
    font-size: 2.5rem;
    color: var(--primary);
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card__content {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex-grow: 1;
}

.team-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 2px;
}

.team-role {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-xs);
}

.team-credentials {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    background-color: var(--bg-main);
    padding: 0.2rem 0.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.team-bio {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex-grow: 1;
    margin-bottom: var(--space-md);
}

.team-social {
    display: flex;
    justify-content: center;
    gap: var(--space-xs);
}

.team-social-link {
    width: 32px;
    height: 32px;
    border-radius: var(--radius-full);
    background-color: var(--bg-main);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.team-social-link:hover {
    background-color: var(--primary);
    color: white;
}

/* About Page Timeline Component */
.timeline {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 24px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary) 0%, var(--secondary) 100%);
    z-index: 1;
}

.timeline-item {
    display: flex;
    gap: var(--space-lg);
    position: relative;
    z-index: 5;
}

.timeline-num {
    width: 50px;
    height: 50px;
    border-radius: var(--radius-full);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.15rem;
    flex-shrink: 0;
    box-shadow: 0 4px 10px var(--primary-glow);
    transition: var(--transition-normal);
}

.timeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    flex-grow: 1;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.timeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, var(--primary), var(--secondary));
    opacity: 0;
    transition: var(--transition-normal);
}

.timeline-item:hover .timeline-card {
    transform: translateX(6px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.timeline-item:hover .timeline-card::before {
    opacity: 1;
}

.timeline-item:hover .timeline-num {
    transform: scale(1.1);
    box-shadow: 0 0 15px 5px rgba(22, 82, 240, 0.35);
}

.timeline-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.timeline-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* ==========================================================================
   10. Futuristic ECG / Grid Background & Glow Utilities
   ========================================================================== */
.hero-bg-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1;
    opacity: 0.25;
    overflow: hidden;
}

.hero-ecg-svg {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.ecg-line {
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: draw-ecg 8s linear infinite;
}

@keyframes draw-ecg {
    to {
        stroke-dashoffset: 0;
    }
}

/* Floating badge style upgrade */
.floating-badge {
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid var(--border-light) !important;
    box-shadow: var(--shadow-md) !important;
}

.floating-badge h4 {
    color: var(--text-main) !important;
}


