/* ========================================
   Elkpromogift — Premium B2B Design System
   Deep Navy + Gold Accent
   ======================================== */

:root {
    /* Primary — Deep Navy */
    --primary: #0D2B4E;
    --primary-hover: #0A2240;
    --primary-light: rgba(13, 43, 78, 0.06);
    --primary-border: rgba(13, 43, 78, 0.2);

    /* Accent — Gold */
    --gold: #C9A961;
    --gold-hover: #B8984E;
    --gold-light: rgba(201, 169, 97, 0.1);
    --gold-border: rgba(201, 169, 97, 0.3);

    /* Neutrals */
    --text-dark: #1a1a1a;
    --text-body: #4a4a4a;
    --text-light: #888888;
    --text-white: #ffffff;
    --text-muted: rgba(255,255,255,0.65);
    --bg-white: #ffffff;
    --bg-light: #f7f8fa;
    --bg-section: #f4f6f9;
    --bg-dark: #0A1F3A;
    --border-color: #e5e7eb;
    --border-light: #f0f0f0;

    /* Typography */
    --font-heading: 'Poppins', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;

    /* Layout */
    --container-max: 1280px;
    --section-padding: 100px 0;
    --radius: 8px;
    --radius-lg: 10px;
    --transition: all 0.3s ease;
}

/* Fluid root font-size: smooth scaling across breakpoints */
html { font-size: clamp(14.5px, calc(12.5px + 0.28vw), 16px); }

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    color: var(--text-body);
    line-height: 1.7;
    background: var(--bg-white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.3;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* Container */
.container { width: 90%; max-width: var(--container-max); margin: 0 auto; padding: 0; }

/* Section */
.section { padding: var(--section-padding); }
.section-bg { background: var(--bg-section); }
.section-dark { background: var(--bg-dark); color: var(--text-white); }

/* Section Header */
.section-header { text-align: center; max-width: 720px; margin: 0 auto 56px; }

.section-header .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
    position: relative;
    padding: 0 40px;
}

.section-header .eyebrow::before,
.section-header .eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--gold);
}

.section-header .eyebrow::before { left: 0; }
.section-header .eyebrow::after { right: 0; }

.section-header h2 { font-size: clamp(1.5rem, 2.4vw + 0.9rem, 2.4rem); margin-bottom: 16px; }
.section-header p { color: var(--text-body); font-size: 1.05rem; }

.section-dark .section-header h2 { color: var(--text-white); }
.section-dark .section-header p { color: var(--text-muted); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 32px;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    letter-spacing: 0.5px;
}

.btn-gold {
    background: var(--gold);
    color: var(--text-dark);
    border-color: var(--gold);
}

.btn-gold:hover {
    background: var(--gold-hover);
    border-color: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201, 169, 97, 0.35);
}

.btn-navy {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.btn-navy:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(13, 43, 78, 0.25);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--text-white);
    transform: translateY(-2px);
}

.btn-gold-outline {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.btn-gold-outline:hover {
    background: var(--gold);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--text-white);
    color: var(--primary);
    border-color: var(--text-white);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.15);
}

.btn-lg { padding: 16px 40px; font-size: 0.95rem; }

/* ===== Top Bar ===== */
.top-bar {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 8px 0;
    font-size: 0.82rem;
}

.top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

.top-bar-left { display: flex; gap: 28px; align-items: center; }
.top-bar-left a { display: flex; align-items: center; gap: 7px; opacity: 0.85; }
.top-bar-left a:hover { opacity: 1; color: var(--gold); }
.top-bar-left .tb-icon { flex-shrink: 0; }
.top-bar-right { display: flex; gap: 10px; align-items: center; }
.top-bar-right span { opacity: 0.6; font-size: 0.78rem; display: flex; align-items: center; gap: 5px; }
.top-bar-right .tb-icon { flex-shrink: 0; }
.top-bar-right .tb-divider { opacity: 0.3; }

/* ===== Navigation ===== */
.nav {
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.nav.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Row 2: Logo + Search + CTA */
.nav-row-2 {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-light);
}

.nav-row-2-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    gap: 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.nav-logo .logo-icon {
    width: 42px;
    height: 42px;
    background: var(--primary);
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1rem;
    font-weight: 700;
    flex-shrink: 0;
}

.nav-logo .logo-text { white-space: nowrap; }

/* Right: Search + CTA */
.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-cta {
    padding: 10px 22px;
    font-size: 0.8rem;
    white-space: nowrap;
}

/* Nav Search */
.nav-search-wrap { position: relative; display: flex; align-items: center; }

.nav-search {
    width: 400px;
    padding: 9px 12px 9px 34px;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: var(--text-dark);
    background: var(--bg-light) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E") 12px center no-repeat;
    transition: var(--transition);
}

.nav-search:focus {
    outline: none;
    border-color: var(--gold);
    background-color: var(--bg-white);
    box-shadow: 0 0 0 3px var(--gold-light);
    width: 480px;
}

.search-results-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
}

.search-results-dropdown.show { display: block; }

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--border-light);
    transition: var(--transition);
}

.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--primary-light); }

.search-result-item .result-type {
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--gold);
    background: var(--gold-light);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.search-result-item .result-name {
    font-size: 0.85rem;
    color: var(--text-dark);
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-item .result-img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    flex-shrink: 0;
}

.search-no-results {
    padding: 16px;
    text-align: center;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Row 3: Navigation Menu */
.nav-row-3 {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    height: 56px;
}

.nav-menu > li > a {
    font-family: var(--font-heading);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    text-align: center;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

.nav-menu > li > a:hover::after,
.nav-menu > li > a.active::after { width: 100%; }
.nav-menu > li > a:hover,
.nav-menu > li > a.active { color: var(--primary); }

.dd-arrow { font-size: 0.65rem; opacity: 0.6; }

/* Dropdown */
.has-dropdown { position: relative; }

.dropdown {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
    padding: 12px;
    min-width: 260px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
}

.has-dropdown:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 0.88rem;
    color: var(--text-body);
    transition: var(--transition);
}

.dropdown a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Mobile Toggle */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--primary); transition: var(--transition); }

/* ===== Hero ===== */
.hero {
    background: linear-gradient(135deg, #0D2B4E 0%, #0A1F3A 100%);
    color: var(--text-white);
    padding: 110px 0 120px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(201,169,97,0.12) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0.4;
}

.hero .container {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
}

.hero-content .hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 24px;
    padding: 6px 16px;
    border: 1px solid rgba(201,169,97,0.3);
    border-radius: 20px;
    background: rgba(201,169,97,0.08);
}

.hero-content h1 {
    font-size: clamp(2.05rem, 5vw + 1rem, 3.4rem);
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 700;
    letter-spacing: -1px;
}

.hero-content .hero-desc {
    font-size: 1.1rem;
    opacity: 0.8;
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.8;
}

.hero-buttons { display: flex; gap: 16px; margin-bottom: 0; }

.hero-image { position: relative; }

.hero-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 32px 80px rgba(0,0,0,0.4);
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-badge {
    position: absolute;
    bottom: -24px;
    left: -24px;
    background: var(--bg-white);
    padding: 20px 28px;
    border-radius: var(--radius);
    box-shadow: 0 16px 48px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    border-left: 3px solid var(--gold);
}

