/* Nexopure Ltd Website - Premium CSS Stylesheet */

/* ========== CSS Variables & Theme ========== */
:root {
    --primary: #1E3A8A;
    --primary-dark: #1E2E56;
    --secondary: #10B981;
    --secondary-light: #D1FAE5;
    --neutral-light: #F8FAFC;
    --neutral-mid: #E2E8F0;
    --neutral-dark: #334155;
    --text-primary: #0F172A;
    --text-secondary: #475569;
    
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Sora', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    
    --border-radius: 12px;
    --border-radius-lg: 16px;
    
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 12px 24px rgba(15, 23, 42, 0.12);
    --shadow-xl: 0 20px 48px rgba(15, 23, 42, 0.15);
    
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== Global Styles ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background-color: white;
    line-height: 1.6;
}

.container {
    max-width: 1360px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* ========== Typography ========== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

h2 {
    font-size: 2.25rem;
    margin-bottom: var(--spacing-xl);
    color: var(--text-primary);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-primary);
}

p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

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

a:hover {
    color: var(--primary-dark);
}

/* ========== Header & Navigation ========== */
.header {
    background: white;
    border-bottom: 1px solid var(--neutral-mid);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) 0;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: transform 0.2s ease;
}

.logo:hover .logo-img {
    transform: scale(1.02);
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: var(--spacing-md);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.96);
    padding: 8px 14px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.footer-logo-link:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.footer-logo-img {
    height: 70px;
    width: auto;
    object-fit: contain;
    display: block;
}

.nav {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    transition: var(--transition);
}

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

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
}

/* ========== Desktop Products Child Dropdown Menu (Multi-Level) ========== */
.nav-item-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.nav-link-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    text-decoration: none;
    padding: 6px 0;
}

.dropdown-chevron {
    transition: transform 0.25s ease;
    stroke: currentColor;
    flex-shrink: 0;
}

.nav-item-dropdown:hover .dropdown-chevron,
.nav-item-dropdown.is-open .dropdown-chevron {
    transform: rotate(180deg);
}

/* Level 1 Child Dropdown (Main categories list) */
.dropdown-menu-child {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 280px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s ease;
    z-index: 1050;
    list-style: none;
    padding: 8px 0;
    margin: 0;
}

/* Hover bridge between nav link and dropdown */
.dropdown-menu-child::before {
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.nav-item-dropdown:hover .dropdown-menu-child,
.nav-item-dropdown:focus-within .dropdown-menu-child,
.nav-item-dropdown.is-open .dropdown-menu-child {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 4px 0;
    padding: 0;
}

.dropdown-parent-item {
    position: relative;
}

.child-menu-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 18px;
    text-decoration: none;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.18s ease;
    position: relative;
}

.child-menu-link:hover,
.dropdown-parent-item:hover > .child-menu-link,
.dropdown-parent-item.is-open > .child-menu-link {
    background: #f1f5f9;
    color: var(--primary);
}

.child-menu-all {
    font-weight: 600;
    color: var(--primary);
    background: rgba(30, 58, 138, 0.04);
}

.child-menu-all:hover {
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary-dark);
}

.child-arrow {
    transition: transform 0.2s ease;
}

.child-menu-all:hover .child-arrow {
    transform: translateX(4px);
}

.child-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
    line-height: 1.25;
}

.child-icon {
    font-size: 1.15rem;
    line-height: 1;
    flex-shrink: 0;
}

.child-title {
    line-height: 1.25;
}

.child-flyout-arrow {
    color: #94a3b8;
    transition: transform 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.dropdown-parent-item:hover > .child-menu-link .child-flyout-arrow,
.dropdown-parent-item.is-open > .child-menu-link .child-flyout-arrow {
    transform: translateX(3px);
    color: var(--primary);
}

/* Level 2 Child Submenu (Flyout to the right of parent category) */
.dropdown-submenu-child {
    position: absolute;
    top: -6px;
    left: calc(100% + 4px);
    min-width: 300px;
    max-width: 360px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 36px -6px rgba(15, 23, 42, 0.16), 0 0 0 1px rgba(15, 23, 42, 0.08);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(-8px);
    transition: opacity 0.18s ease, transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.18s ease;
    z-index: 1060;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

/* Custom sleek scrollbar for long submenus */
.dropdown-submenu-child::-webkit-scrollbar {
    width: 5px;
}
.dropdown-submenu-child::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
.dropdown-submenu-child::-webkit-scrollbar-track {
    background: transparent;
}

/* Hover bridge for submenu */
.dropdown-submenu-child::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: -12px;
    width: 12px;
}

/* Upwards flyout: for Solvents and bottom items so it opens upwards inside viewport */
.dropdown-parent-item.flyout-upwards > .dropdown-submenu-child {
    top: auto;
    bottom: -6px;
}

.dropdown-parent-item:hover > .dropdown-submenu-child,
.dropdown-parent-item.is-open > .dropdown-submenu-child {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.submenu-header {
    padding: 4px 8px 8px;
    margin-bottom: 4px;
    border-bottom: 1px solid #e2e8f0;
}

.submenu-header-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px 10px;
    border-radius: 6px;
    text-decoration: none;
    color: #0f172a;
    font-size: 0.85rem;
    background: #f8fafc;
    transition: background 0.15s ease;
}

.submenu-header-link:hover {
    background: #e2e8f0;
}

.submenu-view-cat {
    font-size: 0.76rem;
    color: var(--primary);
    font-weight: 600;
}

.submenu-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    text-decoration: none;
    color: #475569;
    font-size: 0.83rem;
    transition: all 0.15s ease;
}

.submenu-link .sub-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #94a3b8;
    flex-shrink: 0;
    transition: background-color 0.15s ease, transform 0.15s ease;
}

.submenu-name {
    flex: 1;
    line-height: 1.3;
}

.submenu-link .sub-pill {
    font-size: 0.68rem;
    color: #94a3b8;
    background: #f1f5f9;
    padding: 1px 6px;
    border-radius: 9999px;
    font-weight: 500;
}

.submenu-link:hover {
    background: rgba(30, 58, 138, 0.06);
    color: var(--primary);
    padding-left: 20px;
}

.submenu-link:hover .sub-dot {
    background: var(--primary);
    transform: scale(1.4);
}

.submenu-link:hover .sub-pill {
    color: var(--primary);
    background: rgba(30, 58, 138, 0.12);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    position: relative;
}

.header-cta {
    margin-left: 0;
    flex-shrink: 0;
}

/* Header Live Search Component */
.header-search-wrap {
    position: relative;
    width: 320px;
}

.header-search-form {
    margin: 0;
}

.search-input-group {
    display: flex;
    align-items: center;
    position: relative;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 9999px;
    padding: 3px 4px 3px 12px;
    transition: all 0.25s ease;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.04);
}

.search-input-group:focus-within {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.15), inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.search-input-icon {
    display: flex;
    align-items: center;
    color: #64748b;
    margin-right: 6px;
    flex-shrink: 0;
}

.header-search-input {
    width: 100%;
    border: none;
    background: transparent;
    font-size: 0.85rem;
    color: var(--text-primary);
    font-family: inherit;
    outline: none;
    padding: 6px 0;
}

.header-search-input::placeholder {
    color: #94a3b8;
    font-size: 0.82rem;
}

.search-clear-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.search-clear-btn:hover {
    color: #334155;
}

.search-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--primary);
    color: #ffffff;
    border: none;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    flex-shrink: 0;
    white-space: nowrap;
}

.search-submit-btn:hover {
    background: var(--primary-dark);
}

.search-submit-btn:active {
    transform: scale(0.97);
}

/* Search Dropdown / Live Results */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 460px;
    max-width: 90vw;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    z-index: 1000;
    overflow: hidden;
    animation: searchDropdownFadeIn 0.2s ease;
}

@keyframes searchDropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-dropdown-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.search-dropdown-count {
    color: var(--primary);
    font-weight: 700;
}

.search-results-list {
    max-height: 380px;
    overflow-y: auto;
    padding: 6px 0;
}

.search-results-list::-webkit-scrollbar {
    width: 6px;
}

.search-results-list::-webkit-scrollbar-track {
    background: #f1f5f9;
}

.search-results-list::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

.search-result-item {
    display: block;
    padding: 10px 14px;
    text-decoration: none;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.15s ease;
}

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

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

.search-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 4px;
}

.search-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}

.search-item-name mark {
    background-color: #fef08a;
    color: #0f172a;
    padding: 0 2px;
    border-radius: 2px;
}

.search-item-code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    background: #eff6ff;
    padding: 2px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.search-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #64748b;
}

.search-cas-tag {
    font-family: monospace;
    background: #f1f5f9;
    padding: 2px 6px;
    border-radius: 4px;
    color: #334155;
}

.search-cas-tag mark {
    background-color: #fef08a;
    color: inherit;
    padding: 0 2px;
}

.search-category-tag {
    color: #0284c7;
    background: #e0f2fe;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 500;
}

