/* =============================================
   GLOBAL & VARIABLES
============================================= */
:root {
    --primary: #1a56db;
    --primary-dark: #1241b0;
    --primary-light: #e8f0fe;
    --accent: #0ea5e9;
    --surface: #f8fafc;
    --border: #e2e8f0;
    --text: #1e293b;
    --text-muted: #64748b;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
    --shadow: 0 4px 16px rgba(0,0,0,.10);
    --shadow-lg: 0 12px 40px rgba(0,0,0,.14);
    --radius: 16px;
    --radius-sm: 10px;
    --transition: .2s cubic-bezier(.4,0,.2,1);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--surface);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
main {
    flex: 1 0 auto;
}
a {
    text-decoration: none;
    color: inherit;
}

/* =============================================
   NAVBAR
============================================= */
.main-nav {
    /*  background: linear-gradient(135deg, #0f1f5c 0%, #1a56db 100%);
    padding: 12px 0;
    box-shadow: 0 2px 20px rgba(26,86,219,.35);*/
    /* Change from gradient to a solid, deeper navy */
    background: #0a1333;
    padding: 12px 0;
    /* Add a subtle border to separate it from the Hero */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 11000; /* Stays above everything */
}

.brand-icon {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,.18);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #fff;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
}

.brand-tagline {
    font-size: 10px;
    color: rgba(255,255,255,.65);
    letter-spacing: .06em;
    text-transform: uppercase;
}