.hero-badge .badge-icon {
    width: 48px;
    height: 48px;
    background: var(--gold-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.2rem;
}

.hero-badge .badge-text strong { display: block; color: var(--text-dark); font-size: 1.1rem; font-family: var(--font-heading); }
.hero-badge .badge-text span { font-size: 0.85rem; color: var(--text-light); }

/* ===== Core Business Cards (3 cards) ===== */
.core-business { padding: 56px 0 0; position: relative; z-index: 2; }

.core-business-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.core-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    display: block;
    color: inherit;
}

.core-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transition: var(--transition);
}

.core-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 56px rgba(13,43,78,0.12);
    transform: translateY(-6px);
}

.core-card:hover::before { transform: scaleX(1); }

.core-card .card-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.core-card:hover .card-icon {
    background: var(--gold-light);
    color: var(--gold);
}

.core-card .card-icon svg { width: 28px; height: 28px; }

.core-card h3 { font-size: 1.25rem; margin-bottom: 12px; }
.core-card p { font-size: 0.92rem; color: var(--text-body); line-height: 1.7; }

/* ===== Trust Bar (Global Partners) ===== */
.trust-bar {
    background: var(--bg-white);
    padding: 48px 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-bar .section-header h2 { font-size: 1.5rem; }
.trust-bar .section-header { margin-bottom: 24px; }

.trust-tags {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.trust-tag {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--primary);
}

.trust-tag .tag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
}

/* ===== Stats Bar ===== */
.stats-bar {
    background: var(--primary);
    padding: 36px 0;
}

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

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: clamp(1.7rem, 2.5vw + 1.1rem, 2.2rem);
    font-weight: 700;
    color: var(--gold);
    line-height: 1.2;
    margin-bottom: 4px;
}

.stat-item .stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    letter-spacing: 0.3px;
}

/* ===== Trust / Clients Bar ===== */
.trust-clients {
    background: var(--bg-white);
    padding: 48px 0;
    border-bottom: 1px solid var(--border-color);
}

.trust-clients .section-header { margin-bottom: 32px; }
.trust-clients .section-header h2 { font-size: 1.1rem; color: var(--text-light); font-weight: 500; text-transform: uppercase; letter-spacing: 2px; }

.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 32px;
    align-items: center;
}

.client-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    opacity: 0.5;
    filter: grayscale(100%);
    transition: var(--transition);
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    letter-spacing: 0.5px;
}

.client-item:hover {
    opacity: 1;
    filter: grayscale(0%);
    color: var(--primary);
}

.client-item .cert-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-right: 8px;
}

.client-item .cert-icon svg { width: 32px; height: 32px; }

/* ===== How It Works ===== */
.how-it-works {
    background: var(--bg-section);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 26px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-border), var(--gold), var(--gold-border));
    z-index: 0;
}

.step-card {
    text-align: center;
    position: relative;
    padding: 0 8px;
    z-index: 1;
}

.step-card .step-number {
    width: 52px;
    height: 52px;
    background: var(--bg-white);
    border: 2px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold);
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
    transition: var(--transition);
}

.step-card:hover .step-number {
    background: var(--gold);
    color: var(--text-white);
    transform: scale(1.1);
}

.step-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 0.88rem;
    color: var(--text-body);
    line-height: 1.7;
}

/* ===== Why Choose Us ===== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card {
    text-align: center;
    padding: 40px 28px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: attr(data-num);
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.12;
    line-height: 1;
}

.feature-card:hover {
    border-color: var(--gold);
    transform: translateY(-6px);
    box-shadow: 0 20px 56px rgba(13,43,78,0.1);
}

.feature-card .feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gold-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    margin: 0 auto 20px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    background: var(--gold);
    color: var(--text-white);
}

.feature-card .feature-icon svg { width: 26px; height: 26px; }

.feature-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.feature-card p { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; }

/* ===== Featured Products ===== */
.featured-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.featured-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.featured-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 56px rgba(13,43,78,0.12);
    transform: translateY(-6px);
}

.featured-card .card-image { width: 100%; height: 240px; overflow: hidden; background: var(--bg-light); position: relative; }

.featured-card .card-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(13,43,78,0.1), transparent 50%);
    opacity: 0;
    transition: var(--transition);
}

.featured-card:hover .card-image::after { opacity: 1; }

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

.featured-card:hover .card-image img { transform: scale(1.08); }

.featured-card .card-body { padding: 24px 20px; text-align: center; }

.featured-card h3 { font-size: 1rem; margin-bottom: 16px; line-height: 1.4; min-height: 44px; display: flex; align-items: center; justify-content: center; }

.featured-card .inquire-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-white);
    background: var(--primary);
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.featured-card .inquire-link:hover {
    background: var(--gold);
    color: var(--text-dark);
    gap: 10px;
}

/* ===== Projects Preview ===== */
.projects-preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.project-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition);
    display: block;
    color: inherit;
}

.project-card:hover {
    border-color: var(--gold);
    box-shadow: 0 20px 56px rgba(13,43,78,0.12);
    transform: translateY(-6px);
}

.project-card .project-image { width: 100%; height: clamp(180px, 26vw, 260px); overflow: hidden; background: var(--bg-light); position: relative; }

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

.project-card:hover .project-image img { transform: scale(1.08); }

.project-card .project-overlay {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(13, 43, 78, 0.75);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    z-index: 2;
    transition: background 0.3s;
}
.project-card .project-overlay:hover { background: rgba(13, 43, 78, 0.85); }
.project-card:hover .project-overlay { display: flex; }

.project-card .project-body { padding: 24px; }

.project-card .project-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    padding: 3px 10px;
    background: var(--gold-light);
    border-radius: 4px;
}

.project-card h3 { font-size: 1.1rem; margin-bottom: 10px; }
.project-card p { font-size: 0.88rem; color: var(--text-body); line-height: 1.7; }

/* ===== CTA Section ===== */
.cta-section {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 72px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.cta-section h2 {
    color: var(--gold);
    font-size: 2.2rem;
    margin-bottom: 12px;
}

.cta-section p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.05rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ===== Footer ===== */
.footer {
    background: #081727;
    color: rgba(255,255,255,0.6);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-friend-links {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 24px;
    padding: 18px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 0.85rem;
}

.footer-friend-links .friend-links-label {
    color: rgba(255,255,255,0.85);
    font-weight: 600;
    font-family: var(--font-heading);
}

.footer-friend-links a {
    color: rgba(255,255,255,0.55);
    transition: var(--transition);
}

.footer-friend-links a:hover {
    color: var(--gold);
}

.footer-col h4 {
    color: var(--text-white);
    font-size: 0.95rem;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: var(--font-heading);
}

.footer-col .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-col .footer-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 0.85rem;
}

.footer-col p { font-size: 0.88rem; line-height: 1.8; margin-bottom: 20px; }

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-col ul li a:hover { color: var(--gold); padding-left: 4px; }

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 0.88rem;
}

.footer-contact-item .contact-icon { color: var(--gold); margin-top: 2px; display: flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; }
.footer-contact-item a { color: rgba(255,255,255,0.5); }
.footer-contact-item a:hover { color: var(--gold); }

.footer-social { display: flex; gap: 10px; margin-top: 20px; }

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.footer-social a:hover { background: var(--gold); color: var(--text-dark); }

.footer-bottom {
    padding: 22px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
}

.footer-bottom span { color: rgba(255,255,255,0.4); }