.search-purity-tag {
    color: #047857;
    background: #d1fae5;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.search-no-results,
.search-loading-state {
    padding: 28px 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

.search-loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: searchSpin 0.7s linear infinite;
    margin-bottom: 8px;
}

@keyframes searchSpin {
    to { transform: rotate(360deg); }
}

.search-dropdown-footer {
    padding: 10px 14px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.search-dropdown-footer a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.search-dropdown-footer a:hover {
    text-decoration: underline;
}

/* Mobile search box */
.mobile-search-box {
    padding: 12px 16px;
    border-bottom: 1px solid var(--neutral-mid);
    background: #f8fafc;
}

.mobile-search-form {
    display: flex;
    gap: 8px;
    margin: 0;
}

.mobile-search-input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 0.88rem;
    outline: none;
}

.mobile-search-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
}

.cta-button-small {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.cta-button-small:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-toggle,
.mobile-nav {
    display: none;
}

@media (max-width: 1200px) {
    .header-search-wrap {
        width: 240px;
    }

    .nav {
        gap: 1.15rem;
    }
}

@media (max-width: 1024px) {
    .header-search-wrap {
        width: 200px;
    }

    .nav {
        gap: 1rem;
    }

    .nav-link {
        font-size: 0.9rem;
    }

    .search-submit-btn span {
        display: none;
    }

    .search-submit-btn {
        padding: 6px 10px;
    }

    .dropdown-submenu-child {
        min-width: 260px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }

    .header-actions {
        display: none; /* Accessible in mobile drawer instead */
    }

    .header-cta {
        margin-left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: var(--spacing-sm);
    }

    .mobile-menu-toggle span {
        width: 24px;
        height: 2.5px;
        background: var(--primary);
        border-radius: 2px;
        transition: var(--transition);
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    .mobile-nav {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
        background: white;
        border-bottom: 1px solid var(--neutral-mid);
        box-shadow: var(--shadow-md);
        display: none;
    }

    .mobile-nav.active {
        display: flex;
    }

    .mobile-nav-link {
        padding: var(--spacing-md) var(--spacing-lg);
        color: var(--text-secondary);
        font-weight: 500;
        border-bottom: 1px solid var(--neutral-mid);
    }

    .mobile-nav-link:hover {
        background: var(--neutral-light);
    }

    /* Mobile Accordion Component */
    .mobile-accordion-item {
        border-bottom: 1px solid var(--neutral-mid);
    }

    .mobile-accordion-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-accordion-header .mobile-products-main-link {
        flex: 1;
        border-bottom: none;
    }

    .mobile-accordion-toggle {
        background: none;
        border: none;
        padding: var(--spacing-md) var(--spacing-lg);
        cursor: pointer;
        color: var(--text-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: transform 0.25s ease, color 0.2s ease;
    }

    .mobile-accordion-toggle svg {
        transition: transform 0.25s ease;
    }

    .mobile-accordion-toggle.active svg {
        transform: rotate(180deg);
        color: var(--primary);
    }

    .mobile-accordion-body {
        display: none;
        background: #f8fafc;
        border-top: 1px solid #e2e8f0;
        padding: 8px 12px 14px;
    }

    .mobile-accordion-body.open {
        display: block;
    }

    .mobile-all-products-link-wrap {
        padding: 6px 6px 10px;
    }

    .mobile-view-all-products {
        display: block;
        padding: 8px 12px;
        background: #ffffff;
        border: 1px solid var(--primary);
        color: var(--primary);
        font-weight: 600;
        font-size: 0.85rem;
        border-radius: 6px;
        text-align: center;
        text-decoration: none;
    }

    .mobile-cat-group {
        margin-bottom: 8px;
        background: #ffffff;
        border: 1px solid #e2e8f0;
        border-radius: 8px;
        overflow: hidden;
    }

    .mobile-cat-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 4px 6px 4px 12px;
    }

    .mobile-cat-title {
        flex: 1;
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        color: #0f172a;
        font-weight: 600;
        font-size: 0.88rem;
        padding: 6px 0;
    }

    .mobile-cat-icon {
        font-size: 1rem;
    }

    .mobile-cat-name {
        line-height: 1.25;
    }

    .mobile-cat-toggle {
        background: none;
        border: none;
        padding: 8px 10px;
        cursor: pointer;
        color: #64748b;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .mobile-cat-toggle svg {
        transition: transform 0.2s ease;
    }

    .mobile-cat-toggle.open svg {
        transform: rotate(180deg);
        color: var(--primary);
    }

    .mobile-sub-list {
        display: none;
        list-style: none;
        padding: 0 0 6px 0;
        margin: 0;
        background: #f8fafc;
        border-top: 1px dashed #e2e8f0;
    }

    .mobile-sub-list.open {
        display: block;
    }

    .mobile-sub-link {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 7px 14px 7px 20px;
        text-decoration: none;
        color: #475569;
        font-size: 0.82rem;
        border-bottom: 1px solid #f1f5f9;
    }

    .mobile-sub-link:last-child {
        border-bottom: none;
    }

    .mobile-sub-count {
        font-size: 0.7rem;
        background: #e2e8f0;
        color: #475569;
        padding: 1px 6px;
        border-radius: 9999px;
        font-weight: 600;
    }
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    display: flex;
    align-items: center;
}

.hero-slides {
    position: relative;
    width: 100%;
    min-height: 85vh;
    overflow: hidden;
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    z-index: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.90) 42%, rgba(255, 255, 255, 0.40) 65%, rgba(255, 255, 255, 0.05) 100%);
    z-index: 1;
    pointer-events: none;
}

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

.slide .container {
    position: relative;
    z-index: 3;
    width: 100%;
}

.slide-1 {
    background-image: url('../images/banner1.png');
    background-color: #f8fafc;
}

.slide-2 {
    background-image: url('../images/banner2.png');
    background-color: #f8fafc;
}

.slide-3 {
    background-image: url('../images/banner3.png');
    background-color: #f8fafc;
}

.slide-content {
    text-align: left;
    max-width: 650px;
    padding: var(--spacing-2xl) 0;
}

.slide-content h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.slide-content p {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xl);
}

.slide-actions {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    flex-wrap: wrap;
}

.cta-button-outline {
    display: inline-block;
    padding: 0.95rem 1.85rem;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
}

.cta-button-outline:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-xl);
    color: white;
}

.slide-controls {
    position: absolute;
    bottom: var(--spacing-xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: var(--spacing-md);
    z-index: 10;
}

.dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: rgba(30, 58, 138, 0.25);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

@media (max-width: 768px) {
    .hero,
    .hero-slides {
        min-height: 65vh;
    }

    .logo-img {
        height: 75px;
    }

    .slide::before {
        background: rgba(255, 255, 255, 0.92);
    }

    .slide-content {
        padding: var(--spacing-lg) 0;
    }

    .slide-content h1 {
        font-size: 2.2rem;
    }

    .slide-content p {
        font-size: 1.05rem;
    }
}

/* ========== About Section ========== */
.about,
.about-full {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.about-grid,
.about-grid-full {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
    align-items: center;
}

.about-image {
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--secondary-light) 100%);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-2xl);
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-large {
    background: transparent;
    padding: 0;
    min-height: auto;
    display: block;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.image-placeholder svg {
    max-width: 100%;
    height: auto;
}

.about-content,
.about-text-large {
    padding: var(--spacing-lg) 0;
}

.about-content h2,
.about-text-large h2 {
    margin-bottom: var(--spacing-lg);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.feature {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.5rem;
    color: var(--secondary);
    font-weight: bold;
    flex-shrink: 0;
}

.feature span:last-child {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .about-grid,
    .about-grid-full {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
}

/* ========== Products Section ========== */
.products {
    padding: var(--spacing-2xl) 0;
    background: var(--neutral-light);
}

.products .container h2 {
    text-align: center;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-2xl);
}

.products-scroll {
    position: relative;
    overflow: hidden;
}

.products-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-lg) 0;
}

.product-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 1px solid var(--neutral-mid);
}

/* ========== Product Card on Index ========== */
.product-card {
    background: white;
    border: 2px solid var(--neutral-mid);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

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

.main-category-card {
    cursor: pointer;
}

.product-card-img-wrap {
    position: relative;
    width: 100%;
    height: 190px;
    background: #0f172a;
    overflow: hidden;
}

.product-card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.product-icon-overlay {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-md);
}

.product-badge-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    color: #38bdf8;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(56, 189, 248, 0.35);
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.product-card-body {
    padding: var(--spacing-lg);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-xs);
    color: var(--primary);
    transition: color 0.2s ease;
}

.product-card:hover .product-card-body h3 {
    color: var(--secondary);
}

.product-card-body p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.55;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-top: auto;
    color: var(--secondary);
    font-weight: 600;
    font-size: 0.92rem;
    transition: var(--transition);
    text-decoration: none;
}

