/* ==========================================================================
   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: 0.5rem;
    padding-bottom: 0.5rem;
    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-lg);
    align-items: stretch;
}

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

.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: stretch;
    width: 100%;
    height: 100%;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 100%;
    min-height: 200px;
    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: 100px;
    width: auto;
}

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

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

.partner-pkc {
    height: 140px;
    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-2xl);
    padding-bottom: var(--space-2xl);
    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;
}

/* ==========================================================================
   COLLABORATIONS PAGE STYLES
   ========================================================================== */

/* ---- Partners Section Header ---- */
.partners-section {
    padding: var(--space-md) 0 0;
    overflow: hidden;
}

.partners-header {
    padding-bottom: var(--space-md);
}

/* ---- Infinite Marquee ---- */
.partners-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    background: var(--bg-card);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-xl) 0;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.partners-marquee-track {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 2rem;
    width: max-content;
    animation: marquee-scroll 22s linear infinite;
}

.partners-marquee-wrapper:hover .partners-marquee-track {
    animation-play-state: paused;
}

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

/* ---- Partner Logo Card (in marquee) ---- */
.partner-logo-card {
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 280px;
    height: 130px;
    padding: 1.25rem 1.5rem;
    background: var(--bg-main);
    border: 1px solid var(--border-light);
    border-radius: 14px;
    transition: var(--transition-normal);
    cursor: default;
    box-sizing: border-box;
}

.partner-logo-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light), 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}

.collab-partner-logo {
    max-height: 95px;
    max-width: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.collab-pafiast   { max-height: 85px; max-width: 240px; }
.collab-dost      { max-height: 90px; max-width: 245px; }
.collab-bioprintx { max-height: 80px; max-width: 240px; }
.collab-pkc       { max-height: 105px; max-width: 240px; height: 100px; }

.partner-name {
    display: none;
}

@media (max-width: 576px) {
    .partner-logo-card {
        width: 220px;
        height: 110px;
    }
    .collab-partner-logo {
        max-height: 75px;
        max-width: 190px;
    }
}


/* ---- Collab Detail Cards Grid ---- */
.collab-detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
    padding-bottom: var(--space-3xl);
}

.collab-detail-card {
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
}

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

.collab-detail-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
    background: linear-gradient(135deg, var(--primary-light) 0%, rgba(255,255,255,0.5) 100%);
    border-bottom: 1px solid var(--border-light);
    min-height: 170px;
}

.collab-detail-logo {
    max-height: 95px;
    max-width: 270px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.collab-detail-logo.collab-pafiast   { max-height: 90px; max-width: 270px; }
.collab-detail-logo.collab-dost      { max-height: 95px; max-width: 270px; }
.collab-detail-logo.collab-bioprintx { max-height: 85px; max-width: 260px; }
.collab-detail-logo.collab-pkc       { max-height: 135px; max-width: 270px; height: 130px; }

.collab-detail-body {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    flex: 1;
}

.collab-detail-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 0;
}

.collab-detail-full {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    margin: 0;
    line-height: 1.4;
}

.collab-detail-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
    flex: 1;
}

/* ---- Collab Tags ---- */
.collab-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-xs);
}

.collab-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    background: var(--primary-light);
    color: var(--primary-dark);
    border: 1px solid rgba(22, 82, 240, 0.15);
}

/* ---- Stats Bar ---- */
.collab-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-2xs);
}

.collab-stat-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.collab-stat-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ---- Value Cards Grid ---- */
.collab-value-card {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    transition: var(--transition-normal);
}

.collab-value-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-light);
    transform: translateY(-3px);
}

.collab-value-icon {
    font-size: 1.75rem;
    line-height: 1;
}

.collab-value-card h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
}


/* ==========================================================================
   ACHIEVEMENTS SECTION
   ========================================================================== */

.achievements-section {
    position: relative;
    padding: var(--space-2xl) 0;
    background: linear-gradient(135deg, #0a1628 0%, #0d2347 50%, #0a1628 100%);
    overflow: hidden;
}

.achievements-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(26, 86, 219, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 180, 219, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 60% 80%, rgba(26, 86, 219, 0.08) 0%, transparent 40%);
    pointer-events: none;
}

.achievements-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(26, 86, 219, 0.6), rgba(0, 180, 219, 0.6), transparent);
}

.achievements-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    position: relative;
    z-index: 2;
}

.achievements-header .badge {
    background: rgba(26, 86, 219, 0.2);
    color: #60a5fa;
    border: 1px solid rgba(96, 165, 250, 0.3);
    padding: 0.35rem 1.1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.achievements-header h2 {
    font-size: clamp(1.8rem, 3vw + 1rem, 2.6rem);
    color: #ffffff;
    font-weight: 800;
    margin: 0 0 0.5rem;
}

.achievements-header p {
    color: rgba(255,255,255,0.55);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.25rem;
    position: relative;
    z-index: 2;
}

.achievement-card {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 2rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
    cursor: default;
    backdrop-filter: blur(8px);
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--ac-color1, #1a56db), var(--ac-color2, #00b4db));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255,255,255,0.18);
    background: rgba(255,255,255,0.07);
}

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

.achievement-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.4rem;
    background: linear-gradient(135deg, var(--ac-color1, #1a56db), var(--ac-color2, #00b4db));
    box-shadow: 0 8px 24px rgba(26,86,219,0.3);
}

.achievement-number {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.4rem;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #ffffff, var(--ac-color2, #60a5fa));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.achievement-label {
    font-size: 0.88rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.achievement-desc {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.5;
}

/* Counter animation */
.achievement-number.counting {
    animation: countPulse 0.1s ease;
}

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

@media (max-width: 640px) {
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .achievement-card {
        padding: 1.5rem 1rem;
    }
}