/* ===== Page Banner ===== */
.page-banner {
    background: linear-gradient(135deg, #0D2B4E 0%, #0A1F3A 100%);
    color: var(--text-white);
    padding: 56px 0;
    text-align: center;
}

.page-banner h1 { color: var(--text-white); font-size: 2.4rem; margin-bottom: 10px; }
.page-banner p { opacity: 0.8; font-size: 1.05rem; }

.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 0.82rem; margin-top: 14px; }
.breadcrumb a { opacity: 0.7; }
.breadcrumb a:hover { opacity: 1; color: var(--gold); }
.breadcrumb span { opacity: 0.4; }

/* ===== Products Page — Sidebar + Grid ===== */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.products-sidebar {
    position: sticky;
    top: 90px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--gold);
}

.sidebar-group { margin-bottom: 24px; }

.sidebar-group h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.sidebar-group h4 .group-icon { color: var(--gold); }

.sidebar-group ul li a {
    display: block;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: var(--text-body);
    border-radius: 6px;
    transition: var(--transition);
}

.sidebar-group ul li a:hover,
.sidebar-group ul li a.active {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 500;
}

.products-main { min-width: 0; }

.products-main .catalog-section { margin-bottom: 48px; }
.products-main .catalog-section:last-child { margin-bottom: 0; }

.catalog-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--border-color);
}

.catalog-section-header .header-left h2 { font-size: 1.5rem; margin-bottom: 4px; }
.catalog-section-header .header-left p { font-size: 0.85rem; color: var(--text-light); }

.catalog-section-header .header-link {
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.catalog-section-header .header-link:hover { gap: 12px; }

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

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

.product-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 28px rgba(13,43,78,0.06);
    transform: translateY(-3px);
}

.product-card .product-image { width: 100%; height: 180px; overflow: hidden; background: var(--bg-light); }
.product-card .product-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.product-card:hover .product-image img { transform: scale(1.05); }

.product-card .product-body { padding: 14px; flex: 1; display: flex; flex-direction: column; }

.product-card h4 {
    font-size: 0.85rem;
    line-height: 1.4;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.product-card .product-tag {
    display: inline-block;
    font-size: 0.7rem;
    color: var(--gold);
    font-weight: 600;
    background: var(--gold-light);
    padding: 2px 8px;
    border-radius: 10px;
    margin-bottom: 6px;
    align-self: flex-start;
}

.product-inquire-btn {
    display: block;
    width: 100%;
    padding: 8px 12px;
    margin-top: 8px;
    border: 1px solid var(--primary);
    background: transparent;
    color: var(--primary);
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-inquire-btn:hover { background: var(--primary); color: var(--text-white); }

/* ===== Capabilities Page ===== */
.capability-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 80px;
}

.capability-row:last-child { margin-bottom: 0; }

.capability-row.reverse { direction: rtl; }
.capability-row.reverse > * { direction: ltr; }

.capability-content .cap-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--gold);
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 12px;
}

.capability-content h3 { font-size: 1.6rem; margin-bottom: 16px; }
.capability-content p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 16px; }

.capability-content .cap-list { margin-top: 20px; }

.capability-content .cap-list li {
    padding: 6px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.9rem;
}

.capability-content .cap-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    margin-top: 10px;
    flex-shrink: 0;
}

.capability-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* ===== Projects Page ===== */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* ===== About Page ===== */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-hero-content .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.about-hero-content h2 { font-size: 2rem; margin-bottom: 20px; }
.about-hero-content p { margin-bottom: 16px; font-size: 1rem; line-height: 1.8; }

.about-hero-image img { border-radius: var(--radius-lg); box-shadow: 0 12px 40px rgba(0,0,0,0.1); }

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

.value-card {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.value-card:hover { border-color: var(--gold); transform: translateY(-4px); }

.value-card .value-icon {
    width: 56px;
    height: 56px;
    background: var(--primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 1.4rem;
    margin: 0 auto 20px;
}

.value-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.value-card p { font-size: 0.88rem; color: var(--text-body); }

.global-markets {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.market-card {
    text-align: center;
    padding: 28px 16px;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    transition: var(--transition);
}

.market-card:hover { border-color: var(--gold); }

.market-card .market-icon { font-size: 2rem; margin-bottom: 12px; }
.market-card h4 { font-size: 0.95rem; margin-bottom: 6px; }
.market-card p { font-size: 0.8rem; color: var(--text-light); }

/* ===== Contact Page ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

.contact-info-card {
    background: linear-gradient(135deg, #0D2B4E 0%, #0A1F3A 100%);
    color: var(--text-white);
    padding: 40px;
    border-radius: var(--radius-lg);
}

.contact-info-card h3 { color: var(--text-white); font-size: 1.3rem; margin-bottom: 8px; }
.contact-info-card > p { opacity: 0.7; font-size: 0.9rem; margin-bottom: 32px; }

.contact-info-item { display: flex; gap: 16px; margin-bottom: 24px; }

.contact-info-item .info-icon {
    width: 44px;
    height: 44px;
    background: rgba(201,169,97,0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--gold);
}

.contact-info-item .info-text strong {
    display: block;
    font-family: var(--font-heading);
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.contact-info-item .info-text span { font-size: 0.88rem; opacity: 0.8; }

.contact-form-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px;
}

.contact-form-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.contact-form-card > p { color: var(--text-light); font-size: 0.88rem; margin-bottom: 28px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 0.92rem;
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px var(--gold-light);
}

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

/* ===== Product Detail Page ===== */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.product-detail-image { display: flex; flex-direction: column; gap: 16px; }

/* Zoom Container */
.zoom-container {
    position: relative;
    display: inline-block;
    width: 100%;
}

.product-main-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-section);
    aspect-ratio: 1 / 1;
    cursor: crosshair;
}
.product-main-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Zoom Lens */
.zoom-lens {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    background: rgba(201, 169, 97, 0.15);
    pointer-events: none;
    display: none;
    z-index: 10;
    box-shadow: 0 0 0 9999px rgba(0,0,0,0);
}

/* Zoom Result */
.zoom-result {
    position: absolute;
    top: 0;
    left: 105%;
    width: 100%;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    display: none;
    z-index: 10;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.zoom-result img {
    position: absolute;
    max-width: none;
    object-fit: cover;
}

/* Zoom Hint */
.zoom-hint {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 4px;
    pointer-events: none;
    transition: opacity 0.3s;
}

.product-thumbs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}
.product-thumb {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-section);
}
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb:hover { border-color: var(--gold); }
.product-thumb.active { border-color: var(--primary); box-shadow: 0 0 0 2px var(--gold); }

.product-detail-info h1 { font-size: 1.8rem; margin-bottom: 12px; }

.product-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.product-meta span { font-size: 0.85rem; color: var(--text-light); }

.product-desc { margin-bottom: 24px; line-height: 1.8; }

.product-features-list { margin-bottom: 32px; }

.product-features-list li {
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
}

.product-features-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    margin-top: 10px;
    flex-shrink: 0;
}

/* ===== Stats Section ===== */
.stats-section { background: var(--primary); color: var(--text-white); padding: 56px 0; }

.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; text-align: center; }

.stat-block .stat-value {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.stat-block .stat-label { font-size: 0.9rem; opacity: 0.8; }

/* ===== FAQ ===== */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--bg-white);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--text-dark);
    font-size: 0.95rem;
    transition: var(--transition);
}

.faq-question:hover { color: var(--gold); }
.faq-question .faq-icon { font-size: 1.2rem; color: var(--gold); transition: var(--transition); }
.faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    padding: 0 24px;
    color: var(--text-body);
    font-size: 0.92rem;
}

.faq-item.open .faq-answer { max-height: 300px; padding: 0 24px 20px; }