.product-card:hover .product-link {
    color: var(--primary);
    transform: translateX(4px);
}

/* ========== Products Main Page Grid & Catalog ========== */
.products-catalog-section {
    padding: var(--spacing-2xl) 0;
    background: white;
}

.section-heading-box {
    text-align: center;
    max-width: 780px;
    margin: 0 auto var(--spacing-2xl);
}

.section-tag {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: var(--secondary-light);
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: var(--spacing-sm);
}

.section-title {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: var(--spacing-sm);
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.products-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--spacing-xl);
}

.product-feature-card {
    background: white;
    border: 2px solid var(--neutral-mid);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.product-feature-card:hover {
    border-color: var(--secondary);
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.card-media-wrapper {
    position: relative;
    width: 100%;
    height: 220px;
    background: #0f172a;
    overflow: hidden;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: rgba(15, 23, 42, 0.85);
    color: #38bdf8;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(56, 189, 248, 0.3);
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.product-feature-card .card-body {
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-header-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: var(--spacing-sm);
}

.card-icon-emoji {
    font-size: 1.8rem;
}

.card-title {
    font-size: 1.35rem;
    color: var(--primary);
    margin: 0;
    line-height: 1.3;
}

.card-desc {
    font-size: 0.94rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
    flex-grow: 1;
}

.card-sub-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: var(--spacing-lg);
}

.sub-pill {
    padding: 0.35rem 0.75rem;
    background: var(--neutral-light);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.sub-pill:hover {
    background: var(--secondary-light);
    border-color: var(--secondary);
    color: var(--primary-dark);
}

.card-action-bar {
    margin-top: auto;
}

.btn-view-products {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.2rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.btn-view-products:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    color: white;
}

.btn-view-products .arrow-icon {
    transition: transform 0.3s ease;
}

.btn-view-products:hover .arrow-icon {
    transform: translateX(4px);
}

/* ========== Breadcrumb Navigation on Inner Banner ========== */
.inner-banner-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.breadcrumb-nav {
    margin-bottom: var(--spacing-md);
}

.breadcrumb-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    list-style: none;
    padding: 0.45rem 1rem;
    margin: 0;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
    border-radius: 999px;
    border: 1px solid var(--neutral-mid);
    font-size: 0.85rem;
}

.breadcrumb-item a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.breadcrumb-item a:hover {
    color: var(--secondary);
}

.breadcrumb-item.active {
    color: var(--text-secondary);
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 0.55rem;
    color: var(--neutral-dark);
    user-select: none;
}

.page-hero .hero-title {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    font-weight: 700;
}

.page-hero .hero-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

/* ========== Exclusive Product Pages Hero Banner with product-inner.png + Gradient Shade ========== */
.page-hero.product-page-hero {
    position: relative;
    background-image: url('../images/product-inner.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    padding: 3.5rem 0 3.8rem;
    overflow: hidden;
    border-bottom: 2px solid rgba(15, 23, 42, 0.15);
}

/* Dark elegant gradient shade overlay for pristine readability */
.page-hero.product-page-hero .product-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 25, 60, 0.88) 0%,
        rgba(15, 23, 42, 0.82) 50%,
        rgba(6, 78, 59, 0.85) 100%
    );
    backdrop-filter: blur(2px);
    z-index: 1;
}

.page-hero.product-page-hero .product-hero-container {
    position: relative;
    z-index: 2;
}

.page-hero.product-page-hero .breadcrumb-list {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
}

.page-hero.product-page-hero .breadcrumb-item a {
    color: #cbd5e1;
}

.page-hero.product-page-hero .breadcrumb-item a:hover {
    color: #ffffff;
}

.page-hero.product-page-hero .breadcrumb-separator {
    color: rgba(255, 255, 255, 0.4);
}

.page-hero.product-page-hero .breadcrumb-item.active {
    color: #6ee7b7;
    font-weight: 600;
}

.page-hero.product-page-hero .hero-title {
    color: #ffffff;
    font-size: 2.75rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
    margin-bottom: 0.6rem;
}

.page-hero.product-page-hero .hero-subtitle {
    color: #e2e8f0;
    font-size: 1.15rem;
    line-height: 1.6;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
    max-width: 720px;
}

/* About Us page uses its own banner image with the same overlay + white text */
.page-hero.about-page-hero {
    background-image: url('../images/aboutus-banner.png');
}

/* ========== Category Detail View (Clean Layout with Subcategory Sidebar) ========== */
.category-detail-section {
    padding: var(--spacing-xl) 0 var(--spacing-2xl);
    background: #f8fafc;
}

/* Two-column Catalog Layout: Left Sidebar + Right Products Table */
.product-catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 1.5rem;
    align-items: start;
    margin-bottom: var(--spacing-2xl);
}

/* Left Sidebar Styles */
.catalog-sidebar {
    background: #ffffff;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    position: sticky;
    top: 90px;
}

.sidebar-category-header {
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
}

.sidebar-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.25rem 0.65rem;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 0.5rem;
}

.sidebar-cat-title {
    font-size: 1.25rem;
    color: #ffffff;
    margin: 0 0 0.6rem 0;
    line-height: 1.3;
}

.sidebar-all-cats-link {
    display: inline-flex;
    align-items: center;
    font-size: 0.8rem;
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.15s ease;
}

.sidebar-all-cats-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

.sidebar-subcategories-menu {
    padding: var(--spacing-md) var(--spacing-sm);
}

.sidebar-menu-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0.8rem 0.6rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 0.4rem;
}

.sub-count-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.1rem 0.5rem;
    background: #e2e8f0;
    color: #475569;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
}

.sidebar-sub-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-sub-item {
    margin-bottom: 2px;
}

.sidebar-sub-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0.9rem;
    color: #334155;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.15s ease;
    border-left: 3px solid transparent;
}

.sidebar-sub-link:hover {
    background: #f8fafc;
    color: var(--primary);
    border-left-color: #cbd5e1;
}

.sidebar-sub-link.active {
    background: #f0fdf4;
    color: #065f46;
    font-weight: 600;
    border-left-color: var(--secondary);
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.08);
}

.sub-link-name {
    flex: 1;
    padding-right: 0.5rem;
    line-height: 1.35;
}

.sub-link-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.15s ease;
}

.sidebar-sub-link.active .sub-link-count {
    background: var(--secondary);
    color: #ffffff;
}

.sidebar-help-card {
    margin: var(--spacing-md) var(--spacing-sm) var(--spacing-sm);
    padding: var(--spacing-md);
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px dashed #a7f3d0;
    border-radius: 10px;
}

.sidebar-help-card h4 {
    font-size: 0.88rem;
    color: #065f46;
    margin: 0 0 0.35rem 0;
    font-weight: 700;
}

.sidebar-help-card p {
    font-size: 0.78rem;
    color: #047857;
    margin: 0 0 0.75rem 0;
    line-height: 1.45;
}

.btn-sidebar-quote {
    display: block;
    text-align: center;
    padding: 0.45rem 0.8rem;
    background: #059669;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.15s ease;
}

.btn-sidebar-quote:hover {
    background: #047857;
    color: #ffffff;
}

/* Right Main Content Area */
.catalog-main-content {
    min-width: 0;
}

/* Products Table Styles */
.product-table-wrapper {
    margin-bottom: var(--spacing-2xl);
}

.table-card {
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--neutral-mid);
    overflow: hidden;
}

.table-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-bottom: 2px solid var(--neutral-mid);
}

.table-sub-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--secondary);
    margin-bottom: var(--spacing-xs);
}

.table-title {
    font-size: 1.6rem;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
}

.table-desc {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    max-width: 700px;
}

.items-count-badge {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    background: white;
    color: var(--primary);
    border: 1px solid var(--neutral-dark);
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 700;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.products-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.88rem;
    table-layout: auto;
}

.products-table th {
    background: #0f172a;
    color: #f8fafc;
    padding: 0.75rem 0.65rem;
    font-weight: 600;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    border: none;
}

.products-table td {
    padding: 0.75rem 0.65rem;
    border-bottom: 1px solid #e2e8f0;
    vertical-align: middle;
    color: var(--text-primary);
}

.products-table tbody tr {
    transition: background-color 0.15s ease;
}

.products-table tbody tr:hover {
    background-color: #f8fafc;
}

.products-table tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

.products-table tbody tr:nth-child(even):hover {
    background-color: #f1f5f9;
}

.cell-code {
    white-space: nowrap;
    width: 90px;
}

.product-code-pill {
    display: inline-block;
    padding: 0.2rem 0.45rem;
    background: #e0f2fe;
    color: #0369a1;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.78rem;
    font-weight: 700;
}

.cell-name {
    min-width: 140px;
}

.cell-name strong {
    color: var(--primary);
    font-size: 0.9rem;
    display: block;
    line-height: 1.35;
}

.cell-cas {
    white-space: nowrap;
    width: 105px;
}