.main-nav .nav-link {
    color: rgba(255,255,255,.8) !important;
    font-size: .88rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

    .main-nav .nav-link:hover, .main-nav .nav-link.active {
        color: #fff !important;
        background: rgba(255,255,255,.15);
    }

/* =============================================
   PAGE SYSTEM
============================================= */
.page {
    display: none;
    min-height: 100%;
}

    .page.active {
        display: block;
    }


/* =============================================
   HERO SECTION
============================================= */
.hero-section {
    background: linear-gradient(135deg, #0f1f5c 0%, #1a56db 60%, #0ea5e9 100%);
    padding: 60px 0 90px;
    position: relative;
    /*   overflow: hidden;*/
    z-index: 10;
}

    .hero-section::before {
        content: '';
        position: absolute;
        inset: 0;
        background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Ccircle cx='30' cy='30' r='1.5'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(255,255,255,.15);
    color: rgba(255,255,255,.9);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: .82rem;
    font-weight: 500;
    letter-spacing: .02em;
    backdrop-filter: blur(8px);
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}

.text-gradient {
    background: linear-gradient(90deg, #60a5fa, #a5f3fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.05rem;
    color: rgba(255,255,255,.75);
    max-width: 600px;
    margin: 0 auto;
}

/* Search */
.search-wrapper {
    position: relative;
    max-width: 640px;
    z-index: 1000;
}

.search-box-container {
    display: flex;
    align-items: center;
    background: #fff;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0,0,0,.25);
    overflow: hidden;
    padding: 4px 4px 4px 20px;
}

.search-icon {
    color: var(--text-muted);
    font-size: 18px;
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: .98rem;
    padding: 10px 14px;
    font-family: 'Inter', sans-serif;
    color: var(--text);
    background: transparent;
}

.search-btn {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 28px;
    font-weight: 600;
    font-size: .9rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

    .search-btn:hover {
        transform: scale(1.02);
        box-shadow: 0 4px 14px rgba(26,86,219,.4);
    }

/* Search Dropdown */
.search-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    z-index: 9999;
    overflow: hidden;
    border: 1px solid var(--border);
    max-height: 380px;
    overflow-y: auto;
}

.search-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 20px;
    cursor: pointer;
    transition: var(--transition);
    border-bottom: 1px solid var(--border);
}

    .search-item:last-child {
        border-bottom: none;
    }

    .search-item:hover {
        background: var(--primary-light);
    }

.search-item-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.search-item-name {
    font-weight: 600;
    font-size: .92rem;
    color: var(--text);
}

.search-item-meta {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.search-no-result {
    padding: 24px;
    text-align: center;
    color: var(--text-muted);
    font-size: .9rem;
}

.search-highlight {
    color: var(--primary);
    font-weight: 700;
}

/* Hero Stats */
.hero-stats {
    position: relative;
    z-index: 1;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-num {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-label {
    font-size: .8rem;
    color: rgba(255,255,255,.65);
    margin-top: 4px;
}

.stat-divider {
    width: 1px;
    background: rgba(255,255,255,.25);
    height: 40px;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

    .hero-wave svg {
        display: block;
        width: 100%;
        height: 60px;
    }

/* =============================================
   SECTION STYLES
============================================= */
.section-badge {
    display: inline-block;
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    padding: 5px 16px;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.section-title {
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--text);
}

.section-sub {
    color: var(--text-muted);
    font-size: .98rem;
}

/* =============================================
   CATEGORY SECTION
============================================= */
.category-section {
    padding: 60px 0 100px;
    position: relative;
    z-index: 1;
}

/* Wider container for category / subcategory / product panels */
.category-section > .container-xl {
    max-width: 1440px;
}



/* Category Cards */
.category-card {   
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    height: 100%;
}

    .category-card::after {
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(135deg, transparent 60%, rgba(26,86,219,.04));
        pointer-events: none;
    }

    .category-card:hover {
        border-color: var(--primary);
        transform: translateY(-4px);
        box-shadow: var(--shadow-lg);
    }

    .category-card.selected {
        border-color: var(--primary);
        background: var(--primary-light);
    }

.cat-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: color-mix(in srgb, var(--cat-color) 15%, white);
    color: var(--cat-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin-bottom: 14px;
    transition: var(--transition);
}

.category-card:hover .cat-icon-wrap {
    background: var(--cat-color);
    color: #fff;
    transform: scale(1.08);
}

.cat-name {
    font-size: .95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}

.cat-count {
    font-size: .8rem;
    color: var(--text-muted);
    display: block;
}

.cat-arrow {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    opacity: 0;
    transition: var(--transition);
}

.category-card:hover .cat-arrow {
    opacity: 1;
}

.category-name{
    margin-bottom:.25rem;
}
/* Sub-category Panel */
.subcategory-panel, .product-panel {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    padding: 36px;
    box-shadow: var(--shadow);
}

.panel-header {
    flex-wrap: wrap;
    gap: 12px;
}

.btn-back {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--surface);
    border: 2px solid var(--border);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
    flex-shrink: 0;
}

    .btn-back:hover {
        background: var(--primary);
        border-color: var(--primary);
        color: #fff;
        transform: translateX(-2px);
    }

.panel-breadcrumb {
    font-size: .83rem;
    color: var(--text-muted);
}

.panel-breadcrumb-sep {
    font-size: .75rem;
    color: var(--text-muted);
}

.panel-breadcrumb-active {
    font-size: .83rem;
    font-weight: 600;
    color: var(--primary);
}

.panel-badge {
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: .8rem;
    font-weight: 600;
    white-space: nowrap;
}

.panel-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
}

/* Sub-category Cards */
.subcategory-card {
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px 20px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 14px;
}

    .subcategory-card:hover {
        border-color: var(--primary);
        background: var(--primary-light);
        transform: translateX(4px);
    }

.subcat-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.subcat-name {
    font-weight: 600;
    font-size: .9rem;
    color: var(--text);
}

.subcat-count {
    font-size: .78rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.subcat-chevron {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 14px;
    flex-shrink: 0;
}

/* Product Cards */
.product-card {
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .product-card:hover {
        border-color: var(--primary);
        transform: translateY(-5px);
        box-shadow: var(--shadow-lg);
    }

.product-img-wrap {
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* use cover if you want full crop */
}

.product-cert-badges {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
}

.cert-badge {
    background: var(--success);
    color: #fff;
    font-size: .68rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 50px;
    letter-spacing: .03em;
}

    .cert-badge.pending {
        background: var(--warning);
    }

.product-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-name {
    font-size: .88rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-model {
    font-size: .78rem;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-family: monospace;
    text-align: center;
}

.product-desc {
    font-size: .78rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.product-doc-count {
    font-size: .78rem;
    color: var(--text-muted);
}

    .product-doc-count i {
        color: var(--primary);
    }

.product-arrow {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    transition: var(--transition);
}

.product-card:hover .product-arrow {
    transform: translateX(3px);
}

.product-card.active {
    border: 2px solid #0d6efd; /* blue border */
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25); /* subtle shadow */
    transform: scale(1.02); /* slight zoom effect */
    transition: all 0.2s ease;
}


/* =============================================
   PRODUCT DETAIL PAGE
============================================= */
.detail-hero {
    background: linear-gradient(135deg, #0f1f5c 0%, #1a56db 100%);
    padding: 30px 0 30px;
    position: relative;
}

.detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 28px;
}

    .detail-breadcrumb a,
    .detail-breadcrumb span {
        font-size: 0.82rem;
        color: rgba(255, 255, 255, 0.65);
        transition: var(--transition);
    }

        .detail-breadcrumb a:hover {
            color: #fff;
        }

    .detail-breadcrumb i {
        font-size: 0.7rem;
        color: rgba(255, 255, 255, 0.4);
    }

    .detail-breadcrumb .current {
        color: rgba(255, 255, 255, 0.9);
        font-weight: 500;
    }

.detail-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.detail-model {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
    border-radius: 6px;
    padding: 4px 12px;
    font-family: monospace;
    font-size: 0.88rem;
    margin-top: 10px;
}

.detail-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    line-height: 0;
}

    .detail-wave svg {
        display: block;
        width: 100%;
        height: 50px;
    }

.detail-content {
   /* padding: 60px 0 80px;*/
}

.detail-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.detail-img-section {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 280px;
    position: relative;
}

.detail-product-icon {
    font-size: 120px;
    line-height: 1;
    filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.12));
}

.detail-cert-strip {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.03);
    padding: 12px 24px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.detail-cert-pill {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: var(--shadow-sm);
}

    .detail-cert-pill i {
        color: var(--success);
    }

.detail-info-section {
    padding: 36px;
}

.detail-category-path {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 16px;
}

.detail-cat-tag {
    background: var(--primary-light);
    color: var(--primary);
    border-radius: 50px;
    padding: 4px 14px;
    font-size: 0.78rem;
    font-weight: 600;
}

.detail-cat-sep {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.detail-product-name {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 6px;
}

.detail-product-model {
    font-size: 0.88rem;
    color: var(--text-muted);
    font-family: monospace;
    margin-bottom: 16px;
}

.detail-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* Specs Table */
.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

    .specs-table tr:first-child td,
    .specs-table tr:first-child th {
        padding-top: 0;
    }

    .specs-table td,
    .specs-table th {
        padding: 10px 14px;
        font-size: 0.88rem;
        border-bottom: 1px solid var(--border);
    }

    .specs-table th {
        color: var(--text-muted);
        font-weight: 500;
        width: 40%;
        background: var(--surface);
        border-radius: 6px 0 0 6px;
    }

    .specs-table td {
        font-weight: 600;
        color: var(--text);
    }

    .specs-table tr:last-child td,
    .specs-table tr:last-child th {
        border-bottom: none;
    }
/* Status Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #dcfce7;
    color: #15803d;
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.82rem;
    font-weight: 600;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.6;
        transform: scale(1.2);
    }
}
/* =============================================
   DOCUMENTS SECTION
============================================= */
.documents-section {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    overflow: hidden;
    margin-top: 28px;
}

.documents-header {
    padding: 24px 32px;
    background: linear-gradient(135deg, #0f1f5c, #1a56db);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.documents-header-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.documents-header-sub {
    font-size: .82rem;
    color: rgba(255,255,255,.7);
    margin-top: 2px;
}

.documents-download-all {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    border-radius: 50px;
    padding: 8px 20px;
    font-size: .85rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    white-space: nowrap;
}

    .documents-download-all:hover {
        background: rgba(255,255,255,.25);
    }

.documents-list {
    padding: 12px 0;
}

.doc-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 32px;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
    cursor: pointer;
}

    .doc-item:last-child {
        border-bottom: none;
    }

    .doc-item:hover {
        background: var(--surface);
    }

.doc-type-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.doc-type-pdf {
    background: #fef2f2;
    color: #dc2626;
}

.doc-type-docx {
    background: #eff6ff;
    color: #2563eb;
}

.doc-type-xlsx {
    background: #f0fdf4;
    color: #16a34a;
}

.doc-type-cert {
    background: #fefce8;
    color: #ca8a04;
}

.doc-name {
    font-size: .92rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.doc-meta {
    font-size: .78rem;
    color: var(--text-muted);
}

.doc-size {
    margin-left: auto;
    font-size: .8rem;
    color: var(--text-muted);
    margin-right: 20px;
    white-space: nowrap;
}

.doc-download-btn {
    background: var(--primary-light);
    color: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    white-space: nowrap;
}

    .doc-download-btn:hover {
        background: var(--primary);
        color: #fff;
        transform: translateY(-1px);
    }

.document-panel {
    background-color: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    margin-bottom: 12px;
    text-decoration: none;
    color: #212529;
    transition: all 0.2s ease;
}

    .download-item:hover {
        background-color: #e9f2ff;
        transform: translateY(-2px);
    }

    .download-item .file-info {
        display: flex;
        flex-direction: column;
    }

    .download-item .file-name {
        font-weight: 500;
    }

    .download-item .file-type {
        font-size: 0.85rem;
        color: #6c757d;
    }

    .download-item .download-icon {
        font-size: 1.4rem;
        color: #0d6efd;
    }

/* Download toast */
.download-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    background: #1e293b;
    color: #fff;
    border-radius: 12px;
    padding: 14px 22px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-lg);
    font-size: .9rem;
    font-weight: 500;
    transform: translateY(80px);
    opacity: 0;
    transition: all .35s cubic-bezier(.34,1.56,.64,1);
    pointer-events: none;
}

    .download-toast.show {
        transform: translateY(0);
        opacity: 1;
    }

.toast-icon {
    font-size: 20px;
    color: var(--success);
}

/* =============================================
   FOOTER
============================================= */
/*.site-footer {
    background: #0f172a;
    color: rgba(255,255,255,.6);
    padding: 24px 0;
    font-size: .85rem;
}

.footer-logo {
    color: #fff;
    font-weight: 700;
    font-size: .95rem;
}

.footer-note {
    font-size: .82rem;
}*/
.site-footer {
    background: #0a1333; /* Darker than the hero for contrast */
    padding: 40px 0;
    margin-top: auto; /* Pushes footer to bottom if page content is short */
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
}

.footer-logo {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-link {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    font-weight: 500;
    transition: var(--transition);
    text-decoration: none;
}

    .footer-link:hover {
        color: var(--accent);
    }

.footer-note {
    font-size: 0.82rem;
    line-height: 1.6;
}

/* =============================================
   MISC UTILITIES
============================================= */
.help-step .step-bubble {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-weight: 700;
    font-size: .88rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-header {
    position: relative;
    z-index: 1;
}

.shadow-xl {
    box-shadow: 0 20px 60px rgba(0,0,0,.18) !important;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp .4s ease both;
}

    .animate-in:nth-child(2) {
        animation-delay: .05s;
    }

    .animate-in:nth-child(3) {
        animation-delay: .1s;
    }

    .animate-in:nth-child(4) {
        animation-delay: .15s;
    }

    .animate-in:nth-child(5) {
        animation-delay: .2s;
    }

    .animate-in:nth-child(6) {
        animation-delay: .25s;
    }

    .animate-in:nth-child(7) {
        animation-delay: .3s;
    }

    .animate-in:nth-child(8) {
        animation-delay: .35s;
    }

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #94a3b8;
    }

/* Responsive */
@media(max-width:768px) {
    .hero-section {
        padding: 10px 0 10px;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-num {
        font-size: 1.4rem;
    }

    .search-btn {
        padding: 10px 16px;
        font-size: .82rem;
    }

    .subcategory-panel, .product-panel {
        padding: 20px;
    }

    .doc-item {
        flex-wrap: wrap;
        gap: 10px;
    }

    .doc-size {
        margin-left: 0;
    }

    .documents-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .detail-info-section {
        padding: 24px;
    }
}
/*download section*/
/* ===== MODERN CONTACT MODAL ===== */

.modern-modal {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 20px 50px rgba(0,0,0,.25);
    animation: popIn .3s ease;
}

.modern-header {
    background: linear-gradient(135deg, #1a56db, #0ea5e9);
    color: #fff;
    border-bottom: none;
    padding: 1.5rem;
}

    .modern-header small {
        opacity: .85;
    }

.form-control {
    border-radius: 12px;
}

    .form-control:focus {
        border-color: #1a56db;
        box-shadow: 0 0 0 .2rem rgba(26,86,219,.15);
    }

@keyframes popIn {
    from {
        transform: scale(.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