/* ===== Modal (Quote) ===== */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.show { display: flex; }

.modal-content {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 80px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from { opacity: 0; transform: translateY(30px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 { font-size: 1.25rem; }
.modal-header .modal-subtitle { font-size: 0.82rem; color: var(--text-light); margin-top: 4px; }

.modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--bg-light);
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--text-body);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.modal-close:hover { background: var(--gold-light); color: var(--gold); }

.modal-body { padding: 24px 32px 32px; }
.modal-body .form-row { margin-bottom: 16px; }
.modal-body .form-group { margin-bottom: 16px; }

/* ===== Floating Widgets ===== */
.floating-widgets {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 998;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: flex-end;
}

.floating-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transition: var(--transition);
    font-size: 1.3rem;
    color: #fff;
    position: relative;
}

.floating-btn:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.floating-btn.whatsapp { background: #25D366; }
.floating-btn.chat { background: var(--primary); }
.floating-btn.back-top { background: var(--bg-white); color: var(--primary); border: 2px solid var(--gold-border); opacity: 0; visibility: hidden; }
.floating-btn.back-top.show { opacity: 1; visibility: visible; }

.chat-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    background: #e74c3c;
    border-radius: 50%;
    color: #fff;
    font-size: 0.68rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    border: 2px solid #fff;
}