.cell-cas code {
    font-family: monospace;
    background: #f1f5f9;
    padding: 0.15rem 0.35rem;
    border-radius: 4px;
    color: #475569;
    font-size: 0.78rem;
    display: inline-block;
}

.cell-purity {
    white-space: nowrap;
    width: 80px;
}

.purity-badge {
    display: inline-block;
    padding: 0.2rem 0.5rem;
    background: #dcfce7;
    color: #15803d;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.cell-grade {
    color: #334155;
    font-size: 0.8rem;
    font-weight: 500;
    min-width: 110px;
    line-height: 1.35;
}

.cell-pack {
    color: #475569;
    font-size: 0.8rem;
    white-space: nowrap;
    width: 95px;
}

.cell-app {
    color: var(--text-secondary);
    font-size: 0.8rem;
    max-width: 160px;
    line-height: 1.35;
}

/* Sticky Action Column so Inquire button is ALWAYS directly visible */
.cell-action,
.products-table th:last-child {
    position: sticky;
    right: 0;
    z-index: 2;
    text-align: center;
    width: 95px;
    min-width: 95px;
}

.products-table th:last-child {
    background: #0f172a;
    box-shadow: -3px 0 6px rgba(0, 0, 0, 0.15);
}

.cell-action {
    background: #ffffff;
    box-shadow: -3px 0 6px rgba(15, 23, 42, 0.05);
}

.products-table tbody tr:hover .cell-action {
    background-color: #f8fafc;
}

.products-table tbody tr:nth-child(even) .cell-action {
    background-color: #fafbfc;
}

.products-table tbody tr:nth-child(even):hover .cell-action {
    background-color: #f1f5f9;
}

.btn-table-inquire {
    padding: 0.42rem 0.85rem;
    background: linear-gradient(135deg, var(--secondary), #059669);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.25);
}

.btn-table-inquire:hover {
    background: #047857;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(16, 185, 129, 0.35);
}

.table-footer-note {
    padding: var(--spacing-lg) var(--spacing-xl);
    background: #f8fafc;
    border-top: 1px solid var(--neutral-mid);
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.table-footer-note a {
    color: var(--secondary);
    font-weight: 600;
    text-decoration: underline;
}

/* Other Categories Switcher Bar (Horizontal Scrollable) */
.other-categories-bar {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--neutral-mid);
    box-shadow: var(--shadow-sm);
    position: relative;
}

.other-cat-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: var(--spacing-lg);
    gap: var(--spacing-md);
}

.other-cat-header-flex h3 {
    font-size: 1.4rem;
    color: var(--primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.other-cat-subtitle {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin: 0;
}

.other-scroll-arrows {
    display: flex;
    gap: 0.5rem;
}

.scroll-arrow-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--neutral-light);
    border: 1px solid var(--neutral-dark);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

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

.other-cat-scroll-track {
    display: flex;
    gap: var(--spacing-md);
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: var(--spacing-sm);
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--secondary) #e2e8f0;
}

.other-cat-scroll-track::-webkit-scrollbar {
    height: 6px;
}

.other-cat-scroll-track::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

.other-cat-scroll-track::-webkit-scrollbar-thumb {
    background: var(--secondary);
    border-radius: 4px;
}

.other-cat-card {
    flex: 0 0 290px;
    display: flex;
    flex-direction: column;
    background: var(--neutral-light);
    border: 1px solid var(--neutral-mid);
    border-radius: var(--border-radius);
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
}

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

.other-cat-card .other-cat-img-box {
    position: relative;
    width: 100%;
    height: 125px;
    background: #0f172a;
    overflow: hidden;
}

.other-cat-card .other-cat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.other-cat-card:hover .other-cat-img-box img {
    transform: scale(1.06);
}

.other-cat-card .other-cat-icon {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(255, 255, 255, 0.95);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    box-shadow: var(--shadow-sm);
}

.other-cat-card .other-cat-info {
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.other-cat-badge {
    display: inline-block;
    align-self: flex-start;
    padding: 0.15rem 0.55rem;
    background: var(--secondary-light);
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.other-cat-card .other-cat-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    line-height: 1.3;
}

.other-cat-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: var(--spacing-sm);
    flex-grow: 1;
}

.other-cat-card .other-cat-link {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--secondary);
    margin-top: auto;
    transition: color 0.2s ease;
}

.other-cat-card:hover .other-cat-link {
    color: var(--primary);
}

@media (max-width: 900px) {
    .product-catalog-layout {
        grid-template-columns: 1fr;
    }
    .catalog-sidebar {
        position: static;
        top: auto;
    }
    .sidebar-sub-list {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
    }
    .sidebar-sub-item {
        margin-bottom: 0;
    }
    .sidebar-sub-link {
        border-left: none;
        border-radius: 999px;
        background: #f1f5f9;
        padding: 0.45rem 0.85rem;
        gap: 0.4rem;
    }
    .sidebar-sub-link.active {
        background: var(--primary);
        color: #ffffff;
        border-left: none;
    }
    .sidebar-sub-link.active .sub-link-count {
        background: rgba(255, 255, 255, 0.25);
        color: #ffffff;
    }
    .sidebar-help-card {
        display: none;
    }
    .cell-app {
        display: none;
    }
    .products-table th:nth-child(7) {
        display: none;
    }
}

/* ========== Quality Section ========== */
.quality {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--secondary-light) 100%);
}

.quality h2 {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.quality-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
}

.quality-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.quality-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.quality-card h3 {
    margin-bottom: var(--spacing-md);
}

.quality-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* ========== Page Hero ========== */
.page-hero {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #F0F9FF 0%, #ECFDF5 100%);
    text-align: center;
    border-bottom: 2px solid var(--neutral-mid);
}

.page-hero h1,
.page-hero .hero-title {
    color: var(--primary);
    margin-bottom: var(--spacing-xs);
    font-size: 2.4rem;
}

.page-hero p,
.page-hero .hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
}

/* ========== Refined About Page Sections ========== */
.about-photo-wrapper {
    position: relative;
    border-radius: 20px;
    overflow: visible;
}

.about-story-img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    border-radius: 20px;
    display: block;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.15);
    border: 1px solid #e2e8f0;
}

.about-floating-card {
    position: absolute;
    bottom: -18px;
    right: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 12px 30px -5px rgba(15, 23, 42, 0.15);
    border-radius: 14px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.about-card-icon {
    font-size: 1.6rem;
}

.about-card-info {
    display: flex;
    flex-direction: column;
}

.about-card-info strong {
    font-size: 0.92rem;
    color: var(--primary);
}

.about-card-info span {
    font-size: 0.78rem;
    color: var(--secondary);
    font-weight: 600;
}

.section-tag-pill {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
}

.about-heading-clean {
    font-size: 2.2rem;
    color: var(--primary);
    line-height: 1.25;
    margin-bottom: var(--spacing-md);
}

.lead-text {
    font-size: 1.08rem;
    color: #334155;
    line-height: 1.7;
    margin-bottom: var(--spacing-md);
    font-weight: 500;
}

.about-key-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: var(--spacing-lg) 0 var(--spacing-xl);
    padding: var(--spacing-md);
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid var(--secondary);
}