/* ===== Chat Widget ===== */
.chat-widget {
    position: fixed;
    right: 24px;
    bottom: 88px;
    width: 360px;
    max-width: calc(100vw - 48px);
    height: 480px;
    max-height: calc(100vh - 120px);
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 48px rgba(0,0,0,0.2);
    z-index: 998;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chat-widget.show { display: flex; animation: chatSlideIn 0.3s ease; }

@keyframes chatSlideIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.chat-header {
    background: var(--primary);
    color: #fff;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header .chat-title { display: flex; align-items: center; gap: 10px; }
.chat-header .chat-avatar { width: 36px; height: 36px; background: rgba(201,169,97,0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; color: var(--gold); }

.chat-header .chat-info strong { display: block; font-size: 0.92rem; font-family: var(--font-heading); }
.chat-header .chat-info span { font-size: 0.72rem; opacity: 0.7; display: flex; align-items: center; gap: 4px; }

.chat-status-dot { width: 8px; height: 8px; background: #4caf50; border-radius: 50%; display: inline-block; }
body.chat-offline .chat-status-dot { background: #9e9e9e; }

/* Chat button pulse when unread greeting */
.floating-btn.chat.pulse { animation: chatPulse 1.6s ease-in-out infinite; }
@keyframes chatPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,169,97,0.6); }
  50% { box-shadow: 0 0 0 14px rgba(201,169,97,0); }
}
.chat-badge { transition: transform 0.2s; }
.floating-btn.chat.pulse .chat-badge { animation: badgePop 0.4s ease; }
@keyframes badgePop {
  0% { transform: scale(0); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.chat-close { background: none; border: none; color: #fff; font-size: 1.2rem; cursor: pointer; opacity: 0.7; transition: var(--transition); }
.chat-close:hover { opacity: 1; }

.chat-messages { flex: 1; overflow-y: auto; padding: 20px; background: var(--bg-light); display: flex; flex-direction: column; gap: 12px; }

.chat-message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.85rem;
    line-height: 1.5;
    animation: chatSlideIn 0.2s ease;
}

.chat-message.visitor { background: var(--primary); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-message.agent { background: var(--bg-white); color: var(--text-dark); align-self: flex-start; border-bottom-left-radius: 4px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

.chat-welcome { text-align: center; padding: 20px 16px; color: var(--text-light); font-size: 0.85rem; }
.chat-welcome strong { display: block; color: var(--text-dark); font-size: 1rem; margin-bottom: 6px; }

.chat-input-area { padding: 12px 16px; border-top: 1px solid var(--border-color); display: flex; gap: 8px; background: var(--bg-white); }

.chat-input {
    flex: 1;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 10px 16px;
    font-family: var(--font-body);
    font-size: 0.85rem;
    color: var(--text-dark);
}

.chat-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 2px var(--gold-light); }

.chat-send {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--gold);
    color: var(--text-dark);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.chat-send:hover { background: var(--gold-hover); }

/* ===== Search Page ===== */
.search-page-content { min-height: 400px; }

.search-result-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    margin-bottom: 12px;
    transition: var(--transition);
}

.search-result-card:hover { border-color: var(--gold); box-shadow: 0 4px 16px rgba(13,43,114,0.06); }

.search-result-card .result-content h4 { font-size: 1rem; margin-bottom: 4px; }
.search-result-card .result-content p { font-size: 0.85rem; color: var(--text-body); margin-bottom: 6px; }
.search-result-card .result-badge { display: inline-block; font-size: 0.7rem; color: var(--gold); background: var(--gold-light); padding: 2px 8px; border-radius: 10px; font-weight: 600; }

/* ===== Admin Dashboard ===== */
.admin-body { background: var(--bg-section); }
.admin-layout { display: flex; min-height: 100vh; }

.admin-sidebar { width: 240px; background: #081727; color: rgba(255,255,255,0.7); padding: 24px 0; position: fixed; top: 0; left: 0; bottom: 0; overflow-y: auto; z-index: 100; }

.admin-sidebar .admin-logo { padding: 0 24px 24px; display: flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 1.1rem; font-weight: 700; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.06); }

.admin-nav { padding: 16px 0; }

.admin-nav a { display: flex; align-items: center; gap: 12px; padding: 12px 24px; font-size: 0.88rem; color: rgba(255,255,255,0.55); transition: var(--transition); border-left: 3px solid transparent; }
.admin-nav a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.admin-nav a.active { color: #fff; background: rgba(201,169,97,0.08); border-left-color: var(--gold); }
.admin-nav a .nav-icon { font-size: 1.05rem; width: 20px; text-align: center; }

.admin-main { margin-left: 240px; flex: 1; padding: 32px; }

.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 32px; }
.admin-header h1 { font-size: 1.5rem; }

.admin-stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 32px; }

.admin-stat-card { background: var(--bg-white); border-radius: var(--radius); padding: 24px; border: 1px solid var(--border-color); }
.admin-stat-card .stat-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; margin-bottom: 16px; }
.admin-stat-card .stat-value { font-family: var(--font-heading); font-size: 2rem; font-weight: 700; color: var(--text-dark); }
.admin-stat-card .stat-label { font-size: 0.82rem; color: var(--text-light); margin-top: 4px; }

.admin-table-wrap { background: var(--bg-white); border-radius: var(--radius); border: 1px solid var(--border-color); overflow: hidden; }
.admin-table-header { padding: 20px 24px; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; }
.admin-table-header h2 { font-size: 1.1rem; }
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th { text-align: left; padding: 12px 24px; font-family: var(--font-heading); font-size: 0.78rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-light); border-bottom: 1px solid var(--border-color); }
.admin-table td { padding: 14px 24px; font-size: 0.88rem; color: var(--text-body); border-bottom: 1px solid var(--border-light); }
.admin-table tr:hover td { background: var(--bg-section); }

.badge { display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; }
.badge-new { background: #e8f5e9; color: #2e7d32; }
.badge-read { background: #fff3e0; color: #e65100; }
.badge-replied { background: #e3f2fd; color: #1565c0; }

.admin-filter-bar { display: flex; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.admin-filter-bar select, .admin-filter-bar input { padding: 8px 16px; border: 1px solid var(--border-color); border-radius: 6px; font-size: 0.85rem; color: var(--text-dark); background: var(--bg-white); }
.admin-filter-bar select:focus, .admin-filter-bar input:focus { outline: none; border-color: var(--gold); }

/* Chat panel in admin */
.chat-panel { display: grid; grid-template-columns: 280px 1fr; gap: 0; height: 600px; background: var(--bg-white); border-radius: var(--radius); border: 1px solid var(--border-color); overflow: hidden; }
.chat-panel-sidebar { border-right: 1px solid var(--border-color); overflow-y: auto; }
.chat-panel-sidebar .conv-item { padding: 14px 20px; border-bottom: 1px solid var(--border-light); cursor: pointer; transition: var(--transition); }
.chat-panel-sidebar .conv-item:hover, .chat-panel-sidebar .conv-item.active { background: var(--primary-light); }
.chat-panel-sidebar .conv-item strong { display: block; font-size: 0.88rem; color: var(--text-dark); margin-bottom: 2px; }
.chat-panel-sidebar .conv-item span { font-size: 0.78rem; color: var(--text-light); display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.chat-panel-main { display: flex; flex-direction: column; }
.chat-panel-messages { flex: 1; overflow-y: auto; padding: 20px; background: var(--bg-light); display: flex; flex-direction: column; gap: 10px; }
.chat-panel-input { padding: 12px 20px; border-top: 1px solid var(--border-color); display: flex; gap: 8px; }
.chat-panel-input input { flex: 1; border: 1px solid var(--border-color); border-radius: 20px; padding: 10px 16px; font-size: 0.88rem; }
.chat-panel-input button { padding: 10px 20px; background: var(--gold); color: var(--text-dark); border: none; border-radius: 20px; cursor: pointer; font-size: 0.82rem; font-weight: 600; transition: var(--transition); }
.chat-panel-input button:hover { background: var(--gold-hover); }

/* Login Page */
.login-page { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--bg-section); }

.login-card { background: var(--bg-white); border-radius: var(--radius-lg); box-shadow: 0 12px 48px rgba(0,0,0,0.08); padding: 48px 40px; max-width: 420px; width: 100%; }

.login-card .login-logo { text-align: center; margin-bottom: 32px; }
.login-card .login-logo span { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-heading); font-size: 1.2rem; font-weight: 700; color: var(--primary); }
.login-card .login-logo .logo-icon { width: 40px; height: 40px; background: var(--primary); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.85rem; }

.login-card h1 { text-align: center; font-size: 1.35rem; margin-bottom: 8px; }
.login-card .login-sub { text-align: center; color: var(--text-light); font-size: 0.88rem; margin-bottom: 32px; }

.login-error { background: #fee; color: #c33; padding: 10px 16px; border-radius: 6px; font-size: 0.85rem; margin-bottom: 16px; display: none; }
.login-error.show { display: block; }

/* ===== Animations ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in-up { animation: fadeInUp 0.6s ease forwards; }
.fade-in-up:nth-child(1) { animation-delay: 0.1s; }
.fade-in-up:nth-child(2) { animation-delay: 0.2s; }
.fade-in-up:nth-child(3) { animation-delay: 0.3s; }
.fade-in-up:nth-child(4) { animation-delay: 0.4s; }
.fade-in-up:nth-child(5) { animation-delay: 0.5s; }
.fade-in-up:nth-child(6) { animation-delay: 0.6s; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero .container { grid-template-columns: 1fr; }
    .hero-image { max-width: 480px; margin: 0 auto; }
    .core-business-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid, .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-preview-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .values-grid { grid-template-columns: repeat(2, 1fr); }
    .global-markets { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr; }
    .about-hero { grid-template-columns: 1fr; }
    .products-layout { grid-template-columns: 1fr; }
    .products-sidebar { position: static; }
    .capability-row { grid-template-columns: 1fr; gap: 32px; }
    .nav-search { width: 200px; }
    .nav-search:focus { width: 240px; }
    .nav-menu { gap: 20px; }
    .nav-menu > li > a { font-size: 0.95rem; }
    .admin-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-main { padding: 24px 16px; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .steps-grid::before { display: none; }
    .clients-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
    .hero { padding: 80px 0 90px; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        background: var(--bg-white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 8px 32px rgba(0,0,0,0.1);
        max-height: calc(100vh - 132px);
        overflow-y: auto;
        z-index: 999;
        margin-top: 132px;
    }

    .nav-menu.active { display: flex; }
    .nav-right { gap: 10px; }
    .nav-search { width: 120px; }
    .nav-search:focus { width: 140px; }
    .nav-cta { padding: 8px 14px; font-size: 0.72rem; }
    .nav-toggle { display: flex; }

    .nav-row-2-inner { height: 64px; gap: 12px; }
    .nav-row-3 { display: none; }
    .nav-row-3.active { display: block; }
    .nav-menu { height: auto; }

    .dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0 0 0 16px;
    }

    .section { padding: 40px 0; }

    .features-grid, .featured-grid, .products-grid, .stats-grid, .steps-grid,
    .projects-preview-grid, .projects-grid, .testimonials-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }

    .clients-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .hero-badge { position: static; margin-top: 20px; }
    .hero { padding: 44px 0 52px; }

    .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .trust-tags { flex-direction: column; gap: 16px; }
    .catalog-section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
    .floating-widgets { right: 16px; bottom: 16px; }
    .chat-widget { right: 8px; left: 8px; width: auto; bottom: 80px; }
    .admin-sidebar { transform: translateX(-100%); transition: transform 0.3s; }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-main { margin-left: 0; padding: 16px; }
    .admin-stats-grid { grid-template-columns: 1fr; }
    .chat-panel { grid-template-columns: 1fr; height: 500px; }
    .chat-panel-sidebar { display: none; }
    .modal-content { max-width: 100%; }
    .modal-body, .modal-header { padding: 20px; }
    .search-result-card { flex-direction: column; }
    .admin-table { font-size: 0.78rem; }
    .admin-table th, .admin-table td { padding: 10px 12px; }

    /* Mobile: keep quote button visible */
    .nav-menu.active > li:last-child { display: block !important; }
}

/* ===== Social Media Label Icons (Admin Settings) ===== */
.social-label-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    vertical-align: middle;
    margin-right: 4px;
}

/* ========================================
   Page-specific Enhancements
   ======================================== */

/* ===== Products Page Enhancements ===== */
.products-sidebar .sidebar-group h4 .group-icon {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.products-sidebar .sidebar-group h4 .group-icon svg {
    width: 18px;
    height: 18px;
}

.product-card .product-desc {
    font-size: 0.78rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card .product-inquire-btn {
    display: block;
    width: 100%;
    padding: 9px 12px;
    margin-top: auto;
    border: none;
    background: var(--primary);
    color: var(--text-white);
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-card .product-inquire-btn:hover {
    background: var(--gold);
    color: var(--text-dark);
}

/* Popular Products Section */
.popular-products {
    background: var(--bg-section);
}

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

.popular-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.popular-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 56px rgba(13,43,78,0.12);
    border-color: var(--gold);
}

.popular-card .popular-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-light);
    position: relative;
}

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

.popular-card:hover .popular-image img {
    transform: scale(1.08);
}

.popular-card .popular-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: var(--gold);
    color: var(--text-dark);
    font-size: 0.68rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.popular-card .popular-body {
    padding: 16px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.popular-card h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
    line-height: 1.4;
}

.popular-card p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 12px;
    flex: 1;
}

/* ===== Capabilities Page Enhancements ===== */
.craft-showcase {
    background: var(--bg-dark);
    color: var(--text-white);
}

.craft-showcase .section-header h2 {
    color: var(--text-white);
}

.craft-showcase .section-header p {
    color: var(--text-muted);
}

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

.craft-item {
    text-align: center;
    padding: 24px 12px;
    background: rgba(255,255,255,0.04);
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.08);
    transition: var(--transition);
}

.craft-item:hover {
    background: rgba(201,169,97,0.1);
    border-color: var(--gold);
    transform: translateY(-4px);
}

.craft-item .craft-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 12px;
    background: rgba(201,169,97,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.craft-item .craft-icon svg {
    width: 24px;
    height: 24px;
}

.craft-item h4 {
    color: var(--text-white);
    font-size: 0.85rem;
    margin-bottom: 4px;
}

.craft-item p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* QC Process */
.qc-process {
    background: var(--bg-section);
}

.qc-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.qc-step {
    text-align: center;
    padding: 32px 24px;
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.qc-step:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(13,43,78,0.08);
}

.qc-step .qc-number {
    width: 44px;
    height: 44px;
    background: var(--primary);
    color: var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0 auto 16px;
}

.qc-step h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
}

.qc-step p {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* ===== About Page Enhancements ===== */
.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text .eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 16px;
}

.about-text h2 { font-size: 2rem; margin-bottom: 20px; }
.about-text p { margin-bottom: 16px; font-size: 1rem; line-height: 1.8; color: var(--text-body); }

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
    width: 100%;
    height: auto;
}

.about-highlights {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
}

.highlight-item svg {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}

.timeline-section {
    background: var(--bg-section);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--gold), var(--primary));
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 40px;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 24px;
    width: 16px;
    height: 16px;
    background: var(--gold);
    border: 3px solid var(--bg-white);
    border-radius: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 0 4px var(--gold-light);
}

.timeline-content {
    background: var(--bg-white);
    padding: 24px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    max-width: 90%;
    position: relative;
    transition: var(--transition);
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 32px;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 32px;
}

.timeline-content:hover {
    border-color: var(--gold);
    box-shadow: 0 12px 40px rgba(13,43,78,0.08);
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 8px;
}

.timeline-content h4 {
    font-size: 1rem;
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 0.85rem;
    color: var(--text-body);
    line-height: 1.6;
}

/* Factory Gallery */
.factory-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.factory-gallery .gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    position: relative;
}

.factory-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.factory-gallery .gallery-item:hover img {
    transform: scale(1.08);
}

.factory-gallery .gallery-item:first-child {
    grid-column: span 2;
    grid-row: span 2;
}

/* ===== Projects Page Enhancements ===== */
.project-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--text-body);
    border-radius: 20px;
    font-family: var(--font-heading);
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    color: var(--text-white);
    border-color: var(--primary);
}

.project-card .project-meta {
    display: flex;
    gap: 12px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.project-card .meta-tag {
    font-size: 0.72rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 4px;
}

.project-card .meta-tag svg {
    width: 12px;
    height: 12px;
    color: var(--gold);
}

/* ===== Contact Page Enhancements ===== */
.contact-info-item .info-icon svg {
    width: 20px;
    height: 20px;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 20px;
    background: #25D366;
    color: #fff;
    border-radius: var(--radius);
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 24px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.whatsapp-btn:hover {
    background: #1ebe5d;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

.whatsapp-btn svg {
    width: 20px;
    height: 20px;
}

/* ===== Testimonials ===== */
.testimonials {
    background: var(--bg-section);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 32px 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 56px rgba(13,43,78,0.1);
    border-color: var(--gold);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 16px;
    right: 24px;
    font-size: 3.5rem;
    font-family: Georgia, serif;
    color: var(--gold);
    opacity: 0.3;
    line-height: 1;
}

.testimonial-stars {
    color: var(--gold);
    font-size: 0.9rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.testimonial-author h4 {
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.testimonial-author p {
    font-size: 0.78rem;
    color: var(--text-light);
    margin: 0;
}

/* ===== Responsive Additions ===== */
@media (max-width: 1024px) {
    .popular-grid { grid-template-columns: repeat(2, 1fr); }
    .craft-grid { grid-template-columns: repeat(3, 1fr); }
    .qc-steps { grid-template-columns: 1fr; gap: 20px; }
    .factory-gallery { grid-template-columns: repeat(2, 1fr); }
    .factory-gallery .gallery-item:first-child {
        grid-column: span 2;
        grid-row: span 1;
    }
}

@media (max-width: 768px) {
    .popular-grid { grid-template-columns: 1fr; }
    .craft-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .timeline::before { left: 20px; }
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 50px;
        padding-right: 0;
        justify-content: flex-start;
    }
    .timeline-item::after { left: 20px; }
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
        max-width: 100%;
    }
    .factory-gallery { grid-template-columns: 1fr; }
    .factory-gallery .gallery-item:first-child {
        grid-column: span 1;
    }
    .project-filters { gap: 8px; }
    .filter-btn { padding: 6px 14px; font-size: 0.78rem; }
}

/* ===== Product Detail Enhancements ===== */
.spec-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.spec-table tr:nth-child(even) { background: var(--bg-section); }
.spec-table td {
    padding: 12px 16px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border-color);
}
.spec-table td:first-child {
    font-weight: 600;
    color: var(--primary);
    width: 35%;
    background: rgba(13,43,78,0.03);
}
.spec-table tr:last-child td { border-bottom: none; }

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.process-step {
    text-align: center;
    padding: 20px 12px;
    background: var(--bg-white);
    border-radius: 10px;
    border: 1px solid var(--border-color);
}
.process-step .step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    margin: 0 auto 10px;
}
.process-step h4 {
    font-size: 0.82rem;
    margin-bottom: 4px;
    color: var(--primary);
}
.process-step p {
    font-size: 0.72rem;
    color: var(--text-light);
    margin: 0;
}

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

/* ===== Language Switcher ===== */
.lang-switcher {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}
.lang-switcher a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 3px;
    transition: var(--transition);
}
.lang-switcher a:hover {
    color: var(--gold);
}
.lang-switcher a.active {
    color: var(--gold);
    background: rgba(201,169,97,0.15);
}