.key-point {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #d1fae5;
    color: #065f46;
    font-size: 0.78rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

.key-point strong {
    display: block;
    font-size: 0.92rem;
    color: var(--primary);
}

.key-point span {
    font-size: 0.85rem;
    color: #64748b;
}

.about-actions-row {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* About Stats Strip */
.about-stats-strip {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    padding: var(--spacing-xl) 0;
}

.stats-strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    text-align: center;
}

.stat-strip-box {
    padding: var(--spacing-md);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-strip-box:last-child {
    border-right: none;
}

.stat-strip-num {
    display: block;
    font-family: var(--font-display);
    font-size: 2.3rem;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 4px;
}

.stat-strip-label {
    font-size: 0.88rem;
    color: #cbd5e1;
    font-weight: 500;
}

/* Headings Helpers for Clean Sections */
.section-heading-clean {
    max-width: 650px;
    margin: 0 auto var(--spacing-2xl);
}

.section-heading-clean h2 {
    font-size: 2rem;
    color: var(--primary);
    margin: 0.4rem 0 0.6rem;
}

.section-lead-clean {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

/* Vision & Mission Cards */
.vision-mission {
    padding: var(--spacing-2xl) 0;
    background: #f8fafc;
}

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

.vm-card {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
    border: 1px solid #e2e8f0;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    text-align: left;
}

.vm-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 35px -6px rgba(15, 23, 42, 0.1);
}

.vm-icon-bubble {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    flex-shrink: 0;
}

.vision-card {
    border-left: 4px solid var(--primary);
}

.vision-card .vm-icon-bubble {
    background: #eff6ff;
}

.mission-card {
    border-left: 4px solid var(--secondary);
}

.mission-card .vm-icon-bubble {
    background: #ecfdf5;
}

.vm-card-content h3 {
    font-size: 1.35rem;
    color: var(--primary);
    margin: 0 0 0.5rem;
}

.vm-card-content p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.65;
    margin: 0;
}

/* Values Grid */
.values {
    padding: var(--spacing-2xl) 0;
    background: #ffffff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.value-card {
    background: #f8fafc;
    padding: var(--spacing-xl) var(--spacing-lg);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    text-align: left;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.value-card:hover {
    transform: translateY(-6px);
    background: #ffffff;
    box-shadow: 0 15px 30px -5px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

.value-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: var(--spacing-md);
}

.icon-blue { background: #dbeafe; }
.icon-green { background: #d1fae5; }
.icon-teal { background: #ccfbf1; }
.icon-purple { background: #ede9fe; }

.value-card h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Why Choose Us & Bottom CTA */
.why-choose {
    padding: var(--spacing-2xl) 0;
    background: #f8fafc;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.feature-item {
    background: #ffffff;
    padding: var(--spacing-xl);
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px -2px rgba(15, 23, 42, 0.04);
    transition: all 0.25s ease;
}

.feature-item:hover {
    transform: translateY(-6px);
    border-color: var(--secondary);
    box-shadow: 0 16px 30px -6px rgba(16, 185, 129, 0.12);
}

.feature-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.feature-number {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: #cbd5e1;
    line-height: 1;
}

.feature-mini-icon {
    font-size: 1.5rem;
}

.feature-item h3 {
    font-size: 1.15rem;
    color: var(--primary);
    margin-bottom: 0.6rem;
}

.feature-item p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0;
}

/* About Bottom CTA Banner */
.about-cta-banner {
    background: linear-gradient(135deg, var(--primary) 0%, #1e3a8a 100%);
    color: #ffffff;
    border-radius: 20px;
    padding: var(--spacing-2xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-xl);
    box-shadow: 0 20px 40px -10px rgba(30, 58, 138, 0.25);
}

.about-cta-content h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 0.5rem;
}

.about-cta-content p {
    font-size: 0.95rem;
    color: #93c5fd;
    margin: 0;
    max-width: 650px;
}

.about-cta-btn-wrap {
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .stats-strip-grid,
    .values-grid,
    .features-list {
        grid-template-columns: repeat(2, 1fr);
    }
    .about-cta-banner {
        flex-direction: column;
        text-align: center;
    }
    .about-cta-content p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .about-grid-full,
    .vm-grid {
        grid-template-columns: 1fr;
    }
    .stats-strip-grid,
    .values-grid,
    .features-list {
        grid-template-columns: 1fr;
    }
    .stat-strip-box {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    .stat-strip-box:last-child {
        border-bottom: none;
    }
    .about-story-img {
        height: 280px;
    }
}

/* ========== Modern Contact Preview (Homepage) ========== */
.contact-preview-modern {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #edf4fc 100%);
    border-top: 1px solid #e2e8f0;
}

/* ========== Modern Split Contact Section (Homepage) ========== */
.contact-preview-modern {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(180deg, #f8fafc 0%, #edf4fc 100%);
    border-top: 1px solid #e2e8f0;
}

/* Two-column layout: Left Details + Right Form */
.home-contact-split-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.25rem;
    align-items: stretch;
}

/* Left Side: Details */
.home-contact-details-side {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06), 0 0 0 1px rgba(15, 23, 42, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.details-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.contact-details-header h3 {
    font-size: 1.45rem;
    color: var(--primary);
    margin: 0 0 8px 0;
}

.details-lead {
    font-size: 0.92rem;
    color: #64748b;
    line-height: 1.55;
    margin: 0 0 1.5rem 0;
}

.details-items-list {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
    margin-bottom: 1.5rem;
}

.detail-item-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #f1f5f9;
    transition: all 0.2s ease;
}

.detail-item-box:hover {
    background: #ffffff;
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.dib-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dib-blue {
    background: #eff6ff;
    color: #1d4ed8;
}

.dib-green {
    background: #ecfdf5;
    color: #059669;
}

.dib-amber {
    background: #fffbeb;
    color: #d97706;
}

.dib-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.dib-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
    margin-bottom: 2px;
}

.dib-value-link {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--primary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.dib-value-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

.dib-address {
    font-style: normal;
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    line-height: 1.45;
}

.dib-hint {
    font-size: 0.76rem;
    color: #94a3b8;
    margin-top: 2px;
}

.details-trust-box {
    padding-top: 1.25rem;
    border-top: 1px dashed #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.dt-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #334155;
    font-weight: 500;
}

.dt-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #d1fae5;
    color: #047857;
    font-size: 0.72rem;
    font-weight: 800;
    flex-shrink: 0;
}

/* Right Side: Form Card */
.home-contact-form-side {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.25rem;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

.home-form-header {
    margin-bottom: 1.5rem;
}

.form-tag {
    display: inline-block;
    padding: 3px 9px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.home-form-header h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin: 0 0 6px 0;
}

.home-form-header p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

.home-quick-form {
    display: flex;
    flex-direction: column;
    gap: 1.1rem;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.1rem;
}

.h-form-group {
    display: flex;
    flex-direction: column;
}

.h-form-group label {
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 5px;
}

.h-form-group .req {
    color: #ef4444;
}

.h-form-group input,
.h-form-group select,
.h-form-group textarea {
    width: 100%;
    padding: 10px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #0f172a;
    font-family: inherit;
    background: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
}

.h-form-group input:focus,
.h-form-group select:focus,
.h-form-group textarea:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.h-form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.h-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}

.btn-home-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    padding: 0.75rem 1.6rem;
}

.btn-arrow {
    transition: transform 0.2s ease;
}

.btn-home-submit:hover .btn-arrow {
    transform: translateX(4px);
}

.h-security-note {
    font-size: 0.76rem;
    color: #94a3b8;
}

/* Success & Error State Alerts */
.home-success-state {
    padding: 2rem 1.5rem;
    text-align: center;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 14px;
}

.h-success-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #059669;
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.home-success-state h4 {
    font-size: 1.25rem;
    color: #065f46;
    margin: 0 0 0.5rem 0;
}

.home-success-state p {
    font-size: 0.9rem;
    color: #047857;
    margin: 0 0 1.25rem 0;
}

.home-error-state {
    padding: 10px 14px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    color: #b91c1c;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.home-error-state ul {
    margin: 0;
    padding-left: 20px;
}

@media (max-width: 992px) {
    .home-contact-split-layout {
        grid-template-columns: 1fr;
    }
    .form-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ========== Contact Section ========== */
.contact-preview,
.contact-section {
    padding: var(--spacing-2xl) 0;
}

.contact-preview {
    background: linear-gradient(135deg, var(--neutral-light) 0%, var(--secondary-light) 100%);
}

.contact-preview h2,
.contact-section h2 {
    text-align: center;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
}

.contact-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.contact-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
}

.contact-card p {
    margin-bottom: var(--spacing-sm);
}

.contact-card a {
    color: var(--secondary);
    font-weight: 600;
}

.contact-preview .cta-button {
    display: block;
    margin: var(--spacing-xl) auto 0;
    width: fit-content;
}

/* ========== Contact Form Section ========== */
.contact-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--spacing-2xl);
}

.contact-form-container {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.contact-form-container h2 {
    margin-top: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

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

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

.form-group label {
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: var(--spacing-md);
    border: 2px solid var(--neutral-mid);
    border-radius: var(--border-radius);
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: var(--transition);
    color: var(--text-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.contact-form button {
    margin-top: var(--spacing-md);
}

.error-messages {
    background: #FEE2E2;
    border: 2px solid #FCA5A5;
    border-radius: var(--border-radius);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.error-item {
    color: #DC2626;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
}

.error-item:last-child {
    margin-bottom: 0;
}

.success-message {
    text-align: center;
    padding: var(--spacing-2xl);
    background: #ECFDF5;
    border: 2px solid #86EFAC;
    border-radius: var(--border-radius-lg);
}

.success-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
}

.success-message h3 {
    color: #16A34A;
    margin-bottom: var(--spacing-md);
}

.success-message p {
    color: #15803D;
    margin-bottom: var(--spacing-lg);
}

.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.contact-info-container h2 {
    margin-top: 0;
    font-size: 1.5rem;
}

.info-card {
    background: linear-gradient(135deg, white 0%, var(--neutral-light) 100%);
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    border-left: 4px solid var(--secondary);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-md);
}

.info-card h3 {
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
}

.info-card p {
    margin-bottom: var(--spacing-sm);
    font-size: 0.95rem;
}

.info-card p:last-child {
    margin-bottom: 0;
}

.info-link {
    color: var(--secondary);
    font-weight: 600;
    display: inline-block;
    margin-top: var(--spacing-sm);
}

.info-link:hover {
    color: var(--primary);
}

.info-subtext {
    font-size: 0.85rem;
    color: var(--text-secondary) !important;
}

@media (max-width: 768px) {
    .contact-layout,
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ========== FAQ Section ========== */
.faq {
    padding: var(--spacing-2xl) 0;
    background: var(--neutral-light);
}

.faq h2 {
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.faq-item {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border-left: 4px solid var(--primary);
}

.faq-item:hover {
    border-left-color: var(--secondary);
    box-shadow: var(--shadow-md);
}

.faq-item h3 {
    font-size: 1.1rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.faq-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.product-specs {
    padding: var(--spacing-2xl) 0;
    background: var(--neutral-light);
}

.product-specs h2 {
    text-align: center;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
}

.spec-card {
    background: white;
    padding: var(--spacing-lg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

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

.spec-card h3 {
    margin-bottom: var(--spacing-md);
    color: var(--primary);
}

.spec-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ========== Modern Redesigned Footer ========== */
.footer {
    background: linear-gradient(180deg, #0f172a 0%, #090d16 100%);
    color: #e2e8f0;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

/* Footer Top Strip: 4 Feature Highlights */
.footer-top-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.footer-feature-pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-feature-pill:hover {
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    border-color: rgba(52, 211, 153, 0.3);
}

.ffp-icon {
    font-size: 1.6rem;
    flex-shrink: 0;
}

.ffp-text {
    display: flex;
    flex-direction: column;
}

.ffp-text strong {
    font-size: 0.88rem;
    color: #ffffff;
    line-height: 1.3;
}

.ffp-text span {
    font-size: 0.74rem;
    color: #94a3b8;
}

/* Main Footer 4 Columns */
.footer-content {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-xl);
}

.footer-section h4 {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    position: relative;
    padding-bottom: 8px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 28px;
    height: 2px;
    background: var(--secondary);
    border-radius: 2px;
}

.footer-brand-col {
    padding-right: var(--spacing-md);
}

.footer-slogan {
    color: #38bdf8 !important;
    font-weight: 600;
    font-size: 0.95rem !important;
    margin-bottom: 8px !important;
}

.tagline {
    font-size: 0.86rem !important;
    color: #94a3b8 !important;
    line-height: 1.6;
    margin-bottom: 14px !important;
}

.footer-cert-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.f-cert {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #cbd5e1;
    letter-spacing: 0.02em;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
    margin: 0;
}

.footer-links a {
    color: #94a3b8;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #34d399;
    transform: translateX(4px);
}

/* Footer Contact Details */
.footer-contact-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.f-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.f-ci-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.f-ci-address {
    font-style: normal;
    font-size: 0.88rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.f-ci-text {
    display: flex;
    flex-direction: column;
}

.f-phone-link,
.f-mail-link {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.f-phone-link:hover,
.f-mail-link:hover {
    color: #34d399;
    text-decoration: underline;
}

.f-subnote {
    font-size: 0.74rem;
    color: #64748b;
    margin-top: 2px;
}

.footer-divider {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin: var(--spacing-xl) 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-sm);
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-bottom p {
    margin-bottom: 0;
    color: #94a3b8;
    font-size: 0.86rem;
}

.footer-meta {
    display: flex;
    gap: var(--spacing-lg);
}

.footer-meta a {
    color: #94a3b8;
    font-size: 0.86rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-meta a:hover {
    color: #34d399;
}

@media (max-width: 1024px) {
    .footer-top-strip {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
}

@media (max-width: 768px) {
    .footer-top-strip {
        grid-template-columns: 1fr;
    }
    .footer-content {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    .footer-meta {
        justify-content: center;
    }
}

/* ========== Responsive Design ========== */
@media (max-width: 1024px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    h1 {
        font-size: 2.25rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .slide-content h1 {
        font-size: 1.5rem;
    }
    
    .slide-content p {
        font-size: 0.95rem;
    }
}

/* ========== Utility Classes ========== */
.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--spacing-lg);
}

.mb-lg {
    margin-bottom: var(--spacing-lg);
}


/* ========== Redesigned Modern Contact Page Styles ========== */
.contact-hero {
    background: linear-gradient(135deg, #eff6ff 0%, #f0fdf4 50%, #f8fafc 100%);
    padding: 3.5rem 0 3rem;
    position: relative;
    border-bottom: 1px solid #e2e8f0;
}

.contact-pill-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(30, 58, 138, 0.08);
    color: var(--primary);
    border: 1px solid rgba(30, 58, 138, 0.15);
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Quick Strip Cards */
.contact-quick-strip {
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
    padding-bottom: 2rem;
}

.quick-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.quick-contact-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 4px 6px -2px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px -6px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

.q-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.q-icon-blue {
    background: #eff6ff;
    color: #1e40af;
}

.q-icon-green {
    background: #ecfdf5;
    color: #059669;
}

.q-icon-amber {
    background: #fffbeb;
    color: #d97706;
}

.q-icon-purple {
    background: #f5f3ff;
    color: #7c3aed;
}

.q-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.q-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 2px;
}

.q-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.15s ease;
}

.q-value:hover {
    color: var(--primary);
}

.q-value-text {
    font-size: 0.92rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.q-note {
    font-size: 0.76rem;
    color: #94a3b8;
    margin-top: 3px;
    line-height: 1.25;
}

/* Main Section: Form & Sidebar */
.contact-main-section {
    padding: 2.5rem 0 4rem;
}

.contact-grid-wrapper {
    display: grid;
    grid-template-columns: 1.8fr 1.2fr;
    gap: 2.25rem;
    align-items: start;
}

/* Glassmorphic Form Card */
.contact-form-glass-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
}

.form-card-header {
    margin-bottom: 2rem;
}

.form-header-badge {
    display: inline-block;
    padding: 4px 10px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.form-card-header h2 {
    font-size: 1.85rem;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.form-card-header p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-floating-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 1.25rem;
}

.form-floating-group:last-child {
    margin-bottom: 0;
}

.form-floating-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 6px;
}

.req-star {
    color: #ef4444;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.field-icon {
    position: absolute;
    left: 14px;
    color: #94a3b8;
    display: flex;
    align-items: center;
    pointer-events: none;
    transition: color 0.2s ease;
}

.input-with-icon input {
    width: 100%;
    padding: 11px 14px 11px 42px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #0f172a;
    font-family: inherit;
    background: #f8fafc;
    transition: all 0.2s ease;
    outline: none;
}

.input-with-icon input:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.input-with-icon input:focus + .field-icon,
.input-with-icon:focus-within .field-icon {
    color: var(--primary);
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #0f172a;
    font-family: inherit;
    background: #f8fafc;
    outline: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-wrapper select:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.form-floating-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.92rem;
    color: #0f172a;
    font-family: inherit;
    background: #f8fafc;
    outline: none;
    transition: all 0.2s ease;
    resize: vertical;
    min-height: 120px;
}

.form-floating-group textarea:focus {
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.12);
}

.form-submit-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.contact-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #ffffff;
    border: none;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(30, 58, 138, 0.3);
    transition: all 0.2s ease;
}

.contact-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
    background: linear-gradient(135deg, #1d4ed8, #1e3a8a);
}

.contact-submit-btn:active {
    transform: translateY(0);
}

.form-security-note {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: #64748b;
}

/* Success & Error State Banners */
.modern-success-card {
    text-align: center;
    padding: 3rem 2rem;
    background: #f0fdf4;
    border-radius: 16px;
    border: 1.5px solid #bbf7d0;
}

.success-icon-animated {
    width: 64px;
    height: 64px;
    background: #dcfce7;
    color: #16a34a;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.modern-success-card h3 {
    color: #15803d;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modern-success-card p {
    color: #166534;
    max-width: 520px;
    margin: 0 auto 1.5rem;
    font-size: 0.95rem;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button-outline-small {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    border: 1.5px solid #16a34a;
    color: #15803d;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
    transition: var(--transition);
    text-decoration: none;
    background: transparent;
}

.cta-button-outline-small:hover {
    background: #dcfce7;
}

.modern-error-banner {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 1rem 1.25rem;
    background: #fef2f2;
    border: 1.5px solid #fecaca;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    color: #991b1b;
    font-size: 0.88rem;
}

.modern-error-banner ul {
    margin: 4px 0 0 16px;
    padding: 0;
}

/* Sidebar Styling */
.contact-sidebar-glass {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sidebar-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
}

.info-highlight-box {
    position: relative;
    overflow: hidden;
}

.info-highlight-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.box-tag {
    display: inline-block;
    padding: 3px 8px;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 8px;
}

.info-highlight-box h3 {
    font-size: 1.4rem;
    color: #0f172a;
    margin-bottom: 4px;
}

.hq-sub {
    font-size: 0.82rem;
    color: #64748b;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.sidebar-contact-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.sidebar-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.item-icon-bubble {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: #f1f5f9;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.item-meta {
    display: flex;
    flex-direction: column;
}

.meta-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 2px;
}

.meta-value {
    font-style: normal;
    font-size: 0.9rem;
    color: #1e293b;
    line-height: 1.4;
}

.meta-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.meta-link:hover {
    text-decoration: underline;
}

.meta-plain {
    font-size: 0.88rem;
    color: #334155;
}

.directions-btn-wrap {
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.btn-directions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    background: #f8fafc;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-directions:hover {
    background: #ffffff;
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

/* Commitment Box */
.commitment-box {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-left: 4px solid var(--secondary);
}

.commit-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.commit-icon {
    font-size: 1.35rem;
}

.commit-header h4 {
    margin: 0;
    font-size: 1.05rem;
    color: #0f172a;
}

.commit-list {
    margin: 0;
    padding-left: 1.1rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    font-size: 0.84rem;
    color: #475569;
    line-height: 1.45;
}

.commit-list li strong {
    color: #0f172a;
}

/* Google Map Card Section */
.contact-map-section {
    padding: 0 0 4rem;
}

.map-card-container {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.08);
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.map-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.75rem 2rem;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 1.25rem;
}

.map-badge {
    display: inline-block;
    padding: 3px 8px;
    background: #ecfdf5;
    color: #059669;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.map-title-col h3 {
    font-size: 1.4rem;
    margin-bottom: 4px;
    color: #0f172a;
}

.map-title-col p {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    max-width: 620px;
}

.map-address-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #334155;
}

.google-map-iframe-wrapper {
    position: relative;
    width: 100%;
    line-height: 0;
}

.google-map-iframe-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 420px;
}

/* FAQ Tweaks */
.faq-q-bubble {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    background: #eff6ff;
    color: var(--primary);
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 800;
    margin-bottom: 10px;
}

/* Responsive Rules for Contact Page */
@media (max-width: 1024px) {
    .quick-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-grid-wrapper {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .quick-cards-grid {
        grid-template-columns: 1fr;
    }

    .contact-quick-strip {
        margin-top: 1.5rem;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
    }

    .contact-form-glass-card {
        padding: 1.5rem;
    }

    .form-submit-row {
        flex-direction: column;
        align-items: stretch;
    }

    .contact-submit-btn {
        justify-content: center;
        width: 100%;
    }

    .map-header-row {
        padding: 1.25rem;
    }
}


/* =========================================================
   PREMIUM HOMEPAGE REDESIGN STYLES
   ========================================================= */

/* Trust Stats Bar directly under Hero */
.trust-stats-bar {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    position: relative;
    z-index: 10;
    padding: 24px 0;
}

.stats-bar-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 8px 12px;
    border-right: 1px solid #f1f5f9;
}

.stat-item:last-child {
    border-right: none;
}

.stat-icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.08), rgba(16, 185, 129, 0.12));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.stat-item-text {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.82rem;
    color: #64748b;
    font-weight: 500;
}

/* Badge Pill Utility */
.badge-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    background: rgba(30, 58, 138, 0.08);
    padding: 4px 12px;
    border-radius: 9999px;
    margin-bottom: 8px;
}

.badge-pill.light {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
}

.section-title-wrap {
    margin-bottom: var(--spacing-xl);
}

.section-title-wrap h2 {
    margin-bottom: 6px;
    font-size: 2rem;
}

/* Premium Showcase Image Frame in About */
.about-image-premium {
    position: relative;
}

.about-image-frame {
    position: relative;
    border-radius: 20px;
    background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
    border: 2px solid #e2e8f0;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.1);
}

.about-showcase-img {
    max-width: 85%;
    height: auto;
    max-height: 320px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.about-image-frame:hover .about-showcase-img {
    transform: scale(1.04);
}

.about-badge-float {
    position: absolute;
    bottom: -16px;
    right: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px -4px rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.badge-float-icon {
    font-size: 1.4rem;
}

.badge-float-text {
    display: flex;
    flex-direction: column;
}

.badge-float-text strong {
    font-size: 0.9rem;
    color: var(--primary);
}

.badge-float-text span {
    font-size: 0.74rem;
    color: #64748b;
}

.about-cta-row {
    display: flex;
    gap: 14px;
    margin-top: var(--spacing-xl);
    align-items: center;
}

.cta-button-ghost {
    display: inline-block;
    padding: 0.625rem 1.25rem;
    background: transparent;
    color: var(--primary);
    border: 1.5px solid var(--primary);
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: var(--transition);
}

.cta-button-ghost:hover {
    background: rgba(30, 58, 138, 0.06);
    transform: translateY(-2px);
}

/* Industries Section */
.industries-section {
    padding: var(--spacing-2xl) 0;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.industry-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
    position: relative;
}

.industry-card:hover {
    transform: translateY(-6px);
    border-color: var(--primary);
    box-shadow: 0 18px 36px -8px rgba(30, 58, 138, 0.12);
}

.industry-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
    transition: transform 0.2s ease, background 0.2s ease;
}

.industry-card:hover .industry-icon-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transform: scale(1.08);
}

.industry-card h3 {
    font-size: 1.15rem;
    color: #0f172a;
    margin-bottom: 8px;
}

.industry-card p {
    font-size: 0.88rem;
    color: #64748b;
    line-height: 1.5;
    flex: 1;
    margin-bottom: 16px;
}

.industry-link {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: color 0.15s ease, transform 0.15s ease;
}

.industry-link:hover {
    color: var(--secondary);
    transform: translateX(3px);
}

/* Quick Finder Section */
.quick-finder-section {
    padding: var(--spacing-2xl) 0;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    color: #ffffff;
}

.quick-finder-box {
    position: relative;
}

.finder-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.finder-header h2 {
    color: #ffffff;
    margin: 4px 0 6px;
    font-size: 1.9rem;
}

.finder-header p {
    color: #cbd5e1;
    font-size: 0.95rem;
    margin: 0;
}

.btn-finder-browse {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: #ffffff;
    color: var(--primary);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-finder-browse:hover {
    background: var(--secondary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.3);
}

.finder-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.finder-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 9999px;
    color: #f8fafc;
    text-decoration: none;
    font-size: 0.86rem;
    backdrop-filter: blur(8px);
    transition: all 0.2s ease;
}

.finder-pill:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.fp-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--secondary);
    flex-shrink: 0;
}

.finder-pill:hover .fp-dot {
    background: var(--primary);
}

.fp-purity {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 2px 7px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.16);
    color: #ffffff;
}

.finder-pill:hover .fp-purity {
    background: rgba(30, 58, 138, 0.1);
    color: var(--primary);
}

/* Custom Synthesis & Bulk Supply Banner */
.custom-synthesis-banner {
    padding: var(--spacing-2xl) 0;
    background: #f8fafc;
}

.custom-banner-card {
    background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 60%, #047857 100%);
    border-radius: 20px;
    padding: 44px 48px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 36px;
    box-shadow: 0 20px 45px -10px rgba(30, 58, 138, 0.28);
}

.banner-text-side {
    max-width: 680px;
}

.banner-tag {
    display: inline-block;
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a7f3d0;
    margin-bottom: 8px;
}

.banner-text-side h2 {
    color: #ffffff;
    font-size: 1.85rem;
    margin-bottom: 10px;
    line-height: 1.25;
}

.banner-text-side p {
    color: #e2e8f0;
    font-size: 0.95rem;
    margin-bottom: 18px;
    line-height: 1.55;
}

.banner-features-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.b-feat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
}

.b-feat span {
    color: #6ee7b7;
    font-weight: 700;
}

.banner-action-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex-shrink: 0;
    align-items: center;
}

.banner-action-side .cta-button {
    background: #ffffff;
    color: var(--primary);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.banner-action-side .cta-button:hover {
    background: var(--secondary);
    color: #ffffff;
    transform: translateY(-2px);
}

.banner-phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.banner-phone-link:hover {
    opacity: 0.85;
    text-decoration: underline;
}

/* Responsive adjustments for new sections */
@media (max-width: 1024px) {
    .stats-bar-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
    .stat-item:nth-child(2) {
        border-right: none;
    }
    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .custom-banner-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 28px;
    }
    .banner-action-side {
        align-items: flex-start;
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .stats-bar-grid {
        grid-template-columns: 1fr;
    }
    .stat-item {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
        padding-bottom: 12px;
    }
    .stat-item:last-child {
        border-bottom: none;
    }
    .industries-grid {
        grid-template-columns: 1fr;
    }
    .about-story-img {
        height: 280px;
    }
    .about-floating-card {
        position: static;
        margin-top: 14px;
    }
    .banner-action-side {
        flex-direction: column;
        align-items: stretch;
    }
    .banner-action-side .cta-button {
        text-align: center;
    }
    .finder-pills-wrap {
        gap: 8px;
    }
    .finder-pill {
        width: 100%;
        justify-content: space-between;
    }
}


/* ==========================================================================
   REGULATORY COMPLIANCE & CERTIFICATES STYLING (MATCHES SCREENSHOT CARDS)
   ========================================================================== */

.compliance-page-hero {
    background: linear-gradient(135deg, #091a28 0%, #0d2840 50%, #134e4a 100%);
}

.hero-badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #a7f3d0;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 14px;
}

/* Overview Highlights Strip */
.compliance-highlights-strip {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 24px 0;
    box-shadow: 0 4px 12px -4px rgba(15, 23, 42, 0.04);
}

.compliance-highlights-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.comp-highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.comp-highlight-item .ch-icon {
    font-size: 1.8rem;
    line-height: 1;
}

.comp-highlight-item strong {
    display: block;
    font-size: 0.95rem;
    color: #0f172a;
    font-weight: 700;
}

.comp-highlight-item span {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 2px;
}

/* Cards Section */
.compliance-cards-section {
    padding: 70px 0 90px;
    background: #f8fafc;
}

.compliance-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 45px;
}

/* Individual Compliance Card (Exact soft tinted style from screenshot) */
.comp-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 30px 28px 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1.5px solid transparent;
    position: relative;
}

.comp-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px -8px rgba(15, 23, 42, 0.12), 0 0 0 1px rgba(15, 23, 42, 0.05);
}

/* Color theme variations matching the user's screenshot */
/* 1. Light Green (ISO 9001 / OHSAS 18001) */
.comp-card-green {
    background: #f2f9f1;
    border-color: #dcfce7;
}
.comp-card-green .comp-icon-box {
    background: #dcfce7;
    color: #16a34a;
}
.comp-card-green .comp-code-tag {
    color: #15803d;
}
.comp-card-green .comp-check-icon {
    color: #16a34a;
}
.comp-card-green .btn-view-cert {
    background: #16a34a;
    color: #ffffff;
}
.comp-card-green .btn-view-cert:hover {
    background: #15803d;
}

/* 2. Soft Blue / Cyan (ISO 17025) */
.comp-card-blue {
    background: #f0f9ff;
    border-color: #e0f2fe;
}
.comp-card-blue .comp-icon-box {
    background: #e0f2fe;
    color: #0284c7;
}
.comp-card-blue .comp-code-tag {
    color: #0369a1;
}
.comp-card-blue .comp-check-icon {
    color: #0284c7;
}
.comp-card-blue .btn-view-cert {
    background: #0284c7;
    color: #ffffff;
}
.comp-card-blue .btn-view-cert:hover {
    background: #0369a1;
}

/* 3. Soft Pink / Magenta (WHO-GMP) */
.comp-card-pink {
    background: #fdf2f8;
    border-color: #fce7f3;
}
.comp-card-pink .comp-icon-box {
    background: #fce7f3;
    color: #db2777;
}
.comp-card-pink .comp-code-tag {
    color: #be185d;
}
.comp-card-pink .comp-check-icon {
    color: #db2777;
}
.comp-card-pink .btn-view-cert {
    background: #db2777;
    color: #ffffff;
}
.comp-card-pink .btn-view-cert:hover {
    background: #be185d;
}

/* 4. Warm Amber / Light Yellow (Schedule M) */
.comp-card-yellow {
    background: #fffbeb;
    border-color: #fef3c7;
}
.comp-card-yellow .comp-icon-box {
    background: #fef3c7;
    color: #d97706;
}
.comp-card-yellow .comp-code-tag {
    color: #b45309;
}
.comp-card-yellow .comp-check-icon {
    color: #d97706;
}
.comp-card-yellow .btn-view-cert {
    background: #d97706;
    color: #ffffff;
}
.comp-card-yellow .btn-view-cert:hover {
    background: #b45309;
}

/* 5. Bright Cyan / Teal (USP/EP) */
.comp-card-cyan {
    background: #ecfeff;
    border-color: #cffafe;
}
.comp-card-cyan .comp-icon-box {
    background: #cffafe;
    color: #0891b2;
}
.comp-card-cyan .comp-code-tag {
    color: #0e7490;
}
.comp-card-cyan .comp-check-icon {
    color: #0891b2;
}
.comp-card-cyan .btn-view-cert {
    background: #0891b2;
    color: #ffffff;
}
.comp-card-cyan .btn-view-cert:hover {
    background: #0e7490;
}

/* 6. Soft Indigo (ISO 17034) */
.comp-card-indigo {
    background: #f5f3ff;
    border-color: #ede9fe;
}
.comp-card-indigo .comp-icon-box {
    background: #ede9fe;
    color: #6366f1;
}
.comp-card-indigo .comp-code-tag {
    color: #4f46e5;
}
.comp-card-indigo .comp-check-icon {
    color: #6366f1;
}
.comp-card-indigo .btn-view-cert {
    background: #4f46e5;
    color: #ffffff;
}
.comp-card-indigo .btn-view-cert:hover {
    background: #4338ca;
}

/* 7. Emerald (ISO 14001) */
.comp-card-emerald {
    background: #f0fdf4;
    border-color: #dcfce7;
}
.comp-card-emerald .comp-icon-box {
    background: #d1fae5;
    color: #059669;
}
.comp-card-emerald .comp-code-tag {
    color: #047857;
}
.comp-card-emerald .comp-check-icon {
    color: #059669;
}
.comp-card-emerald .btn-view-cert {
    background: #059669;
    color: #ffffff;
}
.comp-card-emerald .btn-view-cert:hover {
    background: #047857;
}

/* Card Internals */
.comp-card-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.comp-icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.comp-card-titles {
    flex: 1;
}

.comp-code-tag {
    display: inline-block;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 3px;
}

.comp-title {
    font-size: 1.12rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    margin: 0 0 2px;
}

.comp-authority {
    font-size: 0.78rem;
    color: #64748b;
    display: block;
}

.comp-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 20px;
}

/* Points list */
.comp-points-list {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.comp-points-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.86rem;
    color: #334155;
    font-weight: 500;
}

.comp-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Card footer */
.comp-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 18px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    margin-top: auto;
}

.comp-meta-text {
    display: flex;
    flex-direction: column;
}

.comp-meta-no {
    font-size: 0.75rem;
    font-weight: 600;
    color: #64748b;
    font-family: monospace;
}

.comp-meta-date {
    font-size: 0.73rem;
    color: #94a3b8;
}

.comp-actions-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-view-cert {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.83rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.btn-view-cert:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-download-cert {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #cbd5e1;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-download-cert:hover {
    background: #f1f5f9;
    border-color: #94a3b8;
}

/* Audit CTA Banner */
.compliance-audit-section {
    padding: 30px 0 80px;
    background: #f8fafc;
}

.audit-banner-box {
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 100%);
    border-radius: 20px;
    padding: 48px 40px;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 36px;
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.2);
}

.audit-banner-content {
    max-width: 650px;
}

.audit-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    font-size: 0.78rem;
    font-weight: 600;
    color: #93c5fd;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.audit-banner-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.3;
}

.audit-banner-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
}

.audit-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

/* Lightbox Modal for Certificate */
.cert-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.78);
    backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: fadeIn 0.2s ease-out;
}