/* ===== Footer Newsletter ===== */
.footer-newsletter { border-top: 1px solid rgba(255,255,255,0.08); margin-top: 8px; padding: 28px 0 8px; }
.footer-newsletter-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; justify-content: space-between; }
.footer-newsletter .newsletter-text { flex: 1 1 260px; min-width: 0; }
.footer-newsletter h4 { font-size: 1.02rem; color: #fff; margin-bottom: 4px; }
.footer-newsletter p { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin: 0; }
.newsletter-form { flex: 1 1 300px; min-width: 0; display: flex; gap: 8px; }
.newsletter-form input[type=email] { flex: 1; min-width: 0; padding: 11px 14px; border-radius: 6px; border: 1px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.06); color: #fff; font-size: 0.88rem; outline: none; }
.newsletter-form input[type=email]::placeholder { color: rgba(255,255,255,0.45); }
.newsletter-form .btn { white-space: nowrap; }
.newsletter-msg { flex: 1 1 100%; font-size: 0.8rem; margin-top: 2px; }
.newsletter-msg.ok { color: #8CE0A8; }
.newsletter-msg.error { color: #FFB4A2; }
@media (max-width: 768px) {
    .newsletter-form { flex-direction: column; }
    .newsletter-form .btn { width: 100%; }
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 9999; background: #0D2B4E; color: #fff; border: 1px solid rgba(255,255,255,0.12); border-radius: 12px; padding: 14px 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px; box-shadow: 0 12px 32px rgba(0,0,0,0.28); max-width: 720px; margin: 0 auto; }
.cookie-banner p { margin: 0; font-size: 0.82rem; flex: 1 1 260px; color: rgba(255,255,255,0.85); line-height: 1.5; }
.cookie-banner a { color: #C9A961; text-decoration: underline; }
.cookie-actions { display: flex; gap: 8px; }
.cookie-btn { border: none; border-radius: 6px; padding: 8px 16px; font-size: 0.8rem; cursor: pointer; font-weight: 600; }
.cookie-accept { background: #C9A961; color: #0D2B4E; }
.cookie-decline { background: transparent; color: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.25); }
@media (max-width: 480px) { .cookie-actions { width: 100%; } .cookie-actions .cookie-btn { flex: 1; } }

/* ===== Trust wall: client logos + certificates (shared by home/about) ===== */
.trust-logo-strip { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 18px 34px; padding: 14px 0 26px; }
.trust-logo-strip .tl { height: 56px; width: 118px; display: flex; align-items: center; justify-content: center; background: #fff; border: 1px solid var(--border-color); border-radius: 10px; padding: 8px 12px; opacity: 0.78; transition: opacity 0.25s, transform 0.25s, box-shadow 0.25s; }
.trust-logo-strip .tl:hover { opacity: 1; transform: translateY(-2px); box-shadow: 0 6px 16px rgba(13,43,78,0.08); }
.trust-logo-strip .tl img { max-width: 100%; max-height: 100%; object-fit: contain; filter: grayscale(0.85); transition: filter 0.25s; }
.trust-logo-strip .tl:hover img { filter: grayscale(0); }
.cert-wall { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-top: 8px; }
.cert-item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; background: var(--bg-white); border: 1px solid var(--border-color); border-radius: var(--radius-lg); padding: 18px 12px; transition: box-shadow 0.25s, transform 0.25s; }
.cert-item:hover { box-shadow: 0 10px 24px rgba(13,43,78,0.10); transform: translateY(-3px); }
.cert-item img { width: 74px; height: 74px; object-fit: contain; }
.cert-item .cert-name { font-weight: 600; font-size: 0.88rem; color: var(--text-body); }
.cert-item .cert-num { font-size: 0.72rem; color: var(--text-light); font-family: monospace; letter-spacing: 0.02em; }
.cert-divider { display: flex; align-items: center; gap: 12px; margin: 6px 0 4px; color: var(--text-light); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; }
.cert-divider::before, .cert-divider::after { content: ''; flex: 1; height: 1px; background: var(--border-color); }

/* ===== Factory strip (home) ===== */
.factory-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.factory-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--bg-section); box-shadow: 0 6px 18px rgba(13,43,78,0.06); }
.factory-card img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.factory-card:hover img { transform: scale(1.06); }
.factory-card .factory-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 14px 10px; background: linear-gradient(180deg, transparent, rgba(13,43,78,0.82)); color: #fff; font-size: 0.82rem; font-weight: 600; }
@media (max-width: 768px) { .trust-logo-strip .tl { height: 48px; width: 100px; } }

/* ===== Responsive hardening (audit fix) ===== */
/* 1) Let grid/flex children shrink below content min-size (prevents horizontal overflow) */
.hero .container > *,
.nav .container > *,
.contact-grid > *,
.about-intro > *,
.product-detail-grid > *,
.products-layout > *,
.capability-row > *,
.footer-grid > *,
.stats-grid > *,
.features-grid > *,
.featured-grid > *,
.projects-grid > *,
.projects-preview-grid > *,
.core-business-grid > *,
.values-grid > *,
.global-markets > *,
.clients-grid > *,
.steps-grid > *,
.catalog-section-header > * { min-width: 0; }

/* 2) Responsive images inside flexible containers */
.hero-image img,
.about-image img,
.product-detail-image img,
.cap-card img,
.project-card img,
.blog-card img,
.feature-card img,
.featured-card img,
.core-card img,
.step-card img,
.client-logo img,
.category-card img { width: 100%; height: auto; }

/* 3) Top bar: progressively trim secondary info on small screens */
@media (max-width: 768px) {
    .top-bar-left a:first-child { display: none; }          /* hide email, keep phone */
    .top-bar-right > span:not(.lang-switcher) { display: none; } /* hide address/hours */
    .top-bar-right { margin-left: auto; }
}
@media (max-width: 480px) {
    .top-bar-left { display: none; }                        /* hide phone too */
    .top-bar-inner { justify-content: flex-end; }
}

/* 4) Long words / URLs: avoid forced overflow */
h1, h2, h3, h4, p, a, span, li, td, th { overflow-wrap: break-word; }

/* 5) Hero buttons wrap on small screens */
.hero-buttons { flex-wrap: wrap; }

/* 6) Testimonials: stack only on very small screens (2 cols on tablets) */
@media (max-width: 480px) {
    .testimonials-grid { grid-template-columns: 1fr; }
}

/* 7) Nav row: tighten for phones (keep logo + compact search + CTA) */
@media (max-width: 480px) {
    .nav-row-2-inner { height: 60px; gap: 10px; }
    .nav-logo { gap: 6px; }
    .nav-logo .logo-icon { width: 36px; height: 36px; font-size: 0.9rem; }
    .nav-logo .logo-text { display: none; }
    .nav-search { width: 90px; }
    .nav-search:focus { width: 100px; }
    .nav-cta { font-size: 0.65rem; padding: 7px 10px; white-space: nowrap; }
    .nav-right { gap: 8px; }
}

/* 8) Core business cards: 2 cols on mobile, stack only on very small screens */
@media (max-width: 768px) {
    .core-business-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 480px) {
    .core-business-grid { grid-template-columns: 1fr; }
    .core-card h3 { font-size: 1.15rem; }
}

/* 9) Very small screens: compress spacing, keep 2-col product cards */
@media (max-width: 480px) {
    .featured-grid, .features-grid, .steps-grid { grid-template-columns: 1fr; }
    .products-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .section { padding: 32px 0; }
    .section-header h2 { margin-bottom: 10px; }
    .hero { padding: 34px 0 44px; }
    .stats-grid { gap: 14px; }
    .hero-content h1 { margin-bottom: 12px; }
    .hero-content .hero-desc { margin-bottom: 22px; font-size: 0.95rem; }
    .stat-item .stat-number { margin-bottom: 2px; }
    .footer-grid { gap: 22px; }
    .product-body h4 { font-size: 0.95rem; }
    .product-card .product-desc { font-size: 0.8rem; }
    .project-content h3 { font-size: 1.05rem; }
    .project-filters { overflow-x: auto; justify-content: flex-start; -webkit-overflow-scrolling: touch; }
}

/* ===== RTL (Arabic) Layout Support ===== */
[dir="rtl"] { text-align: right; }
[dir="rtl"] .nav-row-2-inner,
[dir="rtl"] .nav-menu,
[dir="rtl"] .top-bar-inner { flex-direction: row-reverse; }
[dir="rtl"] .nav-right { margin-right: auto; margin-left: 0; }
[dir="rtl"] .nav-search-wrap { margin-left: 16px; margin-right: 0; }
[dir="rtl"] .dropdown-menu { right: 0; left: auto; text-align: right; }
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .section-header { text-align: right; }
[dir="rtl"] .breadcrumb { text-align: right; }
[dir="rtl"] .breadcrumb span { margin: 0 6px; }
[dir="rtl"] .featured-card .card-body,
[dir="rtl"] .product-card .product-body,
[dir="rtl"] .project-content { text-align: right; }
[dir="rtl"] .about-content { text-align: right; }
[dir="rtl"] .about-image { order: -1; }
[dir="rtl"] .capability-row { direction: rtl; }
[dir="rtl"] .capability-row .cap-text { text-align: right; }
[dir="rtl"] .timeline::before { right: 20px; left: auto; }
[dir="rtl"] .timeline-item { padding-right: 56px; padding-left: 0; text-align: right; }
[dir="rtl"] .timeline-item::before { right: 12px; left: auto; }
[dir="rtl"] .contact-layout { direction: rtl; }
[dir="rtl"] .contact-info,
[dir="rtl"] .contact-form { text-align: right; }
[dir="rtl"] .contact-form input,
[dir="rtl"] .contact-form select,
[dir="rtl"] .contact-form textarea { text-align: right; }
[dir="rtl"] .floating-btn { right: auto; left: 24px; }
[dir="rtl"] .floating-btn.back-top { right: auto; left: 24px; }
[dir="rtl"] .stats-grid,
[dir="rtl"] .cert-grid,
[dir="rtl"] .featured-grid,
[dir="rtl"] .products-grid,
[dir="rtl"] .factory-gallery { direction: rtl; }
[dir="rtl"] .faq-q { text-align: right; }
[dir="rtl"] .faq-q .faq-icon { margin-right: auto; margin-left: 0; }
[dir="rtl"] .policy-content { text-align: right; }
[dir="rtl"] .policy-content ul { padding-right: 20px; padding-left: 0; }
[dir="rtl"] .footer-grid { direction: rtl; text-align: right; }
[dir="rtl"] .footer-bottom { direction: rtl; text-align: right; }
[dir="rtl"] .lang-switcher a { margin-left: 0; margin-right: 8px; }
[dir="rtl"] .top-bar-left,
[dir="rtl"] .top-bar-right { direction: rtl; }
[dir="rtl"] .top-bar .tb-divider { margin: 0 8px; }
[dir="rtl"] .pd-spec-table { text-align: right; }
[dir="rtl"] .pd-spec-table th { text-align: right; }
[dir="rtl"] .process-steps { direction: rtl; }
[dir="rtl"] .blog-grid { direction: rtl; }
[dir="rtl"] .blog-card .blog-body { text-align: right; }
[dir="rtl"] .blog-content { text-align: right; }
[dir="rtl"] .blog-content ul,
[dir="rtl"] .blog-content ol { padding-right: 24px; padding-left: 0; }

/* ===== Google Translate Widget Styling ===== */
#langSwitcher { display: inline-flex; align-items: center; }
#google_translate_element { display: inline-block; }
#google_translate_element .goog-te-gadget { font-family: inherit !important; font-size: 0 !important; color: transparent !important; }
#google_translate_element .goog-te-gadget .goog-te-combo {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8rem !important;
    padding: 5px 28px 5px 10px !important;
    border: 1px solid rgba(255,255,255,0.25) !important;
    border-radius: 6px !important;
    background: rgba(255,255,255,0.1) !important;
    color: #fff !important;
    cursor: pointer !important;
    outline: none !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23C9A961' d='M5 6L0 0h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 8px center !important;
}
#google_translate_element .goog-te-gadget .goog-te-combo option {
    background: #0D2B4E !important;
    color: #fff !important;
    font-size: 0.85rem !important;
}
#google_translate_element .goog-te-gadget span { display: none !important; }
#google_translate_element .goog-te-gadget a { display: none !important; }
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }
@media (max-width: 768px) {
    #langSwitcher { display: none !important; }
}