.cert-modal-dialog {
    background: #ffffff;
    border-radius: 18px;
    max-width: 820px;
    width: 100%;
    max-height: 92vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    animation: scaleUp 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cert-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.cert-modal-tag {
    font-size: 0.74rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--primary);
    display: block;
    letter-spacing: 0.5px;
}

.cert-modal-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin: 2px 0 0;
}

.cert-modal-header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.cert-modal-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 6px;
    background: #0f172a;
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.18s ease;
}

.cert-modal-download-btn:hover {
    background: #1e293b;
}

.cert-modal-close {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: #64748b;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    transition: color 0.15s ease;
}

.cert-modal-close:hover {
    color: #0f172a;
}

.cert-modal-body {
    padding: 20px;
    overflow-y: auto;
    background: #0f172a;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cert-modal-img-wrap {
    max-width: 680px;
    width: 100%;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.cert-modal-img {
    display: block;
    width: 100%;
    height: auto;
}

.cert-modal-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    border-top: 1px solid #e2e8f0;
    background: #f8fafc;
}

.cert-modal-footer p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .compliance-highlights-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .compliance-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .audit-banner-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 768px) {
    .compliance-highlights-grid {
        grid-template-columns: 1fr;
    }

    .compliance-cards-grid {
        grid-template-columns: 1fr;
    }

    .comp-card {
        padding: 24px 20px;
    }

    .audit-banner-box {
        padding: 30px 24px;
    }

    .audit-banner-actions {
        width: 100%;
    }

    .audit-banner-actions .cta-button,
    .audit-banner-actions .cta-button-ghost {
        width: 100%;
        text-align: center;
    }

    .cert-modal-footer {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}


/* ==========================================================================
   ABOUT US SIMPLE DROPDOWN STYLING
   ========================================================================== */

.dropdown-menu-simple {
    min-width: 320px;
}

.child-subtitle-note {
    display: block;
    font-size: 0.74rem;
    color: #64748b;
    font-weight: 400;
    margin-top: 2px;
}

.child-link-active {
    background: #f1f5f9;
    color: var(--primary) !important;
}

.child-link-active .child-title {
    color: var(--primary);
    font-weight: 700;
}