/* ===== CRO upgrades: reveal animation / chat nudge / product mini meta ===== */
.reveal-item { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-item.revealed { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    .reveal-item { opacity: 1; transform: none; transition: none; }
}

.chat-nudge { position: fixed; right: 80px; bottom: 90px; z-index: 950; cursor: pointer; max-width: 280px; }
.chat-nudge-bubble { background: #fff; color: #1a1a1a; font-size: 0.85rem; line-height: 1.5; padding: 12px 16px; border-radius: 14px; border: 1px solid #e4e3dd; box-shadow: 0 10px 32px rgba(13,43,78,0.18); position: relative; animation: nudgeIn 0.35s ease; }
.chat-nudge-bubble::after { content: ''; position: absolute; right: -6px; bottom: 18px; width: 12px; height: 12px; background: #fff; border-right: 1px solid #e4e3dd; border-bottom: 1px solid #e4e3dd; transform: rotate(-45deg); }
.chat-nudge-close { position: absolute; top: 4px; right: 8px; font-size: 1rem; color: #999; cursor: pointer; line-height: 1; }
@keyframes nudgeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 767px) { .chat-nudge { right: 16px; bottom: 80px; } }

.product-mini-meta { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 10px; }
.product-mini-meta span { font-size: 0.7rem; font-weight: 600; color: #8a7440; background: #f7f1e3; padding: 3px 9px; border-radius: 12px; }

/* ===== Exit-intent popup ===== */
.exit-popup-overlay { position: fixed; inset: 0; background: rgba(13,43,78,0.55); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; animation: exitFade 0.25s ease; }
@keyframes exitFade { from { opacity: 0; } to { opacity: 1; } }
.exit-popup { background: #fff; border-radius: 18px; max-width: 460px; width: 100%; padding: 36px 32px 28px; position: relative; box-shadow: 0 24px 64px rgba(13,43,78,0.3); animation: exitUp 0.3s ease; }
@keyframes exitUp { from { transform: translateY(16px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.exit-popup-close { position: absolute; top: 12px; right: 16px; background: none; border: none; font-size: 1.4rem; color: #999; cursor: pointer; line-height: 1; }
.exit-popup-body { text-align: center; }
.exit-popup-icon { font-size: 2.4rem; margin-bottom: 10px; }
.exit-popup h3 { font-size: 1.35rem; color: #0D2B4E; margin: 0 0 8px; font-weight: 700; }
.exit-popup p { color: #6B7280; font-size: 0.92rem; line-height: 1.6; margin: 0 0 20px; }
.exit-popup-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.exit-btn-gold { background: #C9A961; color: #fff; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 0.92rem; }
.exit-btn-wa { background: #25D366; color: #fff; padding: 12px 22px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 0.92rem; }

/* ===== Card hover micro-interactions ===== */
.product-card, .popular-card, .project-card, .feature-card, .blog-card {
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.product-card:hover, .popular-card:hover, .project-card:hover, .blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 36px rgba(13,43,78,0.14);
}
.product-card:hover .product-image img,
.popular-card:hover .popular-image img,
.project-card:hover .project-image img,
.blog-card:hover .blog-card-image img {
  transform: scale(1.04);
}
.product-image img, .popular-image img, .project-image img, .blog-card-image img {
  transition: transform 0.45s ease;
}
.project-card { text-decoration: none !important; }
.filter-count { display: inline-block; margin-left: 6px; background: rgba(0,0,0,0.08); padding: 1px 8px; border-radius: 10px; font-size: 0.72rem; font-weight: 600; }
.filter-btn.active .filter-count { background: rgba(255,255,255,0.25); color: #fff; }
